1 2013-06-11 Andreas Jaeger <aj@suse.de>
3 * po/zh_TW.po: Update Chinese (traditional) translation from
6 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12 (clock_getcpuclockid): Likewise.
13 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14 Add weak_alias and libc_hidden_def.
15 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16 * rt/clock_gettime.c (clock_gettime): Rename to
17 __clock_gettime. Add weak_alias and libc_hidden_def.
18 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24 * rt/clock_settime.c (clock_settime): Rename to
25 __clock_settime. Add weak_alias and libc_hidden_def.
26 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
28 2013-06-10 Joseph Myers <joseph@codesourcery.com>
30 * mach/err_boot.sub: Remove trailing whitespace.
31 * mach/err_ipc.sub: Likewise.
32 * mach/err_mach.sub: Likewise.
34 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35 (ROUNDING_TESTS_double): Likewise.
36 (ROUNDING_TESTS_long_double): Likewise.
37 (ROUNDING_TESTS): Likewise.
38 * math/libm-test.inc: Include <math-tests.h>.
39 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42 (IF_ROUND_INIT_FE_UPWARD): Likewise.
44 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49 2013-06-08 Joseph Myers <joseph@codesourcery.com>
51 * sysdeps/gnu/errlist.awk: Do not generate space at end of
52 otherwise empty TRANS lines.
53 * sysdeps/gnu/errlist.c: Regenerated.
55 * catgets/gencat.c (error_print): Use (void) in function
57 * crypt/crypt_util.c (__init_des): Likewise.
58 * crypt/speeds.c (Stop): Likewise.
60 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
61 * inet/ruserpass.c (token): Likewise.
62 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
63 * intl/localealias.c (extend_alias_table): Likewise.
64 * intl/plural-exp.c (init_germanic_plural): Likewise.
65 * libio/fcloseall.c (__fcloseall): Likewise.
66 * libio/genops.c (_IO_flush_all): Likewise.
67 (_IO_flush_all_linebuffered): Likewise.
68 (_IO_cleanup): Likewise.
69 (_IO_iter_begin): Likewise.
70 (_IO_iter_end): Likewise.
71 (_IO_list_lock): Likewise.
72 (_IO_list_unlock): Likewise.
73 (_IO_list_resetlock): Likewise.
74 * libio/getchar.c (getchar): Likewise.
75 * libio/getchar_u.c (getchar_unlocked): Likewise.
76 * libio/getwchar.c (getwchar): Likewise.
77 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
78 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
79 * login/getpt.c (__getpt): Likewise.
80 * login/tst-utmp.c (main): Likewise.
81 * malloc/hooks.c (__malloc_check_init): Likewise.
82 * malloc/malloc.c (__malloc_stats): Likewise.
83 * malloc/mtrace.c (tr_break): Likewise.
86 * misc/fstab.c (endfsent): Likewise.
87 * misc/getclktck.c (__getclktck): Likewise.
88 * misc/getdtsz.c (__getdtablesize): Likewise.
89 * misc/gethostid.c (gethostid): Likewise.
90 * misc/getpagesize.c (__getpagesize): Likewise.
91 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
92 (__get_nprocs): Likewise.
93 (__get_phys_pages): Likewise.
94 (__get_avphys_pages): Likewise.
95 * misc/getttyent.c (getttyent): Likewise.
96 (setttyent): Likewise.
97 (endttyent): Likewise.
98 * misc/getusershell.c (getusershell): Likewise.
99 (endusershell): Likewise.
100 (setusershell): Likewise.
101 (initshells): Likewise.
102 * misc/hsearch.c (__hdestroy): Likewise.
103 * misc/sync.c (sync): Likewise.
104 * misc/syslog.c (closelog_internal): Likewise.
105 (closelog): Likewise.
106 * misc/ttyslot.c (ttyslot): Likewise.
107 * misc/vhangup.c (vhangup): Likewise.
108 * posix/fork.c (__fork): Likewise.
109 * posix/getegid.c (__getegid): Likewise.
110 * posix/geteuid.c (__geteuid): Likewise.
111 * posix/getgid.c (__getgid): Likewise.
112 * posix/getpid.c (__getpid): Likewise.
113 * posix/getppid.c (__getppid): Likewise.
114 * posix/getuid.c (__getuid): Likewise.
115 * posix/pause.c (pause): Likewise.
116 * posix/setpgrp.c (setpgrp): Likewise.
117 * posix/setsid.c (__setsid): Likewise.
118 * posix/test-vfork.c (noop): Likewise.
119 * resolv/gethnamaddr.c (_endhtent): Likewise.
120 (_gethtent): Likewise.
121 (ht_endhostent): Likewise.
122 (gethostent): Likewise.
123 (dns_service): Likewise.
124 * stdlib/drand48.c (drand48): Likewise.
125 * stdlib/lrand48.c (lrand48): Likewise.
126 * stdlib/mrand48.c (mrand48): Likewise.
127 * stdlib/rand.c (rand): Likewise.
128 * stdlib/random.c (__random): Likewise.
129 * stdlib/setenv.c (clearenv): Likewise.
130 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
131 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
132 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
133 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
134 (__get_nprocs): Likewise.
135 (__get_phys_pages): Likewise.
136 (__get_avphys_pages): Likewise.
137 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
138 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
139 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
140 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
141 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
142 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
143 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
144 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
145 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
146 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
147 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
148 * sysdeps/mach/hurd/sync.c (sync): Likewise.
149 * sysdeps/posix/clock.c (clock): Likewise.
150 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
151 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
152 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
153 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
154 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
156 (__get_nprocs_conf): Likewise.
157 (__get_phys_pages): Likewise.
158 (__get_avphys_pages): Likewise.
159 * time/clock.c (clock): Likewise.
160 * time/tzset.c (__tzname_max): Likewise.
162 2013-06-07 Joseph Myers <joseph@codesourcery.com>
164 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
165 (__bswap_32): Do not use "register".
166 * crypt/crypt.c (_ufc_doit_r): Likewise.
167 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
168 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
169 * gmon/gmon.c (__monstartup): Likewise.
170 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
171 * hurd/hurdmalloc.c (more_memory): Likewise.
175 (malloc_fork_prepare): Likewise.
176 (malloc_fork_parent): Likewise.
177 (malloc_fork_child): Likewise.
178 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
179 (_svcauth_des): Likewise.
180 * inet/inet_lnaof.c (inet_lnaof): Likewise.
181 * inet/inet_net.c (inet_network): Likewise.
182 * inet/inet_netof.c (inet_netof): Likewise.
183 * inet/rcmd.c (__validuser2_sa): Likewise.
184 * io/fts.c (fts_open): Likewise.
185 (fts_load): Likewise.
186 (fts_close): Likewise.
187 (fts_read): Likewise.
188 (fts_children): Likewise.
189 (fts_build): Likewise.
190 (fts_stat): Likewise.
191 (fts_sort): Likewise.
192 (fts_alloc): Likewise.
193 (fts_lfree): Likewise.
194 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
195 (_IO_file_xsgetn): Likewise.
196 (_IO_file_xsgetn_mmap): Likewise.
197 * libio/iofopncook.c (_IO_cookie_read): Likewise.
198 (_IO_cookie_write): Likewise.
199 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
200 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
201 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
202 * malloc/obstack.c (_obstack_begin): Likewise.
203 (_obstack_begin_1): Likewise.
204 (_obstack_newchunk): Likewise.
205 (_obstack_allocated_p): Likewise.
206 (obstack_free): Likewise.
207 (_obstack_memory_used): Likewise.
208 * misc/getttyent.c (getttynam): Likewise.
209 (getttyent): Likewise.
212 * misc/getusershell.c (initshells): Likewise.
213 * misc/syslog.c (__vsyslog_chk): Likewise.
214 * misc/ttyslot.c (ttyslot): Likewise.
215 * nis/nis_hash.c (__nis_hash): Likewise.
216 * posix/fnmatch_loop.c (FCT): Likewise.
217 * posix/getconf.c (print_all): Likewise.
219 * posix/getopt.c (exchange): Likewise.
220 * posix/glob.c (globfree): Likewise.
221 (prefix_array): Likewise.
222 (__glob_pattern_type): Likewise.
223 * resolv/arpa/nameser.h (NS_GET16): Likewise.
224 (NS_GET32): Likewise.
225 (NS_PUT16): Likewise.
226 (NS_PUT32): Likewise.
227 * resolv/gethnamaddr.c (getanswer): Likewise.
228 (gethostbyname2): Likewise.
229 (gethostbyaddr): Likewise.
230 (_gethtent): Likewise.
231 (_gethtbyname2): Likewise.
232 (_gethtbyaddr): Likewise.
233 * resolv/ns_print.c (dst_s_get_int16): Likewise.
234 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
235 * resolv/res_init.c (__res_vinit): Likewise.
236 (net_mask): Likewise.
237 * resolv/res_mkquery.c (outchar): Likewise.
239 * stdio-common/printf_fp.c (outchar): Likewise.
241 * stdio-common/printf_fphex.c (outchar): Likewise.
243 * stdio-common/printf_size.c (outchar): Likewise.
245 * stdio-common/test_rdwr.c (main): Likewise.
246 * stdio-common/tfformat.c (matches): Likewise.
247 * stdio-common/vfprintf.c (outchar): Likewise.
248 (printf_unknown): Likewise.
249 (buffered_vfprintf): Likewise.
250 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
251 * stdio-common/xbug.c (AppendToBuffer): Likewise.
252 (ReadFile): Likewise.
253 * stdlib/qsort.c (SWAP): Likewise.
254 (_quicksort): Likewise.
255 * stdlib/setenv.c (__add_to_environ): Likewise.
256 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
257 * stdlib/strtol_l.c (__strtol_l): Likewise.
258 * stdlib/tst-strtod.c (main): Likewise.
259 * stdlib/tst-strtol.c (main): Likewise.
260 * stdlib/tst-strtoll.c (main): Likewise.
261 * string/bits/string2.h (__strcmp_cc): Likewise.
262 (__strcmp_cg): Likewise.
263 (__strcspn_c1): Likewise.
264 (__strcspn_c2): Likewise.
265 (__strcspn_c3): Likewise.
266 (__strspn_c1): Likewise.
267 (__strspn_c2): Likewise.
268 (__strspn_c3): Likewise.
269 (__strsep_1c): Likewise.
270 (__strsep_2c): Likewise.
271 (__strsep_3c): Likewise.
272 * string/memccpy.c (__memccpy): Likewise.
273 * string/stpcpy.c (__stpcpy): Likewise.
274 * string/strcmp.c (strcmp): Likewise.
275 * string/strrchr.c (strrchr): Likewise.
276 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
278 * sysdeps/mach/hurd/getcwd.c
279 (_hurd_canonicalize_directory_name_internal): Likewise.
280 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
281 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
282 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
283 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
284 Likewise, in both definitions.
285 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
287 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
288 64] (__bswap_64): Likewise.
289 * time/test_time.c (main): Likewise.
290 * time/tzfile.c (__tzfile_read): Likewise.
291 (__tzfile_compute): Likewise.
292 * time/tzset.c (__tzset_parse_tz): Likewise.
293 (tzset_internal): Likewise.
294 (compute_change): Likewise.
295 * wcsmbs/wcscat.c (__wcscat): Likewise.
296 * wcsmbs/wcschr.c (wcschr): Likewise.
297 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
298 * wcsmbs/wcscspn.c (wcscspn): Likewise.
299 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
300 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
301 * wcsmbs/wcsspn.c (wcsspn): Likewise.
302 * wcsmbs/wcsstr.c (wcsstr): Likewise.
303 * wcsmbs/wmemchr.c (wmemchr): Likewise.
304 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
305 * wcsmbs/wmemset.c (wmemset): Likewise.
307 2013-06-06 Joseph Myers <joseph@codesourcery.com>
309 * scripts/config.guess: Update to version 2013-05-16.
310 * scripts/config.sub: Update to version 2013-04-24.
311 * scripts/install-sh: Update to version 2011-11-20.07.
312 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
313 * scripts/move-if-change: Update to version 2012-01-06 07:23.
315 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
317 * debug/fgetws_u_chk.c: Fix leading whitespaces.
318 * elf/sln.c: Likewise.
319 * hurd/hurd/ioctl.h: Likewise.
320 * hurd/hurdmalloc.c: Likewise.
321 * hurd/xattr.c: Likewise.
322 * include/shlib-compat.h: Likewise.
323 * inet/ruserpass.c: Likewise.
324 * libio/iofgets_u.c: Likewise.
325 * libio/iofgetws_u.c: Likewise.
326 * locale/programs/ld-identification.c: Likewise.
327 * locale/programs/ld-time.c: Likewise.
328 * mach/msg-destroy.c: Likewise.
329 * nss/nss_files/files-netgrp.c: Likewise.
330 * resolv/res_data.c: Likewise.
331 * soft-fp/op-1.h: Likewise.
332 * soft-fp/op-2.h: Likewise.
333 * soft-fp/op-4.h: Likewise.
334 * soft-fp/op-common.h: Likewise.
335 * stdio-common/printf_fphex.c: Likewise.
336 * stdlib/strtod_l.c: Likewise.
337 * sunrpc/rpc/clnt.h: Likewise.
338 * sysdeps/generic/framestate.c: Likewise.
339 * sysdeps/i386/bsd-_setjmp.S: Likewise.
340 * sysdeps/i386/bsd-setjmp.S: Likewise.
341 * sysdeps/i386/__longjmp.S: Likewise.
342 * sysdeps/i386/setjmp.S: Likewise.
343 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
344 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
345 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
346 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
347 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
348 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
349 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
350 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
351 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
352 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
353 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
354 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
355 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
356 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
357 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
358 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
359 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
360 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
361 * sysdeps/ieee754/support.c: Likewise.
362 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
363 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
364 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
365 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
366 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
367 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
368 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
369 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
370 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
371 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
372 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
373 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
374 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
375 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
376 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
377 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
378 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
381 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
383 * posix/transbug.c: Remove executable mode.
385 2013-06-05 Joseph Myers <joseph@codesourcery.com>
387 * crypt/speeds.c: Remove trailing whitespace.
388 * dlfcn/default.c: Likewise.
389 * elf/ifuncdep2.c: Likewise.
390 * elf/ifuncmain1.c: Likewise.
391 * elf/ifuncmain1vis.c: Likewise.
392 * elf/testobj.h: Likewise.
393 * elf/tst-stackguard1.c: Likewise.
394 * gmon/sys/gmon.h: Likewise.
395 * hurd/hurdmsg.c: Likewise.
396 * hurd/new-fd.c: Likewise.
397 * hurd/ports-get.c: Likewise.
398 * iconvdata/ibm1008_420.c: Likewise.
399 * inet/tst-getni1.c: Likewise.
400 * inet/tst-getni2.c: Likewise.
401 * libio/ioungetc.c: Likewise.
402 * libio/wfiledoalloc.c: Likewise.
403 * manual/libm-err-tab.pl: Likewise.
404 * math/w_dremf.c: Likewise.
405 * misc/ftruncate.c: Likewise.
406 * posix/bug-glob2.c: Likewise.
407 * posix/tst-pcre.c: Likewise.
408 * posix/wait4.c: Likewise.
409 * resolv/README: Likewise.
410 * resolv/res_debug.h: Likewise.
411 * resolv/tst-inet_ntop.c: Likewise.
412 * setjmp/bug269-setjmp.c: Likewise.
413 * soft-fp/extended.h: Likewise.
414 * soft-fp/op-1.h: Likewise.
415 * soft-fp/op-2.h: Likewise.
416 * soft-fp/op-4.h: Likewise.
417 * soft-fp/op-8.h: Likewise.
418 * soft-fp/testit.c: Likewise.
419 * stdio-common/bug16.c: Likewise.
420 * stdlib/random.c: Likewise.
421 * sunrpc/rpcsvc/rquota.x: Likewise.
422 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
423 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
424 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
425 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
426 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
427 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
428 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
429 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
430 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
431 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
432 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
433 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
434 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
435 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
436 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
437 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
438 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
439 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
440 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
441 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
442 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
443 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
444 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
445 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
446 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
447 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
448 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
449 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
450 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
451 * sysdeps/ieee754/s_lib_version.c: Likewise.
452 * sysdeps/mach/hurd/check_fds.c: Likewise.
453 * sysdeps/mach/hurd/getsockname.c: Likewise.
454 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
455 * sysdeps/mach/hurd/recvfrom.c: Likewise.
456 * sysdeps/powerpc/bits/link.h: Likewise.
457 * sysdeps/powerpc/dl-procinfo.c: Likewise.
458 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
459 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
460 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
461 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
462 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
463 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
464 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
465 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
466 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
467 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
468 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
469 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
470 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
471 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
472 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
473 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
474 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
475 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
476 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
477 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
478 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
479 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
480 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
481 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
482 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
483 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
484 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
485 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
486 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
487 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
488 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
489 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
490 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
491 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
492 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
493 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
494 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
495 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
496 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
497 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
498 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
499 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
500 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
501 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
502 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
503 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
504 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
505 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
506 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
507 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
508 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
509 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
510 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
511 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
512 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
513 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
514 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
515 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
516 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
517 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
518 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
519 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
520 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
521 * sysdeps/powerpc/sysdep.h: Likewise.
522 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
523 * sysdeps/s390/s390-64/sub_n.S: Likewise.
524 * sysdeps/sh/dl-trampoline.S: Likewise.
525 * sysdeps/sh/memset.S: Likewise.
526 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
527 * sysdeps/sh/strlen.S: Likewise.
528 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
529 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
530 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
531 * sysdeps/sparc/sparc32/rem.S: Likewise.
532 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
533 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
534 * sysdeps/sparc/sparc32/strchr.S: Likewise.
535 * sysdeps/sparc/sparc32/udiv.S: Likewise.
536 * sysdeps/sparc/sparc32/urem.S: Likewise.
537 * sysdeps/sparc/sparc64/add_n.S: Likewise.
538 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
539 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
540 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
541 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
542 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
543 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
544 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
545 * sysdeps/unix/bsd/times.c: Likewise.
546 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
547 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
551 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
552 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
553 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
554 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
555 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
556 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
557 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
558 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
559 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
560 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
561 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
562 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
563 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
564 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
565 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
566 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
567 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
568 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
569 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
570 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
571 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
572 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
573 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
574 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
575 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
576 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
577 * sysdeps/x86_64/strcspn.S: Likewise.
579 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
581 * locale/C-translit.h: Revert #include <stdint.h> because this is a
582 generated file. Regenerate properly from gen-translit.pl.
583 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
586 2013-06-05 Andreas Schwab <schwab@suse.de>
589 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
590 week as 6 instead of -1.
591 * time/tst-strptime.c (day_tests): Add test case.
593 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
595 * sysdeps/generic/math_private.h
596 (libc_feholdexcept_setround_53bit): Replace with
597 libc_feholdsetround_53bit.
598 (libc_feupdateenv_53bit): Replace with
599 libc_feresetround_53bit.
600 (SET_RESTORE_ROUND_53BIT): Adjust.
602 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
604 * string/test-strchrnul.c: Add copyright header.
606 * posix/tst-getaddrinfo4.c: Increase test timeout.
608 2013-06-03 Carlos O'Donell <carlos@redhat.com>
611 * math/libm-test.inc (MAX_EXP): Remove
613 (ulp): Use MIN_EXP - MANT_DIG.
614 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
616 2013-05-31 Carlos O'Donell <carlos@redhat.com>
618 * po/be.po: Revert last change.
619 * po/zh_CN.po: Likewise.
620 * po/header.pot: Likewise.
622 2013-05-31 Joseph Myers <joseph@codesourcery.com>
624 * Makefile ($(common-objpfx)linkobj/libc.so): Define
625 link-libc-deps to empty as target-specific variable.
626 * Makerules (link-libc-args): New variable.
627 (libc-for-link): Likewise.
628 (link-libc-deps): Likewise.
629 (lib%.so): Depend on $(link-libc-deps). Link with
631 (build-module): Link with $(link-libc-args).
632 (build-module-asneeded): Likewise.
633 (build-module-helper-objlist): Filter out $(link-libc-deps) from
635 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
636 target-specific variable.
637 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
638 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
639 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
641 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
643 ($(objpfx)libpcprofile.so): Likewise.
644 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
646 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
647 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
648 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
650 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
651 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
652 * login/Makefile ($(objpfx)libutil.so): Likewise.
653 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
654 * math/Makefile ($(objpfx)libm.so): Likewise.
655 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
656 $(objpfx)libnsl.so): Define libc-for-link as target-specific
657 variable instead of depending directly on libc.
658 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
659 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
661 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
663 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
664 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
665 ($(objpfx)libanl.so): Likewise.
666 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
668 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
670 * sysdeps/i386/fpu/Makefile: Remove file.
671 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
672 ($(objpfx)libm.so): Remove dependency on ld.so.
674 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
677 * nis/yp_xdr.c (XDRMAXNAME): Define.
678 (XDRMAXRECORD): Define.
679 (xdr_domainname): Use XDRMAXNAME.
680 (xdr_mapname): Likewise.
681 (xdr_peername): Likewise.
682 (xdr_keydat): Use XDRMAXRECORD.
683 (xdr_valdat): Likewise.
685 2013-05-30 Jeff Law <law@redhat.com>
688 * manual/errno.texi (ESTALE): Update to account for more than
689 just NFS file systems.
690 * sysdeps/gnu/errlist.c: Regenerated.
692 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
695 * elf/Makefile (tests): Add tst-null-argv.
696 (modules-names): Add tst-null-argv-lib.
697 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
698 (tst-null-argv-ENV): Set environment for tst-null-argv.
699 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
700 (RTLD_PROGNAME): New macro.
701 * elf/tst-null-argv.c: New test case.
702 * elf/tst-null-argv-lib.c: Library for test case.
703 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
704 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
705 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
706 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
707 * elf/dl-init.c (call_init): Likewise.
708 (_dl_init): Likewise.
709 * elf/dl-load.c (print_search_path): Likewise.
710 (_dl_map_object): Likewise.
711 * elf/dl-lookup.c (do_lookup_x): Likewise.
712 (add_dependency): Likewise.
713 (_dl_lookup_symbol_x): Likewise.
714 (_dl_debug_bindings): Likewise.
715 * elf/dl-open.c (_dl_show_scope): Likewise.
716 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
717 * elf/dl-version.c (match_symbol): Likewise.
718 (_dl_check_map_versions): Likewise.
719 * elf/rtld.c (dl_main): Likewise.
720 (print_unresolved): Use RTLD_PROGNAME.
721 (print_missing_version): Likewise.
722 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
723 (elf_machine_rela): Likewise.
724 * sysdeps/powerpc/powerpc32/dl-machine.c
725 (__process_machine_rela): Likewise.
726 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
728 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
730 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
732 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
733 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
735 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
739 2013-05-28 Carlos O'Donell <carlos@redhat.com>
741 * po/be.po: Add descriptive title.
742 * po/zh_CN.po: Likewise.
743 * po/header.pot: Likewise.
745 2013-05-28 Mike Frysinger <vapier@gentoo.org>
747 * locale/programs/locarchive.c (create_archive): Inlucde fname in
749 (enlarge_archive): Likewise.
751 2013-05-28 Ben North <ben@redfrontdoor.org>
753 * manual/arith.texi (frexp): It is the magnitude of the return
754 value which lies in [0.5, 1), not the return value itself.
756 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
760 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
762 * stdio-common/bug26.c (main): Correct fscanf template.
764 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
765 declare _dl_skip_args.
767 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
770 * manual/platform.texi: Add missing @end deftypefun.
772 2013-05-24 Joseph Myers <joseph@codesourcery.com>
775 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
776 bit of mantissa of 2^16382.
777 * math/libm-test.inc (hypot_test_data): Add more tests.
779 * math/libm-test.inc: Add drem and pow10 to list of tested
781 (pow10_test): New function.
782 (drem_test): Likewise.
783 (drem_test_tonearest): Likewise.
784 (drem_test_towardzero): Likewise.
785 (drem_test_downward): Likewise.
786 (drem_test_upward): Likewise.
787 (main): Call the new functions.
789 * math/libm-test.inc (finite_test_data): Remove.
790 (finite_test): Run tests from isfinite_test_data.
791 (gamma_test_data): Remove.
792 (gamma_test): Run tests from lgamma_test_data.
793 * sysdeps/i386/fpu/libm-test-ulps: Update.
794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
796 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
798 * manual/platform.texi: Add PowerPC PPR function set documentation.
799 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
802 2013-05-24 Carlos O'Donell <carlos@redhat.com>
804 * math/libm-test.inc (MAX_EXP): Define.
807 (check_float_internal): Use ULPDIFF.
808 (cpow_test): Disable failing test.
809 (check_ulp): Test ulp() implemetnation.
810 (main): Call check_ulp before starting tests.
812 2013-05-24 Joseph Myers <joseph@codesourcery.com>
814 * math/gen-libm-test.pl (generate_testfile): Do not handle
815 START_DATA and END_DATA.
816 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
818 (acos_tonearest_test_data): Likewise.
819 (acos_towardzero_test_data): Likewise.
820 (acos_downward_test_data): Likewise.
821 (acos_upward_test_data): Likewise.
822 (acosh_test_data): Likewise.
823 (asin_test_data): Likewise.
824 (asin_tonearest_test_data): Likewise.
825 (asin_towardzero_test_data): Likewise.
826 (asin_downward_test_data): Likewise.
827 (asin_upward_test_data): Likewise.
828 (asinh_test_data): Likewise.
829 (atan_test_data): Likewise.
830 (atanh_test_data): Likewise.
831 (atan2_test_data): Likewise.
832 (cabs_test_data): Likewise.
833 (cacos_test_data): Likewise.
834 (cacosh_test_data): Likewise.
835 (carg_test_data): Likewise.
836 (casin_test_data): Likewise.
837 (casinh_test_data): Likewise.
838 (catan_test_data): Likewise.
839 (catanh_test_data): Likewise.
840 (cbrt_test_data): Likewise.
841 (ccos_test_data): Likewise.
842 (ccosh_test_data): Likewise.
843 (ceil_test_data): Likewise.
844 (cexp_test_data): Likewise.
845 (cimag_test_data): Likewise.
846 (clog_test_data): Likewise.
847 (clog10_test_data): Likewise.
848 (conj_test_data): Likewise.
849 (copysign_test_data): Likewise.
850 (cos_test_data): Likewise.
851 (cos_tonearest_test_data): Likewise.
852 (cos_towardzero_test_data): Likewise.
853 (cos_downward_test_data): Likewise.
854 (cos_upward_test_data): Likewise.
855 (cosh_test_data): Likewise.
856 (cosh_tonearest_test_data): Likewise.
857 (cosh_towardzero_test_data): Likewise.
858 (cosh_downward_test_data): Likewise.
859 (cosh_upward_test_data): Likewise.
860 (cpow_test_data): Likewise.
861 (cproj_test_data): Likewise.
862 (creal_test_data): Likewise.
863 (csin_test_data): Likewise.
864 (csinh_test_data): Likewise.
865 (csqrt_test_data): Likewise.
866 (ctan_test_data): Likewise.
867 (ctan_tonearest_test_data): Likewise.
868 (ctan_towardzero_test_data): Likewise.
869 (ctan_downward_test_data): Likewise.
870 (ctan_upward_test_data): Likewise.
871 (ctanh_test_data): Likewise.
872 (ctanh_tonearest_test_data): Likewise.
873 (ctanh_towardzero_test_data): Likewise.
874 (ctanh_downward_test_data): Likewise.
875 (ctanh_upward_test_data): Likewise.
876 (erf_test_data): Likewise.
877 (erfc_test_data): Likewise.
878 (exp_test_data): Likewise.
879 (exp_tonearest_test_data): Likewise.
880 (exp_towardzero_test_data): Likewise.
881 (exp_downward_test_data): Likewise.
882 (exp_upward_test_data): Likewise.
883 (exp10_test_data): Likewise.
884 (exp2_test_data): Likewise.
885 (expm1_test_data): Likewise.
886 (fabs_test_data): Likewise.
887 (fdim_test_data): Likewise.
888 (finite_test_data): Likewise.
889 (floor_test_data): Likewise.
890 (fma_test_data): Likewise.
891 (fma_towardzero_test_data): Likewise.
892 (fma_downward_test_data): Likewise.
893 (fma_upward_test_data): Likewise.
894 (fmax_test_data): Likewise.
895 (fmin_test_data): Likewise.
896 (fmod_test_data): Likewise.
897 (fpclassify_test_data): Likewise.
898 (frexp_test_data): Likewise.
899 (gamma_test_data): Likewise.
900 (hypot_test_data): Likewise.
901 (ilogb_test_data): Likewise.
902 (isfinite_test_data): Likewise.
903 (isgreater_test_data): Likewise.
904 (isgreaterequal_test_data): Likewise.
905 (isinf_test_data): Likewise.
906 (isless_test_data): Likewise.
907 (islessequal_test_data): Likewise.
908 (islessgreater_test_data): Likewise.
909 (isnan_test_data): Likewise.
910 (isnormal_test_data): Likewise.
911 (issignaling_test_data): Likewise.
912 (isunordered_test_data): Likewise.
913 (j0_test_data): Likewise.
914 (j1_test_data): Likewise.
915 (jn_test_data): Likewise.
916 (ldexp_test_data): Likewise.
917 (lgamma_test_data): Likewise.
918 (lrint_test_data): Likewise.
919 (lrint_tonearest_test_data): Likewise.
920 (lrint_towardzero_test_data): Likewise.
921 (lrint_downward_test_data): Likewise.
922 (lrint_upward_test_data): Likewise.
923 (llrint_test_data): Likewise.
924 (llrint_tonearest_test_data): Likewise.
925 (llrint_towardzero_test_data): Likewise.
926 (llrint_downward_test_data): Likewise.
927 (llrint_upward_test_data): Likewise.
928 (log_test_data): Likewise.
929 (log10_test_data): Likewise.
930 (log1p_test_data): Likewise.
931 (log2_test_data): Likewise.
932 (logb_test_data): Likewise.
933 (logb_downward_test_data): Likewise.
934 (lround_test_data): Likewise.
935 (llround_test_data): Likewise.
936 (modf_test_data): Likewise.
937 (nearbyint_test_data): Likewise.
938 (nextafter_test_data): Likewise.
939 (nexttoward_test_data): Likewise.
940 (pow_test_data): Likewise.
941 (pow_tonearest_test_data): Likewise.
942 (pow_towardzero_test_data): Likewise.
943 (pow_downward_test_data): Likewise.
944 (pow_upward_test_data): Likewise.
945 (remainder_test_data): Likewise.
946 (remainder_tonearest_test_data): Likewise.
947 (remainder_towardzero_test_data): Likewise.
948 (remainder_downward_test_data): Likewise.
949 (remainder_upward_test_data): Likewise.
950 (remquo_test_data): Likewise.
951 (rint_test_data): Likewise.
952 (rint_tonearest_test_data): Likewise.
953 (rint_towardzero_test_data): Likewise.
954 (rint_downward_test_data): Likewise.
955 (rint_upward_test_data): Likewise.
956 (round_test_data): Likewise.
957 (scalb_test_data): Likewise.
958 (scalbn_test_data): Likewise.
959 (scalbln_test_data): Likewise.
960 (signbit_test_data): Likewise.
961 (sin_test_data): Likewise.
962 (sin_tonearest_test_data): Likewise.
963 (sin_towardzero_test_data): Likewise.
964 (sin_downward_test_data): Likewise.
965 (sin_upward_test_data): Likewise.
966 (sincos_test_data): Likewise.
967 (sinh_test_data): Likewise.
968 (sinh_tonearest_test_data): Likewise.
969 (sinh_towardzero_test_data): Likewise.
970 (sinh_downward_test_data): Likewise.
971 (sinh_upward_test_data): Likewise.
972 (sqrt_test_data): Likewise.
973 (tan_test_data): Likewise.
974 (tan_tonearest_test_data): Likewise.
975 (tan_towardzero_test_data): Likewise.
976 (tan_downward_test_data): Likewise.
977 (tan_upward_test_data): Likewise.
978 (tanh_test_data): Likewise.
979 (tgamma_test_data): Likewise.
980 (trunc_test_data): Likewise.
981 (y0_test_data): Likewise.
982 (y1_test_data): Likewise.
983 (yn_test_data): Likewise.
984 (significand_test_data): Likewise.
986 * math/gen-libm-test.pl (@functions): Remove variable.
987 (generate_testfile): Don't handle START and END lines.
988 * math/libm-test.inc (START): New macro.
990 (END_COMPLEX): Likewise.
991 (acos_test): Use END macro without arguments.
992 (acos_test_tonearest): Likewise.
993 (acos_test_towardzero): Likewise.
994 (acos_test_downward): Likewise.
995 (acos_test_upward): Likewise.
996 (acosh_test): Likewise.
997 (asin_test): Likewise.
998 (asin_test_tonearest): Likewise.
999 (asin_test_towardzero): Likewise.
1000 (asin_test_downward): Likewise.
1001 (asin_test_upward): Likewise.
1002 (asinh_test): Likewise.
1003 (atan_test): Likewise.
1004 (atanh_test): Likewise.
1005 (atan2_test): Likewise.
1006 (cabs_test): Likewise.
1007 (cacos_test): Use END_COMPLEX macro without arguments.
1008 (cacosh_test): Likewise.
1009 (carg_test): Use END macro without arguments.
1010 (casin_test): Use END_COMPLEX macro without arguments.
1011 (casinh_test): Likewise.
1012 (catan_test): Likewise.
1013 (catanh_test): Likewise.
1014 (cbrt_test): Use END macro without arguments.
1015 (ccos_test): Use END_COMPLEX macro without arguments.
1016 (ccosh_test): Likewise.
1017 (ceil_test): Use END macro without arguments.
1018 (cexp_test): Use END_COMPLEX macro without arguments.
1019 (cimag_test): Use END macro without arguments.
1020 (clog_test): Use END_COMPLEX macro without arguments.
1021 (clog10_test): Likewise.
1022 (conj_test): Likewise.
1023 (copysign_test): Use END macro without arguments.
1024 (cos_test): Likewise.
1025 (cos_test_tonearest): Likewise.
1026 (cos_test_towardzero): Likewise.
1027 (cos_test_downward): Likewise.
1028 (cos_test_upward): Likewise.
1029 (cosh_test): Likewise.
1030 (cosh_test_tonearest): Likewise.
1031 (cosh_test_towardzero): Likewise.
1032 (cosh_test_downward): Likewise.
1033 (cosh_test_upward): Likewise.
1034 (cpow_test): Use END_COMPLEX macro without arguments.
1035 (cproj_test): Likewise.
1036 (creal_test): Use END macro without arguments.
1037 (csin_test): Use END_COMPLEX macro without arguments.
1038 (csinh_test): Likewise.
1039 (csqrt_test): Likewise.
1040 (ctan_test): Likewise.
1041 (ctan_test_tonearest): Likewise.
1042 (ctan_test_towardzero): Likewise.
1043 (ctan_test_downward): Likewise.
1044 (ctan_test_upward): Likewise.
1045 (ctanh_test): Likewise.
1046 (ctanh_test_tonearest): Likewise.
1047 (ctanh_test_towardzero): Likewise.
1048 (ctanh_test_downward): Likewise.
1049 (ctanh_test_upward): Likewise.
1050 (erf_test): Use END macro without arguments.
1051 (erfc_test): Likewise.
1052 (exp_test): Likewise.
1053 (exp_test_tonearest): Likewise.
1054 (exp_test_towardzero): Likewise.
1055 (exp_test_downward): Likewise.
1056 (exp_test_upward): Likewise.
1057 (exp10_test): Likewise.
1058 (exp2_test): Likewise.
1059 (expm1_test): Likewise.
1060 (fabs_test): Likewise.
1061 (fdim_test): Likewise.
1062 (finite_test): Likewise.
1063 (floor_test): Likewise.
1064 (fma_test): Likewise.
1065 (fma_test_towardzero): Likewise.
1066 (fma_test_downward): Likewise.
1067 (fma_test_upward): Likewise.
1068 (fmax_test): Likewise.
1069 (fmin_test): Likewise.
1070 (fmod_test): Likewise.
1071 (fpclassify_test): Likewise.
1072 (frexp_test): Likewise.
1073 (gamma_test): Likewise.
1074 (hypot_test): Likewise.
1075 (ilogb_test): Likewise.
1076 (isfinite_test): Likewise.
1077 (isgreater_test): Likewise.
1078 (isgreaterequal_test): Likewise.
1079 (isinf_test): Likewise.
1080 (isless_test): Likewise.
1081 (islessequal_test): Likewise.
1082 (islessgreater_test): Likewise.
1083 (isnan_test): Likewise.
1084 (isnormal_test): Likewise.
1085 (issignaling_test): Likewise.
1086 (isunordered_test): Likewise.
1087 (j0_test): Likewise.
1088 (j1_test): Likewise.
1089 (jn_test): Likewise.
1090 (ldexp_test): Likewise.
1091 (lgamma_test): Likewise.
1092 (lrint_test): Likewise.
1093 (lrint_test_tonearest): Likewise.
1094 (lrint_test_towardzero): Likewise.
1095 (lrint_test_downward): Likewise.
1096 (lrint_test_upward): Likewise.
1097 (llrint_test): Likewise.
1098 (llrint_test_tonearest): Likewise.
1099 (llrint_test_towardzero): Likewise.
1100 (llrint_test_downward): Likewise.
1101 (llrint_test_upward): Likewise.
1102 (log_test): Likewise.
1103 (log10_test): Likewise.
1104 (log1p_test): Likewise.
1105 (log2_test): Likewise.
1106 (logb_test): Likewise.
1107 (logb_test_downward): Likewise.
1108 (lround_test): Likewise.
1109 (llround_test): Likewise.
1110 (modf_test): Likewise.
1111 (nearbyint_test): Likewise.
1112 (nextafter_test): Likewise.
1113 (nexttoward_test): Likewise.
1114 (pow_test): Likewise.
1115 (pow_test_tonearest): Likewise.
1116 (pow_test_towardzero): Likewise.
1117 (pow_test_downward): Likewise.
1118 (pow_test_upward): Likewise.
1119 (remainder_test): Likewise.
1120 (remainder_test_tonearest): Likewise.
1121 (remainder_test_towardzero): Likewise.
1122 (remainder_test_downward): Likewise.
1123 (remainder_test_upward): Likewise.
1124 (remquo_test): Likewise.
1125 (rint_test): Likewise.
1126 (rint_test_tonearest): Likewise.
1127 (rint_test_towardzero): Likewise.
1128 (rint_test_downward): Likewise.
1129 (rint_test_upward): Likewise.
1130 (round_test): Likewise.
1131 (scalb_test): Likewise.
1132 (scalbn_test): Likewise.
1133 (scalbln_test): Likewise.
1134 (signbit_test): Likewise.
1135 (sin_test): Likewise.
1136 (sin_test_tonearest): Likewise.
1137 (sin_test_towardzero): Likewise.
1138 (sin_test_downward): Likewise.
1139 (sin_test_upward): Likewise.
1140 (sincos_test): Likewise.
1141 (sinh_test): Likewise.
1142 (sinh_test_tonearest): Likewise.
1143 (sinh_test_towardzero): Likewise.
1144 (sinh_test_downward): Likewise.
1145 (sinh_test_upward): Likewise.
1146 (sqrt_test): Likewise.
1147 (tan_test): Likewise.
1148 (tan_test_tonearest): Likewise.
1149 (tan_test_towardzero): Likewise.
1150 (tan_test_downward): Likewise.
1151 (tan_test_upward): Likewise.
1152 (tanh_test): Likewise.
1153 (tgamma_test): Likewise.
1154 (trunc_test): Likewise.
1155 (y0_test): Likewise.
1156 (y1_test): Likewise.
1157 (yn_test): Likewise.
1158 (significand_test): Likewise.
1160 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
1163 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1165 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1168 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1169 __ppc_mdoio and __ppc_mdoom.
1170 * manual/platform.texi: Document new functions __ppc_yield,
1171 __ppc_mdoio and __ppc_mdoom.
1173 2013-05-22 Carlos O'Donell <carlos@redhat.com>
1175 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1176 (main): Mention "tls" pseudo-hwcap is legacy.
1177 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1179 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1181 * math/gen-libm-test.pl (parse_args): Output only string of
1182 arguments as text for test name, not full call or descriptions of
1183 tests for extra outputs.
1184 (generate_testfile): Do not pass function name to parse_args.
1185 Generate this_func variable from START.
1186 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1188 (struct test_ff_f_data): Likewise.
1189 (test_ff_f_data_nexttoward): Likewise.
1190 (struct test_fi_f_data): Likewise.
1191 (struct test_fl_f_data): Likewise.
1192 (struct test_if_f_data): Likewise.
1193 (struct test_fff_f_data): Likewise.
1194 (struct test_c_f_data): Likewise.
1195 (struct test_f_f1_data): Likewise. Remove field extra_name.
1196 (struct test_fF_f1_data): Likewise.
1197 (struct test_ffI_f1_data): Likewise.
1198 (struct test_c_c_data): Rename test_name field to arg_str.
1199 (struct test_cc_c_data): Likewise.
1200 (struct test_f_i_data): Likewise.
1201 (struct test_ff_i_data): Likewise.
1202 (struct test_f_l_data): Likewise.
1203 (struct test_f_L_data): Likewise.
1204 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1206 (COMMON_TEST_SETUP): New macro.
1207 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1208 (COMMON_TEST_CLEANUP): Likewise.
1209 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1210 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1212 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1213 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1215 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1216 (RUN_TEST_fff_f): Take argument string. Call new setup and
1218 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1219 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1221 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1222 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1224 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1225 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1227 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1228 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1230 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1231 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1233 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1234 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1236 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1237 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1239 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1240 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1242 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1243 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1245 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1246 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1248 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1249 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1251 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1252 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1254 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1255 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1257 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1258 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1260 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1261 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1263 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1265 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1267 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1268 to _sifields.sigfault.
1269 (si_addr_lsb): Define new macro.
1270 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1271 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1272 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1274 2013-05-03 Carlos O'Donell <carlos at redhat.com>
1277 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1279 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1281 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1284 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1286 * math/gen-libm-test.pl (parse_args): Do not include expected
1287 result in test name.
1288 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1289 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1290 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1291 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1292 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1295 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1297 * benchtests/Makefile: Sort function entries.
1299 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1300 tanh, asinh, acosh, atanh.
1301 * benchtests/acos-inputs: New file.
1302 * benchtests/acosh-inputs: New file.
1303 * benchtests/asin-inputs: New file.
1304 * benchtests/asinh-inputs: New file.
1305 * benchtests/atanh-inputs: New file.
1306 * benchtests/cosh-inputs: New file.
1307 * benchtests/log-inputs: New file.
1308 * benchtests/sinh-inputs: New file.
1309 * benchtests/tanh-inputs: New file.
1311 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1314 * posix/tst-getaddrinfo4.c: New test.
1315 * posix/Makefile (tests): Add it.
1317 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1320 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1321 when no services were used.
1322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1323 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1325 2013-05-21 Andreas Schwab <schwab@suse.de>
1328 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1329 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1331 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1332 redundant variable declarations and reallocation of buffer when
1333 parsing as IPv6 address. Always set NSS status when called from
1334 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1335 buffer too small. Correct computation of needed size.
1336 * nss/Makefile (tests): Add test-digits-dots.
1337 * nss/test-digits-dots.c: New test.
1339 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1341 * benchtests/Makefile: Remove instructions for adding
1343 * benchtests/README: New file to explain how to execute and
1344 enhance the benchmark tests.
1346 2013-05-21 Andreas Schwab <schwab@suse.de>
1349 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1350 * setjmp/tst-sigsetjmp.c: New test.
1352 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1354 * sysdeps/x86_64/memset.S (memset): New implementation.
1355 (__bzero): Likewise.
1356 (__memset_tail): New function.
1358 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1360 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1361 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1362 __memcpy_sse2_unaligned ifunc selection.
1363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1364 Add memcpy-sse2-unaligned.S.
1365 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1366 Add: __memcpy_sse2_unaligned.
1368 2013-05-19 Joseph Myers <joseph@codesourcery.com>
1371 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1372 math_force_eval before restoring floating-point envrionment.
1373 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1374 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1376 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1378 (__nearbyintl): Use math_force_eval before restoring
1379 floating-point environment.
1380 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1382 * math/gen-libm-test.pl (special_functions): Remove.
1383 (parse_args): Don't handle TEST_extra. Handle functions with no
1385 * math/libm-test.inc (struct test_sincos_data): Replace with
1386 struct test_fFF_11_data.
1387 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1388 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1389 (sincos_test_data): Change element type to struct
1390 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1391 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1392 RUN_TEST_LOOP_sincos.
1393 * math/README.libm-test: Don't mention special handling of
1394 individual functions.
1395 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1396 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1397 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1398 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1399 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1402 * math/gen-libm-test.pl (get_variable): Remove function.
1403 (parse_args): Don't show pointer parameters to call in test
1404 names. Use "extra output N" in test names for extra outputs
1405 rather than naming variables.
1407 2013-05-18 Joseph Myers <joseph@codesourcery.com>
1410 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1411 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1412 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1414 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1416 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1419 * math/gen-libm-test.pl (@tests): Remove variable.
1421 (new_test): Remove function.
1422 (show_exceptions): New function.
1423 (special_functions): Use show_exceptions instead of new_test.
1424 (parse_args): Likewise.
1425 (generate_testfile): Pass only function name in generated call to
1426 print_max_error or print_complex_max_error.
1427 (get_ulps): Do not handle complex tests specially.
1428 (output_test): Rename to ...
1429 (get_all_ulps_for_test): ... this. Return a string rather than
1430 printing to a file. Require ulps to be present.
1431 (output_ulps): Generate arrays rather than #defines.
1432 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1433 (struct ulp_data): New type.
1434 (BUILD_COMPLEX_ULP): Remove macro.
1435 (compare_ulp_data): New function.
1436 (find_ulps): Likewise.
1437 (find_test_ulps): Likewise.
1438 (find_function_ulps): Likewise.
1439 (find_complex_function_ulps): Likewise.
1440 (print_max_error): Determine allowed ulps using
1442 (print_complex_max_error): Determine allowed ulps using
1443 find_complex_function_ulps.
1444 (check_float_internal): Determine max ulps using find_test_ulps.
1445 (check_float): Do not take max_ulp parameter. Update call to
1446 check_float_internal.
1447 (check_complex): Likewise.
1448 (check_int): Do not take max_ulp parameter.
1449 (check_long): Likewise.
1450 (check_bool): Likewise.
1451 (check_longlong): Likewise.
1452 (struct test_f_f_data): Remove max_ulp field.
1453 (struct test_ff_f_data): Likewise.
1454 (struct test_ff_f_data_nexttoward): Likewise.
1455 (struct test_fi_f_data): Likewise.
1456 (struct test_fl_f_data): Likewise.
1457 (struct test_if_f_data): Likewise.
1458 (struct test_fff_f_data): Likewise.
1459 (struct test_c_f_data): Likewise.
1460 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1461 (struct test_fF_f1_data): Likewise.
1462 (struct test_ffI_f1_data): Likewise.
1463 (struct test_c_c_data): Remove max_ulp field.
1464 (struct test_cc_c_data): Likewise.
1465 (struct test_f_i_data): Likewise.
1466 (struct test_ff_i_data): Likewise.
1467 (struct test_f_l_data): Likewise.
1468 (struct test_f_L_data): Likewise.
1469 (struct test_sincos_data): Likewise.
1470 (RUN_TEST_f_f): Do not handle ulps.
1471 (RUN_TEST_LOOP_f_f): Likewise.
1472 (RUN_TEST_2_f): Likewise.
1473 (RUN_TEST_LOOP_2_f): Likewise.
1474 (RUN_TEST_fff_f): Likewise.
1475 (RUN_TEST_LOOP_fff_f): Likewise.
1476 (RUN_TEST_c_f): Likewise.
1477 (RUN_TEST_LOOP_c_f): Likewise.
1478 (RUN_TEST_f_f1): Likewise.
1479 (RUN_TEST_LOOP_f_f1): Likewise.
1480 (RUN_TEST_fF_f1): Likewise.
1481 (RUN_TEST_LOOP_fF_f1): Likewise.
1482 (RUN_TEST_fI_f1): Likewise.
1483 (RUN_TEST_LOOP_fI_f1): Likewise.
1484 (RUN_TEST_ffI_f1): Likewise.
1485 (RUN_TEST_LOOP_ffI_f1): Likewise.
1486 (RUN_TEST_c_c): Likewise.
1487 (RUN_TEST_LOOP_c_c): Likewise.
1488 (RUN_TEST_cc_c): Likewise.
1489 (RUN_TEST_LOOP_cc_c): Likewise.
1490 (RUN_TEST_f_i): Likewise.
1491 (RUN_TEST_LOOP_f_i): Likewise.
1492 (RUN_TEST_f_i_tg): Likewise.
1493 (RUN_TEST_LOOP_f_i_tg): Likewise.
1494 (RUN_TEST_ff_i_tg): Likewise.
1495 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1496 (RUN_TEST_f_b): Likewise.
1497 (RUN_TEST_LOOP_f_b): Likewise.
1498 (RUN_TEST_f_b_tg): Likewise.
1499 (RUN_TEST_LOOP_f_b_tg): Likewise.
1500 (RUN_TEST_f_l): Likewise.
1501 (RUN_TEST_LOOP_f_l): Likewise.
1502 (RUN_TEST_f_L): Likewise.
1503 (RUN_TEST_LOOP_f_L): Likewise.
1504 (RUN_TEST_sincos): Likewise.
1505 (RUN_TEST_LOOP_sincos): Likewise.
1507 2013-05-17 Joseph Myers <joseph@codesourcery.com>
1511 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1512 main case of finite arguments, set rounding mode to FE_TONEAREST
1513 and discard exceptions.
1514 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1516 (remainder_tonearest_test_data): New variable.
1517 (remainder_test_tonearest): New function.
1518 (remainder_towardzero_test_data): New variable.
1519 (remainder_test_towardzero): New function.
1520 (remainder_downward_test_data): New variable.
1521 (remainder_test_downward): New function.
1522 (remainder_upward_test_data): New variable.
1523 (remainder_test_upward): New function.
1524 (main): Call the new test functions.
1526 * math/libm-test.inc (struct test_f_f1_data): Remove field
1528 (struct test_fF_f1_data): Likewise.
1529 (struct test_ffI_f1_data): Likewise.
1530 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1531 based on value of EXTRA_EXPECTED.
1532 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1533 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1534 EXTRA_VAR based on value of EXTRA_EXPECTED.
1535 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1536 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1537 EXTRA_VAR based on value of EXTRA_EXPECTED.
1538 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1539 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1540 EXTRA_VAR based on value of EXTRA_EXPECTED.
1541 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1542 * math/gen-libm-test.pl (parse_args): Don't output initializers
1543 for extra output values.
1545 * math/libm-test.inc (check_int): Expect result to be exactly
1546 equal to expected value and do not handle ulps.
1547 (check_long): Likewise.
1548 (check_longlong): Likewise.
1550 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1552 (cimag_test_data): Likewise.
1553 (conj_test_data): Likewise.
1554 (copysign_test_data): Likewise.
1555 (cproj_test_data): Likewise.
1556 (creal_test_data): Likewise.
1557 (fabs_test_data): Likewise.
1558 (fdim_test_data): Likewise.
1559 (finite_test_data): Likewise.
1560 (floor_test_data): Likewise.
1561 (fmax_test_data): Likewise.
1562 (fmin_test_data): Likewise.
1563 (fmod_test_data): Likewise.
1564 (fpclassify_test_data): Likewise.
1565 (frexp_test_data): Likewise.
1566 (ilogb_test_data): Likewise.
1567 (isfinite_test_data): Likewise.
1568 (isgreater_test_data): Likewise.
1569 (isgreaterequal_test_data): Likewise.
1570 (isinf_test_data): Likewise.
1571 (isless_test_data): Likewise.
1572 (islessequal_test_data): Likewise.
1573 (islessgreater_test_data): Likewise.
1574 (isnan_test_data): Likewise.
1575 (isnormal_test_data): Likewise.
1576 (issignaling_test_data): Likewise.
1577 (isunordered_test_data): Likewise.
1578 (ldexp_test_data): Likewise.
1579 (lrint_test_data): Likewise.
1580 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1581 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1582 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1583 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1584 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1585 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1587 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1588 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1589 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1590 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1592 (lrint_downward_test_data): Test for "inexact" exceptions.
1593 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1594 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1595 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1597 (lrint_upward_test_data): Test for "inexact" exceptions.
1598 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1600 (llrint_test_data): Test for "inexact" exceptions.
1601 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1602 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1603 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1604 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1605 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1606 (llrint_downward_test_data): Test for "inexact" exceptions.
1607 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1608 (llrint_upward_test_data): Test for "inexact" exceptions.
1609 (logb_test_data): Likewise.
1610 (logb_downward_test_data): Likewise.
1611 (nextafter_test_data): Likewise.
1612 (nexttoward_test_data): Likewise.
1613 (remainder_test_data): Likewise.
1614 (remquo_test_data): Likewise.
1615 (scalbn_test_data): Likewise.
1616 (scalbln_test_data): Likewise.
1617 (signbit_test_data): Likewise.
1618 (sqrt_test_data): Likewise.
1619 (significand_test_data): Likewise.
1621 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1624 * benchtests/bench-modf.c (struct args): Mark arg0 as
1626 * scripts/bench.pl: Mark members of struct args as volatile.
1628 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1631 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1632 negative infinity on POWER6 or lower.
1633 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1635 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1638 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1639 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1640 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1641 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1642 (_FP_SETQNAN): New macro.
1643 (_FP_SETQNAN_SEMIRAW): Likewise.
1644 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1645 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1646 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1647 (FP_EXTEND): Use _FP_FRAC_SNANP.
1648 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1649 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1651 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1653 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1656 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1658 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1659 with DIVIDE_BY_ZERO_EXCEPTION.
1660 (gamma_test_data): Likewise.
1661 (lgamma_test_data): Likewise.
1662 (log_test_data): Likewise.
1663 (log10_test_data): Likewise.
1664 (log2_test_data): Likewise.
1665 (tgamma_test_data): Likewise.
1667 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1668 (acos_test_tonearest): Likewise.
1669 (acos_test_towardzero): Likewise.
1670 (acos_test_downward): Likewise.
1671 (acos_test_upward): Likewise.
1672 (acosh_test): Likewise.
1673 (asin_test): Likewise.
1674 (asin_test_tonearest): Likewise.
1675 (asin_test_towardzero): Likewise.
1676 (asin_test_downward): Likewise.
1677 (asin_test_upward): Likewise.
1678 (asinh_test): Likewise.
1679 (atan_test): Likewise.
1680 (atanh_test): Likewise.
1681 (atan2_test): Likewise.
1682 (cabs_test): Likewise.
1683 (cacos_test): Likewise.
1684 (cacosh_test): Likewise.
1685 (casin_test): Likewise.
1686 (casinh_test): Likewise.
1687 (catan_test): Likewise.
1688 (catanh_test): Likewise.
1689 (cbrt_test): Likewise.
1690 (ccos_test): Likewise.
1691 (ccosh_test): Likewise.
1692 (cexp_test): Likewise.
1693 (clog_test): Likewise.
1694 (clog10_test): Likewise.
1695 (cos_test): Likewise.
1696 (cos_test_tonearest): Likewise.
1697 (cos_test_towardzero): Likewise.
1698 (cos_test_downward): Likewise.
1699 (cos_test_upward): Likewise.
1700 (cosh_test): Likewise.
1701 (cosh_test_tonearest): Likewise.
1702 (cosh_test_towardzero): Likewise.
1703 (cosh_test_downward): Likewise.
1704 (cosh_test_upward): Likewise.
1705 (cpow_test): Likewise.
1706 (csin_test): Likewise.
1707 (csinh_test): Likewise.
1708 (csqrt_test): Likewise.
1709 (ctan_test): Likewise.
1710 (ctan_test_tonearest): Likewise.
1711 (ctan_test_towardzero): Likewise.
1712 (ctan_test_downward): Likewise.
1713 (ctan_test_upward): Likewise.
1714 (ctanh_test): Likewise.
1715 (ctanh_test_tonearest): Likewise.
1716 (ctanh_test_towardzero): Likewise.
1717 (ctanh_test_downward): Likewise.
1718 (ctanh_test_upward): Likewise.
1719 (erf_test): Likewise.
1720 (erfc_test): Likewise.
1721 (exp_test): Likewise.
1722 (exp_test_tonearest): Likewise.
1723 (exp_test_towardzero): Likewise.
1724 (exp_test_downward): Likewise.
1725 (exp_test_upward): Likewise.
1726 (exp10_test): Likewise.
1727 (exp2_test): Likewise.
1728 (expm1_test): Likewise.
1729 (fmod_test): Likewise.
1730 (gamma_test): Likewise.
1731 (hypot_test): Likewise.
1732 (j0_test): Likewise.
1733 (j1_test): Likewise.
1734 (jn_test): Likewise.
1735 (lgamma_test): Likewise.
1736 (log_test): Likewise.
1737 (log10_test): Likewise.
1738 (log1p_test): Likewise.
1739 (log2_test): Likewise.
1740 (logb_test_downward): Likewise.
1741 (pow_test): Likewise.
1742 (pow_test_tonearest): Likewise.
1743 (pow_test_towardzero): Likewise.
1744 (pow_test_downward): Likewise.
1745 (pow_test_upward): Likewise.
1746 (remainder_test): Likewise.
1747 (remquo_test): Likewise.
1748 (sin_test): Likewise.
1749 (sin_test_tonearest): Likewise.
1750 (sin_test_towardzero): Likewise.
1751 (sin_test_downward): Likewise.
1752 (sin_test_upward): Likewise.
1753 (sincos_test): Likewise.
1754 (sinh_test): Likewise.
1755 (sinh_test_tonearest): Likewise.
1756 (sinh_test_towardzero): Likewise.
1757 (sinh_test_downward): Likewise.
1758 (sinh_test_upward): Likewise.
1759 (sqrt_test): Likewise.
1760 (tan_test): Likewise.
1761 (tan_test_tonearest): Likewise.
1762 (tan_test_towardzero): Likewise.
1763 (tan_test_downward): Likewise.
1764 (tan_test_upward): Likewise.
1765 (tanh_test): Likewise.
1766 (tgamma_test): Likewise.
1767 (y0_test): Likewise.
1768 (y1_test): Likewise.
1769 (yn_test): Likewise.
1771 * math/gen-libm-test.pl (adjust_arg): Remove function.
1772 (special_function): Remove argument $in_func. Only handle
1773 generating output for tables of tests, not inside functions.
1774 (parse_args): Likewise.
1775 (generate_testfile): Remove variable $in_func. Update call to
1777 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1778 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1779 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1780 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1781 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1782 (MAX_VALUE_INIT): Rename macro to max_value.
1783 (MIN_VALUE_INIT): Rename macro to min_value.
1784 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1785 (plus_zero): Remove variable.
1786 (minus_zero): Likewise.
1787 (plus_infty): Likewise.
1788 (minus_infty): Likewise.
1789 (qnan_value): Likewise.
1790 (max_value): Likewise.
1791 (min_value): Likewise.
1792 (min_subnorm_value): Likewise.
1794 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1796 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1797 uint64_t or uint32_t usage.
1798 * crypt/sha256-block.c: Likewise.
1799 * crypt/sha256-crypt.c: Likewise.
1800 * crypt/sha256.c: Likewise.
1801 * crypt/sha512-block.c: Likewise.
1802 * crypt/sha512-crypt.c: Likewise.
1803 * crypt/sha512.c: Likewise.
1804 * debug/backtrace-tst.c: Likewise.
1805 * debug/pcprofiledump.c: Likewise.
1806 * elf/cache.c: Likewise.
1807 * elf/dl-cache.c: Likewise.
1808 * elf/dl-misc.c: Likewise.
1809 * elf/dl-profile.c: Likewise.
1810 * elf/dl-support.c: Likewise.
1811 * elf/ldconfig.c: Likewise.
1812 * elf/sprof.c: Likewise.
1813 * iconv/dummy-repertoire.c: Likewise.
1814 * iconv/iconv_charmap.c: Likewise.
1815 * iconv/skeleton.c: Likewise.
1816 * iconvdata/8bit-generic.c: Likewise.
1817 * iconvdata/cp737.h: Likewise.
1818 * iconvdata/cp775.h: Likewise.
1819 * iconvdata/ibm1008.h: Likewise.
1820 * iconvdata/ibm1025.h: Likewise.
1821 * iconvdata/ibm1046.h: Likewise.
1822 * iconvdata/ibm1097.h: Likewise.
1823 * iconvdata/ibm1112.h: Likewise.
1824 * iconvdata/ibm1122.h: Likewise.
1825 * iconvdata/ibm1123.h: Likewise.
1826 * iconvdata/ibm1124.h: Likewise.
1827 * iconvdata/ibm1129.h: Likewise.
1828 * iconvdata/ibm1130.h: Likewise.
1829 * iconvdata/ibm1132.h: Likewise.
1830 * iconvdata/ibm1133.h: Likewise.
1831 * iconvdata/ibm1137.h: Likewise.
1832 * iconvdata/ibm1140.h: Likewise.
1833 * iconvdata/ibm1141.h: Likewise.
1834 * iconvdata/ibm1142.h: Likewise.
1835 * iconvdata/ibm1143.h: Likewise.
1836 * iconvdata/ibm1144.h: Likewise.
1837 * iconvdata/ibm1145.h: Likewise.
1838 * iconvdata/ibm1146.h: Likewise.
1839 * iconvdata/ibm1147.h: Likewise.
1840 * iconvdata/ibm1148.h: Likewise.
1841 * iconvdata/ibm1149.h: Likewise.
1842 * iconvdata/ibm1153.h: Likewise.
1843 * iconvdata/ibm1154.h: Likewise.
1844 * iconvdata/ibm1155.h: Likewise.
1845 * iconvdata/ibm1156.h: Likewise.
1846 * iconvdata/ibm1157.h: Likewise.
1847 * iconvdata/ibm1158.h: Likewise.
1848 * iconvdata/ibm1160.h: Likewise.
1849 * iconvdata/ibm1161.h: Likewise.
1850 * iconvdata/ibm1162.h: Likewise.
1851 * iconvdata/ibm1163.h: Likewise.
1852 * iconvdata/ibm1164.h: Likewise.
1853 * iconvdata/ibm1166.h: Likewise.
1854 * iconvdata/ibm1167.h: Likewise.
1855 * iconvdata/ibm12712.h: Likewise.
1856 * iconvdata/ibm1390.h: Likewise.
1857 * iconvdata/ibm1399.h: Likewise.
1858 * iconvdata/ibm16804.h: Likewise.
1859 * iconvdata/ibm4517.h: Likewise.
1860 * iconvdata/ibm4899.h: Likewise.
1861 * iconvdata/ibm4909.h: Likewise.
1862 * iconvdata/ibm4971.h: Likewise.
1863 * iconvdata/ibm5347.h: Likewise.
1864 * iconvdata/ibm803.h: Likewise.
1865 * iconvdata/ibm856.h: Likewise.
1866 * iconvdata/ibm901.h: Likewise.
1867 * iconvdata/ibm902.h: Likewise.
1868 * iconvdata/ibm9030.h: Likewise.
1869 * iconvdata/ibm9066.h: Likewise.
1870 * iconvdata/ibm921.h: Likewise.
1871 * iconvdata/ibm922.h: Likewise.
1872 * iconvdata/ibm9448.h: Likewise.
1873 * iconvdata/isiri-3342.h: Likewise.
1874 * iconvdata/jis0201.h: Likewise.
1875 * include/link.h: Likewise.
1876 * include/netdb.h: Likewise.
1877 * inet/check_native.c: Likewise.
1878 * inet/check_pf.c: Likewise.
1879 * inet/getipv4sourcefilter.c: Likewise.
1880 * inet/getnameinfo.c: Likewise.
1881 * inet/getsourcefilter.c: Likewise.
1882 * inet/htonl.c: Likewise.
1883 * inet/setipv4sourcefilter.c: Likewise.
1884 * inet/setsourcefilter.c: Likewise.
1885 * inet/test-inet6_opt.c: Likewise.
1886 * inet/tst-network.c: Likewise.
1887 * locale/C-collate.c: Likewise.
1888 * locale/C-ctype.c: Likewise.
1889 * locale/C-time.c: Likewise.
1890 * locale/C-translit.h: Likewise.
1891 * locale/loadarchive.c: Likewise.
1892 * locale/programs/3level.h: Likewise.
1893 * locale/programs/charmap.c: Likewise.
1894 * locale/programs/charmap.h: Likewise.
1895 * locale/programs/ld-address.c: Likewise.
1896 * locale/programs/ld-collate.c: Likewise.
1897 * locale/programs/ld-ctype.c: Likewise.
1898 * locale/programs/ld-identification.c: Likewise.
1899 * locale/programs/ld-measurement.c: Likewise.
1900 * locale/programs/ld-messages.c: Likewise.
1901 * locale/programs/ld-monetary.c: Likewise.
1902 * locale/programs/ld-name.c: Likewise.
1903 * locale/programs/ld-numeric.c: Likewise.
1904 * locale/programs/ld-paper.c: Likewise.
1905 * locale/programs/ld-telephone.c: Likewise.
1906 * locale/programs/ld-time.c: Likewise.
1907 * locale/programs/linereader.c: Likewise.
1908 * locale/programs/locale.c: Likewise.
1909 * locale/programs/locarchive.c: Likewise.
1910 * locale/programs/locfile.h: Likewise.
1911 * locale/programs/repertoire.c: Likewise.
1912 * locale/programs/simple-hash.c: Likewise.
1913 * locale/programs/simple-hash.h: Likewise.
1914 * malloc/memusage.c: Likewise.
1915 * malloc/memusagestat.c: Likewise.
1916 * nis/nis_defaults.c: Likewise.
1917 * nis/nis_hash.c: Likewise.
1918 * nis/nis_print.c: Likewise.
1919 * nis/nis_xdr.c: Likewise.
1920 * nscd/connections.c: Likewise.
1921 * nscd/hstcache.c: Likewise.
1922 * nscd/nscd_gethst_r.c: Likewise.
1923 * nscd/nscd_getserv_r.c: Likewise.
1924 * nscd/nscd_helper.c: Likewise.
1925 * nscd/servicescache.c: Likewise.
1926 * nss/makedb.c: Likewise.
1927 * nss/nss_db/db-XXX.c: Likewise.
1928 * nss/nss_db/db-initgroups.c: Likewise.
1929 * nss/nss_db/db-netgrp.c: Likewise.
1930 * nss/nss_files/files-network.c: Likewise.
1931 * nss/nss_files/files-parse.c: Likewise.
1932 * posix/bug-regex5.c: Likewise.
1933 * posix/fnmatch_loop.c: Likewise.
1934 * posix/regcomp.c: Likewise.
1935 * posix/regexec.c: Likewise.
1936 * posix/tst-rfc3484-2.c: Likewise.
1937 * posix/tst-rfc3484-3.c: Likewise.
1938 * posix/tst-rfc3484.c: Likewise.
1939 * resolv/nss_dns/dns-canon.c: Likewise.
1940 * resolv/nss_dns/dns-network.c: Likewise.
1941 * resolv/res_init.c: Likewise.
1942 * resolv/res_mkquery.c: Likewise.
1943 * resolv/tst-aton.c: Likewise.
1944 * stdlib/cxa_atexit.c: Likewise.
1945 * stdlib/cxa_finalize.c: Likewise.
1946 * stdlib/gen-fpioconst.c: Likewise.
1947 * stdlib/strtol_l.c: Likewise.
1948 * string/tst-endian.c: Likewise.
1949 * sunrpc/auth_des.c: Likewise.
1950 * sunrpc/clnt_udp.c: Likewise.
1951 * sunrpc/rtime.c: Likewise.
1952 * sunrpc/svcauth_des.c: Likewise.
1953 * sunrpc/xdr.c: Likewise.
1954 * sunrpc/xdr_intXX_t.c: Likewise.
1955 * sunrpc/xdr_rec.c: Likewise.
1956 * sysdeps/generic/ldconfig.h: Likewise.
1957 * sysdeps/generic/ldsodefs.h: Likewise.
1958 * sysdeps/generic/memusage.h: Likewise.
1959 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1960 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1961 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1962 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1963 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1964 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1965 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1966 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1967 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1968 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1969 * sysdeps/posix/getaddrinfo.c: Likewise.
1970 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1971 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1972 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1973 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1974 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1975 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1976 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1977 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1978 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1979 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1980 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1981 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1982 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1983 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1984 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1985 * sysdeps/x86_64/dl-tls.h: Likewise.
1986 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1987 * time/alt_digit.c: Likewise.
1988 * time/era.c: Likewise.
1989 * wcsmbs/tst-c16c32-1.c: Likewise.
1991 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1993 * math/libm-test.inc (struct test_sincos_data): New type.
1994 (RUN_TEST_LOOP_sincos): New macro.
1995 (sincos_test_data): New variable.
1996 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1998 2013-05-16 Richard Henderson <rth@redhat.com>
2000 * math/atest-exp2.c (LIMB64): New macro.
2001 (CONSTSZ): New macro.
2002 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2004 (print_mpn_fp): ... to function scope.
2005 (read_mpn_hex): Remove.
2007 (exp2_mpn): Use mp_log2.
2008 (main): Use mp_exp1.
2010 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2012 * math/libm-test.inc: Remove comment about not testing "inexact"
2014 (INEXACT_EXCEPTION): New macro.
2015 (NO_INEXACT_EXCEPTION): Likewise.
2016 (INVALID_EXCEPTION_OK): Update value.
2017 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2018 (OVERFLOW_EXCEPTION_OK): Likewise.
2019 (UNDERFLOW_EXCEPTION_OK): Likewise.
2020 (IGNORE_ZERO_INF_SIGN): Likewise.
2021 (ERRNO_UNCHANGED): Likewise.
2022 (ERRNO_EDOM): Likewise.
2023 (ERRNO_ERANGE): Likewise.
2024 (test_exceptions): Handle testing "inexact" exceptions.
2025 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2026 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2027 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2028 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2030 (rint_towardzero_test_data): Likewise.
2031 (rint_downward_test_data): Likewise.
2032 (rint_upward_test_data): Likewise.
2034 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2035 with OVERFLOW_EXCEPTION.
2036 (exp10_test_data): Likewise.
2037 (exp2_test_data): Likewise.
2038 (expm1_test_data): Likewise.
2039 (lgamma_test_data): Likewise.
2040 (pow_test_data): Likewise.
2041 (tgamma_test_data): Likewise.
2042 (yn_test_data): Remove duplicate test of overflow.
2044 * math/libm-test.inc (struct test_cc_c_data): New type.
2045 (RUN_TEST_LOOP_cc_c): New macro.
2046 (cpow_test_data): New variable.
2047 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2049 * math/libm-test.inc (struct test_f_L_data): New type.
2050 (RUN_TEST_LOOP_f_L): New macro.
2051 (llrint_test_data): New variable.
2052 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2053 (llrint_tonearest_test_data): New variable.
2054 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2055 (llrint_towardzero_test_data): New variable.
2056 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2057 (llrint_downward_test_data): New variable.
2058 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2059 (llrint_upward_test_data): New variable.
2060 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2061 (llround_test_data): New variable.
2062 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2064 2013-05-13 Peter Collingbourne <pcc@google.com>
2066 * math/atest-exp2.c (get_log2): Remove const attribute.
2068 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2070 * math/libm-test.inc (struct test_f_l_data): New type.
2071 (RUN_TEST_LOOP_f_l): New macro.
2072 (lrint_test_data): New variable.
2073 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2074 (lrint_tonearest_test_data): New variable.
2075 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2076 (lrint_towardzero_test_data): New variable.
2077 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2078 (lrint_downward_test_data): New variable.
2079 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2080 (lrint_upward_test_data): New variable.
2081 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2082 (lround_test_data): New variable.
2083 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2085 2013-05-15 Peter Collingbourne <pcc@google.com>
2087 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2088 (EXTRACT_WORDS64) Use where appropriate.
2089 (INSERT_WORDS64) Likewise.
2091 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2092 constraints with x constraints.
2093 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2095 * malloc/obstack.c (_obstack_compat): Add initializer.
2097 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2099 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2100 si_trapno and add si_addr_lsb to _sifields.sigfault.
2101 (si_trapno): Remove macro.
2102 (si_addr_lsb): Define new macro.
2103 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2105 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2107 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2108 instead of TEST_f_l.
2109 (llrint_test_tonearest): Likewise.
2110 (llrint_test_towardzero): Likewise.
2111 (llrint_test_downward): Likewise.
2112 (llrint_test_upward): Likewise.
2113 (llround_test): Likewise.
2115 * math/libm-test.inc (struct test_f_i_data): Add comment.
2116 (RUN_TEST_LOOP_f_b): New macro.
2117 (RUN_TEST_LOOP_f_b_tg): Likewise.
2118 (finite_test_data): New variable.
2119 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2120 (isfinite_test_data): New variable.
2121 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2122 (isinf_test_data): New variable.
2123 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2124 (isnan_test_data): New variable.
2125 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2126 (isnormal_test_data): New variable.
2127 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2128 (issignaling_test_data): New variable.
2129 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2130 (signbit_test_data): New variable.
2131 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2133 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2134 with INVALID_EXCEPTION.
2135 (acosh_test_data): Likewise.
2136 (asin_test_data): Likewise.
2137 (atanh_test_data): Likewise.
2138 (fmod_test_data): Likewise.
2139 (log_test_data): Likewise.
2140 (log10_test_data): Likewise.
2141 (log2_test_data): Likewise.
2142 (pow_test_data): Likewise.
2143 (sqrt_test_data): Likewise.
2144 (y0_test_data): Likewise.
2145 (y1_test_data): Likewise.
2146 (yn_test_data): Likewise.
2148 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2151 * math/libm-test.inc (struct test_ff_i_data): New type.
2152 (RUN_TEST_LOOP_ff_i_tg): New macro.
2153 (isgreater_test_data): New variable.
2154 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2155 (isgreaterequal_test_data): New variable.
2156 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2157 (isless_test_data): New variable.
2158 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2159 (islessequal_test_data): New variable.
2160 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2161 (islessgreater_test_data): New variable.
2162 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2163 (isunordered_test_data): New variable.
2164 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2166 2013-05-14 David S. Miller <davem@davemloft.net>
2168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2170 2013-05-14 Joseph Myers <joseph@codesourcery.com>
2172 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2174 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2176 (struct test_f_i_data): Change type of max_ulp to int.
2178 * math/libm-test.inc (test_ffI_f1_data): New type.
2179 (RUN_TEST_LOOP_ffI_f1): New macro.
2180 (remquo_test_data): New variable.
2181 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2183 * setjmp/tst-setjmp-fp.c: New file.
2184 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2185 (link-libm): New variable.
2186 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2188 * math/libm-test.inc (struct test_f_i_data): New type.
2189 (RUN_TEST_LOOP_f_i): New macro.
2190 (RUN_TEST_LOOP_f_i_tg): Likewise.
2191 (fpclassify_test_data): New variable.
2192 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2193 (ilogb_test_data): New variable.
2194 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2196 * math/libm-test.inc (scalbln_test): Correct function name in END
2199 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2200 (RUN_TEST_LOOP_fI_f1): New macro.
2201 (frexp_test_data): New variable.
2202 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2204 * math/libm-test.inc (struct test_fF_f1_data): New type.
2205 (RUN_TEST_LOOP_fF_f1): New macro.
2206 (modf_test_data): New variable.
2207 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2209 * math/libm-test.inc (struct test_f_f1_data): New type.
2210 (RUN_TEST_LOOP_f_f1): New macro.
2211 (gamma_test_data): New variable.
2212 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2213 (lgamma_test_data): New variable.
2214 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2216 2013-05-13 Carlos O'Donell <carlos@redhat.com>
2218 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2219 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2220 (main): Comment "tls" pseudo-hwcap.
2222 2013-05-13 Joseph Myers <joseph@codesourcery.com>
2224 * math/libm-test.inc (struct test_fl_f_data): New type.
2225 (RUN_TEST_LOOP_fl_f): New variable.
2226 (scalbln_test_data): New variable.
2227 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2229 * math/libm-test.inc (struct test_fi_f_data): New type.
2230 (RUN_TEST_LOOP_fi_f): New macro.
2231 (ldexp_test_data): New variable.
2232 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2233 (scalbn_test_data): New variable.
2234 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2236 * math/libm-test.inc (struct test_c_f_data): New type.
2237 (RUN_TEST_LOOP_c_f): New macro.
2238 (cabs_test_data): New variable.
2239 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2240 (carg_test_data): New variable.
2241 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2242 (cimag_test_data): New variable.
2243 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2244 (creal_test_data): New variable.
2245 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2247 * math/libm-test.inc (struct test_if_f_data): New type.
2248 (RUN_TEST_LOOP_if_f): New macro.
2249 (jn_test_data): New variable.
2250 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2251 (yn_test_data): New variable.
2252 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2254 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2256 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2258 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2259 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2261 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2263 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2264 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2265 (bench-deps): Add bench-timing.h.
2266 * benchtests-bench-skeleton.c: Include bench-timing.h.
2267 (main): Use TIMING_* macros instead of clock_gettime.
2268 * benchtests/bench-timing.h: New file.
2271 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2272 Renamed from _LIB_VERSION.
2273 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2275 2013-05-12 Joseph Myers <joseph@codesourcery.com>
2277 * math/libm-test.inc (struct test_fff_f_data): New type.
2278 (RUN_TEST_LOOP_fff_f): New macro.
2279 (fma_test_data): New variable.
2280 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2281 (fma_towardzero_test_data): New variable.
2282 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2283 (fma_downward_test_data): New variable.
2284 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2285 (fma_upward_test_data): New variable.
2286 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2288 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2289 (struct test_c_c_data): New type.
2290 (RUN_TEST_LOOP_c_c): New macro.
2291 (cacos_test_data): New variable.
2292 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2293 (cacosh_test_data): New variable.
2294 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2295 (casin_test_data): New variable.
2296 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2297 (casinh_test_data): New variable.
2298 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2299 (catan_test_data): New variable.
2300 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2301 (catanh_test_data): New variable.
2302 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2303 (ccos_test_data): New variable.
2304 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2305 (ccosh_test_data): New variable.
2306 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2307 (cexp_test_data): New variable.
2308 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2309 (clog_test_data): New variable.
2310 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2311 (clog10_test_data): New variable.
2312 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2313 (conj_test_data): New variable.
2314 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2315 (cproj_test_data): New variable.
2316 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2317 (csin_test_data): New variable.
2318 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2319 (csinh_test_data): New variable.
2320 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2321 (csqrt_test_data): New variable.
2322 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2323 (ctan_test_data): New variable.
2324 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2325 (ctan_tonearest_test_data): New variable.
2326 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2327 (ctan_towardzero_test_data): New variable.
2328 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2329 (ctan_downward_test_data): New variable.
2330 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2331 (ctan_upward_test_data): New variable.
2332 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2333 (ctanh_test_data): New variable.
2334 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2335 (ctanh_tonearest_test_data): New variable.
2336 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2337 (ctanh_towardzero_test_data): New variable.
2338 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2339 (ctanh_downward_test_data): New variable.
2340 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2341 (ctanh_upward_test_data): New variable.
2342 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2343 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2346 * math/libm-test.inc (struct test_ff_f_data): New type.
2347 (struct test_ff_f_data_nexttoward): Likewise.
2348 (RUN_TEST_LOOP_2_f): New macro.
2349 (RUN_TEST_LOOP_ff_f): Likewise.
2350 (atan2_test_data): New variable.
2351 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2352 (copysign_test_data): New variable.
2353 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2354 (fdim_test_data): New variable.
2355 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2356 (fmax_test_data): New variable.
2357 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2358 (fmin_test_data): New variable.
2359 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2360 (fmod_test_data): New variable.
2361 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2362 (hypot_test_data): New variable.
2363 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2364 (nextafter_test_data): New variable.
2365 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2366 (nexttoward_test_data): New variable.
2367 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2368 (pow_test_data): New variable.
2369 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2370 (pow_tonearest_test_data): New variable.
2371 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2372 (pow_towardzero_test_data): New variable.
2373 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2374 (pow_downward_test_data): New variable.
2375 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2376 (pow_upward_test_data): New variable.
2377 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2378 (remainder_test_data): New variable.
2379 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2380 (scalb_test_data): New variable.
2381 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2382 * sysdeps/i386/fpu/libm-test-ulps: Update.
2384 2013-05-11 Joseph Myers <joseph@codesourcery.com>
2386 * math/libm-test.inc (fma_test): Use max_value instead of local
2388 (nextafter_test): Likewise.
2390 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2391 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2392 (acos_downward_test_data): New variable.
2393 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2394 (acos_upward_test_data): New variable.
2395 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2396 (acosh_test_data): New variable.
2397 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2398 (asin_test_data): New variable.
2399 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2400 (asin_tonearest_test_data): New variable.
2401 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2402 (asin_towardzero_test_data): New variable.
2403 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2404 (asin_downward_test_data): New variable.
2405 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2406 (asin_upward_test_data): New variable.
2407 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2408 (asinh_test_data): New variable.
2409 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2410 (atan_test_data): New variable.
2411 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2412 (atanh_test_data): New variable.
2413 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2414 (cbrt_test_data): New variable.
2415 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2416 (ceil_test_data): New variable.
2417 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2418 (cos_test_data): New variable.
2419 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2420 (cos_tonearest_test_data): New variable.
2421 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2422 (cos_towardzero_test_data): New variable.
2423 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2424 (cos_downward_test_data): New variable.
2425 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2426 (cos_upward_test_data): New variable.
2427 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2428 (cosh_test_data): New variable.
2429 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2430 (cosh_tonearest_test_data): New variable.
2431 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2432 (cosh_towardzero_test_data): New variable.
2433 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2434 (cosh_downward_test_data): New variable.
2435 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2436 (cosh_upward_test_data): New variable.
2437 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2438 (erf_test_data): New variable.
2439 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2440 (erfc_test_data): New variable.
2441 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2442 (exp_test_data): New variable.
2443 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2444 (exp_tonearest_test_data): New variable.
2445 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2446 (exp_towardzero_test_data): New variable.
2447 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2448 (exp_downward_test_data): New variable.
2449 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2450 (exp_upward_test_data): New variable.
2451 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2452 (exp10_test_data): New variable.
2453 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2454 (exp2_test_data): New variable.
2455 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2456 (expm1_test_data): New variable.
2457 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2458 (fabs_test_data): New variable.
2459 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2460 (floor_test_data): New variable.
2461 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2462 (j0_test_data): New variable.
2463 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2464 (j1_test_data): New variable.
2465 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2466 (log_test_data): New variable.
2467 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2468 (log10_test_data): New variable.
2469 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2470 (log1p_test_data): New variable.
2471 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2472 (log2_test_data): New variable.
2473 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2474 (logb_test_data): New variable.
2475 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2476 (logb_downward_test_data): New variable.
2477 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2478 (nearbyint_test_data): New variable.
2479 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2480 (rint_test_data): New variable.
2481 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2482 (rint_tonearest_test_data): New variable.
2483 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2484 (rint_towardzero_test_data): New variable.
2485 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2486 (rint_downward_test_data): New variable.
2487 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2488 (rint_upward_test_data): New variable.
2489 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2490 (round_test_data): New variable.
2491 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2492 (sin_test_data): New variable.
2493 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2494 (sin_tonearest_test_data): New variable.
2495 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2496 (sin_towardzero_test_data): New variable.
2497 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2498 (sin_downward_test_data): New variable.
2499 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2500 (sin_upward_test_data): New variable.
2501 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2502 (sinh_test_data): New variable.
2503 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2504 (sinh_tonearest_test_data): New variable.
2505 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2506 (sinh_towardzero_test_data): New variable.
2507 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2508 (sinh_downward_test_data): New variable.
2509 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2510 (sinh_upward_test_data): New variable.
2511 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2512 (sqrt_test_data): New variable.
2513 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2514 (tan_test_data): New variable.
2515 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2516 (tan_tonearest_test_data): New variable.
2517 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2518 (tan_towardzero_test_data): New variable.
2519 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2520 (tan_downward_test_data): New variable.
2521 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2522 (tan_upward_test_data): New variable.
2523 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2524 (tanh_test_data): New variable.
2525 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2526 (tgamma_test_data): New variable.
2527 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2528 (trunc_test_data): New variable.
2529 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2530 (y0_test_data): New variable.
2531 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2532 (y1_test_data): New variable.
2533 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2534 (significand_test_data): New variable.
2535 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2537 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2540 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2542 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2544 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2546 2013-05-10 Andreas Jaeger <aj@suse.de>
2549 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2550 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2552 2013-05-10 Joseph Myers <joseph@codesourcery.com>
2554 * math/gen-libm-test.pl (adjust_arg): New function.
2555 (special_functions): Handle generating output in both functions
2557 (parse_args): Likewise.
2558 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2559 $in_func argument to parse_args.
2560 * math/libm-test.inc (struct test_f_f_data): New type.
2561 (IF_ROUND_INIT_): New macro.
2562 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2563 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2564 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2565 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2566 (ROUND_RESTORE_): Likewise.
2567 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2568 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2569 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2570 (ROUND_RESTORE_FE_UPWARD): Likewise.
2571 (RUN_TEST_LOOP_f_f): New macro.
2572 (acos_test_data): New variable.
2573 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2574 (acos_tonearest_test_data): New variable.
2575 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2577 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2579 * benchtests/bench-skeleton.c (startup): Fix coding style.
2581 2013-05-10 Joseph Myers <joseph@codesourcery.com>
2584 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2585 negative infinity argument.
2586 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2587 negative infinity argument.
2588 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2589 negative infinity argument.
2590 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2593 2013-05-10 Florian Weimer <fweimer@redhat.com>
2595 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2596 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2597 * iconv/iconv_prog.c (main): Likewise.
2598 * locale/programs/charmap-dir.c (charmap_readdir)
2599 (fopen_uncompressed): Likewise.
2600 * locale/programs/locfile.c (siblings_uncached)
2601 (write_locale_data): Use lstat64 instead of lstat.
2602 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2605 2013-05-10 Andreas Jaeger <aj@suse.de>
2608 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2612 2013-05-09 Carlos O'Donell <carlos@redhat.com>
2614 * elf/dl-close.c (_dl_close_worker): Add comments.
2616 2013-05-09 Joseph Myers <joseph@codesourcery.com>
2619 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2621 (__ieee754_rem_pio2l): Update comments.
2624 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2626 (__ieee754_rem_pio2l): Update comments.
2628 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2629 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2631 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2634 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2635 (M_PI_34_LOG10El): Likewise.
2636 (M_PI2_LOG10El): Likewise.
2637 (M_PI4_LOG10El): Likewise.
2638 (M_PI_LOG10El): Likewise.
2640 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2644 2013-05-08 Joseph Myers <joseph@codesourcery.com>
2646 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2647 (MINUS_ZERO_INIT): Likewise.
2648 (PLUS_INFTY_INIT): Likewise.
2649 (MINUS_INFTY_INIT): Likewise.
2650 (QNAN_VALUE_INIT): Likewise.
2651 (MAX_VALUE_INIT): Likewise.
2652 (MIN_VALUE_INIT): Likewise.
2653 (MIN_SUBNORM_VALUE_INIT): Likewise.
2654 (plus_zero): Initialize with PLUS_ZERO_INIT.
2655 (minus_zero): Initialize with MINUS_ZERO_INIT.
2656 (plus_infty): Initialize with PLUS_INFTY_INIT.
2657 (minus_infty): Initialize with MINUS_INFTY_INIT.
2658 (qnan_value): Initialize with QNAN_VALUE_INIT.
2659 (max_value): Initialize with MAX_VALUE_INIT.
2660 (min_value): Initialize with MIN_VALUE_INIT.
2661 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2663 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2664 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2665 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2666 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2668 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2669 (RUN_TEST_2_f): Likewise.
2670 (RUN_TEST_ff_f): Likewise.
2671 (RUN_TEST_fi_f): Likewise.
2672 (RUN_TEST_fl_f): Likewise.
2673 (RUN_TEST_fff_f): Likewise.
2674 (RUN_TEST_c_f): Likewise.
2675 (RUN_TEST_f_f1): Likewise.
2676 (RUN_TEST_fF_f1): Likewise.
2677 (RUN_TEST_fI_f1): Likewise.
2678 (RUN_TEST_ffI_f1): Likewise.
2679 (RUN_TEST_c_c): Likewise.
2680 (RUN_TEST_cc_c): Likewise.
2681 (RUN_TEST_f_i): Likewise.
2682 (RUN_TEST_f_i_tg): Likewise.
2683 (RUN_TEST_ff_i_tg): Likewise.
2684 (RUN_TEST_f_b): Likewise.
2685 (RUN_TEST_f_b_tg): Likewise.
2686 (RUN_TEST_f_l): Likewise.
2687 (RUN_TEST_f_L): Likewise.
2688 (RUN_TEST_sincos): Likewise.
2689 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2690 whether to show exceptions. Do not include ");\n" in return
2692 (special_functions): Output call to RUN_TEST_sincos instead of
2693 check_float calls. Update calls to new_test.
2694 (parse_args): Output call to single RUN_TEST_* macro instead of
2695 check_* calls and other assignments. Update calls to new_test.
2701 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2702 input to result for tgamma overflow.
2703 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2704 (gamma_coeff): New variable.
2705 (NCOEFF): New macro.
2706 (gamma_positive): New function.
2707 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2708 underflow here. Use gamma_positive instead of exp (lgamma) for
2710 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2711 (gamma_coeff): New variable.
2712 (NCOEFF): New macro.
2713 (gammaf_positive): New function.
2714 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2715 underflow here. Use gamma_positive instead of exp (lgamma) for
2717 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2718 (gamma_coeff): New variable.
2719 (NCOEFF): New macro.
2720 (gammal_positive): New function.
2721 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2722 underflow here. Use gamma_positive instead of exp (lgamma) for
2724 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2725 (gamma_coeff): New variable.
2726 (NCOEFF): New macro.
2727 (gammal_positive): New function.
2728 (__ieee754_gammal_r): Handle positive infinity, overflow and
2729 underflow here. Handle NaN the same as positive infinity. Remove
2730 check x < 0xffffffff for negative integers. Use gamma_positive
2731 instead of exp (lgamma) for other arguments.
2732 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2733 (gamma_coeff): New variable.
2734 (NCOEFF): New macro.
2735 (gammal_positive): New function.
2736 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2737 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2738 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2739 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2740 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2741 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2742 * sysdeps/generic/math_private.h (__gamma_productf): New
2744 (__gamma_product): Likewise.
2745 (__gamma_productl): Likewise.
2746 * math/Makefile (libm-calls): Add gamma_product.
2747 * math/libm-test.inc (tgamma_test): Add more tests.
2748 * sysdeps/i386/fpu/libm-test-ulps: Update.
2749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2751 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
2753 * benchtests/bench-skeleton.c (main): Preheat CPU.
2755 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2757 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2759 2013-05-07 Roland McGrath <roland@hack.frob.com>
2761 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2762 and _dl_skip_args_internal.
2764 2013-05-07 Carlos O'Donell <carlos@redhat.com>
2766 * manual/message.texi (Message Translation): Talk about users.
2767 Message to key mapping impacts design.
2769 2013-05-06 Roland McGrath <roland@hack.frob.com>
2771 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2773 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2775 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2776 * sysdeps/wordsize-64/glob64.c: ... here.
2778 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2779 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2782 * debug/getlogin_r_chk.c: Moved to ...
2783 * login/getlogin_r_chk.c: ... here.
2784 * debug/Makefile (routines): Move getlogin_r_chk to ...
2785 * login/Makefile (routines): ... here.
2786 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2787 * login/Versions (libc: GLIBC_2.4): ... here.
2789 * io/poll.c (__poll): Renamed from poll.
2790 Add libc_hidden_def.
2791 (poll): Define as weak alias.
2793 * debug/ptsname_r_chk.c: Moved to ...
2794 * login/ptsname_r_chk.c: ... here.
2795 * debug/Makefile (routines): Move ptsname_r_chk to ...
2796 * login/Makefile (routines): ... here.
2797 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2798 * login/Versions (libc: GLIBC_2.4): ... here.
2800 * posix/getlogin.c: Moved to ...
2801 * login/getlogin.c: ... here.
2802 * posix/getlogin_r.c: Moved to ...
2803 * login/getlogin_r.c: ... here.
2804 * posix/getlogin_r.c: Moved to ...
2805 * login/getlogin_r.c: ... here.
2806 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2807 * login/Makefile (routines): ... here.
2808 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2809 * login/Versions (libc: GLIBC_2.0): ... here.
2811 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2812 (setrlimit): Define as weak alias.
2814 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2815 Call __ names for open, ftruncate, and close.
2816 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2817 (truncate): Define as weak alias.
2819 2013-05-06 Joseph Myers <joseph@codesourcery.com>
2821 * math/gen-libm-test.pl (parse_args): Initialize x before each
2822 test of frexp, modf and remquo.
2824 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2827 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2831 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2833 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2835 2013-05-06 Roland McGrath <roland@hack.frob.com>
2837 * elf/dl-writev.h: New file.
2838 * elf/dl-misc.c: Include it.
2839 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2840 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2842 2013-05-04 Joseph Myers <joseph@codesourcery.com>
2844 * math/libm-test.inc (noXFails): Remove variable.
2845 (noXPasses): Likewise.
2846 (BUILD_COMPLEX_INT): Remove macro.
2847 (print_screen): Remove xfail argument.
2848 (print_screen_max_error): Likewise.
2849 (update_stats): Likewise.
2850 (print_max_error): Likewise. Update calls to other affected
2852 (print_complex_max_error): Likewise.
2853 (test_single_exception): Update calls to print_screen.
2854 (test_single_errno): Likewise.
2855 (check_float_internal): Remove xfail argument. Update calls to
2856 other affected functions.
2857 (check_float): Likewise.
2858 (check_complex): Likewise.
2859 (check_int): Likewise.
2860 (check_long): Likewise.
2861 (check_bool): Likewise.
2862 (check_longlong): Likewise.
2863 (main): Don't print noXFails and noXPasses.
2864 * math/gen-libm-test.pl (top level): Don't mention expected
2865 failure handling in comment.
2866 (new_test): Don't handle expected failures.
2867 (parse_args): Don't mention expected failure handling in comment.
2868 (generate_testfile): Don't handle expected failures.
2869 (parse_ulps): Likewise.
2870 (print_ulps_file): Likewise.
2871 (get_failure): Remove function.
2872 (output_test): Don't handle expected failures.
2873 * make/README.libm-test: Don't mention expected failure handling.
2875 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2876 (minus_zero): Likewise.
2877 (plus_infty): Likewise.
2878 (minus_infty): Likewise.
2879 (qnan_value): Likewise.
2880 (max_value): Likewise.
2881 (min_value): Likewise.
2882 (min_subnorm_value): Likewise.
2883 (initialize): Do not initialize those variables dynamically.
2885 2013-05-03 Roland McGrath <roland@hack.frob.com>
2887 * io/open.c (__open_2): Moved to ...
2888 * io/open_2.c: ... this new file.
2889 * io/open64.c (__open64_2): Moved to ...
2890 * io/open64_2.c: ... this new file.
2891 * io/openat.c (__openat_2): Moved to ...
2892 * io/openat_2.c: ... this new file.
2893 * io/openat64.c (__openat64_2): Moved to ...
2894 * io/openat64_2.c: ... this new file.
2895 * io/Makefile (routines): Add them.
2896 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2897 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2898 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2899 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2900 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2901 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2902 (__openat64): Add hidden_ver.
2903 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2904 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2906 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2907 Separately conditionalize setting of GLRO(dl_sysinfo) so
2908 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2909 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2911 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2913 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2914 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2916 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2917 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2918 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2919 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2920 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2922 2013-05-03 Joseph Myers <joseph@codesourcery.com>
2924 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2927 * math/libm-test.inc (hypot_test): Do not use
2928 IGNORE_ZERO_INF_SIGN.
2930 2013-05-03 Andreas Jaeger <aj@suse.de>
2932 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2934 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2935 (PF_MAX): Adjust for VSOCK change.
2937 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2941 2013-05-02 Carlos O'Donell <carlos@redhat.com>
2944 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2945 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2946 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2948 2013-05-02 David S. Miller <davem@davemloft.net>
2950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2952 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
2954 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2956 2013-05-01 Roland McGrath <roland@hack.frob.com>
2958 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2960 2013-05-01 Richard Smith <richard@metafoo.co.uk>
2963 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2964 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2965 Use __attribute__ ((__gnu_inline__)).
2966 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2967 Don't use __attribute__ ((__gnu_inline__)).
2969 2013-05-01 Joseph Myers <joseph@codesourcery.com>
2972 * math/s_catan.c (__catan): Handle small real or imaginary part of
2973 input specially to avoid spurious underflow.
2974 * math/s_catanf.c (__catanf): Likewise.
2975 * math/s_catanh.c (__catanh): Likewise.
2976 * math/s_catanhf.c (__catanhf): Likewise.
2977 * math/s_catanhl.c (__catanhl): Likewise.
2978 * math/s_catanl.c (__catanl): Likewise.
2979 * math/libm-test.inc (catan_test): Add more tests.
2980 (catanh_test): Likewise.
2981 * sysdeps/i386/fpu/libm-test-ulps: Update.
2982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2984 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2988 2013-04-30 Joseph Myers <joseph@codesourcery.com>
2991 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2992 accurately for denominator in atan2.
2993 * math/s_catanf.c (__catanf): Likewise.
2994 * math/s_catanh.c (__catanh): Likewise.
2995 * math/s_catanhf.c (__catanhf): Likewise.
2996 * math/s_catanhl.c (__catanhl): Likewise.
2997 * math/s_catanl.c (__catanl): Likewise.
2998 * math/libm-test.inc (catan_test): Add more tests.
2999 (catanh_test): Likewise.
3000 * sysdeps/i386/fpu/libm-test-ulps: Update.
3001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3003 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3005 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3007 * benchtests/Makefile (bench): Remove slow benchmarks.
3008 * benchtests/atan-inputs: Add slow benchmark inputs.
3009 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3010 (BENCH_FUNC): Accept variant offset.
3012 * benchtests/bench-skeleton.c (main): Run benchmark for each
3014 * benchtests/cos-inputs: Add slow benchmark inputs.
3015 * benchtests/exp-inputs: Likewise.
3016 * benchtests/pow-inputs: Likewise.
3017 * benchtests/sin-inputs: Likewise.
3018 * benchtests/slowatan-inputs: Remove.
3019 * benchtests/slowatan.c: Remove.
3020 * benchtests/slowcos-inputs: Remove.
3021 * benchtests/slowcos.c: Remove.
3022 * benchtests/slowexp-inputs: Remove.
3023 * benchtests/slowexp.c: Remove.
3024 * benchtests/slowpow-inputs: Remove.
3025 * benchtests/slowpow.c: Remove.
3026 * benchtests/slowsin-inputs: Remove.
3027 * benchtests/slowsin.c: Remove.
3028 * benchtests/slowtan-inputs: Remove.
3029 * benchtests/slowtan.c: Remove.
3030 * benchtests/tan-inputs: Add slow benchmark inputs.
3031 * scripts/bench.pl: Parse comments and directives.
3033 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3035 ($(objpfx)bench-%.c): Remove *-ITER.
3036 * benchtests/bench-modf.c: Remove definition of ITER.
3037 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3038 (main): Loop for DURATION seconds instead of fixed number of
3040 * scripts/bench.pl: Don't expect iterations in parameters.
3042 2013-04-29 Roland McGrath <roland@hack.frob.com>
3044 * io/fchdir.c (__fchdir): Renamed from fchdir.
3045 (fchdir): Define as weak alias.
3047 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3049 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3050 (ERRNO_EDOM): Likewise.
3051 (ERRNO_ERANGE): Likewise.
3052 (noErrnoTests): New variable.
3053 (init_max_error): Set errno to 0.
3054 (test_single_errno): New function.
3055 (test_errno): Likewise.
3056 (check_float_internal): Call test_errno. Set errno to 0.
3057 (check_complex): Refer to errno tests in comment.
3058 (check_int): Call test_errno. Set errno to 0.
3059 (check_long): Likewise.
3060 (check_bool): Likewise.
3061 (check_longlong): Likewise.
3062 (cos_test): Use ERRNO_* flags for errno tests instead of
3064 (expm1_test): Likewise.
3065 (fmod_test): Likewise.
3066 (ilogb_test): Likewise.
3067 (lgamma_test): Likewise.
3068 (pow_test): Likewise.
3069 (remainder_test): Likewise.
3070 (sin_test): Likewise.
3071 (tan_test): Likewise.
3072 (yn_test): Likewise.
3073 (initialize): Set errno to 0.
3074 (main): Print number of errno tests.
3075 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3077 2013-04-29 Andreas Jaeger <aj@suse.de>
3080 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3084 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3085 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3089 * stdlib/random.c (__initstate): Return NULL if
3093 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3094 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3097 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3101 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3103 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3104 of individual tests.
3105 (casin_test): Likewise.
3106 (casinh_test): Likewise.
3108 2013-04-27 Joseph Myers <joseph@codesourcery.com>
3111 * math/s_catan.c (__catan): Handle arguments with large real or
3112 imaginary part separately without squaring.
3113 * math/s_catanf.c (__catanf): Likewise.
3114 * math/s_catanh.c (__catanh): Likewise.
3115 * math/s_catanhf.c (__catanhf): Likewise.
3116 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3118 (__catanhl): Handle arguments with large real or imaginary part
3119 separately without squaring.
3120 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3122 (__catanl): Handle arguments with large real or imaginary part
3123 separately without squaring.
3124 * math/libm-test.inc (catan_test): Add more tests.
3125 (catanh_test): Likewise.
3126 * sysdeps/i386/fpu/libm-test-ulps: Update.
3127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3129 2013-04-27 Andreas Jaeger <aj@suse.de>
3132 * stdlib/stdlib.h: Update guards for qecvt.
3133 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3136 2013-04-27 Allan McRae <allan@archlinux.org>
3138 * sysdeps/i386/fpu/libm-test-ulps: Update.
3140 2013-04-26 Joseph Myers <joseph@codesourcery.com>
3143 * math/s_catan.c: Include <float.h>.
3144 (__catan): Ensure underflow exception occurs for underflowed
3146 * math/s_catanf.c: Include <float.h>.
3147 (__catanf): Ensure underflow exception occurs for underflowed
3149 * math/s_catanh.c: Include <float.h>.
3150 (__catanh): Ensure underflow exception occurs for underflowed
3152 * math/s_catanhf.c: Include <float.h>.
3153 (__catanhf): Ensure underflow exception occurs for underflowed
3155 * math/s_catanhl.c: Include <float.h>.
3156 (__catanhl): Ensure underflow exception occurs for underflowed
3158 * math/s_catanl.c: Include <float.h>.
3159 (__catanl): Ensure underflow exception occurs for underflowed
3161 * math/libm-test.inc (catan_test): Add more tests.
3162 (catanh_test): Likewise.
3165 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3167 * math/s_ccoshf.c (__ccoshf): Likewise.
3168 * math/s_ccoshl.c (__ccoshl): Likewise.
3169 * math/s_csin.c (__csin): Likewise.
3170 * math/s_csinf.c (__csinf): Likewise.
3171 * math/s_csinh.c (__csinh): Likewise.
3172 * math/s_csinhf.c (__csinhf): Likewise.
3173 * math/s_csinhl.c (__csinhl): Likewise.
3174 * math/s_csinl.c (__csinl): Likewise.
3175 * math/libm-test.inc (ccos_test): Add more tests.
3176 (ccosh_test): Likewise.
3177 (csin_test): Likewise.
3178 (csinh_test): Likewise.
3180 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3182 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3183 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3184 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3185 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3186 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3187 powerpc/power5+/fpu folders.
3188 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3191 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3195 2013-04-25 Joseph Myers <joseph@codesourcery.com>
3197 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3198 additions to variable.
3199 [$(config-machine) = x86_64] (modules-names): Likewise.
3200 ($(objpfx)tst-audit3): Remove dependency.
3201 ($(objpfx)tst-audit3.out): Likewise.
3202 ($(objpfx)tst-audit4): Likewise.
3203 ($(objpfx)tst-audit4.out): Likewise.
3204 ($(objpfx)tst-audit5): Likewise.
3205 ($(objpfx)tst-audit5.out): Likewise.
3206 ($(objpfx)tst-audit6): Likewise.
3207 ($(objpfx)tst-audit6.out): Likewise.
3208 ($(objpfx)tst-audit7): Likewise.
3209 ($(objpfx)tst-audit7.out): Likewise.
3210 (tst-audit3-ENV): Remove variable.
3211 (tst-audit4-ENV): Likewise.
3212 (tst-audit5-ENV): Likewise.
3213 (tst-audit6-ENV): Likewise.
3214 (tst-audit7-ENV): Likewise.
3215 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3216 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3217 addition to variable.
3218 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3219 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3220 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3221 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3222 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3223 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3224 tst-audit3, tst-audit4 and tst-audit5.
3225 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3226 tst-audit6 and tst-audit7.
3227 [$(subdir) = elf] (modules-names): Add audit modules for those
3229 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3230 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3231 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3232 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3233 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3234 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3235 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3236 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3237 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3238 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3239 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3240 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3241 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3242 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3243 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3244 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3246 [$(subdir) = elf && $(config-cflags-avx) = yes]
3247 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3248 [$(subdir) = elf && $(config-cflags-avx) = yes]
3249 (CFLAGS-tst-auditmod4a.c): Likewise.
3250 [$(subdir) = elf && $(config-cflags-avx) = yes]
3251 (CFLAGS-tst-auditmod4b.c): Likewise.
3252 [$(subdir) = elf && $(config-cflags-avx) = yes]
3253 (CFLAGS-tst-auditmod6b.c): Likewise.
3254 [$(subdir) = elf && $(config-cflags-avx) = yes]
3255 (CFLAGS-tst-auditmod6c.c): Likewise.
3256 [$(subdir) = elf && $(config-cflags-avx) = yes]
3257 (CFLAGS-tst-auditmod7b.c): Likewise.
3258 * elf/tst-audit3.c: Move to ...
3259 * sysdeps/x86_64/tst-audit3.c: ... here.
3260 * elf/tst-audit4.c: Move to ...
3261 * sysdeps/x86_64/tst-audit4.c: ... here.
3262 * elf/tst-audit5.c: Move to ...
3263 * sysdeps/x86_64/tst-audit5.c: ... here.
3264 * elf/tst-audit6.c: Move to ...
3265 * sysdeps/x86_64/tst-audit6.c: ... here.
3266 * elf/tst-audit7.c: Move to ...
3267 * sysdeps/x86_64/tst-audit7.c: ... here.
3268 * elf/tst-auditmod3a.c: Move to ...
3269 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3270 * elf/tst-auditmod3b.c: Move to ...
3271 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3272 * elf/tst-auditmod4a.c: Move to ...
3273 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3274 * elf/tst-auditmod4b.c: Move to ...
3275 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3276 * elf/tst-auditmod5a.c: Move to ...
3277 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3278 * elf/tst-auditmod5b.c: Move to ...
3279 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3280 * elf/tst-auditmod6a.c: Move to ...
3281 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3282 * elf/tst-auditmod6b.c: Move to ...
3283 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3284 * elf/tst-auditmod6c.c: Move to ...
3285 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3286 * elf/tst-auditmod7a.c: Move to ...
3287 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3288 * elf/tst-auditmod7b.c: Move to ...
3289 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3291 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3294 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3295 define unconditionally.
3296 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3297 define unconditionally.
3298 (INT8_C, INT16_C, etc.): Likewise.
3300 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3302 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3303 __ehdr_start with hidden visibility.
3305 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3307 2013-04-24 Carlos O'Donell <carlos@redhat.com>
3309 * math/libm-test.inc (cos_test): Use accurate hex constants.
3310 (sincost_test): Likewise.
3312 2013-04-24 Joseph Myers <joseph@codesourcery.com>
3314 * math/libm-test.inc (catan_test): Add more tests.
3315 (catanh_test): Likewise.
3317 * math/s_catanf.c (__catanf): Use suffixed floating-point
3319 * math/s_catanhf.c (__catanhf): Likewise.
3320 * math/s_catanhl.c (__catanhl): Likewise.
3321 * math/s_catanl.c (__catanl): Likewise.
3324 * math/s_catan.c (__catan): Calculate imaginary part of result
3325 with log1p not log unless computing log of number close to 0.
3326 * math/s_catanf.c (__catanf): Likewise.
3327 * math/s_catanl.c (__catanl): Likewise.
3328 * math/s_catanh.c (__catanh): Calculate real part of result with
3329 log1p not log unless computing log of number close to 0.
3330 * math/s_catanhf.c (__catanhf): Likewise.
3331 * math/s_catanhl.c (__catanhl): Likewise.
3332 * math/libm-test.inc (catan_test): Add more tests.
3333 (catanh_test): Likewise.
3334 * sysdeps/i386/fpu/libm-test-ulps: Update.
3335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3337 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3339 * benchtests/Makefile: Mention files in which fast and slow
3340 paths of math functions are implemented.
3342 2013-04-23 Roland McGrath <roland@hack.frob.com>
3344 * sysdeps/posix/timespec_get.c: New file.
3346 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3348 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3350 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3352 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3353 powerpc/power5/fpu folders.
3354 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3355 * benchtests/Makefile: Add modf testcase.
3356 * benchtests/bench-modf.c: New file: Benchmark test for mo
3358 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3361 * time/Makefile (tests): Add tst-strptime-whitespace.
3362 * time/strptime_l.c (get_number): Use ISSPACE.
3363 (__strptime_internal): Likewise.
3364 * time/tst-strptime-whitespace.c: New test case.
3366 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3368 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3370 (_nss_files_init): Set it here.
3372 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3374 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3375 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3378 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3380 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3382 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3384 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3387 2013-04-21 David S. Miller <davem@davemloft.net>
3389 * po/ru.po: Update Russion translation from translation project.
3391 2013-04-17 Adam Conrad <adconrad@0c3.net>
3393 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3396 2013-04-17 Carlos O'Donell <carlos@redhat.com>
3398 * configure.in: Remove i386 configure warning. Remove i386 case.
3399 * configure: Regenerate.
3400 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3401 Add example to error message.
3402 * sysdeps/i386/configure: Regenerate.
3404 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3406 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3408 * benchtests/cos-inputs: New file.
3409 * benchtests/slowcos-inputs: New file.
3410 * benchtests/slowcos.c: New file.
3411 * benchtests/slowtan-inputs: New file.
3412 * benchtests/slowtan.c: New file.
3413 * benchtests/tan-inputs: New file.
3415 2013-04-16 Roland McGrath <roland@hack.frob.com>
3417 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3420 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3422 * benchtests/Makefile: Include cppflags-iterator.mk to add
3423 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3425 * Makefile.in (bench-clean): New target.
3426 * benchtests/Makefile (bench-clean): Likewise.
3428 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3430 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3432 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3434 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3436 2013-04-15 Andreas Schwab <schwab@suse.de>
3438 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3439 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3440 * nscd/pwdcache.c (cache_addpw): Likewise.
3441 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3444 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3446 * benchtests/Makefile (bench): Write all output to
3447 bench-out.tmp together.
3449 2013-04-15 Andreas Schwab <schwab@suse.de>
3451 * nscd/nscd.c (main): Don't fork again after closing files.
3453 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3455 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3457 * benchtests/Rules (bench-deps): Collect dependencies into a
3458 single variable. Add Makefile to dependencies.
3459 ($(objpfx)bench-%.c): Depend on bench-deps.
3461 2013-04-12 Roland McGrath <roland@hack.frob.com>
3462 Xavier Roche <roche+kml2@exalead.com>
3465 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3466 just that it's a file descriptor.
3467 * manual/llio.texi (Synchronizing AIO Operations): Update description
3468 for EBADF error from aio_fsync.
3470 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3472 * Rules (bench): Move target definition...
3473 * benchtests/Makefile: ... here.
3475 2013-04-11 Carlos O'Donell <carlos@redhat.com>
3477 * math/libm-test.inc (cos_test): Fix PI/2 test.
3478 (sincos_test): Likewise.
3479 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3480 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3482 2013-04-11 Andreas Schwab <schwab@suse.de>
3485 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3486 accept exponent character only when digits were seen.
3487 * stdio-common/Makefile (tests): Add bug26.
3488 * stdio-common/bug26.c: New file.
3491 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3494 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3496 * Makeconfig (rtld-prefix): Define built linker prefix.
3497 * Rules (run-bench): Use it.
3498 * math/Makefile (run-regen-ulps): Likewise.
3500 * Rules (bench): Remove eval.
3502 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3503 Roland McGrath <roland@hack.frob.com>
3504 Ondrej Bilka <neleai@seznam.cz>
3507 * time/getdate.c: Include ctype.h and alloca.h.
3508 (__getdate_r): Trim leading and trailing spaces of input.
3509 * time/tst-getdate.c (tests): Add tests with leading and
3512 2013-04-08 Roland McGrath <roland@hack.frob.com>
3515 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3516 when computing value.
3518 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3520 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3521 Use testrun.sh to run libm tests.
3524 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3526 2013-04-06 Marko Myllynen <myllynen@redhat.com>
3529 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3531 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3533 * Makefile.in (regen-ulps): New target.
3534 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3535 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3536 [ifneq (no,$(PERL)] (regen-ulps): New target.
3537 [ifeq (no,$(PERL)] (regen-ulps): New target.
3538 * math/libm-test.inc (ulps_file_name): Define.
3539 (output_dir): New variable.
3540 (options): Add "output-dir" option.
3541 (parse_opt): Handle 'o' case.
3542 (main): If output_dir is non-NULL use it as a prefix
3544 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3546 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3549 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3550 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3551 fail configure if __sync_val_compare_and_swap is not inlined.
3552 * sysdeps/i386/configure: Regenerate.
3553 * configure.in: Build for i686 when configured for i386.
3554 * configure: Regenerate.
3555 * README: Remove i386 reference.
3557 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3559 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3560 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3562 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3564 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3565 (lmsnanval): New variables.
3566 (F): Add conversion tests.
3567 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3568 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3570 * stdio-common/tstdiomisc.c (F): Properly collect individual
3574 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3575 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3576 Instead, use input NaN values or generate a qNaN by arithmetic
3577 operation. Also fix bugs to comply with the standard.
3578 * math/libm-test.inc (remainder_test): Add more tests.
3581 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3582 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3583 input NaN values or generate a qNaN by arithmetic operation.
3585 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3588 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3591 2013-04-03 Joseph Myers <joseph@codesourcery.com>
3594 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3596 * math/s_cexpf.c (__cexpf): Likewise.
3597 * math/s_cexpl.c (__cexpl): Likewise.
3598 * math/libm-test.inc (cexp_test): Add more tests.
3600 2013-04-03 Andreas Schwab <schwab@suse.de>
3603 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3604 order arrays from heap if bigger than alloca cutoff.
3606 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3608 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3609 (SNAN_TESTS_double): Refer to GCC PR56831.
3610 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3613 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3615 * Rules (bench): Move bench.out after the run is complete.
3617 * Rules (bench): Echo currently running benchmark.
3619 * benchtests/Makefile (bench): Add atan and slowatan.
3620 * benchtests/atan-inputs: New file.
3621 * benchtests/slowatan-inputs: New file.
3622 * benchtests/slowatan.c: New file.
3624 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3625 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3629 * sysdeps/unix/sysv/linux/kernel-features.h
3630 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3631 __ASSUME_XFS_RESTRICTED_CHOWN.
3632 * sysdeps/unix/sysv/linux/pathconf.c
3633 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3634 Save and restore errno.
3636 2013-04-02 Joseph Myers <joseph@codesourcery.com>
3639 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3640 arguments using __kernel_casinh.
3641 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3642 arguments using __kernel_casinhf.
3643 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3644 arguments using __kernel_casinhl.
3645 * math/libm-test.inc (cacosh_test): Add more tests.
3646 * sysdeps/i386/fpu/libm-test-ulps: Update.
3647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3649 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3651 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3652 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3654 * bench/Makefile (bench): Add sin and slowsin.
3655 * benchtests/sin-inputs: New file.
3656 * benchtests/slowsin-inputs: New file.
3657 * benchtests/slowsin.c: New file.
3659 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3660 (bench): Add slowexp and slowpow.
3661 (exp-ITER): Increase iterations.
3662 (pow-ITER): Likewise.
3663 * benchtests/exp-inputs: Change input.
3664 * benchtests/pow-inputs: Likewise.
3665 * benchtests/slowexp-inputs: New file.
3666 * benchtests/slowexp.c: New file.
3667 * benchtests/slowpow-inputs: New file.
3668 * benchtests/slowpow.c: New file.
3670 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3672 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3674 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3675 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3676 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3677 * benchtests/Makefile: Add rint benchtest.
3678 * benchtests/rint-inputs: Input for rint benchtest.
3680 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3682 * Versions.def (libm): Add GLIBC_2.18.
3683 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3684 hidden libm prototypes.
3685 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3686 * math/Makefile (libm-calls): Add s_issignaling.
3687 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3688 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3689 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3691 * math/math.h [__USE_GNU] (issignaling): New macro.
3692 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3693 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3694 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3695 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3698 * manual/arith.texi (issignaling): New section.
3699 * manual/libm-err-tab.pl (@all_functions): Update comment.
3700 * math/gen-libm-test.pl (parse_args): Apply special handling for
3702 * math/libm-test.inc (print_float, issignaling_test): New
3704 (check_float_internal): Add issignaling checks.
3705 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3707 * sysdeps/powerpc/math-tests.h: New file.
3708 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3710 * math/test-snan.c (TEST_FUNC): Likewise.
3712 2013-03-30 David S. Miller <davem@davemloft.net>
3714 * po/de.po: Update from translation team.
3716 2013-03-30 Joseph Myers <joseph@codesourcery.com>
3719 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3720 imaginary part less than 1.0 and real part less than 0.5
3722 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3723 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3724 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3725 (cacos_test): Add more tests.
3726 (casin_test): Likewise.
3727 (casinh_test): Likewise.
3728 * sysdeps/i386/fpu/libm-test-ulps: Update.
3729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3731 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3733 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3736 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3737 (__pow_mp): Replace ONE and MONE with their values.
3738 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3739 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3740 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3741 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3742 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3743 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3745 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3747 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3748 (__pow_mp): Replace ZERO and MZERO with their values.
3749 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3750 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3751 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3752 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3753 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3754 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3757 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3759 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3761 2013-03-28 Roland McGrath <roland@hack.frob.com>
3763 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3764 Declare with __attribute__ ((weak)).
3765 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3766 Call __call_tls_dtors only if it's not NULL.
3768 2013-03-28 Roland McGrath <roland@hack.frob.com>
3770 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3771 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3772 magic __ehdr_start linker symbol if it's defined.
3773 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3774 them up here if it was already done.
3776 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3777 (_dl_aux_init): Use const in cast when setting it.
3778 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3779 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3780 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3782 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3784 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3785 * csu/libc-tls.c: Nor here.
3786 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3788 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3789 (__libc_message): Never call vsyslog.
3791 2013-03-28 Alan Modra <amodra@gmail.com>
3793 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3795 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3798 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3801 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3805 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3808 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3809 Don't add gid passed as argument.
3811 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3813 2013-03-27 Joseph Myers <joseph@codesourcery.com>
3816 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3817 imaginary part between 1.0 and 1.5 and real part less than 0.5
3819 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3820 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3821 * math/libm-test.inc (cacos_test): Add more tests.
3822 (casin_test): Likewise.
3823 (casinh_test): Likewise.
3824 * sysdeps/i386/fpu/libm-test-ulps: Update.
3825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3827 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3829 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3833 (__dbl_mp): Likewise.
3834 (add_magnitudes): Likewise.
3835 (sub_magnitudes): Likewise.
3843 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3845 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3846 (__dubcos): Likewise.
3847 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3848 (__ieee754_acos): Likewise.
3849 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3850 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3852 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3853 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3855 (my_log2): Likewise.
3856 (checkint): Likewise.
3857 * sysdeps/ieee754/dbl-64/e_remainder.c
3858 (__ieee754_remainder): Likewise.
3859 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3860 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3862 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3864 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3865 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3866 MANTISSA_STORE_T to store computations on mantissa. Use
3867 macros for rounding and division.
3869 (__dbl_mp): Likewise.
3870 (add_magnitudes): Likewise.
3871 (sub_magnitudes): Likewise.
3874 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3875 powers of two in terms of TWOPOW macro.
3876 (mp_no): Make type of mantissa as MANTISSA_T.
3877 [!RADIXI]: Define RADIXI.
3878 [!TWO52]: Define TWO52.
3879 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3881 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3883 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3884 llroundl symbol when building for PPC32.
3886 2013-03-24 Mark H Weaver <mhw@netris.org>
3888 * manual/arith.texi (Normalization Functions): Fix prototypes for
3889 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3891 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3894 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3895 high value to check if expl overflow.
3896 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3897 to check for underflow and overflow.
3898 * math/libm-test.inc: Add exp test.
3900 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3903 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3906 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3908 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3911 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3913 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3914 wrap blocks consisting of several statements.
3916 * sysdeps/generic/math-tests.h: New file.
3917 * sysdeps/i386/fpu/math-tests.h: Likewise.
3918 * math/test-snan.c: Include it.
3919 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3921 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3924 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3925 (__ieee754_j0l): Do not improve calculations using cos of twice
3926 input for inputs above LDBL_MAX / 2.0L.
3927 (__ieee754_y0l): Likewise.
3928 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3929 (__ieee754_j1l): Do not improve calculations using cos of twice
3930 input for inputs above LDBL_MAX / 2.0L.
3931 (__ieee754_y1l): Likewise.
3932 * math/libm-test.inc (j0_test): Add another test.
3933 (j1_test): Likewise.
3934 (y0_test): Likewise.
3935 (y1_test): Likewise.
3936 * sysdeps/i386/fpu/libm-test-ulps: Update.
3938 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3940 * Rules ($(objpfx)bench-%.c): Include code from a C source
3943 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3946 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3947 imaginary part 1.0 and real part less than 0.5 specially.
3948 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3949 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3950 * math/libm-test.inc (cacos_test): Add more tests.
3951 (casin_test): Likewise.
3952 (casinh_test): Likewise.
3953 * sysdeps/i386/fpu/libm-test-ulps: Update.
3954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3956 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3958 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3959 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3961 2013-03-20 Joseph Myers <joseph@codesourcery.com>
3963 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3964 * config.make.in (config-cflags-sse4): Remove variable.
3965 (config-cflags-avx): Likewise.
3966 (config-cflags-sse2avx): Likewise.
3967 (config-cflags-novzeroupper): Likewise.
3968 (config-asflags-i686): Likewise.
3969 (have-mfma4): Likewise.
3970 (have-as-vis3): Likewise.
3972 * configure.in (MIG): Do not AC_SUBST.
3973 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3974 (libc_cv_cc_sse4): Do not AC_SUBST.
3975 (libc_cv_cc_avx): Likewise.
3976 (libc_cv_cc_sse2avx): Likewise.
3977 (libc_cv_cc_novzeroupper): Likewise.
3978 (libc_cv_cc_fma4): Likewise.
3979 (libc_cv_as_i686): Likewise.
3980 (libc_cv_sparc_as_vis3): Likewise.
3981 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3983 (config-asflags-i686): Likewise.
3984 (config-cflags-avx): Likewise.
3985 (config-cflags-sse2avx): Likewise.
3986 (have-mfma4): Likewise.
3987 (config-cflags-novzeroupper): Likewise.
3988 * sysdeps/mach/configure.in (MIG): Likewise.
3989 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3990 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3992 (config-cflags-avx): Likewise.
3993 (config-cflags-sse2avx): Likewise.
3994 (have-mfma4): Likewise.
3995 (config-cflags-novzeroupper): Likewise.
3996 * configure: Regenerated.
3997 * sysdeps/i386/configure: Likewise.
3998 * sysdeps/mach/configure: Likewise.
3999 * sysdeps/sparc/configure: Likewise.
4000 * sysdeps/x86_64/configure: Likewise.
4002 2013-03-20 Roland McGrath <roland@hack.frob.com>
4005 * locale/programs/localedef.c (options): Put N_ translation marker
4006 on argument names, not just descriptions.
4008 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4010 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4012 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
4015 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4017 2013-03-19 Roland McGrath <roland@hack.frob.com>
4019 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4020 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4021 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4022 [!BEFORE_ABORT] (before_abort): New function.
4023 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4024 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4025 (writev_for_fatal): New function.
4026 (WRITEV_FOR_FATAL): New macro; call that.
4027 (backtrace_and_maps): New function.
4028 (BEFORE_ABORT): New macro; call that.
4029 (struct str_list): Type removed.
4030 (__libc_message, __libc_fatal): Functions removed.
4031 Include <sysdeps/posix/libc_fatal.c> instead.
4033 2013-03-19 Joseph Myers <joseph@codesourcery.com>
4035 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4037 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4040 2013-03-19 Andreas Schwab <schwab@suse.de>
4042 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4043 * sysdeps/gnu/configure: Regenerate.
4045 * configure.in: Substitute libc_cv_rtlddir.
4046 * configure: Regenerate.
4047 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4048 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4049 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4050 * elf/Makefile (install-others, CFLAGS-interp.c)
4051 (ldso_install, common-ldd-rewrite): Likewise.
4052 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4053 $(inst_slibdir)/$(rtld-installed-name).
4054 * scripts/rellns-sh: Add -p option.
4055 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4058 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4060 * manual/nptl.texi: Renamed to ...
4061 * manual/threads.texi: ... this.
4062 * manual/Makefile (chapters): Update.
4064 2013-03-18 Roland McGrath <roland@hack.frob.com>
4067 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4068 on argument names, not just descriptions.
4069 * malloc/memusagestat.c (options): Likewise.
4070 * nss/getent.c (options): Likewise.
4072 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
4075 * iconv/iconv_prog.c (options): Put N_ translation marker
4076 on argument names, not just descriptions.
4077 * iconv/iconvconfig.c (options): Likewise.
4079 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
4081 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4082 implementation which is faster on all x86_64 architectures.
4083 Tested on AMD, Intel Nehalem, SNB, IVB.
4084 * sysdeps/x86_64/strnlen.S: Likewise.
4086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4087 Remove all multiarch strlen and strnlen versions.
4088 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4089 Remove strlen and strnlen related parts.
4091 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4093 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4095 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4096 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4097 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4098 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4099 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4100 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4102 2013-03-17 Carlos O'Donell <carlos@redhat.com>
4104 * manual/memory.texi (Malloc Tunable Parameters):
4105 Sort parameters alphabetically. Add comments for missing entries.
4107 2013-03-17 David S. Miller <davem@davemloft.net>
4109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4111 2013-03-16 Joseph Myers <joseph@codesourcery.com>
4114 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4115 for arguments at most half maximum finite value.
4116 * math/libm-test.inc (j0_test): Add more tests.
4117 (j1_test): Likewise.
4118 (y0_test): Likewise.
4119 (y1_test): Likewise.
4120 * sysdeps/i386/fpu/libm-test-ulps: Update.
4121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4124 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4125 1 / x and functions P and Q for arguments above 0x1p256L.
4126 (__ieee754_y0l): Likewise.
4127 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4128 (__ieee754_y1l): Likewise.
4129 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4130 (j1_test): Likewise.
4131 (y0_test): Likewise.
4132 (y1_test): Likewise.
4134 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4136 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4139 2013-03-15 Roland McGrath <roland@hack.frob.com>
4141 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4142 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4143 zero since it's initialized to EXEC_PAGESIZE.
4145 * sysdeps/unix/sysv/linux/ldsodefs.h
4146 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4147 * sysdeps/generic/ldsodefs.h: ... here.
4149 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4151 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4153 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4155 * math/test-snan.c: Renamed from
4156 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4157 * math/Makefile (tests): Add test-snan.
4158 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4161 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4162 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4164 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4165 __builtin_nan family of functions.
4166 * math/libm-test.inc (initialize): Initialize qnan_value with
4167 __builtin_nan family of functions.
4168 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4170 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4172 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4173 storage class. Initialize qNaN_var and sNaN_var with
4174 __builtin_nan and __builtin_nans families of functions,
4177 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4178 (sqrt_test): Remove duplicate test with qNaN input.
4179 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4180 (round_test, signbit_test, significand_test): Note missing +/-Inf
4181 as well as qNaN tests.
4183 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4184 qNaN_var. Fix a few strings, too.
4185 * math/libm-test.inc (nan_value): Rename to qnan_value.
4186 * math/gen-libm-test.pl (%beautify): Adjust to that.
4187 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4188 * math/test-misc.c (main): Likewise.
4189 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4190 to __qnan_bytes, and __qnan_union, respectively.
4191 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4193 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4194 and lqnanval, respectively.
4195 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4196 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4197 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4198 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4200 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4201 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4204 * math/test-misc.c (main): Fix copy'n'pastos.
4205 * misc/tst-efgcvt.c (special): Likewise.
4207 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4208 Remove declarations.
4210 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4212 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4213 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4214 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4215 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4217 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4219 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4220 macro to return vdso values correctly in IFUNC implementations.
4221 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4222 Optimization by using IFUNC.
4224 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4225 Richard Henderson <rth@redhat.com>
4226 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4228 * Makefile.in (bench): New target.
4229 * NEWS: Mention the benchmark framework.
4230 * Rules (bench): Likewise.
4231 (binaries-bench): Generate binaries for functions to
4233 * benchtests/Makefile: New makefile for benchmark tests.
4234 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4236 * benchtests/exp-inputs: New input file for EXP function.
4237 * benchtests/pow-inputs: New input file for POW function.
4238 * scripts/bench.pl: New script to generate source files for
4241 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4243 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4244 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4245 computations on mantissa. Use macros for rounding and
4248 (__dbl_mp): Likewise.
4249 (add_magnitudes): Likewise.
4250 (sub_magnitudes): Likewise.
4253 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4254 powers of two in terms of TWOPOW macro.
4255 (mp_no): Make type of mantissa as MANTISSA_T.
4256 [!RADIXI]: Define RADIXI.
4257 [!TWO52]: Define TWO52.
4258 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4260 * manual/nptl.texi (cindex): Modify threads to pthreads.
4262 2013-03-15 Joseph Myers <joseph@codesourcery.com>
4264 * sysdeps/x86_64/preconfigure: Regenerated.
4266 2013-03-14 Joseph Myers <joseph@codesourcery.com>
4269 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4271 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4272 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4274 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4275 * math/libm-test.inc (j0_test): Do not allow one spurious
4276 underflow exception.
4277 (y1_test): Likewise.
4279 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4281 * manual/Makefile (chapters): Add nptl.
4282 * manual/debug.texi (Debugging Support): Add link to Threads
4284 * manual/nptl.texi: New file.
4286 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4288 2013-03-14 Petr Baudis <pasky@ucw.cz>
4290 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4291 for non-NULL pointer before the memory validity test. Pointed
4292 out by Holger Brunck <holger.brunck@keymile.com>.
4294 2013-03-13 Andreas Schwab <schwab@suse.de>
4296 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4299 2013-03-13 Joseph Myers <joseph@codesourcery.com>
4301 * timezone/zic.c: Update from tzcode 2013b.
4303 2013-03-12 Carlos O'Donell <carlos@redhat.com>
4305 * manual/install.texi (Configuring and compiling):
4306 Mention i686 and i586.
4307 * INSTALL: Regenerate.
4309 2013-03-12 Roland McGrath <roland@hack.frob.com>
4311 * sysdeps/init_array/elf-init.c: New file.
4313 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4314 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4316 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4317 __gmon_start__ as global, but as static with a .preinit_array pointer.
4318 * sysdeps/init_array/gmon-start.c: New file. Use that.
4319 * sysdeps/init_array/crti.S: New file, empty except for comments.
4320 * sysdeps/init_array/crtn.S: Likewise.
4322 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
4324 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4327 Remove Prefer_SSE_for_memop.
4328 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4329 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4330 HAS_PREFER_SSE_FOR_MEMOP.
4331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4334 Remove bzero, memset ifunc support.
4335 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4336 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4337 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4338 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4340 2013-03-11 Andreas Schwab <schwab@suse.de>
4343 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4346 (GLIBC_2.16): Remove pthread_atfork.
4348 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4350 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4351 (ptestcases.h): Likewise.
4353 2013-03-08 Roland McGrath <roland@hack.frob.com>
4355 * Makeconfig ($(common-objpfx)config.status): Depend on
4356 sysdeps/*/preconfigure{,.in} too.
4358 2013-03-08 Joseph Myers <joseph@codesourcery.com>
4360 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4361 (__free_hook): Use void * instead of __malloc_ptr_t.
4362 (__malloc_hook): Likewise.
4363 (__realloc_hook): Likewise.
4364 (__memalign_hook): Likewise.
4365 (__after_morecore_hook): Likewise.
4366 * malloc/arena.c (save_malloc_hook): Likewise.
4367 (save_free_hook): Likewise.
4368 * malloc/hooks.c (malloc_hook_ini): Likewise.
4369 (realloc_hook_ini): Likewise.
4370 (memalign_hook_ini): Likewise.
4371 * malloc/malloc.c (malloc_hook_ini): Likewise.
4372 (realloc_hook_ini): Likewise.
4373 (memalign_hook_ini): Likewise.
4374 (__free_hook): Likewise.
4375 (__malloc_hook): Likewise.
4376 (__realloc_hook): Likewise.
4377 (__memalign_hook): Likewise.
4378 (__libc_malloc): Likewise.
4379 (__libc_free): Likewise.
4380 (__libc_realloc): Likewise.
4381 (__libc_memalign): Likewise.
4382 (__libc_valloc): Likewise.
4383 (__libc_pvalloc): Likewise.
4384 (__libc_calloc): Likewise.
4385 (__posix_memalign): Likewise.
4386 * malloc/morecore.c (__sbrk): Likewise.
4387 (__default_morecore): Likewise.
4389 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4391 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4392 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4395 * malloc/malloc.h (__malloc_size_t): Remove macro.
4396 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4398 (old_memalign_hook): Likewise.
4399 (old_realloc_hook): Likewise.
4400 (struct hdr): Likewise.
4402 (mallochook): Likewise.
4403 (memalignhook): Likewise.
4404 (reallochook): Likewise.
4405 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4406 (tr_old_realloc_hook): Likewise.
4407 (tr_old_memalign_hook): Likewise.
4408 (tr_mallochook): Likewise.
4409 (tr_reallochook): Likewise.
4410 (tr_memalignhook): Likewise.
4412 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4414 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4415 default_ldbl_pack and using as default implementation.
4416 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4418 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4419 redundant definition.
4420 (ldbl_insert_mantissa): Likewise.
4421 (ldbl_canonicalize): Likewise.
4422 (ldbl_nearbyint): Likewise.
4423 (ldbl_pack): Rename to ldbl_pack_ppc.
4424 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4425 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4426 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4428 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4431 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4432 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4433 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4435 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4436 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4437 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4439 2013-03-07 Andreas Jaeger <aj@suse.de>
4441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4444 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4446 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4447 Include mpa.h and declare __MPEXP.
4448 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4449 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4450 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4451 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4452 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4453 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4454 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4456 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4457 (__slowpow): Use long double EXPL and LOGL functions to
4459 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4460 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4461 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4462 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4463 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4464 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4467 intermediate variable to calculate exponent.
4469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4473 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4474 [!NO__SQR]: Define __sqr.
4475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4476 and NO__SQR. Remove all code except __mul and __sqr. Include
4477 sysdeps/ieee754/dbl-64/mpa.c.
4478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4481 * posix/Makefile (tests): Add tst-pathconf.
4482 * posix/tst-pathconf.c: New test case.
4483 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4485 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4487 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
4489 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4491 2013-03-06 Andreas Jaeger <aj@suse.de>
4493 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4494 definition via __MAP_ANONYMOUS.
4496 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4497 it's not part of Linux headers.
4499 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4500 (MAP_HUGE_MASK): Define.
4502 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4504 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4505 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4507 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4508 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4510 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4513 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4515 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4516 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4517 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4518 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4519 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4520 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4522 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4525 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4526 Handle f2fs and efivarfs.
4528 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4531 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4532 (EFIVARFS_MAGIC): Add.
4533 (F2FS_LINK_MAX): Add.
4535 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4537 * stdio-common/vfprintf.c: Replace __builtin_expect with
4540 2013-03-06 Joseph Myers <joseph@codesourcery.com>
4543 * sysdeps/generic/bp-sym.h: Remove file.
4544 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4545 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4546 <bp-sym.h> and <bp-asm.h>.
4547 (__longjmp): Don't use BP_SYM.
4548 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4550 (memcpy): Don't use BP_SYM.
4551 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4552 <bp-sym.h> and <bp-asm.h>.
4553 (memcpy): Don't use BP_SYM.
4554 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4556 (memcpy): Don't use BP_SYM.
4557 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4559 (memset): Don't use BP_SYM.
4560 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4561 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4562 (__bzero): Don't use BP_SYM.
4563 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4564 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4565 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4566 <bp-sym.h> and <bp-asm.h>.
4567 (memcmp): Don't use BP_SYM. Remove comment about bounded
4569 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4570 <bp-sym.h> and <bp-asm.h>.
4571 (memcpy): Don't use BP_SYM.
4572 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4573 <bp-sym.h> and <bp-asm.h>.
4574 (memset): Don't use BP_SYM.
4575 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4576 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4577 (__bzero): Don't use BP_SYM.
4578 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4579 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4580 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4581 <bp-sym.h> and <bp-asm.h>.
4582 (strncmp): Don't use BP_SYM. Remove comment about bounded
4584 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4585 <bp-sym.h> and <bp-asm.h>.
4586 (memcpy): Don't use BP_SYM.
4587 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4588 <bp-sym.h> and <bp-asm.h>.
4589 (memset): Don't use BP_SYM.
4590 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4591 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4592 (__bzero): Don't use BP_SYM.
4593 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4594 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4595 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4596 <bp-sym.h> and <bp-asm.h>.
4597 (__memchr): Don't use BP_SYM.
4598 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4599 <bp-sym.h> and <bp-asm.h>.
4600 (memcmp): Don't use BP_SYM. Remove comment about bounded
4602 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4603 <bp-sym.h> and <bp-asm.h>.
4604 (memcpy): Don't use BP_SYM.
4605 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4606 <bp-sym.h> and <bp-asm.h>.
4607 (__mempcpy): Don't use BP_SYM.
4608 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4609 <bp-sym.h> and <bp-asm.h>.
4610 (__memrchr): Don't use BP_SYM.
4611 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4612 <bp-sym.h> and <bp-asm.h>.
4613 (memset): Don't use BP_SYM.
4614 (__bzero): Likewise.
4615 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4616 <bp-sym.h> and <bp-asm.h>.
4617 (__rawmemchr): Don't use BP_SYM.
4618 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4619 <bp-sym.h> and <bp-asm.h>.
4620 (__STRCMP): Don't use BP_SYM.
4621 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4622 <bp-sym.h> and <bp-asm.h>.
4623 (strchr): Don't use BP_SYM.
4624 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4625 <bp-sym.h> and <bp-asm.h>.
4626 (__strchrnul): Don't use BP_SYM.
4627 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4628 <bp-sym.h> and <bp-asm.h>.
4629 (strlen): Don't use BP_SYM.
4630 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4631 <bp-sym.h> and <bp-asm.h>.
4632 (strncmp): Don't use BP_SYM. Remove comment about bounded
4634 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4635 <bp-sym.h> and <bp-asm.h>.
4636 (__strnlen): Don't use BP_SYM.
4637 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4638 <bp-sym.h> and <bp-asm.h>.
4639 (__GI__setjmp): Don't use BP_SYM.
4640 (_setjmp): Likewise.
4641 (__sigsetjmp): Likewise.
4642 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4643 (L(start_addresses)): Don't use BP_SYM.
4645 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4647 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4648 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4649 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4650 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4651 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4653 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4654 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4655 about bounded pointers.
4656 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4657 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4658 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4660 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4661 about bounded pointers. Remove GKM FIXME comments.
4662 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4663 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4665 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4666 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4667 Remove GKM FIXME comments.
4668 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4669 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4670 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4672 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4673 about bounded pointers. Remove GKM FIXME comment.
4674 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4676 (strncmp): Don't use BP_SYM. Remove comment about bounded
4678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4679 <bp-sym.h> and <bp-asm.h>.
4680 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4682 <bp-sym.h> and <bp-asm.h>.
4683 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4686 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4688 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4691 2013-03-05 David S. Miller <davem@davemloft.net>
4693 * po/es.po: Update from translation team.
4695 2013-03-05 Andreas Jaeger <aj@suse.de>
4697 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4698 <bits/mman-linux.h>.
4699 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4701 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4702 <bits/mman-linux.h> to end of file.
4703 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4705 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4706 <bits/mman-linux.h> to end of file.
4707 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4709 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4710 <bits/mman-linux.h> to end of file.
4712 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4713 (MCL_CURRENT, MCL_FUTURE): Define here.
4715 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4718 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4720 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4722 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4724 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4725 fourth parameter needed for rt_sigprocmask syscall.
4726 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4727 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4728 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4729 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4730 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4731 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4733 2013-03-04 Joseph Myers <joseph@codesourcery.com>
4736 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4737 comment about bounded pointers.
4738 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4739 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4741 2013-03-04 Andreas Jaeger <aj@suse.de>
4743 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4746 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4747 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4748 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4749 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4750 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4751 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4753 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4756 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4757 __ieee754_sqrl instead of __sqrl.
4759 2013-03-01 Joseph Myers <joseph@codesourcery.com>
4761 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4762 * sysdeps/powerpc/fpu_control.h: ... here.
4763 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4764 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4765 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4766 * sysdeps/powerpc/bits/mathinline.h: ... here.
4768 2013-03-01 Roland McGrath <roland@hack.frob.com>
4770 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4771 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4772 to just [NEED_DL_SYSINFO_DSO].
4773 * elf/dl-support.c: Likewise.
4774 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4775 * elf/rtld.c (dl_main): Likewise.
4776 * elf/setup-vdso.h (setup_vdso): Likewise.
4777 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4778 * sysdeps/unix/sysv/linux/dl-sysdep.c
4779 (_dl_discover_osversion): Likewise.
4781 2013-03-01 Carlos O'Donell <carlos@redhat.com>
4783 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4784 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4786 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4788 * NEWS: Mention libm performance improvements and non-x86 PI
4791 * csu/libc-start.c (__pthread_initialize_minimal): Change
4793 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4795 2013-02-28 Joseph Myers <joseph@codesourcery.com>
4798 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4799 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4800 <bp-sym.h> and <bp-asm.h>.
4801 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4802 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4804 (memcpy): Don't use BP_SYM.
4805 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4807 (__mpn_add_n): Don't use BP_SYM.
4808 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4809 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4811 (__mpn_addmul_1): Don't use BP_SYM.
4812 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4813 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4815 (_setjmp): Don't use BP_SYM.
4816 (__novmx_setjmp): Likewise.
4817 (__GI__setjmp): Likewise.
4818 (__vmx_setjmp): Likewise.
4819 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4821 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4822 (__bzero): Don't use BP_SYM.
4823 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4824 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4825 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4826 <bp-sym.h> and <bp-asm.h>.
4827 (memcpy): Don't use BP_SYM.
4828 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4829 <bp-sym.h> and <bp-asm.h>.
4830 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4831 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4832 <bp-sym.h> and <bp-asm.h>.
4833 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4834 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4836 (__mpn_lshift): Don't use BP_SYM.
4837 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4838 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4840 (memset): Don't use BP_SYM.
4841 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4842 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4843 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4845 (__mpn_mul_1): Don't use BP_SYM.
4846 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4847 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4848 <bp-sym.h> and <bp-asm.h>.
4849 (memcmp): Don't use BP_SYM.
4850 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4851 <bp-sym.h> and <bp-asm.h>.
4852 (memcpy): Don't use BP_SYM.
4853 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4854 <bp-sym.h> and <bp-asm.h>.
4855 (memset): Don't use BP_SYM.
4856 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4857 <bp-sym.h> and <bp-asm.h>.
4858 (strncmp): Don't use BP_SYM.
4859 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4860 <bp-sym.h> and <bp-asm.h>.
4861 (memcpy): Don't use BP_SYM.
4862 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4863 <bp-sym.h> and <bp-asm.h>.
4864 (memset): Don't use BP_SYM.
4865 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4866 <bp-sym.h> and <bp-asm.h>.
4867 (__memchr): Don't use BP_SYM.
4868 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4869 <bp-sym.h> and <bp-asm.h>.
4870 (memcmp): Don't use BP_SYM.
4871 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4872 <bp-sym.h> and <bp-asm.h>.
4873 (memcpy): Don't use BP_SYM.
4874 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4875 <bp-sym.h> and <bp-asm.h>.
4876 (__mempcpy): Don't use BP_SYM.
4877 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4878 <bp-sym.h> and <bp-asm.h>.
4879 (__memrchr): Don't use BP_SYM.
4880 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4881 <bp-sym.h> and <bp-asm.h>.
4882 (memset): Don't use BP_SYM.
4883 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4884 <bp-sym.h> and <bp-asm.h>.
4885 (__rawmemchr): Don't use BP_SYM.
4886 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4887 <bp-sym.h> and <bp-asm.h>.
4888 (__STRCMP): Don't use BP_SYM.
4889 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4890 <bp-sym.h> and <bp-asm.h>.
4891 (strchr): Don't use BP_SYM.
4892 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4893 <bp-sym.h> and <bp-asm.h>.
4894 (__strchrnul): Don't use BP_SYM.
4895 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4896 <bp-sym.h> and <bp-asm.h>.
4897 (strlen): Don't use BP_SYM.
4898 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4899 <bp-sym.h> and <bp-asm.h>.
4900 (strncmp): Don't use BP_SYM.
4901 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4902 <bp-sym.h> and <bp-asm.h>.
4903 (__strnlen): Don't use BP_SYM.
4904 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4906 (__mpn_rshift): Don't use BP_SYM.
4907 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4908 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4909 <bp-sym.h> and <bp-asm.h>.
4910 (__sigsetjmp): Don't use BP_SYM.
4911 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4912 (L(start_addresses)): Don't use BP_SYM.
4914 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4916 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4917 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4918 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4919 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4921 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4922 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4923 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4924 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4926 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4928 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4929 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4931 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4933 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4934 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4935 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4937 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4939 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4941 (strncmp): Don't use BP_SYM,
4942 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4944 (__mpn_sub_n): Don't use BP_SYM.
4945 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4946 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4948 (__mpn_submul_1): Don't use BP_SYM.
4949 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4951 <bp-sym.h> and <bp-asm.h>.
4952 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4954 <bp-sym.h> and <bp-asm.h>.
4955 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4958 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4961 Use ZK to minimize writes to Z.
4962 (sub_magnitudes): Simplify code a bit.
4963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4964 Use ZK to minimize writes to Z.
4965 (sub_magnitudes): Simplify code a bit.
4967 2013-02-27 Roland McGrath <roland@hack.frob.com>
4969 * csu/gmon-start.c: Add special exception to license text.
4971 2013-02-27 Richard Henderson <rth@redhat.com>
4973 * scripts/config.guess: Update from config.git.
4974 * scripts/config.sub: Likewise.
4976 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4978 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4980 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4982 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4984 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4986 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4988 2013-02-26 Roland McGrath <roland@hack.frob.com>
4990 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4991 [$(build-shared = yes].
4993 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4995 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4996 (__mul): Reduce iterations for calculating mantissa.
4998 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5000 (__mpranred): Likewise.
5003 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5004 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5006 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5008 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5009 Define __attribute__.
5011 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5013 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5015 * posix/regex_internal.h (__attribute): Remove.
5016 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5017 (re_string_context_at): Likewise.
5018 (bitset_not): Use __attribute__ and mark function as possibly
5020 (bitset_merge): Likewise.
5021 (bitset_mask): Likewise.
5022 (re_string_char_size_at): Likewise.
5023 (re_string_wchar_at): Likewise.
5024 (re_string_elem_size_at): Likewise.
5026 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5028 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5032 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5037 (__dbl_mp): Likewise.
5038 (add_magnitudes): Likewise.
5039 (sub_magnitudes): Likewise.
5043 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5046 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5049 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5053 up changes with default code.
5054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5057 2013-02-24 Allan McRae <allan@archlinux.org>
5059 * manual/socket.texi (The Internet Namespace): Order menu items
5060 to match that in the file.
5062 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5063 node listing of the info page menu.
5065 2013-02-21 Joseph Myers <joseph@codesourcery.com>
5068 * sysdeps/i386/bp-asm.h: Remove file.
5069 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5070 (PARMS): Do not use macros from bp-asm.h.
5074 (__mpn_add_n): Do not use BP_SYM
5075 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5077 (PARMS): Do not use macros from bp-asm.h.
5080 (__mpn_addmul_1): Do not use BP_SYM
5081 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5083 (PARMS): Do not use macros from bp-asm.h.
5085 (_setjmp): Likewise. Do not use BP_SYM.
5086 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5088 (PARMS): Do not use macros from bp-asm.h.
5090 (setjmp): Likewise. Do not use BP_SYM.
5091 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5093 (PARMS): Do not use macros from bp-asm.h.
5094 (__frexp): Do not use BP_SYM.
5096 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5098 (PARMS): Do not use macros from bp-asm.h.
5099 (__frexpf): Do not use BP_SYM.
5101 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5103 (PARMS): Do not use macros from bp-asm.h.
5104 (__frexpl): Do not use BP_SYM.
5106 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5108 (PARMS): Do not use macros from bp-asm.h.
5109 (__remquo): Do not use BP_SYM.
5111 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5113 (PARMS): Do not use macros from bp-asm.h.
5114 (__remquof): Do not use BP_SYM.
5115 (remquof): Likewise.
5116 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5118 (PARMS): Do not use macros from bp-asm.h.
5119 (__remquol): Do not use BP_SYM.
5120 (remquol): Likewise.
5121 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5123 (PARMS): Do not use macros from bp-asm.h.
5126 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5127 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5129 (PARMS): Do not use macros from bp-asm.h.
5130 (strlen): Do not use BP_SYM.
5131 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5133 (PARMS): Do not use macros from bp-asm.h.
5137 (__mpn_add_n): Do not use BP_SYM.
5138 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5140 (PARMS): Do not use macros from bp-asm.h.
5143 (__mpn_addmul_1): Do not use BP_SYM.
5144 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5147 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5149 (PARMS): Do not use macros from bp-asm.h.
5152 (__mpn_lshift): Do not use BP_SYM.
5153 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5155 (PARMS): Do not use macros from bp-asm.h.
5159 (memcpy): Likewise. Do not use BP_SYM.
5160 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5161 libc_hidden_def and weak_alias.
5162 (mempcpy): Do not use BP_SYM in weak_alias.
5163 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5165 (PARMS): Do not use macros from bp-asm.h.
5168 [!BZERO_P] (CHR): Likewise.
5169 (memset): Likewise. Do not use BP_SYM.
5170 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5172 (PARMS): Do not use macros from bp-asm.h.
5175 (__mpn_mul_1): Do not use BP_SYM.
5176 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5178 (PARMS): Do not use macros from bp-asm.h.
5181 (__mpn_rshift): Do not use BP_SYM.
5182 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5184 (PARMS): Do not use macros from bp-asm.h.
5187 (strchr): Likewise. Do not use BP_SYM.
5188 (index): Do not use BP_SYM in weak_alias.
5189 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5191 (PARMS): Do not use macros from bp-asm.h.
5194 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5195 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5197 (PARMS): Do not use macros from bp-asm.h.
5198 (strlen): Do not use BP_SYM.
5199 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5201 (PARMS): Do not use macros from bp-asm.h.
5205 (__mpn_sub_n): Do not use BP_SYM.
5206 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5208 (PARMS): Do not use macros from bp-asm.h.
5211 (__mpn_submul_1): Do not use BP_SYM.
5212 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5214 (PARMS): Do not use macros from bp-asm.h.
5218 (__mpn_add_n): Do not use BP_SYM.
5219 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5222 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5224 (PARMS): Do not use macros from bp-asm.h.
5227 (memcmp): Do not use BP_SYM.
5228 (bcmp): Do not use BP_SYM in weak_alias.
5229 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5231 (PARMS): Do not use macros from bp-asm.h.
5235 (memcpy): Likewise. Do not use BP_SYM.
5236 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5238 (PARMS): Do not use macros from bp-asm.h.
5242 (memmove): Likewise. Do not use BP_SYM.
5243 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5245 (PARMS): Do not use macros from bp-asm.h.
5249 (__mempcpy): Likewise. Do not use BP_SYM.
5250 (mempcpy): Do not use BP_SYM in weak_alias.
5251 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5253 (PARMS): Do not use macros from bp-asm.h.
5256 [!BZERO_P] (CHR): Likewise.
5257 (memset): Likewise. Do not use BP_SYM.
5258 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5260 (PARMS): Do not use macros from bp-asm.h.
5262 (strcmp): Do not use BP_SYM.
5263 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5265 (PARMS): Do not use macros from bp-asm.h.
5268 [USE_AS_STRTOK_R] (SAVE): Likewise.
5269 (FUNCTION): Likewise. Do not use BP_SYM.
5270 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5272 (strtok_r): Likewise.
5273 (__GI___strtok_r): Likewise.
5274 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5275 (PARMS): Do not use macros from bp-asm.h.
5278 (__mpn_lshift): Do not use BP_SYM.
5279 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5280 (PARMS): Do not use macros from bp-asm.h.
5283 (__memchr): Do not use BP_SYM.
5284 (memchr): Do not use BP_SYM in weak_alias.
5285 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5286 (PARMS): Do not use macros from bp-asm.h.
5289 (memcmp): Do not use BP_SYM.
5290 (bcmp): Do not use BP_SYM in weak_alias.
5291 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5292 (PARMS): Do not use macros from bp-asm.h.
5295 (__mpn_mul_1): Do not use BP_SYM.
5296 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5298 (PARMS): Do not use macros from bp-asm.h.
5301 (__rawmemchr): Do not use BP_SYM.
5302 (rawmemchr): Do not use BP_SYM in weak_alias.
5303 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5304 (PARMS): Do not use macros from bp-asm.h.
5307 (__mpn_rshift): Do not use BP_SYM.
5308 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5309 (PARMS): Do not use macros from bp-asm.h.
5311 (__sigsetjmp): Likewise. Do not use BP_SYM.
5312 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5313 (_start): Do not use BP_SYM.
5314 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5315 (PARMS): Do not use macros from bp-asm.h.
5318 (__stpcpy): Likewise. Do not use BP_SYM.
5319 (stpcpy): Do not use BP_SYM in weak_alias.
5320 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5322 (PARMS): Do not use macros from bp-asm.h.
5326 (__stpncpy): Likewise. Do not use BP_SYM.
5327 (stpncpy): Do not use BP_SYM in weak_alias.
5328 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5329 (PARMS): Do not use macros from bp-asm.h.
5332 (strchr): Likewise. Do not use BP_SYM.
5333 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5335 (PARMS): Do not use macros from bp-asm.h.
5338 (__strchrnul): Likewise. Do not use BP_SYM.
5339 (strchrnul): Do not use BP_SYM in weak_alias.
5340 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5342 (PARMS): Do not use macros from bp-asm.h.
5344 (strcspn): Do not use BP_SYM.
5345 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5347 (PARMS): Do not use macros from bp-asm.h.
5350 (strpbrk): Likewise. Do not use BP_SYM.
5351 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5353 (PARMS): Do not use macros from bp-asm.h.
5356 (strrchr): Likewise. Do not use BP_SYM.
5357 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5358 (PARMS): Do not use macros from bp-asm.h.
5360 (strspn): Do not use BP_SYM.
5361 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5362 (PARMS): Do not use macros from bp-asm.h.
5366 (FUNCTION): Likewise. Do not use BP_SYM.
5367 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5369 (strtok_r): Likewise.
5370 (__GI___strtok_r): Likewise.
5371 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5372 (PARMS): Do not use macros from bp-asm.h.
5376 (__mpn_sub_n): Do not use BP_SYM.
5377 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5379 (PARMS): Do not use macros from bp-asm.h.
5382 (__mpn_submul_1): Do not use BP_SYM.
5383 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5385 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5387 (PARMS): Do not use macros from bp-asm.h.
5392 (__clone): Do not use BP_SYM.
5393 (clone): Do not use BP_SYM in weak_alias.
5394 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5396 (PARMS): Do not use macros from bp-asm.h.
5398 (__mmap64): Do not use BP_SYM.
5399 (mmap64): Do not use BP_SYM in weak_alias.
5400 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5401 <bp-sym.h> and <bp-asm.h>.
5402 (PARMS): Do not use macros from bp-asm.h.
5403 (__posix_fadvise64_l64): Do not use BP_SYM.
5404 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5405 (PARMS): Do not use macros from bp-asm.h.
5407 (semtimedop): Do not use BP_SYM.
5408 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5411 2013-02-21 Allan McRae <allan@archlinux.org>
5413 * manual/message.texi (Charset conversion in gettext):
5414 Move @end statement to beginning of line.
5416 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5423 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5428 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5430 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5431 tail-call to the resolved function if pltexit isn't needed.
5433 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5436 or Y being zero as being unlikely.
5437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5440 2013-02-20 Carlos O'Donell <carlos@redhat.com>
5442 * manual/nss.texi (System Databases and Name Service Switch):
5443 Remove frobnicate @pxref.
5445 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5447 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5448 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5450 2013-02-20 Petr Machata <pmachata@redhat.com>
5452 * elf/elf.h (R_ARM_TARGET1): New macro.
5453 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5454 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5455 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5456 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5457 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5458 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5459 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5460 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5461 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5462 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5463 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5464 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5465 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5466 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5467 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5468 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5469 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5470 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5471 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5472 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5473 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5474 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5475 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5476 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5477 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5478 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5479 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5480 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5481 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5482 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5483 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5484 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5485 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5486 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5487 (R_ARM_THM_GOT_BREL12): Likewise.
5488 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5489 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5490 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5491 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5492 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5493 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5494 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5495 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5496 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5498 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5500 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5501 __attribute_used__ to __attribute__ ((unused)).
5503 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5505 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5511 2013-02-19 Joseph Myers <joseph@codesourcery.com>
5514 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5516 (ENTER): Remove both macro definitions.
5518 (CHECK_BOUNDS_LOW): Likewise.
5519 (CHECK_BOUNDS_HIGH): Likewise.
5520 (CHECK_BOUNDS_BOTH): Likewise.
5521 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5522 (RETURN_BOUNDED_POINTER): Likewise.
5523 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5524 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5525 (POP_ERRNO_LOCATION_RETURN): Likewise.
5526 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5527 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5528 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5530 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5531 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5532 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5533 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5534 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5535 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5536 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5537 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5538 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5539 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5540 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5541 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5542 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5543 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5545 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5546 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5548 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5549 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5550 * sysdeps/i386/i586/memset.S (memset): Likewise.
5551 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5552 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5553 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5555 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5556 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5557 Change uses of L(2) to L(out).
5558 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5559 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5560 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5561 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5562 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5564 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5565 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5567 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5568 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5569 (RETURN): Do not use macro LEAVE.
5570 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5571 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5572 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5573 * sysdeps/i386/i686/memset.S (memset): Likewise.
5574 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5575 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5576 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5577 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5579 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5580 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5581 L(1_2) and L(1_3) into L(1).
5582 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5583 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5584 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5585 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5586 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5587 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5588 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5589 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5590 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5592 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5593 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5594 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5595 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5596 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5597 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5598 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5599 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5600 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5601 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5602 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5603 * sysdeps/i386/strspn.S (strspn): Likewise.
5604 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5606 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5607 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5608 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5609 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5611 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5612 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5613 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5615 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5617 2013-02-19 Jakub Jelinek <jakub@redhat.com>
5619 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5622 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5624 * math/atest-exp.c (exp_mpn): Remove ROUND.
5625 * math/atest-exp2.c (exp_mpn): Likewise.
5626 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5628 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5629 * stdlib/tst-tls-atexit-lib.c: Likewise.
5630 * stdlib/tst-tls-atexit.c: Likewise.
5632 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5634 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5635 and __attribute_alloc_size__.
5637 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5639 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5640 __attribute_alloc_size__.
5641 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5642 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5644 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5646 * include/programs/xmalloc.h: New file.
5647 * catgets/gencat.c: Include it.
5648 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5649 * elf/pldd.c: Likewise.
5650 * iconv/iconv_charmap.c: Likewise.
5651 * iconv/iconvconfig.c: Likewise.
5652 * iconv/strtab.c: Likewise.
5653 * locale/programs/locale.c: Likewise.
5654 * locale/programs/localedef.h: Likewise.
5655 * locale/programs/simple-hash.c: Likewise.
5656 * nscd/nscd.h: Likewise.
5657 * nss/makedb.c: Likewise.
5658 * sysdeps/generic/ldconfig.h: Likewise.
5660 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5662 * Versions.def: Add GLIBC_2.18.
5663 * include/link.h (struct link_map): New member l_tls_dtor_count.
5664 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5665 (__call_tls_dtors): Likewise.
5666 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5667 __cxa_thread_atexit_impl.
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5676 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5684 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5685 (tests): Add test case tst-tls-atexit.
5686 (modules-names): Add shared library for tst-tls-atexit.
5687 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5688 (GLIBC_PRIVATE): Add __call_tls_dtors.
5689 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5691 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5692 * stdlib/tst-tls-atexit.c: New test case.
5693 * stdlib/tst-tls-atexit-lib.c: New test case.
5695 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
5697 * elf/Versions (ld): Add _dl_find_dso_for_object.
5698 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5699 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5700 (dl_open_worker): Use _dl_find_dso_for_object.
5701 * elf/dl-sym.c (do_sym): Likewise.
5702 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5704 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5706 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5707 Syntactic changes only.
5708 (_dl_runtime_profile): Do a tail-call to the resolved function.
5710 2013-02-17 Joseph Myers <joseph@codesourcery.com>
5713 * sysdeps/x86_64/bp-asm.h: Remove file.
5714 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5715 <bp-sym.h> and <bp-asm.h>.
5716 (__clone): Do not use BP_SYM.
5717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5718 <bp-sym.h> and <bp-asm.h>.
5719 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5720 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5722 (_setjmp): Do not use BP_SYM.
5723 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5725 (setjmp): Do not use BP_SYM.
5726 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5728 (mempcpy): Do not use BP_SYM in weak_alias.
5729 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5731 (strchr): Do not use BP_SYM.
5732 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5734 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5735 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5736 (_start): Do not use BP_SYM.
5737 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5739 (strcat): Do not use BP_SYM.
5740 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5742 (STRCMP): Do not use BP_SYM.
5743 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5745 (STRCPY): Do not use BP_SYM.
5746 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5748 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5750 (FUNCTION): Do not use BP_SYM.
5751 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5753 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5755 2013-02-17 Andreas Jaeger <aj@suse.de>
5757 * time/Versions: Sort entries.
5758 * string/Versions: Likewise.
5759 * resolv/Versions: Likewise.
5760 * posix/Versions: Likewise.
5761 * iconv/Versions: Likewise.
5762 * elf/Versions: Likewise.
5763 * wcsmbs/Versions: Likewise.
5765 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5767 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5768 loop termination condition.
5770 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5771 variable to calculate EZ.
5774 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5775 the lower precision input.
5777 2013-02-15 Joseph Myers <joseph@codesourcery.com>
5780 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5781 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5782 (run-via-rtld-prefix): Do not handle %-bp tests.
5783 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5784 (all-object-suffixes): Remove .ob.
5785 (bppfx): Remove variable.
5786 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5787 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5788 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5789 [$(build-bounded) = yes] (libtype.ob): Likewise.
5790 * Makerules (elide-routines.ob): Remove variable.
5791 (do-tests-clean): Do not handle *-bp.out.
5792 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5793 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5794 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5795 (tests): Do not include $(tests-bp.out).
5796 (xtests): Do not include $(xtests-bp.out).
5797 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5798 [$(build-bounded) = yes] ($(addprefix
5799 $(objpfx),$(binaries-bounded))): Remove rule.
5800 ($(objpfx)%-bp.out): Remove rule.
5801 * config.make.in (build-bounded): Remove variable.
5802 * crypt/Makefile [$(build-bounded) = yes]
5803 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5804 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5806 [$(build-bounded) = yes] (install-lib): Likewise.
5807 [$(build-bounded) = yes] (generated): Likewise.
5808 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5810 * intl/Makefile [$(build-bounded) = yes]
5811 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5812 * math/Makefile [$(build-bounded) = yes]
5813 ($(tests:%=$(objpfx)%-bp): Likewise.
5814 * misc/Makefile [$(build-bounded) = yes]
5815 ($(objpfx)tst-tsearch-bp): Likewise.
5816 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5817 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5819 * string/Makefile (o-objects.ob): Remove variable.
5820 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5821 (CFLAGS-.ob): Remove variable.
5822 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5823 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5824 both definitions of variable.
5825 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5826 (ASFLAGS-.ob): Remove variable.
5828 2013-02-14 Joseph Myers <joseph@codesourcery.com>
5831 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5832 Remove __BOUNDED_POINTERS__ from condition.
5833 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5834 * string/bits/string2.h [!__NO_STRING_INLINES &&
5835 !__BOUNDED_POINTERS__]: Likewise.
5836 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5838 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5839 Remove conditional code.
5840 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5841 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5842 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5846 * csu/libc-start.c: Do not include <bp-sym.h>.
5847 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5848 * elf/dl-open.c: Do not include <bp-sym.h>.
5849 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5850 * math/fegetenv.c: Do not include <bp-sym.h>.
5851 (fegetenv): Do not use BP_SYM in versioned symbols.
5852 * nptl/sysdeps/pthread/bits/libc-lockP.h
5853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5856 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5858 (__pthread_mutex_destroy): Likewise.
5859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5860 (__pthread_mutex_lock): Likewise.
5861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5862 (__pthread_mutex_trylock): Likewise.
5863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5864 (__pthread_mutex_unlock): Likewise.
5865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5866 (__pthread_mutexattr_init): Likewise.
5867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5868 (__pthread_mutexattr_destroy): Likewise.
5869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5870 (__pthread_mutexattr_settype): Likewise.
5871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5872 (__pthread_rwlock_init): Likewise.
5873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5874 (__pthread_rwlock_destroy): Likewise.
5875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5876 (__pthread_rwlock_rdlock): Likewise.
5877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5878 (__pthread_rwlock_tryrdlock): Likewise.
5879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5880 (__pthread_rwlock_wrlock): Likewise.
5881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5882 (__pthread_rwlock_trywrlock): Likewise.
5883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5884 (__pthread_rwlock_unlock): Likewise.
5885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5886 (__pthread_key_create): Likewise.
5887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5888 (__pthread_setspecific): Likewise.
5889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5890 (__pthread_getspecific): Likewise.
5891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5894 (_pthread_cleanup_push_defer): Likewise.
5895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5896 (_pthread_cleanup_pop_restore): Likewise.
5897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5898 (pthread_setcancelstate): Likewise.
5899 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5901 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5902 (memchr): Do not use BP_SYM in weak_alias.
5903 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5904 (fegetenv): Do not use BP_SYM in versioned symbols.
5905 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5906 (fesetenv): Do not use BP_SYM in versioned symbols.
5907 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5908 (feupdateenv): Do not use BP_SYM in versioned symbols.
5909 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5910 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5911 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5912 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5913 (open64): Do not use BP_SYM in weak_alias.
5914 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5915 (fegetenv): Do not use BP_SYM in versioned symbols.
5916 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5917 (fesetenv): Do not use BP_SYM in versioned symbols.
5918 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5919 (feupdateenv): Do not use BP_SYM in versioned symbols.
5920 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5921 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5922 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5923 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5924 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5925 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5926 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5928 (__libc_start_main): Do not use BP_SYM.
5930 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5933 redundant return line.
5937 (sub_magnitudes): Likewise.
5943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5947 (sub_magnitudes): Likewise.
5954 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5956 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5957 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5960 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5961 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5962 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5963 of __mul for squares.
5964 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5966 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5968 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5969 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5971 2013-02-13 Joseph Myers <joseph@codesourcery.com>
5974 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5976 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5977 prototype or function definition. Rename ubp_* variables and
5978 parameters. Remove argv definitions conditional on
5979 [__BOUNDED_POINTERS__].
5980 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5981 * elf/dl-runtime.c (_dl_fixup): Likewise.
5982 * include/set-hooks.h (RUN_HOOK): Likewise.
5983 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5985 * string/strcpy.c (strcpy): Do not use __unbounded.
5986 * sysdeps/generic/frame.h (struct layout): Likewise.
5987 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5988 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5989 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5990 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5991 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5992 (__backtrace): Likewise.
5993 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5995 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5996 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5997 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5999 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6000 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6001 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6002 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6003 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6004 Do not use __unbounded.
6005 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6006 Rename __unboundedrlimits parameter to rlimits in prototype.
6007 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6008 Do not use __unbounded.
6009 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6011 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6012 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6013 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6014 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6015 __ptrvalue or __unbounded.
6016 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6017 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6019 (__new_msgctl): Do not use __ptrvalue.
6020 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6022 (__libc_msgrcv): Do not use __ptrvalue.
6023 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6024 startup_info): Do not use __unbounded.
6025 (__libc_start_main): Likewise. Rename ubp_* variables and
6026 parameters. Remove argv definitions conditional on
6027 [__BOUNDED_POINTERS__].
6028 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6030 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6032 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6034 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6036 (__new_shmctl): Do not use __ptrvalue.
6037 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6038 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6040 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6041 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6042 (__libc_sigaction): Likewise.
6043 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6044 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6046 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6048 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
6050 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6052 * string/mempcpy.c: Implement by calling memcpy.
6054 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6058 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6061 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6062 values in the mantissa.
6064 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6065 minimize writes to Z.
6066 (sub_magnitudes): Simplify code a bit.
6068 2013-02-12 Roland McGrath <roland@hack.frob.com>
6070 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6071 from the message. The linker prefixes all warnings with that already.
6073 2013-02-12 Andreas Schwab <schwab@suse.de>
6076 * posix/regexec.c (extend_buffers): Add parameter min_len.
6077 (check_matching): Pass minimum needed length.
6078 (clean_state_log_if_needed): Likewise.
6079 (get_subexp): Likewise.
6080 * posix/Makefile (tests): Add bug-regex34.
6081 (bug-regex34-ENV): Define.
6082 * posix/bug-regex34.c: New file.
6085 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6086 elements compare against the byte sequence of it, not its name.
6087 * posix/Makefile (tests): Add bug-regex35.
6088 (bug-regex35-ENV): Define.
6089 * posix/bug-regex35.c: New file.
6091 2013-02-11 Tom de Vries <tom@codesourcery.com>
6093 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6095 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6096 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6097 (CHECK_EOL): Add undef.
6099 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
6101 * bits/stdlib-bsearch.h: New file.
6102 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6103 * stdlib/stdlib.h: Likewise.
6105 2013-02-11 Roland McGrath <roland@hack.frob.com>
6107 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6108 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6110 * manual/search.texi (Array Search Function): Add missing const in
6112 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6113 declaration to use rlim_t.
6114 (Basic Scheduling Functions): Remove erroneous const from
6115 sched_getparam prototype. Remove erroneous * from
6116 sched_get_priority_max and sched_get_priority_min prototypes.
6117 (Resource Usage): Fix summary @comment on vtimes to refer to
6118 sys/vtimes.h rather than vtimes.h.
6119 Add missing *s in vtimes prototype.
6120 (Limits on Resources): Fix ulimit prototype to return long int.
6121 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6122 prototypes to use long int rather than double.
6123 (BSD Random): Fix initstate and setstate to use char *, not void *.
6124 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6125 prototype to make second argument 'struct aiocb64 *const[]'.
6126 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6127 (Status of AIO Operations): Remove erroneous const in aio_return and
6128 aio_return64 prototypes.
6129 (Synchronizing I/O): Fix sync prototype to return void.
6130 * manual/startup.texi (Suboptions): Remove an erroneous const in
6131 getsubopt prototype.
6132 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6133 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6134 use size_t rather than int.
6135 (Scanning All Users): Likewise for getpwent_r.
6136 (Setting Groups): Add missing const to setgroups prototype.
6137 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6138 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6139 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6140 'const void *' rather than 'const char *'.
6141 (Host Address Functions): Likewise for inet_ntop.
6142 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6143 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6144 ssize_t for return value.
6145 (Sending Data): Likewise for send, sendto, sendmsg.
6146 (Socket Option Functions): Add a missing const in setsockopt prototype.
6147 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6148 use wchar_t for the argument.
6149 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6150 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6152 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6153 double/float/long double for second argument.
6154 Fix return types of significand, significandf, significandl.
6155 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6156 argument in fchmod prototype.
6157 (File Owner): Use uid_t and gid_t in fchown prototype.
6158 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6159 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6160 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6161 use 'const struct dirent **' as argument types to CMP function pointer
6163 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6164 (File Times): Fix summary magic @comment for struct utimbuf and utime
6165 to refer to utime.h, not time.h.
6166 * manual/string.texi (Argz Functions): Add missing const in
6167 argz_extract and argz_next prototypes.
6168 (Finding Tokens in a String): Likewise for basename.
6169 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6170 (Copying and Concatenation): Fix typo in wmemmove prototype.
6171 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6172 (Signal Stack): Remove erroneous const in sigstack prototype.
6173 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6175 (Simple Calendar Time): Likewise for stime.
6176 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6178 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6179 say sys/sysctl.h instead.
6180 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6181 and vsyslog prototypes.
6183 2013-02-11 Tom de Vries <tom@codesourcery.com>
6185 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6188 2013-02-11 Roland McGrath <roland@hack.frob.com>
6190 * misc/sys/mman.h: Fix typo in mremap comment.
6192 2013-02-08 Roland McGrath <roland@hack.frob.com>
6194 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6195 the '\0' terminator.
6197 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6200 * debug/segfault.c: Don't include <bp-checks.h>.
6201 * sysdeps/generic/bp-checks.h: Remove file.
6202 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6203 (__GETDENTS): Don't use CHECK_N.
6204 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6205 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6206 (__getgroups): Don't use CHECK_N.
6207 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6208 (setgroups): Don't use CHECK_N.
6209 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6210 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6211 (__libc_msgrcv): Don't use CHECK_N.
6212 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6213 (__libc_msgsnd): Don't use CHECK_N.
6214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6216 (__libc_pread): Don't use CHECK_N.
6217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6218 include <bp-checks.h>.
6219 (__libc_pread64): Don't use CHECK_N.
6220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6221 include <bp-checks.h>.
6222 (__libc_pwrite): Don't use CHECK_N.
6223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6224 include <bp-checks.h>.
6225 (__libc_pwrite64): Don't use CHECK_N.
6226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6228 (__libc_pread): Don't use CHECK_N.
6229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6230 include <bp-checks.h>.
6231 (__libc_pread64): Don't use CHECK_N.
6232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6233 include <bp-checks.h>.
6234 (__libc_pwrite): Don't use CHECK_N.
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6236 include <bp-checks.h>.
6237 (__libc_pwrite64): Don't use CHECK_N.
6238 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6239 (do_pread): Don't use CHECK_N.
6240 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6241 (do_pread64): Don't use CHECK_N.
6242 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6243 (do_pwrite): Don't use CHECK_N.
6244 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6245 (do_pwrite64): Don't use CHECK_N.
6246 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6247 (__libc_readv): Don't use CHECK_N.
6248 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6249 (semop): Don't use CHECK_N.
6250 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6252 (semtimedop): Don't use CHECK_N.
6253 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6254 (__libc_pread): Don't use CHECK_N.
6255 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6257 (__libc_pread64): Don't use CHECK_N.
6258 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6260 (__libc_pwrite): Don't use CHECK_N.
6261 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6263 (__libc_pwrite64): Don't use CHECK_N.
6264 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6266 (__libc_msgrcv): Don't use CHECK_N.
6267 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6268 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6269 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6270 (__libc_writev): Don't use CHECK_N.
6272 2013-02-08 Roland McGrath <roland@hack.frob.com>
6274 * string/strcpy.c: Removed unused variable.
6276 * Makeconfig (+sysdep-includes): Define with := rather than =.
6277 Use an existing include/ subdir of each sysdeps dir before it.
6279 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6281 * nscd/connection.c (register_traced_file): Comment function.
6282 [HAVE_INOTIFY] (union __inev): Define.
6283 [HAVE_INOTIFY] (inotify_check_files): New function.
6284 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6285 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6287 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6289 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6291 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6292 loaded if not already and that a failure is permanent.
6294 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6297 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6298 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6300 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6303 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6304 (CHECK_1_NULL_OK): Likewise.
6305 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6306 (__fxstat): Do not use CHECK_1.
6307 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6309 (___fxstat64): Do not use CHECK_1.
6310 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6312 (__fxstatat): Do not use CHECK_1.
6313 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6315 (__fxstatat64): Do not use CHECK_1.
6316 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6318 (__fxstat): Do not use CHECK_1.
6319 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6321 (__fxstatat): Do not use CHECK_1.
6322 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6324 (__getresgid): Do not use CHECK_1.
6325 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6327 (__getresuid): Do not use CHECK_1.
6328 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6330 (__lxstat): Do not use CHECK_1.
6331 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6333 (__old_msgctl): Do not use CHECK_1.
6334 (__new_msgctl): Likewise.
6335 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6337 (__new_setrlimit): Do not use CHECK_1.
6338 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6340 (__old_shmctl): Do not use CHECK_1.
6341 (__new_shmctl): Likewise.
6342 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6344 (__xstat): Do not use CHECK_1.
6345 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6346 (__lxstat): Do not use CHECK_1.
6347 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6349 (___lxstat64): Do not use CHECK_1.
6350 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6351 (__old_msgctl): Do not use CHECK_1.
6352 (__new_msgctl): Likewise.
6353 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6355 (__gettimeofday): Do not use CHECK_1.
6356 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6357 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6358 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6360 (__gettimeofday): Do not use CHECK_1.
6361 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6362 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6363 (__new_shmctl): Do not use CHECK_1.
6364 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6366 (do_sigtimedwait): Do not use CHECK_1.
6367 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6369 (do_sigwaitinfo): Do not use CHECK_1.
6370 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6372 (msgctl): Do not use CHECK_1.
6373 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6375 (shmctl): Do not use CHECK_1.
6376 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6377 (ustat): Do not use CHECK_1.
6378 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6380 (__fxstat): Do not use CHECK_1.
6381 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6383 (__fxstatat): Do not use CHECK_1.
6384 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6386 (__lxstat): Do not use CHECK_1.
6387 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6389 (__xstat): Do not use CHECK_1.
6390 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6391 (__xstat): Do not use CHECK_1.
6392 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6393 (___xstat64): Do not use CHECK_1.
6396 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6398 (CHECK_BOUNDS_HIGH): Likewise.
6399 * string/strcpy.c: Do not include <bp-checks.h>.
6400 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6402 2013-02-07 Roland McGrath <roland@hack.frob.com>
6404 * nscd/nscd-client.h (__nscd_drop_map_ref):
6405 Add __attribute__ ((unused)).
6406 * nis/nss-nisplus.h (niserr2nss): Likewise.
6408 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6409 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6411 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6412 Remove inline keyword.
6413 * include/rounding-mode.h (round_away): Likewise.
6414 * libio/wfileops.c (adjust_wide_data): Likewise.
6415 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6416 (__m128i_strloadu_tolower): Likewise.
6417 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6418 (__m128i_strloadu_tolower): Likewise.
6419 * time/mktime.c (ydhms_diff): Likewise.
6420 * locale/elem-hash.h (elem_hash): Likewise.
6421 * locale/setlocale.c (setdata): Likewise.
6422 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6423 (re_string_wchar_at): Likewise.
6424 (bitset_not, bitset_merge, bitset_mask): Likewise.
6425 [!(__GNUC__ > 3)] (inline): Remove macro.
6426 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6427 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6428 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6429 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6430 * string/memcmp.c (memcmp_bytes): Likewise.
6431 * locale/programs/locarchive.c (compute_hashval): Likewise.
6432 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6433 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6434 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6435 * nss/getent.c (print_rpc, print_protocols): Likewise.
6436 (print_passwd, print_group, print_aliases): Likewise.
6437 * nis/nss-nisplus.h (niserr2nss): Likewise.
6438 * nscd/connections.c (restart_p): Likewise.
6439 Change return type to bool.
6441 2013-02-05 Roland McGrath <roland@hack.frob.com>
6443 * Makeconfig (all-Depend-files): Add existing
6444 $(sorted-subdirs:=/Depend) files.
6445 (all-subdirs): Remove nss.
6446 * sysdeps/unix/inet/Subdirs: Add it here instead.
6447 * hesiod/Depend: New file.
6449 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6450 instead of calling alloca.
6452 * io/lseek.c (__lseek): Rename to __libc_lseek.
6453 Define __lseek as an alias.
6455 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6457 2013-02-04 Carlos O'Donell <carlos@redhat.com>
6459 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6460 else clause and remove check for non-standard endianness.
6462 2013-02-04 David S. Miller <davem@davemloft.net>
6464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6466 2013-02-04 Joseph Myers <joseph@codesourcery.com>
6469 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6470 (__ubp_memchr): Remove prototype.
6471 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6472 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6473 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6474 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6475 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6477 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6478 (__ubp_memchr): Likewise.
6479 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6480 (__ubp_memchr): Likewise.
6481 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6482 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6483 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6484 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6486 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6487 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6488 (__getcwd): Do not use CHECK_STRING.
6489 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6491 (__real_chown): Do not use CHECK_STRING.
6492 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6494 (fchownat): Do not use CHECK_STRING.
6495 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6497 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6499 (__lchown): Do not use CHECK_STRING.
6500 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6501 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6502 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6503 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6505 include <bp-checks.h>.
6506 (truncate64): Do not use CHECK_STRING.
6507 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6509 (__real_chown): Do not use CHECK_STRING.
6510 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6512 (__lchown): Do not use CHECK_STRING.
6513 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6515 (__chown): Do not use CHECK_STRING.
6516 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6518 (truncate64): Do not use CHECK_STRING.
6519 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6521 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6522 (__xmknod): Do not use CHECK_STRING.
6523 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6525 (__xmknodat): Do not use CHECK_STRING.
6526 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6527 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6529 2013-02-04 Andreas Schwab <schwab@suse.de>
6532 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6533 * include/netdb.h: Likewise for h_errno.
6534 * elf/tst-stackguard1.c: Include <tls.h>.
6536 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6538 * elf/link.h (struct link_map): Extend the l_addr comment.
6539 * include/link.h (struct link_map): Likewise.
6541 2013-02-01 Joseph Myers <joseph@codesourcery.com>
6544 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6545 (BOUNDED_1): Remove macro.
6546 * debug/backtrace.c: Don't include <bp-checks.h>.
6547 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6548 (__backtrace): Likewise.
6549 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6551 (__backtrace): Don't use BOUNDED_1.
6552 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6554 (__backtrace): Don't use BOUNDED_1.
6555 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6556 (__backtrace): Don't use BOUNDED_1.
6557 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6558 (shmat): Don't use BOUNDED_N.
6560 2013-01-31 Joseph Myers <joseph@codesourcery.com>
6563 * sysdeps/generic/bp-start.h: Remove file.
6564 * csu/libc-start.c: Don't include <bp-start.h>.
6565 (LIBC_START_MAIN): Set up __environ directly instead of using
6566 INIT_ARGV_and_ENVIRON.
6567 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6571 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6573 (CHECK_FCNTL): Likewise.
6574 (CHECK_N_PAGES): Likewise.
6577 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6579 (CHECK_SIGSET_NULL_OK): Likewise.
6580 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6582 (sigpending): Don't use CHECK_SIGSET.
6583 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6585 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6586 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6588 (do_sigsuspend): Don't use CHECK_SIGSET.
6589 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6591 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6592 (do_sigwait): Don't use CHECK_SIGSET.
6593 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6595 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6596 include <bp-checks.h>.
6597 (sigpending): Don't use CHECK_SIGSET.
6598 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6599 include <bp-checks.h>.
6600 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6601 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6603 (sigpending): Don't use CHECK_SIGSET.
6604 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6606 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6609 * sysdeps/generic/bp-semctl.h: Remove file.
6610 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6611 <bp-checks.h> and <bp-semctl.h>.
6612 (__old_semctl): Don't use CHECK_SEMCTL.
6613 (__new_semctl): Likewise.
6614 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6616 (__old_semctl): Don't use CHECK_SEMCTL.
6617 (__new_semctl): Likewise.
6618 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6619 <bp-checks.h> and <bp-semctl.h>.
6620 (__old_semctl): Don't use CHECK_SEMCTL.
6621 (__new_semctl): Likewise.
6622 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6623 <bp-checks.h> and <bp-semctl.h>.
6624 (semctl): Don't use CHECK_SEMCTL.
6627 * Makerules (elide-bp-thunks): Remove variable.
6628 (elide-routines.oS): Don't use $(elide-bp-thunks).
6629 (elide-routines.os): Likewise.
6630 (elide-routines.o): Likewise.
6631 (elide-routines.op): Likewise.
6632 (elide-routines.og): Likewise.
6633 (objects): Don't use $(bp-thunks).
6634 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6636 (common-generated): Do not add s-proto-bp.d.
6637 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6640 Do not generate makefile rules for bounded-pointer thunks.
6641 * sysdeps/generic/bp-thunks.h: Remove file.
6642 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6643 * sysdeps/unix/s-proto-bp.S: Likewise.
6646 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6647 parts of result separately when argument is not close to line from
6648 -i to i and one part of argument is small.
6649 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6650 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6651 * math/libm-test.inc (cacos_test): Add more tests.
6652 (casin_test): Likewise.
6653 (casinh_test): Likewise.
6654 * sysdeps/i386/fpu/libm-test-ulps: Update.
6655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6657 2013-01-31 David S. Miller <davem@davemloft.net>
6659 * po/de.po: Update from translation team.
6661 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6663 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6665 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6667 * configure.in (_AC_PROG_CC_C89): New definition.
6668 * configure: Regenerate.
6670 * configure.in (AC_PROG_CPP): New definition.
6671 * configure: Regenerate.
6673 2013-01-23 Joseph Myers <joseph@codesourcery.com>
6675 * debug/tst-backtrace.h: New file.
6676 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6677 (ret): Remove variable.
6679 (FAIL): Remove macro.
6680 (NO_INLINE): Likewise.
6681 (fn1): Use match function instead of strstr.
6682 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6683 (ret): Remove variable.
6685 (FAIL): Remove macro.
6686 (NO_INLINE): Likewise.
6687 (fn): Use match function instead of strstr.
6688 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6689 (ret): Remove variable.
6691 (FAIL): Remove macro.
6692 (NO_INLINE): Likewise.
6693 (handle_signal): Use match function instead of strstr.
6694 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6695 (ret): Remove variable.
6697 (FAIL): Remove macro.
6698 (NO_INLINE): Likewise.
6699 (handle_signal): Use match function instead of strstr.
6701 2013-01-23 Roland McGrath <roland@hack.frob.com>
6703 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6705 2013-01-23 David S. Miller <davem@davemloft.net>
6707 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6708 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6709 argument of CAS if possible.
6710 * sysdeps/sparc/sparc64/bits/atomic.h
6711 (__arch_compare_and_exchange_val_32_acq): Likewise.
6712 (__arch_compare_and_exchange_val_64_acq): Likewise.
6714 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6716 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6717 * sysdeps/posix/ulimit.c: ... this.
6719 * sysdeps/unix/bsd/ulimit.c: Remove file.
6721 2013-01-23 Adam Conrad <adconrad@0c3.net>
6723 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6724 (LDFLAGS-tst-array5): Likewise.
6726 2013-01-23 Joseph Myers <joseph@codesourcery.com>
6729 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6730 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6731 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6732 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6734 2013-01-21 David S. Miller <davem@davemloft.net>
6736 * sysdeps/sparc/backtrace.c: New file.
6737 * sysdeps/sparc/sparc32/backtrace.h: New file.
6738 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6739 * sysdeps/sparc/sparc64/backtrace.h: New file.
6740 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6741 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6744 2013-01-21 Andreas Schwab <schwab@suse.de>
6747 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6750 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6756 2013-01-18 Joseph Myers <joseph@codesourcery.com>
6757 Mark Mitchell <mark@codesourcery.com>
6758 Tom de Vries <tom@codesourcery.com>
6759 Paul Pluzhnikov <ppluzhnikov@google.com>
6761 * debug/tst-backtrace2.c: New file.
6762 * debug/tst-backtrace3.c: Likewise.
6763 * debug/tst-backtrace4.c: Likewise.
6764 * debug/tst-backtrace5.c: Likewise.
6765 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6766 (CFLAGS-tst-backtrace3.c): Likewise.
6767 (CFLAGS-tst-backtrace4.c): Likewise.
6768 (CFLAGS-tst-backtrace5.c): Likewise.
6769 (LDFLAGS-tst-backtrace2): Likewise.
6770 (LDFLAGS-tst-backtrace3): Likewise.
6771 (LDFLAGS-tst-backtrace4): Likewise.
6772 (LDFLAGS-tst-backtrace5): Likewise.
6773 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6774 tst-backtrace4 and tst-backtrace5.
6776 2013-01-18 Anton Blanchard <anton@samba.org>
6777 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6779 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6780 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6781 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6782 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6784 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6785 "+r" and remove output regs list as redundant. Add explicit inline
6786 asm to specify register of return val to work around compiler codegen
6787 bug. Remove (int) cast on return value. Add return type parameter to
6788 use in macro so that this macro does not truncate return value for
6790 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6791 pass to INTERNAL_VSYSCALL_NCS.
6792 (INLINE_VSYSCALL): Add 'long int' as return type to
6793 INTERNAL_VSYSCALL_NCS macro invocation.
6794 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6795 INTERNAL_VSYSCALL_NCS macro invocation.
6796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6798 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6801 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6802 Fix application of SIMD FP exception mask.
6804 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6805 mp_no from a power of two.
6806 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6807 __mpexp_twomm1. Use __pow_mp.
6809 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6812 2013-01-17 David S. Miller <davem@davemloft.net>
6814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6816 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6819 * include/complex.h: Condition contents on [!_COMPLEX_H].
6820 (__kernel_casinhf): New prototype.
6821 (__kernel_casinh): Likewise.
6822 (__kernel_casinhl): Likewise.
6823 * math/Makefile (libm_calls): Add k_casinh.
6824 * math/k_casinh.c: New file.
6825 * math/k_casinhf.c: Likewise.
6826 * math/k_casinhl.c: Likewise.
6827 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6828 finite nonzero arguments.
6829 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6830 finite nonzero arguments.
6831 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6832 finite nonzero arguments.
6833 * math/s_casinh.c: Do not include <float.h>.
6834 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6835 * math/s_casinhf.c: Do not include <float.h>.
6836 (__casinhf): Move code for finite nonzero arguments to
6838 * math/s_casinhl.c: Do not include <float.h>.
6839 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6841 (__casinhl): Move code for finite nonzero arguments to
6843 * math/libm-test.inc (cacos_test): Add more tests.
6844 * sysdeps/i386/fpu/libm-test-ulps: Update.
6845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6847 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6849 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6850 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6851 [!HAVE_MREMAP]: Remove [defined linux] case.
6852 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6854 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6856 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6858 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
6860 * elf/elf.h (R_386_SIZE32): New relocation.
6861 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6863 (elf_machine_rela): Likewise.
6864 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6865 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6867 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6869 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6870 (FP_FAST_FMA): Do not define.
6871 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6872 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6873 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6874 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6875 !_SOFT_FLOAT]: Likewise.
6876 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6877 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6879 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6880 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6881 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6882 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6883 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6884 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6887 2013-01-16 Andreas Schwab <schwab@suse.de>
6890 * include/stdlib.h (__mktemp): Add declaration.
6891 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6892 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6894 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6896 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6898 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6899 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6900 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6902 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6903 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6905 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6907 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6908 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6909 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6911 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6912 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6914 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6916 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6918 2013-01-15 David S. Miller <davem@davemloft.net>
6920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6921 trunc{,f} to libm-sysdep_routes.
6922 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6932 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6933 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6934 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6935 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6936 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6937 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6940 nearbyint{,f} to libm-sysdep_routes.
6941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6952 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6954 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6957 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6958 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6959 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6961 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6962 libc_feholdexcept and libc_fesetenv.
6964 2013-01-15 Mike Frysinger <vapier@gentoo.org>
6966 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6968 2013-01-14 David S. Miller <davem@davemloft.net>
6970 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6971 (SPARC_ASM_VIS2_IFUNC): Likewise.
6972 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6974 use of 'siam' instruction.
6975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6983 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7008 routines to libm-sysdep_routines.
7009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7012 fdim/fdimf to libm-sysdep_routines.
7013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7021 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7022 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7023 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7024 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7026 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7028 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7031 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7036 local variable MPTWO.
7037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7040 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7042 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7045 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7047 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7049 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7051 * manual/pattern.texi (glob_t): Document gl_flags.
7052 (glob64_t): Likewise.
7054 2013-01-11 David S. Miller <davem@davemloft.net>
7056 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7057 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7058 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
7059 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7060 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7061 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7062 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7063 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7064 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7065 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7066 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7067 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7068 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7070 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7071 sparc V9 rather than using V8 code.
7072 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7073 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7075 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7077 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7080 2013-01-11 Roland McGrath <roland@hack.frob.com>
7082 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7083 not in the main loop.
7084 * configure: Regenerated.
7086 2013-01-11 Joseph Myers <joseph@codesourcery.com>
7088 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7089 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7091 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7092 [!__GLIBC_HAVE_LONG_LONG] case.
7093 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7094 condition to just #else.
7095 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7096 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7097 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7098 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7100 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7101 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7102 #elif condition to just #else.
7103 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7104 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7105 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7106 #elif condition to just #else.
7108 2013-01-11 Steve Ellcey <sellcey@mips.com>
7110 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7111 (EF_MIPS_ARCH_64): Fix value.
7112 (EF_MIPS_ARCH_32R2): New.
7113 (EF_MIPS_ARCH_64R2): New.
7115 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7117 * Makeconfig (+link-pie-before-libc): New.
7118 (+link-pie-after-libc): Likewise.
7119 (+link-pie-tests): Likewise.
7120 (+link-pie): Rewritten.
7121 (link-before-libc): Remove $(config-LDFLAGS).
7122 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7123 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7124 (config-LDFLAGS): Renamed to ...
7125 (rtld-LDFLAGS): This.
7126 (rtld-tests-LDFLAGS): New macro.
7127 (link-libc-rpath-link): Likewise.
7128 (link-libc-tests-rpath-link): Likewise.
7129 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7130 (link-libc): Prepand $(link-libc-rpath-link).
7131 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7132 (test-program-prefix): New macro.
7133 (test-via-rtld-prefix): Likewise.
7134 (test-program-cmd): Likewise.
7135 (host-test-program-cmd): Likewise.
7136 * Makefile ($(common-objpfx)testrun.sh): Replace
7137 $(run-program-prefix) with $(test-program-prefix).
7138 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7140 ($(common-objpfx)shlib.lds): Likewise.
7141 (build-module-helper): Likewise.
7142 ($(common-objpfx)format.lds): Likewise.
7143 * Rules (binaries-pie-tests): New.
7144 (binaries-pie-notests): Likewise.
7145 (binaries-pie): Rewritten.
7146 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7147 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7148 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7149 (make-test-out): Replace $(host-built-program-cmd) with
7150 $(host-test-program-cmd).
7151 * config.make.in (build-hardcoded-path-in-tests): New variable.
7152 * configure.in (--enable-hardcoded-path-in-tests): New configure
7154 (hardcoded_path_in_tests): New AC_SUBST.
7155 * configure: Regenerated.
7156 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7157 $(built-program-cmd) with $(test-program-cmd).
7158 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7159 (test_program_cmd): This.
7160 * elf/Makefile ($(objpfx)order.out): Run test with
7161 $(test-program-prefix).
7162 ($(objpfx)order2.out): Likewise.
7163 ($(objpfx)tst-initorder.out): Likewise.
7164 ($(objpfx)tst-initorder2.out): Likewise.
7165 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7166 $(test-program-cmd).
7167 ($(objpfx)tst-array1-static.out): Likewise.
7168 ($(objpfx)tst-array2.out): Likewise.
7169 ($(objpfx)tst-array3.out): Likewise.
7170 ($(objpfx)tst-array4.out): Likewise.
7171 ($(objpfx)tst-array5.out): Likewise.
7172 ($(objpfx)tst-array5-static.out): Likewise.
7173 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7174 $(test-program-cmd).
7175 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7176 $(run-program-prefix) with $(test-program-prefix).
7177 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7178 (test_program_prefix): This.
7179 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7180 $(run-program-prefix) with $(test-program-prefix).
7181 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7182 (test_program_prefix): This.
7183 * iconvdata/tst-tables.sh: Likewise.
7184 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7185 $(run-program-prefix) with $(test-program-prefix).
7186 ($(objpfx)tst-translit.out): Likewise.
7187 ($(objpfx)tst-gettext2.out): Likewise.
7188 ($(objpfx)tst-gettext4.out): Likewise.
7189 ($(objpfx)tst-gettext6.out): Likewise.
7190 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7191 (test_program_prefix): This.
7192 * intl/tst-gettext2.sh: Likewise.
7193 * intl/tst-gettext4.sh Likewise.
7194 * intl/tst-gettext6.sh: Likewise.
7195 * intl/tst-translit.sh: Likewise.
7196 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7197 with $(test-program-cmd).
7198 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7199 $(run-program-prefix) with $(test-program-prefix).
7200 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7201 (test_program_prefix): This.
7202 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7203 $(run-program-prefix) with $(test-program-prefix).
7204 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7205 (test_program_prefix): This.
7206 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7207 * posix/Makefile ($(objpfx)globtest.out): Replace
7208 $(run-via-rtld-prefix) and $(test-wrapper) with
7209 $(test-program-prefix) and $(test-via-rtld-prefix).
7210 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7211 $(test-program-prefix).
7212 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7213 $(host-test-program-cmd).
7214 (tst-spawn-ARGS): Likewise.
7215 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7216 $(test-program-prefix).
7217 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7218 (test_via_rtld_prefix): This.
7219 (test_wrapper): Renamed to ...
7220 (test_program_prefix): This.
7221 (run_program_prefix): Replaced by test_program_prefix.
7222 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7223 (test_program_prefix): This.
7224 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7225 with $(host-test-program-cmd).
7226 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7227 $(run-program-prefix) with $(test-program-prefix).
7228 ($(objpfx)tst-printf.out): Likewise.
7229 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7230 $(test-program-cmd).
7231 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7232 (test_program_prefix): This.
7233 * stdio-common/tst-unbputc.sh: Likewise.
7234 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7235 $(run-program-prefix) with $(test-program-prefix).
7236 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7237 (test_program_prefix): This.
7238 * string/Makefile ($(objpfx)tst-svc.out): Replace
7239 $(built-program-cmd) with $(test-program-cmd).
7241 2013-01-11 Andreas Jaeger <aj@suse.de>
7244 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7245 value. Sync with Linux 3.7.
7247 2013-01-10 David S. Miller <davem@davemloft.net>
7249 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7250 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7251 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7253 2013-01-10 Roland McGrath <roland@hack.frob.com>
7255 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7257 * configure: Regenerated.
7259 2013-01-10 David S. Miller <davem@davemloft.net>
7261 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7262 sparc V9 rather than using V8 code.
7263 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7264 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7266 2013-01-10 Roland McGrath <roland@hack.frob.com>
7268 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7269 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7270 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7271 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7272 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7273 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7274 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7275 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7276 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7277 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7278 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7279 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7280 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7281 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7282 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7283 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7284 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7285 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7286 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7287 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7288 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7289 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7290 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7291 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7292 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7293 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7294 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7296 2013-01-10 David S. Miller <davem@davemloft.net>
7298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7300 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7302 * posix/Makefile (tests-static): New variable.
7303 (tests): Add $(tests-static).
7304 (tst-exec-static-ARGS): New variable.
7305 (tst-spawn-static-ARGS): Likewise.
7306 * posix/tst-exec-static.c: New file.
7307 * posix/tst-spawn-static.c: Likewise.
7308 * posix/tst-exec.c: Support run directly.
7309 * posix/tst-spawn.c: Likewise.
7311 2013-01-10 Joseph Myers <joseph@codesourcery.com>
7313 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7315 * math/bits/mathcalls.h (llrint): Likewise.
7316 (llround): Likewise.
7317 * stdlib/stdlib.h (struct drand48_data): Likewise.
7318 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7319 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7320 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7322 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7324 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7325 (elf_greg_t): Likewise.
7326 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7327 (__jmp_buf): Likewise.
7328 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7330 (llrint): Likewise, for all definitions.
7331 (llrintl): Likewise.
7333 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7334 Remove [__GNUC__] condition.
7335 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7336 condition to just [__USE_ISOC99].
7337 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7339 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7342 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7343 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7345 (_POSIX_V6_ILP32_OFF32): Likewise.
7346 (_XBS5_ILP32_OFF32): Likewise.
7347 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7348 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7350 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7352 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7355 doubles __mpexp_twomm1. Adjust usage.
7356 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7359 2013-01-10 Andreas Schwab <schwab@suse.de>
7362 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7363 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7365 2013-01-09 David S. Miller <davem@davemloft.net>
7368 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7369 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7370 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7371 TCP_FASTOPEN): Define.
7372 (tcp_repair_opt): New structure.
7373 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7375 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7376 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7377 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7378 (tcp_cookie_transactions): New structure.
7380 2013-01-09 Anton Blanchard <anton@samba.org>
7382 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7383 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7384 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7385 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7387 2013-01-09 Joseph Myers <joseph@codesourcery.com>
7389 * include/features.h (__USE_ANSI): Remove.
7391 2013-01-09 Roland McGrath <roland@hack.frob.com>
7393 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7395 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7397 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7399 * sysdeps/s390/fpu/libm-test-ulps: Update.
7401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7403 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7408 (__mp_dbl): Likewise.
7409 (__dbl_mp): Likewise.
7410 (add_magnitudes): Likewise.
7411 (sub_magnitudes): Likewise.
7417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7422 (__mp_dbl): Likewise.
7423 (__dbl_mp): Likewise.
7424 (add_magnitudes): Likewise.
7425 (sub_magnitudes): Likewise.
7431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7436 (__mp_dbl): Likewise.
7437 (__dbl_mp): Likewise.
7438 (add_magnitudes): Likewise.
7439 (sub_magnitudes): Likewise.
7446 2013-01-08 Joseph Myers <joseph@codesourcery.com>
7448 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7449 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7450 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7451 2 && __USE_EXTERN_INLINES]: Likewise.
7453 2013-01-08 Andreas Jaeger <aj@suse.de>
7456 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7458 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7459 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7461 2013-01-07 Anton Blanchard <anton@samba.org>
7463 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7464 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7465 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7466 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7467 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7468 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7469 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7470 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7472 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7473 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7475 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7476 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7477 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7478 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7479 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7480 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7481 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7482 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7483 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7484 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7485 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7486 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7487 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7488 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7489 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7490 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7491 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7492 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7493 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7495 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7496 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7497 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7498 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7499 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7500 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7501 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7502 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7503 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7504 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7505 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7507 2013-01-07 Joseph Myers <joseph@codesourcery.com>
7509 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7510 (__MALLOC_PMT): Likewise.
7511 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7512 [__GNUC__], only on [_LIBC].
7513 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7514 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7515 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7516 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7517 forward declaration.
7518 (realloc_hook_ini): Likewise.
7519 (memalign_hook_ini): Likewise.
7520 (__libc_memalign): Do not use __MALLOC_PMT in variable
7522 (__libc_valloc): Likewise.
7523 (__libc_pvalloc): Likewise.
7524 (__libc_calloc): Likewise.
7525 (__posix_memalign): Likewise.
7528 * math/s_casinh.c: Include <float.h>.
7529 (__casinh): Do not do computation with squaring and square root
7530 for large arguments.
7531 * math/s_casinhf.c: Include <float.h>.
7532 (__casinhf): Do not do computation with squaring and square root
7533 for large arguments.
7534 * math/s_casinhl.c: Include <float.h>.
7535 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7536 (__casinhl): Do not do computation with squaring and square root
7537 for large arguments.
7538 * math/libm-test.inc (casin_test): Add more tests.
7539 (casinh_test): Likewise.
7540 * sysdeps/i386/fpu/libm-test-ulps: Update.
7541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7543 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7545 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7546 (__x86_64_raw_data_cache_size): Likewise.
7547 (__x86_64_data_cache_size_half): Likewise.
7548 (__x86_64_raw_data_cache_size_half): Likewise.
7549 (__x86_64_shared_cache_size): Likewise.
7550 (__x86_64_raw_shared_cache_size): Likewise.
7551 (__x86_64_shared_cache_size_half): Likewise.
7552 (__x86_64_raw_shared_cache_size_half): Likewise.
7553 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7555 (__x86_data_cache_size): This.
7556 (__x86_64_raw_data_cache_size): Renamed to ...
7557 (__x86_raw_data_cache_size): This.
7558 (__x86_64_data_cache_size_half): Renamed to ...
7559 (__x86_data_cache_size_half): This.
7560 (__x86_64_raw_data_cache_size_half): Renamed to ...
7561 (__x86_raw_data_cache_size_half): This.
7562 (__x86_64_shared_cache_size): Renamed to ...
7563 (__x86_shared_cache_size): This.
7564 (__x86_64_raw_shared_cache_size): Renamed to ...
7565 (__x86_raw_shared_cache_size): This.
7566 (__x86_64_shared_cache_size_half): Renamed to ...
7567 (__x86_shared_cache_size_half): This.
7568 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7569 (__x86_raw_shared_cache_size_half): This.
7570 * sysdeps/x86_64/memcpy.S: Updated.
7571 * sysdeps/x86_64/memset.S: Likewise.
7572 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7573 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7574 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7576 2013-01-04 David S. Miller <davem@davemloft.net>
7578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7580 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7582 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7583 1 to avoid redefinition warning.
7584 (__USE_GNU): Don't define.
7585 (init_signaling_nan): Protoize.
7587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7589 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7591 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7593 (__cpymn): Likewise.
7594 (norm): Remove commented code.
7596 (__mp_dbl): Likewise.
7598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7599 (__cpymn): Likewise.
7600 (norm): Remove commented code.
7602 (__mp_dbl): Likewise.
7605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7606 mp_no value for 1.0 and 2.0.
7607 (norm): Use RADIXI instead of radixi.d.
7609 (__mul): Use 0.0 instead of zero.d.
7610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7611 mp_no value for 1.0 and 2.0.
7612 (norm): Use RADIXI instead of radixi.d.
7614 (__mul): Use 0.0 instead of zero.d.
7616 2013-01-04 Joseph Myers <joseph@codesourcery.com>
7619 * math/s_casinh.c (__casinh): Reduce finite argument to first
7620 quadrant then set signs of results at the end.
7621 * math/s_casinhf.c (__casinhf): Likewise.
7622 * math/s_casinhl.c (__casinhl): Likewise.
7623 * math/libm-test.inc (casin_test): Add more tests.
7624 (casinh_test): Likewise.
7625 * sysdeps/i386/fpu/libm-test-ulps: Update.
7626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7628 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7630 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7632 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7634 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7637 (__mp_dbl): Likewise.
7640 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7641 and adjust the header comment.
7643 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7644 variable name from declaration.
7646 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7649 Initialize COMMON_CPUID_INDEX_7 element.
7650 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7651 (CPUID_RTM): Likewise.
7652 (HAS_RTM): Likewise.
7653 (COMMON_CPUID_INDEX_7): New enum.
7655 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7658 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7659 size is zero, record memory as freed.
7661 2013-01-03 Andreas Jaeger <aj@suse.de>
7663 * po/ia.po: Add new Interlingua translation.
7665 2012-01-03 Allan McRae <allan@archlinux.org>
7667 * locale/programs/localedef.c: Fix description of '--posix' flag.
7669 2013-01-02 Joseph Myers <joseph@codesourcery.com>
7671 * NEWS: Update dates in second copyright notice.
7672 * README: Update copyright dates in example.
7673 * manual/libc.texinfo: Update copyright dates.
7674 * scripts/test-installation.pl: Update copyright date in --version
7677 * hurd/ctty-input.c: Fix copyright notice formatting.
7678 * hurd/ctty-output.c: Likewise.
7679 * hurd/dtable.c: Likewise.
7680 * hurd/hurd-raise.c: Likewise.
7681 * hurd/hurdprio.c: Likewise.
7682 * hurd/msgportdemux.c: Likewise.
7683 * misc/sys/file.h: Likewise.
7684 * misc/sys/ioctl.h: Likewise.
7685 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7686 * sysdeps/mach/hurd/chdir.c: Likewise.
7687 * sysdeps/mach/hurd/fchdir.c: Likewise.
7688 * sysdeps/mach/hurd/rename.c: Likewise.
7689 * sysdeps/mach/hurd/rmdir.c: Likewise.
7690 * sysdeps/mach/hurd/seekdir.c: Likewise.
7691 * sysdeps/mach/hurd/setsid.c: Likewise.
7692 * sysdeps/posix/wait3.c: Likewise.
7694 * All files with FSF copyright notices: Update copyright dates
7695 using scripts/update-copyrights.
7696 * intl/plural.c: Regenerated.
7697 * locale/programs/charmap-kw.h: Likewise.
7698 * locale/programs/locfile-kw.h: Likewise.
7700 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7702 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7705 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7706 calculation loop and add branch prediction.
7708 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7709 check access beyond bounds of m1np.
7711 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7713 (__inv): Remove local variable MPTWO to use the global
7715 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7716 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7718 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7719 MP3HALFS static const.
7721 2013-01-01 David S. Miller <davem@davemloft.net>
7723 * po/ca.po: Update from translation team.
7725 2013-01-01 Joseph Myers <joseph@codesourcery.com>
7727 * scripts/update-copyrights: New file.
7728 * Makeconfig: Reformat copyright notice.
7729 * ctype/ctype.h: Likewise.
7730 * debug/swprintf_chk.c: Likewise.
7731 * elf/dl-cache.c: Likewise.
7732 * elf/dl-debug.c: Likewise.
7733 * elf/dl-object.c: Likewise.
7734 * grp/initgroups.c: Likewise.
7735 * hurd/Makefile: Likewise.
7736 * hurd/hurd/signal.h: Likewise.
7737 * hurd/hurdfault.c: Likewise.
7738 * hurd/hurdioctl.c: Likewise.
7739 * hurd/hurdlookup.c: Likewise.
7740 * hurd/intr-msg.c: Likewise.
7741 * iconv/gconv_open.c: Likewise.
7742 * libio/swprintf.c: Likewise.
7743 * locale/lc-ctype.c: Likewise.
7744 * locale/nl_langinfo.c: Likewise.
7745 * mach/Machrules: Likewise.
7746 * mach/Makefile: Likewise.
7747 * malloc/obstack.h: Likewise.
7748 * manual/Makefile: Likewise.
7749 * manual/tsort.awk: Likewise.
7750 * misc/bits/stab.def: Likewise.
7751 * nis/nis_print_group_entry.c: Likewise.
7752 * nis/nis_table.c: Likewise.
7753 * nis/nss_compat/compat-pwd.c: Likewise.
7754 * nis/nss_compat/compat-spwd.c: Likewise.
7755 * po/Makefile: Likewise.
7756 * posix/fnmatch.c: Likewise.
7757 * posix/regex.h: Likewise.
7758 * resolv/Makefile: Likewise.
7759 * resolv/nss_dns/dns-network.c: Likewise.
7760 * resolv/res_hconf.c: Likewise.
7761 * scripts/gen-sorted.awk: Likewise.
7762 * soft-fp/soft-fp.h: Likewise.
7763 * stdio-common/printf.h: Likewise.
7764 * stdlib/monetary.h: Likewise.
7765 * stdlib/random.c: Likewise.
7766 * stdlib/random_r.c: Likewise.
7767 * sysdeps/generic/Makefile: Likewise.
7768 * sysdeps/gnu/Makefile: Likewise.
7769 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7770 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7771 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7772 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7773 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7774 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7775 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7776 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7777 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7779 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7780 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7781 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7782 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7783 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7784 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7785 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7786 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7787 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7788 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7789 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7790 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7791 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7792 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7793 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7794 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7796 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7797 * sysdeps/mach/hurd/errnos.awk: Likewise.
7798 * sysdeps/mach/hurd/fork.c: Likewise.
7799 * sysdeps/mach/hurd/getcwd.c: Likewise.
7800 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7801 * sysdeps/mach/hurd/mmap.c: Likewise.
7802 * sysdeps/mach/hurd/utimes.c: Likewise.
7803 * sysdeps/mach/hurd/xmknod.c: Likewise.
7804 * sysdeps/posix/profil.c: Likewise.
7805 * sysdeps/posix/readdir_r.c: Likewise.
7806 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7807 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7808 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7809 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7811 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7812 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7813 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7814 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7815 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7816 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7817 * sysdeps/pthread/lio_listio.c: Likewise.
7818 * sysdeps/sparc/dl-procinfo.h: Likewise.
7819 * sysdeps/unix/i386/sysdep.S: Likewise.
7820 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7821 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7822 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7823 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7825 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7826 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7827 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7828 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7829 * sysdeps/wordsize-32/divdi3.c: Likewise.
7830 * time/sys/time.h: Likewise.
7831 * wcsmbs/Makefile: Likewise.
7833 2013-01-01 David S. Miller <davem@davemloft.net>
7835 * po/fr.po: Update from translation team.
7837 * catgets/gencat.c: Update copyright year.
7838 * csu/version.c: Likewise.
7839 * debug/catchsegv.sh: Likewise.
7840 * debug/pcprofiledump.c: Likewise.
7841 * debug/xtrace.sh: Likewise.
7842 * elf/ldconfig.c: Likewise.
7843 * elf/ldd.bash.in: Likewise.
7844 * elf/pldd.c: Likewise.
7845 * elf/sotruss.ksh: Likewise.
7846 * elf/sprof.c: Likewise.
7847 * iconv/iconv_prog.c: Likewise.
7848 * iconv/iconvconfig.c: Likewise.
7849 * locale/programs/locale.c: Likewise.
7850 * locale/programs/localedef.c: Likewise.
7851 * login/programs/pt_chown.c: Likewise.
7852 * malloc/memusage.sh: Likewise.
7853 * malloc/memusagestat.c: Likewise.
7854 * malloc/mtrace.pl: Likewise.
7855 * nscd/nscd.c: Likewise.
7856 * nss/getent.c: Likewise.
7857 * nss/makedb.c: Likewise.
7858 * posix/getconf.c: Likewise.
7860 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7862 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7865 2012-12-30 Mike Frysinger <vapier@gentoo.org>
7867 * math/bits/mathcalls.h (modf): Use __nonnull.
7869 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7871 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7872 (split): Use macro CN instead of the bare value.
7873 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7875 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7876 instead of the bare value.
7879 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7881 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7883 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7885 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7887 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7888 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7889 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7890 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7892 2012-12-28 Andreas Jaeger <aj@suse.de>
7894 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7895 values are from Linux 3.7.
7897 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7898 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7900 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7902 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7905 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7907 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7908 variables with preprocessor constants.
7909 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7910 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7911 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7913 2012-12-27 Bruno Haible <bruno@clisp.org>
7916 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7919 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7921 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7922 and use variable directly.
7923 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7925 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7927 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7928 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7930 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7932 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7933 include directive. Remove local variable MPONE.
7934 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7935 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7936 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7938 2012-12-25 David S. Miller <davem@davemloft.net>
7940 * version.h (RELEASE): Set to "development".
7941 (VERSION): Set to "2.17.90".
7942 * NEWS: Add 2.18 section.
7944 2012-12-21 David S. Miller <davem@davemloft.net>
7946 * po/hr.po: Update from translation team.
7948 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7950 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7952 2012-12-19 Steve Ellcey <sellcey@mips.com>
7954 * NEWS: Mention new memcpy for MIPS.
7956 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7958 * manual/contrib.texi (Contributors): Spelling correction.
7960 2012-12-15 David S. Miller <davem@davemloft.net>
7962 * po/ru.po: Update from translation team.
7964 2012-12-13 David S. Miller <davem@davemloft.net>
7966 * NEWS: Mention IFUNC testsuite enhancements.
7968 * po/pl.po: Update from translation team.
7969 * po/bg.po: Likewise.
7971 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7972 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7974 2012-12-11 David S. Miller <davem@davemloft.net>
7976 * po/sv.po: Update from translation team.
7978 * po/vi.po: Update from translation team.
7980 * po/cs.po: Update from translation team.
7982 * po/de.po: Update from translation team.
7983 * po/eo.po: Likewise.
7984 * po/nl.po: Likewise.
7986 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7989 * manual/argp.texi (Argp Helper Functions): Move node to follow
7993 * manual/conf.texi (Limits on File System Capacity): Mention if
7994 terminating null is included in the max size.
7996 2012-12-10 Andreas Jaeger <aj@suse.de>
7998 * po/cs.po: Update from translation team.
8000 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8002 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8003 void pointer and cast to uintptr_t.
8004 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8006 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8007 * sysdeps/s390/s390-64/memset.S: Likewise.
8009 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
8012 * menual/message.texi (Message Translation): Fix typos.
8013 (Helper programs for gettext): Likewise.
8015 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8018 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8021 2012-12-07 David S. Miller <davem@davemloft.net>
8023 * po/libc.pot: Update.
8025 2012-12-07 Richard Henderson <rth@redhat.com>
8028 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8029 normal/normal case to before the switch.
8030 (_FP_DIV): Likewise.
8032 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8033 Mike Frysinger <vapier@gentoo.org>
8035 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8036 check for __NR_fadvise64_64.
8038 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8040 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8041 0, not just to plain "0" as a statement.
8042 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8045 2012-12-06 Joseph Myers <joseph@codesourcery.com>
8047 * NEWS: Use sourceware.org in Bugzilla URL.
8049 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8052 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8054 * stdio-common/tst-put-error.c (do_test): Add newline to the
8055 padded test to ensure flush.
8057 2012-12-05 Jeff Law <law@redhat.com>
8059 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8061 2012-12-05 Joseph Myers <joseph@codesourcery.com>
8063 * README: Don't refer to ports add-on as distributed separately.
8064 Mention AArch64 in list of systems supported in the ports add-on.
8066 * LICENSES: Add more non-FSF copyright and license notices.
8068 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8071 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8073 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8074 10000 as width of padded output.
8076 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8078 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8080 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8081 variable LX with __attribute__ ((unused)).
8082 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8084 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8085 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8086 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8087 with __attribute__ ((unused)).
8089 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
8091 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8093 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8095 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8096 (CFLAGS-nldbl-acos.c): New variable.
8097 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8098 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8099 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8100 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8101 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8102 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8103 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8104 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8105 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8106 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8107 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8108 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8109 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8110 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8111 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8112 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8113 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8114 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8115 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8116 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8117 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8118 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8119 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8120 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8121 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8122 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8123 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8124 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8125 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8126 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8127 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8128 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8129 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8130 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8131 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8132 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8133 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8134 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8135 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8136 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8137 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8138 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8139 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8140 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8141 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8142 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8143 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8144 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8145 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8146 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8147 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8148 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8149 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8150 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8151 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8152 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8153 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8154 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8155 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8156 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8157 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8158 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8159 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8160 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8161 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8162 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8163 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8164 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8165 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8166 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8167 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8168 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8169 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8170 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8171 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8172 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8173 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8174 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8175 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8176 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8177 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8178 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8179 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8180 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8181 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8182 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8183 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8184 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8185 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8186 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8187 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8188 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8189 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8190 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8191 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8192 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8193 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8196 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8199 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8200 whole low double instead of just low 47 bits when splitting values
8203 2012-12-03 Allan McRae <allan@archlinux.org>
8205 * manual/stdio.texi (Predefined Printf Handlers): Remove
8206 @hsep and @vsep usage.
8208 2012-12-03 Mike Frysinger <vapier@gentoo.org>
8210 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8211 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8213 2012-12-03 Jeff Law <law@redhat.com>
8215 * time/sys/time.h (settimeofday): Do not mark TV argument
8218 2012-12-01 Mike Frysinger <vapier@gentoo.org>
8220 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8221 when currently writing and seek to current position when not.
8222 * libio/Makefile (tests): Remove bug-fclose1.
8223 * libio/bug-fclose1.c: Delete.
8225 2012-12-01 Joseph Myers <joseph@codesourcery.com>
8227 * manual/arith.texi (feenableexcept): Fix typo.
8228 (fedisableexcept): Likewise.
8230 2012-11-30 Roland McGrath <roland@hack.frob.com>
8232 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8233 second, differently-typed declaration, rather than a cast.
8235 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8237 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8238 * include/rpc/svc.h: ... here.
8240 2012-11-30 Aurelien Jarno <aurel32@debian.org>
8243 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8244 depending n and resplen2 to catch cases where answer
8247 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8249 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8250 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8252 2012-11-29 Mike Frysinger <vapier@gentoo.org>
8254 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8256 2012-11-29 Roland McGrath <roland@hack.frob.com>
8258 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8260 2012-11-28 Jeff Law <law@redhat.com>
8263 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8264 dataset_temporary. Track alloca usage into alloca_used.
8265 If dataset is large allocate and release it via malloc/free.
8267 2012-06-04 Florian Weimer <fweimer@redhat.com>
8270 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8272 2012-11-28 David S. Miller <davem@davemloft.net>
8274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8276 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8279 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8280 of pi/2 rounded to nearest to 64 bits.
8281 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8283 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8286 2012-11-28 Jeff Law <law@redhat.com>
8287 Martin Osvald <mosvald@redhat.com>
8290 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8291 * sunrpc/svc.c: Include time.h.
8292 (__svc_accept_failed): New function.
8293 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8294 any reason other than EINTR, call __svc_accept_failed.
8295 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8296 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8298 2012-11-28 Andreas Schwab <schwab@suse.de>
8300 * scripts/abilist.awk: Also handle indirect functions in .opd
8303 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8306 * sysdeps/x86/fpu/powl_helper.c: New file.
8307 * sysdeps/x86/fpu/Makefile: Likewise.
8308 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8310 (__ieee754_powl): Use __powl_helper for finite arguments except
8311 integer exponents below 8.
8312 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8314 (__ieee754_powl): Use __powl_helper for finite arguments except
8315 integer exponents below 8.
8316 * math/libm-test.inc (pow_test): Add more tests and enable some
8317 previously disabled tests.
8318 * sysdeps/i386/fpu/libm-test-ulps: Update.
8319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8321 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8322 Carlos O'Donell <carlos_odonell@mentor.com>
8324 * nss/makedb.c (is_prime): Assert that input is odd and greater
8325 than 4. Note that fact in a comment too.
8326 (next_prime): Add 4 to input.
8328 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8331 * libio/Makefile (tests): Add test case tst-fwrite-error.
8332 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8333 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8334 * libio/tst-fwrite-error.c: New test case.
8336 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8338 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8339 before casting to void *.
8340 * include/libc-internal.h (__pointer_type): New macro.
8341 (__integer_if_pointer_type_sub): Likewise.
8342 (__integer_if_pointer_type): Likewise.
8343 (cast_to_integer): Likewise.
8344 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8345 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8346 before casting to atomic64_t.
8347 (atomic_exchange_acq): Likewise.
8348 (__arch_exchange_and_add_body): Likewise.
8349 (__arch_add_body): Likewise.
8350 (atomic_add_negative): Likewise.
8351 (atomic_add_zero): Likewise.
8353 2012-11-26 Joseph Myers <joseph@codesourcery.com>
8355 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8356 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8357 (add_fdes): Likewise.
8358 (linear_search_fdes): Likewise.
8359 (binary_search_unencoded_fdes): Likewise.
8361 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8363 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8365 2012-11-24 Adam Conrad <adconrad@0c3.net>
8367 * configure.in: Autodetect C++ header directories.
8368 * configure: Regenerated.
8370 2012-11-23 Mike Frysinger <vapier@gentoo.org>
8372 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8374 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8378 2012-11-22 Joseph Myers <joseph@codesourcery.com>
8380 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8381 LDBL_MANT_DIG == 106]: Disable some tests.
8382 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8384 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8388 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8389 input for small inputs. Return +/- pi/2 for large inputs.
8390 * math/libm-test.inc (atan_test): Add more tests.
8392 * sysdeps/generic/unwind-dw2-fde-glibc.c
8393 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8394 __attribute__ ((unused)).
8397 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8398 x * y if x and y are nonzero and z is zero.
8401 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8402 nonzero exponents with absolute value below 0x1p-117 to +/-
8406 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8407 up arguments below 2**-450, not just those below 2**-500.
8408 * math/libm-test.inc (hypot_test): Add another test.
8411 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8412 Return a+b for ratio over 2**120, not 2**60.
8413 * math/libm-test.inc (hypot_test): Add another test.
8415 * math/libm-test.inc (clog_test): Use
8416 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8417 (clog10_test): Likewise.
8420 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8422 2012-11-22 Andreas Schwab <schwab@suse.de>
8424 * sysdeps/i386/fpu/libm-test-ulps: Update.
8426 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8428 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8429 printf output with newline.
8431 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8434 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8435 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8436 -z nodlopen, -z initfirst and -z execstack support.
8437 * configure: Regenerated.
8439 * elf/elf.h (DF_1_NODIRECT): New macro.
8440 (DF_1_IGNMULDEF): Likewise.
8441 (DF_1_NOKSYMS): Likewise.
8442 (DF_1_NOHDR): Likewise.
8443 (DF_1_EDITED): Likewise.
8444 (DF_1_NORELOC): Likewise.
8445 (DF_1_SYMINTPOSE): Likewise.
8446 (DF_1_GLOBAUDIT): Likewise.
8447 (DF_1_SINGLETON): Likewise.
8448 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8449 DT_1_SUPPORTED_MASK bits.
8450 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8452 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8454 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8456 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8458 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8461 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8462 (sendmmsg): Move declarations...
8463 * socket/sys/socket.h: ... here.
8464 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8465 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8467 * socket/recvmmsg.c: ... this new file.
8468 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8469 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8470 definition of __sendmmsg hidden.
8471 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8472 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8473 Move ENOSYS stub into and include it from...
8474 * socket/sendmmsg.c: ... this new file.
8475 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8476 (sysdep_routines): Move recvmmsg and sendmmsg...
8477 * socket/Makefile (routines): ... here.
8478 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8479 (GLIBC_PRIVATE): Add __sendmmsg.
8480 * include/sys/socket.h (__sendmmsg): Add declarations.
8481 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8484 2012-11-20 Joseph Myers <joseph@codesourcery.com>
8486 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8487 variable I1 with __attribute__ ((unused)).
8488 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8490 2012-11-19 Joseph Myers <joseph@codesourcery.com>
8492 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8493 DUMMY variables with __attribute__ ((unused)).
8495 * bits/byteswap.h: Include <bits/types.h>.
8496 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8498 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8500 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8501 string_t. Do not manually set errno.
8502 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8503 length with __strnlen. Make sure to both set errno and return it on
8506 2012-11-19 David S. Miller <davem@davemloft.net>
8508 With help from Joseph Myers.
8509 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8510 very large arguments properly.
8511 * math/libm-test.inc (atan_test): New tests.
8512 (atan2_test): New tests.
8513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8516 2012-11-19 Joseph Myers <joseph@codesourcery.com>
8519 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8522 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8523 [POSIX] (EADDRNOTAVAIL): Likewise.
8524 [POSIX] (EAFNOSUPPORT): Likewise.
8525 [POSIX] (EALREADY): Likewise.
8526 [POSIX] (ECONNABORTED): Likewise.
8527 [POSIX] (ECONNREFUSED): Likewise.
8528 [POSIX] (ECONNRESET): Likewise.
8529 [POSIX] (EDESTADDRREQ): Likewise.
8530 [POSIX] (EDQUOT): Likewise.
8531 [POSIX] (EHOSTUNREACH): Likewise.
8532 [POSIX] (EIDRM): Likewise.
8533 [POSIX] (EISCONN): Likewise.
8534 [POSIX] (ELOOP): Likewise.
8535 [POSIX] (EMULTIHOP): Likewise.
8536 [POSIX] (ENETDOWN): Likewise.
8537 [POSIX] (ENETUNREACH): Likewise.
8538 [POSIX] (ENOBUFS): Likewise.
8539 [POSIX] (ENODATA): Likewise.
8540 [POSIX] (ENOLINK): Likewise.
8541 [POSIX] (ENOMSG): Likewise.
8542 [POSIX] (ENOPROTOOPT): Likewise.
8543 [POSIX] (ENOSR): Likewise.
8544 [POSIX] (ENOSTR): Likewise.
8545 [POSIX] (ENOTCONN): Likewise.
8546 [POSIX] (ENOTSOCK): Likewise.
8547 [POSIX] (EOPNOTSUPP): Likewise.
8548 [POSIX] (EOVERFLOW): Likewise.
8549 [POSIX] (EPROTO): Likewise.
8550 [POSIX] (EPROTONOSUPPORT): Likewise.
8551 [POSIX] (EPROTOTYPE): Likewise.
8552 [POSIX] (ESTALE): Likewise.
8553 [POSIX] (ETIME): Likewise.
8554 [POSIX] (ETXTBSY): Likewise.
8555 [POSIX] (EWOULDBLOCK): Likewise.
8556 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8557 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8558 [POSIX] (SEEK_CUR): Likewise.
8559 [POSIX] (SEEK_END): Likewise.
8560 [POSIX || UNIX98] (mode_t): Do not require.
8561 [POSIX] (off_t): Likewise.
8562 [POSIX] (pid_t): Likewise.
8563 [POSIX] (sys/stat.h): Do not allow header.
8564 [POSIX] (unistd.h): Likewise.
8565 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8566 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8567 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8568 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8570 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8571 sigevent): Specify elements.
8572 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8574 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8575 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8577 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8578 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8579 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8580 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8581 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8582 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8583 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8584 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8585 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8586 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8587 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8588 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8589 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8590 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8592 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8594 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8596 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8598 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8599 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8600 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8601 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8602 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8603 Specify lower bound on value.
8604 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8605 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8606 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8607 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8608 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8609 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8610 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8611 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8613 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8615 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8616 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8617 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8618 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8619 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8620 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8621 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8622 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8623 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8624 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8625 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8626 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8627 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8628 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8629 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8630 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8632 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8634 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8635 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8636 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8637 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8638 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8639 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8641 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8642 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8643 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8644 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8645 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8646 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8647 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8649 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8650 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8651 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8652 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8653 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8654 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8655 specify as optional.
8656 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8657 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8658 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8659 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8660 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8661 [XPG3] (NL_LANGMAX): Likewise.
8662 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8663 [POSIX || XPG3] (NL_NMAX): Likewise.
8664 [POSIX || XPG3] (NL_SETMAX): Likewise.
8665 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8666 [XPG3] (NZERO): Likewise.
8667 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8668 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8669 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8670 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8671 (REG_ERANGE): Expect.
8672 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8674 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8675 Use (void) in prototype.
8676 [POSIX] (*_t): Allow.
8677 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8678 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8679 (WRDE_BADVAL): Expect.
8681 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8683 [XPG3 || XPG4] (O_RSYNC): Likewise.
8684 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8686 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8687 [XPG3 || XPG4] (sigqueue): Likewise.
8688 [XPG3 || XPG4] (sigtimedwait): Likewise.
8689 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8690 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8691 [XPG3 || XPG4] (vsnprintf): Likewise.
8692 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8694 [XPG3 || XPG4] (blksize_t): Likewise.
8695 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8697 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8698 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8699 [XPG3 || XPG4] (struct itimerspec): Likewise.
8700 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8701 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8702 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8703 [XPG3 || XPG4] (clockid_t): Likewise.
8704 [XPG3 || XPG4] (timer_t): Likewise.
8705 [XPG3 || XPG4] (clock_getres): Likewise.
8706 [XPG3 || XPG4] (clock_gettime): Likewise.
8707 [XPG3 || XPG4] (clock_settime): Likewise.
8708 [XPG3 || XPG4] (nanosleep): Likewise.
8709 [XPG3 || XPG4] (timer_create): Likewise.
8710 [XPG3 || XPG4] (timer_delete): Likewise.
8711 [XPG3 || XPG4] (timer_gettime): Likewise.
8712 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8713 [XPG3 || XPG4] (timer_settime): Likewise.
8714 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8715 [XPG3 || XPG4] (getlogin_r): Likewise.
8716 [XPG3 || XPG4] (pread): Likewise.
8717 [XPG3 || XPG4] (pthread_atfork): Likewise.
8718 [XPG3 || XPG4] (pwrite): Likewise.
8721 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8724 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8726 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8727 finalizing MALLSTREAM.
8729 * sysdeps/mach/hurd/syncfs.c: New file.
8731 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8734 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8735 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8736 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8737 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8738 (_nss_dns_gethostbyname4_r): Likewise.
8739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8740 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8742 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8745 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8747 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8749 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8750 * elf/cache.c (print_entry): Print ",AArch64" for
8753 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8754 * elf/cache.c (print_entry): Print ",hard-float" for
8757 2012-11-18 David S. Miller <davem@davemloft.net>
8759 With help from Joseph Myers.
8760 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8762 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8764 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8765 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8767 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8768 * math/libm-test.inc (y0_test): New tests.
8769 (y1_test): New tests.
8770 * sysdeps/i386/fpu/libm-test-ulps: Update.
8771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8774 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8776 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8778 * configure: Regenerated.
8780 2012-11-17 David S. Miller <davem@davemloft.net>
8783 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8784 nonzero exponents with absolute value below 0x1p-128 to +/-
8787 2012-11-17 Joseph Myers <joseph@codesourcery.com>
8789 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8791 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8793 * posix/getconf-speclist.c: New file.
8794 * posix/posix-envs.def: Likewise.
8795 * posix/confstr.c (START_ENV_GROUP): New macro.
8796 (END_ENV_GROUP): Likewise.
8797 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8798 (KNOWN_PRESENT_ENV_STRING): Likewise.
8799 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8800 (UNKNOWN_ENVIRONMENT): Likewise.
8801 (confstr): Include posix-envs.def instead of handling
8802 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8803 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8804 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8805 (END_ENV_GROUP): Likewise.
8806 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8807 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8808 (UNKNOWN_ENVIRONMENT): Likewise.
8809 (__sysconf): Include posix-envs.def instead of handling associated
8810 cases directly here.
8811 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8812 preprocessing getconf-speclist.c rather than running getconf or
8813 generating empty file.
8815 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8817 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8819 2012-11-16 Andrej Lajovic <natrij@gmail.com>
8822 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8824 2012-11-16 David S. Miller <davem@davemloft.net>
8826 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8827 smaller than LDBL_EPSILON/2.0L, just return xm1.
8829 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8831 * elf/tst-array1.c (init): Set constructor priority to 1000.
8832 (fini): Set destructor priority to 1000.
8833 * elf/tst-array2dep.c: Likewise.
8835 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8838 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8839 (_IO_new_file_xsputn): Also return EOF if none of the input
8840 data was written when overflow failed.
8841 * libio/iopadn.c (_IO_padn): Likewise.
8842 * libio/iowpadn.c (_IO_wpadn): Likewise.
8843 * stdio-common/tst-put-error.c: Add copyright notice.
8844 (do_test): Add case for printing padded string.
8845 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8846 _IO_padn returned error.
8847 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8848 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8851 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8853 * libio/libioP.h: Add comment note that the references to C++
8854 bits are now obsolete.
8856 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8858 * math/libm-test.inc (check_complex): Use asprintf.
8860 2012-11-14 Joseph Myers <joseph@codesourcery.com>
8862 * debug/pcprofiledump.c (print_version): Update copyright year.
8863 * malloc/memusagestat.c (print_version): Likewise.
8865 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8868 * elf/Makefile (tests): Add tst-audit8.
8869 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8870 ($(objpfx)tst-audit8.out): New target.
8871 (tst-audit8-ENV): New variable.
8872 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8873 audit if l_reloc_result is NULL.
8874 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8875 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8876 * elf/tst-audit8.c: New file.
8878 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8880 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8881 * misc/Makefile (CFLAGS-select.c): Define.
8882 * posix/Makefile (CFLAGS-pause.c): Define.
8884 2012-11-13 David S. Miller <davem@davemloft.net>
8886 * crypt/Makefile: Move test targets after toplevel Rules
8887 inclusion. Grab any necessary sysdep routines when linking.
8888 * crypt/md5.c (md5_process_block): Remove define, we will always
8889 name it __md5_process_block.
8890 (md5_finish_ctx): Update md5_process_block call.
8891 (md5_stream): Likewise.
8892 (md5_process_bytes): Likewise.
8893 (md5_process_block): Rename to __md5_process_block and move to ...
8894 * crypt/md5-block.c: ... here.
8895 * crypt/sha256.c (sha256_process_block): Move to ...
8896 * crypt/sha256-block.c: ... here.
8897 * crypt/sha512.c (sha512_process_block): Move to ...
8898 * crypt/sha512-block.c: ... here.
8899 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8901 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8902 * sysdeps/sparc/sparc64/multiarch/Makefile
8903 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8905 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8906 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8908 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8909 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8910 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8911 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8912 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8913 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8914 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8915 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8916 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8918 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8919 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8921 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8923 2012-11-13 Joseph Myers <joseph@codesourcery.com>
8925 * timezone/tzselect.ksh: Update from tzcode git revision
8926 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8927 * timezone/zdump.c: Likewise.
8928 * timezone/zic.c: Likewise.
8929 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8930 in TZVERSION setting, not $(PKGVERSION).
8931 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8932 REPORT_BUGS_TO settings.
8935 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8938 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8940 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8941 detection to immediately after _FP_ROUND().
8942 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8945 2012-11-11 David S. Miller <davem@davemloft.net>
8947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8949 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8950 __close rather than their public counterparts.
8952 2012-11-10 Joseph Myers <joseph@codesourcery.com>
8954 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8956 [UNIX98] (sem_timedwait): Do not expect.
8957 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8958 [XPG4 || UNIX98] (sockatmark): Do not expect.
8959 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8960 (clock_getcpuclockid): Do not expect.
8961 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8962 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8964 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8965 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8966 [UNIX98] (vwscanf): Likewise.
8967 [UNIX98] (vswscanf): Likewise.
8969 2012-11-09 Joseph Myers <joseph@codesourcery.com>
8971 * timezone/version.h: Remove file.
8972 * timezone/README: Do not refer to version.h.
8973 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8975 ($(objpfx)zdump.o): Likewise.
8976 ($(objpfx)version.h): New target.
8978 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8980 * timezone/README: Don't mention modification to tzselect.ksh.
8981 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8982 work on unmodified tzselect.ksh. Substitute version numbers in
8985 * Makefile (format-me): Remove.
8986 (INSTALL): Adjust indentation. Use commands directly instead of
8989 * aclocal.m4 (ACX_PKGVERSION): New macro.
8990 (ACX_BUGURL): Likewise.
8991 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8992 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8993 (REPORT_BUGS_TO): Likewise.
8994 * configure: Regenerated.
8995 * config.h.in (PKGVERSION): New macro.
8996 (REPORT_BUGS_TO): Likewise.
8997 * config.make.in (PKGVERSION): New variable.
8998 (PKGVERSION_TEXI): Likewise.
8999 (REPORT_BUGS_TO): Likewise.
9000 (REPORT_BUGS_TEXI): Likewise.
9001 * Makefile (format-me): Use -I$(common-objpfx)manual.
9002 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9003 ($(common-objpfx)manual/%): New target.
9004 (manual/%): Remove target.
9005 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9006 (print_version): Use PKGVERSION.
9007 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9008 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9010 ($(objpfx)xtrace): Likewise.
9011 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9012 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9013 (print_version): Use PKGVERSION.
9014 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9015 (do_version): Use PKGVERSION.
9016 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9018 (common-ldd-rewrite): Likewise.
9019 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9020 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9021 (print_version): Use PKGVERSION.
9022 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9023 * elf/pldd.c (argp_program_bug_address): Remove variable.
9024 (more_help): New function.
9025 (argp): Use more_help.
9026 (print_version): Use PKGVERSION.
9027 * elf/sln.c (main): Use PKGVERSION.
9028 (usage): Use REPORT_BUGS_TO.
9029 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9030 (top level): Use PKGVERSION.
9031 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9032 (print_version): Use PKGVERSION.
9033 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9034 (print_version): Use PKGVERSION.
9035 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9036 (print_version): Use PKGVERSION.
9037 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9038 (print_version): Use PKGVERSION.
9039 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9040 (print_version): Use PKGVERSION.
9041 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9042 (print_version): Use PKGVERSION.
9043 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9045 ($(objpfx)memusage): Likewise.
9046 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9047 (do_version): Use PKGVERSION.
9048 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9049 (print_version): Use PKGVERSION.
9050 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9051 ($PKGVERSION): New variable.
9052 ($REPORT_BUGS_TO): Likewise.
9053 (usage): Use $REPORT_BUGS_TO.
9054 (top level): Use $PKGVERSION.
9055 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9056 ($(objpfx)pkgvers.texi): New rule.
9057 ($(objpfx)stamp-pkgvers): Likewise.
9058 * manual/install.texi: Include pkgvers.texi.
9059 (--with-pkgversion): Document new configure option.
9060 (--with-bugurl): Likewise.
9061 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9062 than necessarily for this particular distribution. Use
9063 REPORT_BUGS_TO for where to report bugs.
9064 * INSTALL: Regenerated.
9065 * manual/libc.texinfo: Include pkgvers.texi.
9066 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9067 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9068 (print_version): Use PKGVERSION.
9069 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9070 (print_version): Use PKGVERSION.
9071 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9072 (print_version): Use PKGVERSION.
9073 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9074 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9076 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9077 (print_version): Use PKGVERSION.
9078 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9079 (print_version): Use PKGVERSION.
9080 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9083 * timezone/checktab.awk: Update from tzcode 2012i.
9084 * timezone/ialloc.c: Likewise.
9085 * timezone/private.h: Likewise.
9086 * timezone/scheck.c: Likewise.
9087 * timezone/tzfile.h: Likewise.
9088 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9089 (TZVERSION): Hardcode tzcode version number.
9090 * timezone/zdump.c: Update from tzcode 2012i.
9091 * timezone/zic.c: Likewise.
9092 * timezone/version.h: New file.
9093 * timezone/README: Describe version.h. Update upstream location.
9096 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9097 (mktemp): Enable declaration.
9098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9111 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9115 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9116 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9117 for copies of such integer values.
9118 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9119 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9121 2012-11-09 Andreas Jaeger <aj@suse.de>
9123 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9124 definitions and declarations that are provided by
9125 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9127 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9129 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9130 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9131 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9134 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9136 * elf/elf.h: Update comment before AArch64 relocations.
9138 2012-11-07 David S. Miller <davem@davemloft.net>
9140 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9141 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9142 (__start_context): Declare.
9143 (__makecontext_ret): Delete.
9144 (__makecontext): Hook up __start_context instead of
9146 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9147 (sysdep_routines): Add __start_context when in stdlib.
9149 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9151 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9152 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9153 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9155 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9156 (READELF): New variable. Use it instead of hardcoded "readelf".
9158 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9160 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9161 * sysdeps/x86/Makefile: Here.
9162 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9163 * sysdeps/x86/tst-xmmymm.sh: This.
9165 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9167 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9169 [UNIX98] (pthread_barrier_t): Do not expect.
9170 [UNIX98] (pthread_barrierattr_t): Likewise.
9171 [UNIX98] (pthread_spinlock_t): Likewise.
9172 [UNIX98] (pthread_barrier_destroy): Likewise.
9173 [UNIX98] (pthread_barrier_init): Likewise.
9174 [UNIX98] (pthread_barrier_wait): Likewise.
9175 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9176 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9177 [UNIX98] (pthread_barrierattr_init): Likewise.
9178 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9179 [UNIX98] (pthread_getcpuclockid): Likewise.
9180 [UNIX98] (pthread_mutex_timedlock): Likewise.
9181 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9182 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9183 [UNIX98] (pthread_sigmask): Likewise.
9184 [UNIX98] (pthread_spin_destroy): Likewise.
9185 [UNIX98] (pthread_spin_init): Likewise.
9186 [UNIX98] (pthread_spin_lock): Likewise.
9187 [UNIX98] (pthread_spin_trylock): Likewise.
9188 [UNIX98] (pthread_spin_unlock): Likewise.
9189 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9191 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9192 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9193 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9194 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9195 [XPG3 || XPG4] (pthread_key_t): Likewise.
9196 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9197 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9198 [XPG3 || XPG4] (pthread_once_t): Likewise.
9199 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9200 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9201 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9202 [XPG3 || XPG4] (pthread_t): Likewise.
9204 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9206 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9208 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9209 Change function return type to int.
9211 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9212 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9213 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9214 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9215 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9216 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9217 [!POSIX] (posix_madvise): Likewise.
9218 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9220 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9221 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9223 (posix_mem_offset): Likewise.
9224 (posix_typed_mem_get_info): Likewise.
9225 (posix_typed_mem_open): Likewise.
9227 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9228 Change condition to [XOPEN2K8].
9230 * conform/conformtest.pl: Preprocess allow-header data with -x c
9231 instead of from stdin.
9232 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9233 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9234 [C99-based standards] (cerfc): Likewise.
9235 [C99-based standards] (cexp2): Likewise.
9236 [C99-based standards] (cexpm1): Likewise.
9237 [C99-based standards] (clog10): Likewise.
9238 [C99-based standards] (clog1p): Likewise.
9239 [C99-based standards] (clog2): Likewise.
9240 [C99-based standards] (clgamma): Likewise.
9241 [C99-based standards] (ctgamma): Likewise.
9242 [C99-based standards] (cerff): Likewise.
9243 [C99-based standards] (cerfcf): Likewise.
9244 [C99-based standards] (cexp2f): Likewise.
9245 [C99-based standards] (cexpm1f): Likewise.
9246 [C99-based standards] (clog10f): Likewise.
9247 [C99-based standards] (clog1pf): Likewise.
9248 [C99-based standards] (clog2f): Likewise.
9249 [C99-based standards] (clgammaf): Likewise.
9250 [C99-based standards] (ctgammaf): Likewise.
9251 [C99-based standards] (cerfl): Likewise.
9252 [C99-based standards] (cerfcl): Likewise.
9253 [C99-based standards] (cexp2l): Likewise.
9254 [C99-based standards] (cexpm1l): Likewise.
9255 [C99-based standards] (clog10l): Likewise.
9256 [C99-based standards] (clog1pl): Likewise.
9257 [C99-based standards] (clog2l): Likewise.
9258 [C99-based standards] (clgammal): Likewise.
9259 [C99-based standards] (ctgammal): Likewise.
9260 * conform/data/inttypes.h-data [C99-based standards]: Include
9261 stdint.h-data. Remove all expectations for stdint.h contents.
9262 [C99-based standards] (PRI*): Do not allow.
9263 [C99-based standards] (SCN*): Likewise.
9264 [C99-based standards] (*_t): Likewise.
9265 [C99-based-standards] (PRId8): Expect macro.
9266 [C99-based-standards] (PRIi8): Likewise.
9267 [C99-based-standards] (PRIo8): Likewise.
9268 [C99-based-standards] (PRIu8): Likewise.
9269 [C99-based-standards] (PRIx8): Likewise.
9270 [C99-based-standards] (PRIX8): Likewise.
9271 [C99-based-standards] (SCNd8): Likewise.
9272 [C99-based-standards] (SCNi8): Likewise.
9273 [C99-based-standards] (SCNo8): Likewise.
9274 [C99-based-standards] (SCNu8): Likewise.
9275 [C99-based-standards] (SCNx8): Likewise.
9276 [C99-based-standards] (PRIdLEAST8): Likewise.
9277 [C99-based-standards] (PRIiLEAST8): Likewise.
9278 [C99-based-standards] (PRIoLEAST8): Likewise.
9279 [C99-based-standards] (PRIuLEAST8): Likewise.
9280 [C99-based-standards] (PRIxLEAST8): Likewise.
9281 [C99-based-standards] (PRIXLEAST8): Likewise.
9282 [C99-based-standards] (SCNdLEAST8): Likewise.
9283 [C99-based-standards] (SCNiLEAST8): Likewise.
9284 [C99-based-standards] (SCNoLEAST8): Likewise.
9285 [C99-based-standards] (SCNuLEAST8): Likewise.
9286 [C99-based-standards] (SCNxLEAST8): Likewise.
9287 [C99-based-standards] (PRIdFAST8): Likewise.
9288 [C99-based-standards] (PRIiFAST8): Likewise.
9289 [C99-based-standards] (PRIoFAST8): Likewise.
9290 [C99-based-standards] (PRIuFAST8): Likewise.
9291 [C99-based-standards] (PRIxFAST8): Likewise.
9292 [C99-based-standards] (PRIXFAST8): Likewise.
9293 [C99-based-standards] (SCNdFAST8): Likewise.
9294 [C99-based-standards] (SCNiFAST8): Likewise.
9295 [C99-based-standards] (SCNoFAST8): Likewise.
9296 [C99-based-standards] (SCNuFAST8): Likewise.
9297 [C99-based-standards] (SCNxFAST8): Likewise.
9298 [C99-based-standards] (PRId16): Likewise.
9299 [C99-based-standards] (PRIi16): Likewise.
9300 [C99-based-standards] (PRIo16): Likewise.
9301 [C99-based-standards] (PRIu16): Likewise.
9302 [C99-based-standards] (PRIx16): Likewise.
9303 [C99-based-standards] (PRIX16): Likewise.
9304 [C99-based-standards] (SCNd16): Likewise.
9305 [C99-based-standards] (SCNi16): Likewise.
9306 [C99-based-standards] (SCNo16): Likewise.
9307 [C99-based-standards] (SCNu16): Likewise.
9308 [C99-based-standards] (SCNx16): Likewise.
9309 [C99-based-standards] (PRIdLEAST16): Likewise.
9310 [C99-based-standards] (PRIiLEAST16): Likewise.
9311 [C99-based-standards] (PRIoLEAST16): Likewise.
9312 [C99-based-standards] (PRIuLEAST16): Likewise.
9313 [C99-based-standards] (PRIxLEAST16): Likewise.
9314 [C99-based-standards] (PRIXLEAST16): Likewise.
9315 [C99-based-standards] (SCNdLEAST16): Likewise.
9316 [C99-based-standards] (SCNiLEAST16): Likewise.
9317 [C99-based-standards] (SCNoLEAST16): Likewise.
9318 [C99-based-standards] (SCNuLEAST16): Likewise.
9319 [C99-based-standards] (SCNxLEAST16): Likewise.
9320 [C99-based-standards] (PRIdFAST16): Likewise.
9321 [C99-based-standards] (PRIiFAST16): Likewise.
9322 [C99-based-standards] (PRIoFAST16): Likewise.
9323 [C99-based-standards] (PRIuFAST16): Likewise.
9324 [C99-based-standards] (PRIxFAST16): Likewise.
9325 [C99-based-standards] (PRIXFAST16): Likewise.
9326 [C99-based-standards] (SCNdFAST16): Likewise.
9327 [C99-based-standards] (SCNiFAST16): Likewise.
9328 [C99-based-standards] (SCNoFAST16): Likewise.
9329 [C99-based-standards] (SCNuFAST16): Likewise.
9330 [C99-based-standards] (SCNxFAST16): Likewise.
9331 [C99-based-standards] (PRId32): Likewise.
9332 [C99-based-standards] (PRIi32): Likewise.
9333 [C99-based-standards] (PRIo32): Likewise.
9334 [C99-based-standards] (PRIu32): Likewise.
9335 [C99-based-standards] (PRIx32): Likewise.
9336 [C99-based-standards] (PRIX32): Likewise.
9337 [C99-based-standards] (SCNd32): Likewise.
9338 [C99-based-standards] (SCNi32): Likewise.
9339 [C99-based-standards] (SCNo32): Likewise.
9340 [C99-based-standards] (SCNu32): Likewise.
9341 [C99-based-standards] (SCNx32): Likewise.
9342 [C99-based-standards] (PRIdLEAST32): Likewise.
9343 [C99-based-standards] (PRIiLEAST32): Likewise.
9344 [C99-based-standards] (PRIoLEAST32): Likewise.
9345 [C99-based-standards] (PRIuLEAST32): Likewise.
9346 [C99-based-standards] (PRIxLEAST32): Likewise.
9347 [C99-based-standards] (PRIXLEAST32): Likewise.
9348 [C99-based-standards] (SCNdLEAST32): Likewise.
9349 [C99-based-standards] (SCNiLEAST32): Likewise.
9350 [C99-based-standards] (SCNoLEAST32): Likewise.
9351 [C99-based-standards] (SCNuLEAST32): Likewise.
9352 [C99-based-standards] (SCNxLEAST32): Likewise.
9353 [C99-based-standards] (PRIdFAST32): Likewise.
9354 [C99-based-standards] (PRIiFAST32): Likewise.
9355 [C99-based-standards] (PRIoFAST32): Likewise.
9356 [C99-based-standards] (PRIuFAST32): Likewise.
9357 [C99-based-standards] (PRIxFAST32): Likewise.
9358 [C99-based-standards] (PRIXFAST32): Likewise.
9359 [C99-based-standards] (SCNdFAST32): Likewise.
9360 [C99-based-standards] (SCNiFAST32): Likewise.
9361 [C99-based-standards] (SCNoFAST32): Likewise.
9362 [C99-based-standards] (SCNuFAST32): Likewise.
9363 [C99-based-standards] (SCNxFAST32): Likewise.
9364 [C99-based-standards] (PRId64): Likewise.
9365 [C99-based-standards] (PRIi64): Likewise.
9366 [C99-based-standards] (PRIo64): Likewise.
9367 [C99-based-standards] (PRIu64): Likewise.
9368 [C99-based-standards] (PRIx64): Likewise.
9369 [C99-based-standards] (PRIX64): Likewise.
9370 [C99-based-standards] (SCNd64): Likewise.
9371 [C99-based-standards] (SCNi64): Likewise.
9372 [C99-based-standards] (SCNo64): Likewise.
9373 [C99-based-standards] (SCNu64): Likewise.
9374 [C99-based-standards] (SCNx64): Likewise.
9375 [C99-based-standards] (PRIdLEAST64): Likewise.
9376 [C99-based-standards] (PRIiLEAST64): Likewise.
9377 [C99-based-standards] (PRIoLEAST64): Likewise.
9378 [C99-based-standards] (PRIuLEAST64): Likewise.
9379 [C99-based-standards] (PRIxLEAST64): Likewise.
9380 [C99-based-standards] (PRIXLEAST64): Likewise.
9381 [C99-based-standards] (SCNdLEAST64): Likewise.
9382 [C99-based-standards] (SCNiLEAST64): Likewise.
9383 [C99-based-standards] (SCNoLEAST64): Likewise.
9384 [C99-based-standards] (SCNuLEAST64): Likewise.
9385 [C99-based-standards] (SCNxLEAST64): Likewise.
9386 [C99-based-standards] (PRIdFAST64): Likewise.
9387 [C99-based-standards] (PRIiFAST64): Likewise.
9388 [C99-based-standards] (PRIoFAST64): Likewise.
9389 [C99-based-standards] (PRIuFAST64): Likewise.
9390 [C99-based-standards] (PRIxFAST64): Likewise.
9391 [C99-based-standards] (PRIXFAST64): Likewise.
9392 [C99-based-standards] (SCNdFAST64): Likewise.
9393 [C99-based-standards] (SCNiFAST64): Likewise.
9394 [C99-based-standards] (SCNoFAST64): Likewise.
9395 [C99-based-standards] (SCNuFAST64): Likewise.
9396 [C99-based-standards] (SCNxFAST64): Likewise.
9397 [C99-based-standards] (PRIdMAX): Likewise.
9398 [C99-based-standards] (PRIiMAX): Likewise.
9399 [C99-based-standards] (PRIoMAX): Likewise.
9400 [C99-based-standards] (PRIuMAX): Likewise.
9401 [C99-based-standards] (PRIxMAX): Likewise.
9402 [C99-based-standards] (PRIXMAX): Likewise.
9403 [C99-based-standards] (SCNdMAX): Likewise.
9404 [C99-based-standards] (SCNiMAX): Likewise.
9405 [C99-based-standards] (SCNoMAX): Likewise.
9406 [C99-based-standards] (SCNuMAX): Likewise.
9407 [C99-based-standards] (SCNxMAX): Likewise.
9408 [C99-based-standards] (PRIdPTR): Likewise.
9409 [C99-based-standards] (PRIiPTR): Likewise.
9410 [C99-based-standards] (PRIoPTR): Likewise.
9411 [C99-based-standards] (PRIuPTR): Likewise.
9412 [C99-based-standards] (PRIxPTR): Likewise.
9413 [C99-based-standards] (PRIXPTR): Likewise.
9414 [C99-based-standards] (SCNdPTR): Likewise.
9415 [C99-based-standards] (SCNiPTR): Likewise.
9416 [C99-based-standards] (SCNoPTR): Likewise.
9417 [C99-based-standards] (SCNuPTR): Likewise.
9418 [C99-based-standards] (SCNxPTR): Likewise.
9419 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9421 * conform/data/stdint.h-data: Update comments to clarify
9423 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9425 [C99-based standards] (INT8_MAX): Likewise.
9426 [C99-based standards] (INT16_MIN): Likewise.
9427 [C99-based standards] (INT16_MAX): Likewise.
9428 [C99-based standards] (INT32_MIN): Likewise.
9429 [C99-based standards] (INT32_MAX): Likewise.
9430 [C99-based standards] (INT64_MIN): Likewise.
9431 [C99-based standards] (INT64_MAX): Likewise.
9432 [C99-based standards] (UINT8_MAX): Likewise.
9433 [C99-based standards] (UINT16_MAX): Likewise.
9434 [C99-based standards] (UINT32_MAX): Likewise.
9435 [C99-based standards] (UINT64_MAX): Likewise.
9436 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9437 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9438 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9439 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9440 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9441 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9442 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9443 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9444 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9445 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9446 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9447 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9448 [C99-based standards] (INT_FAST8_MIN): Likewise.
9449 [C99-based standards] (INT_FAST8_MAX): Likewise.
9450 [C99-based standards] (INT_FAST16_MIN): Likewise.
9451 [C99-based standards] (INT_FAST16_MAX): Likewise.
9452 [C99-based standards] (INT_FAST32_MIN): Likewise.
9453 [C99-based standards] (INT_FAST32_MAX): Likewise.
9454 [C99-based standards] (INT_FAST64_MIN): Likewise.
9455 [C99-based standards] (INT_FAST64_MAX): Likewise.
9456 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9457 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9458 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9459 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9460 [C99-based standards] (INTPTR_MIN): Likewise.
9461 [C99-based standards] (INTPTR_MAX): Likewise.
9462 [C99-based standards] (UINTPTR_MAX): Likewise.
9463 [C99-based standards] (INTMAX_MIN): Likewise.
9464 [C99-based standards] (INTMAX_MAX): Likewise.
9465 [C99-based standards] (UINTMAX_MAX): Likewise.
9466 [C99-based standards] (PTRDIFF_MIN): Likewise.
9467 [C99-based standards] (PTRDIFF_MAX): Likewise.
9468 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9469 [C99-based standards] (SIZE_MAX): Likewise.
9470 [C99-based standards] (WCHAR_MAX): Likewise.
9471 [C99-based standards] (WINT_MAX): Likewise.
9472 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9473 constraint on value.
9474 [C99-based standards] (WCHAR_MIN): Likewise.
9475 [C99-based standards] (WINT_MIN): Likewise.
9476 [C99-based standards] (*_t): Allow.
9477 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9478 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9479 Include math.h-data and complex.h-data. Remove all expectations
9480 of math.h and complex.h contents.
9481 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9483 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9484 (struct tm): Expect tag.
9485 [C99-based-standards] (wcstof): Expect function.
9486 [C99-based-standards] (wcstold): Likewise.
9487 [C99-based-standards] (wcstoll): Likewise.
9488 [C99-based-standards] (wcstoull): Likewise.
9489 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9490 macro-int-constant. Specify type.
9491 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9492 constraint on value.
9493 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9495 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9497 [ISO C standards]: Do not allow headers.
9498 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9499 wcs[abcdefghijklmnopqrstuvwxyz]*.
9500 [ISO C standards] (*_t): Do not allow.
9501 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9503 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9504 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9506 [ISO C standards]: Do not allow headers.
9507 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9508 is[abcdefghijklmnopqrstuvwxyz]*.
9509 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9510 to[abcdefghijklmnopqrstuvwxyz]*.
9511 [ISO C standards] (*_t): Do not allow.
9512 * conform/data/stdalign.h-data: New file.
9513 * conform/data/stdbool.h-data: Likewise.
9514 * conform/data/stdnoreturn.h-data: Likewise.
9516 2012-11-07 Roland McGrath <roland@hack.frob.com>
9519 * manual/filesys.texi (Directory Entries): Typo fix.
9520 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9522 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9524 * elf/elf.h (EM_AARCH64): New macro.
9525 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9526 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9527 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9528 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9529 (R_AARCH64_TLSDESC): Likewise.
9530 (NT_ARM_TLS): Likewise.
9531 (NT_ARM_HW_BREAK): Likewise.
9532 (NT_ARM_HW_WATCH): Likewise.
9534 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9537 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9538 (__ieee754_powl): Saturate nonzero exponents with absolute value
9539 below 0x1p-79 to +/- 0x1p-79.
9540 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9541 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9542 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9543 nonzero exponents with absolute value below 0x1p-32 to +/-
9545 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9546 (__ieee754_powl): Saturate nonzero exponents with absolute value
9547 below 0x1p-79 to +/- 0x1p-79.
9548 * math/libm-test.inc (pow_test): Add more tests.
9550 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9552 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9553 _dl_s390_cap_flags with kernel. Increase string length.
9554 (_dl_s390_platforms): Add z196 and zEC12.
9556 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9558 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9559 Change XOPEN21K to XOPEN2K.
9561 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9563 * string/memmove.c: Use memcpy when possible.
9565 2012-11-06 Andreas Jaeger <aj@suse.de>
9567 * po/eo.po: Update from translation team.
9569 2012-11-06 Joseph Myers <joseph@codesourcery.com>
9572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9573 exponent and small x and y exponents, scale x or y up. Increase
9574 by 2 the exponent used in scaling up.
9575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9576 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9577 * math/libm-test.inc (fma_test): Add more tests.
9578 (fma_test_towardzero): Likewise.
9579 (fma_test_downward): Likewise.
9580 (fma_test_upward): Likewise.
9582 2012-11-05 Joseph Myers <joseph@codesourcery.com>
9585 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9589 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9590 namespace for names of struct fields.
9591 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9593 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9594 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9596 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9599 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9601 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9603 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9607 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9610 2012-11-04 Joseph Myers <joseph@codesourcery.com>
9613 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9614 definitely overflow as x * y not x * y + z.
9615 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9616 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9617 * math/libm-test.inc (fma_test): Add more tests.
9618 (fma_test_towardzero): Likewise.
9619 (fma_test_downward): Likewise.
9620 (fma_test_upward): Likewise.
9622 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9626 * include/stub-tag.h: Remove file.
9627 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9629 * manual/maint.texi (Porting): Don't reference it.
9630 * Makerules ($(objpfx)stubs): Likewise.
9631 * dirent/closedir.c: Don't include <stub-tag.h>.
9632 * dirent/dirfd.c: Likewise.
9633 * dirent/fdopendir.c: Likewise.
9634 * dirent/getdents.c: Likewise.
9635 * dirent/getdents64.c: Likewise.
9636 * dirent/opendir.c: Likewise.
9637 * dirent/readdir.c: Likewise.
9638 * dirent/readdir64.c: Likewise.
9639 * dirent/readdir64_r.c: Likewise.
9640 * dirent/readdir_r.c: Likewise.
9641 * dirent/rewinddir.c: Likewise.
9642 * dirent/seekdir.c: Likewise.
9643 * dirent/telldir.c: Likewise.
9644 * gmon/profil.c: Likewise.
9645 * grp/setgroups.c: Likewise.
9646 * inet/if_index.c: Likewise.
9647 * io/access.c: Likewise.
9648 * io/chdir.c: Likewise.
9649 * io/chmod.c: Likewise.
9650 * io/chown.c: Likewise.
9651 * io/close.c: Likewise.
9652 * io/dup.c: Likewise.
9653 * io/dup2.c: Likewise.
9654 * io/dup3.c: Likewise.
9655 * io/euidaccess.c: Likewise.
9656 * io/faccessat.c: Likewise.
9657 * io/fchdir.c: Likewise.
9658 * io/fchmod.c: Likewise.
9659 * io/fchmodat.c: Likewise.
9660 * io/fchown.c: Likewise.
9661 * io/fchownat.c: Likewise.
9662 * io/fcntl.c: Likewise.
9663 * io/flock.c: Likewise.
9664 * io/fstatfs.c: Likewise.
9665 * io/fstatfs64.c: Likewise.
9666 * io/fstatvfs.c: Likewise.
9667 * io/fstatvfs64.c: Likewise.
9668 * io/futimens.c: Likewise.
9669 * io/fxstat.c: Likewise.
9670 * io/fxstat64.c: Likewise.
9671 * io/fxstatat.c: Likewise.
9672 * io/fxstatat64.c: Likewise.
9673 * io/getcwd.c: Likewise.
9674 * io/isatty.c: Likewise.
9675 * io/lchmod.c: Likewise.
9676 * io/lchown.c: Likewise.
9677 * io/link.c: Likewise.
9678 * io/linkat.c: Likewise.
9679 * io/lseek.c: Likewise.
9680 * io/lseek64.c: Likewise.
9681 * io/lxstat64.c: Likewise.
9682 * io/mkdir.c: Likewise.
9683 * io/mkdirat.c: Likewise.
9684 * io/mkfifo.c: Likewise.
9685 * io/mkfifoat.c: Likewise.
9686 * io/open.c: Likewise.
9687 * io/open64.c: Likewise.
9688 * io/openat.c: Likewise.
9689 * io/openat64.c: Likewise.
9690 * io/pipe.c: Likewise.
9691 * io/pipe2.c: Likewise.
9692 * io/poll.c: Likewise.
9693 * io/posix_fadvise.c: Likewise.
9694 * io/posix_fadvise64.c: Likewise.
9695 * io/posix_fallocate.c: Likewise.
9696 * io/posix_fallocate64.c: Likewise.
9697 * io/read.c: Likewise.
9698 * io/readlink.c: Likewise.
9699 * io/readlinkat.c: Likewise.
9700 * io/rmdir.c: Likewise.
9701 * io/sendfile.c: Likewise.
9702 * io/sendfile64.c: Likewise.
9703 * io/statfs.c: Likewise.
9704 * io/statfs64.c: Likewise.
9705 * io/statvfs.c: Likewise.
9706 * io/statvfs64.c: Likewise.
9707 * io/symlink.c: Likewise.
9708 * io/symlinkat.c: Likewise.
9709 * io/ttyname.c: Likewise.
9710 * io/ttyname_r.c: Likewise.
9711 * io/umask.c: Likewise.
9712 * io/unlink.c: Likewise.
9713 * io/unlinkat.c: Likewise.
9714 * io/utime.c: Likewise.
9715 * io/utimensat.c: Likewise.
9716 * io/write.c: Likewise.
9717 * io/xmknod.c: Likewise.
9718 * io/xmknodat.c: Likewise.
9719 * io/xstat.c: Likewise.
9720 * io/xstat64.c: Likewise.
9721 * login/getpt.c: Likewise.
9722 * login/grantpt.c: Likewise.
9723 * login/unlockpt.c: Likewise.
9724 * math/e_acoshl.c: Likewise.
9725 * math/e_acosl.c: Likewise.
9726 * math/e_asinl.c: Likewise.
9727 * math/e_atan2l.c: Likewise.
9728 * math/e_atanhl.c: Likewise.
9729 * math/e_coshl.c: Likewise.
9730 * math/e_expl.c: Likewise.
9731 * math/e_fmodl.c: Likewise.
9732 * math/e_gammal_r.c: Likewise.
9733 * math/e_hypotl.c: Likewise.
9734 * math/e_j0l.c: Likewise.
9735 * math/e_j1l.c: Likewise.
9736 * math/e_jnl.c: Likewise.
9737 * math/e_lgammal_r.c: Likewise.
9738 * math/e_log10l.c: Likewise.
9739 * math/e_log2l.c: Likewise.
9740 * math/e_logl.c: Likewise.
9741 * math/e_powl.c: Likewise.
9742 * math/e_rem_pio2l.c: Likewise.
9743 * math/e_sinhl.c: Likewise.
9744 * math/e_sqrtl.c: Likewise.
9745 * math/fclrexcpt.c: Likewise.
9746 * math/fedisblxcpt.c: Likewise.
9747 * math/feenablxcpt.c: Likewise.
9748 * math/fegetenv.c: Likewise.
9749 * math/fegetexcept.c: Likewise.
9750 * math/fegetround.c: Likewise.
9751 * math/feholdexcpt.c: Likewise.
9752 * math/fesetenv.c: Likewise.
9753 * math/fesetround.c: Likewise.
9754 * math/feupdateenv.c: Likewise.
9755 * math/fgetexcptflg.c: Likewise.
9756 * math/fraiseexcpt.c: Likewise.
9757 * math/fsetexcptflg.c: Likewise.
9758 * math/ftestexcept.c: Likewise.
9759 * math/k_cosl.c: Likewise.
9760 * math/k_rem_pio2l.c: Likewise.
9761 * math/k_sinl.c: Likewise.
9762 * math/k_tanl.c: Likewise.
9763 * math/s_asinhl.c: Likewise.
9764 * math/s_atanl.c: Likewise.
9765 * math/s_cbrtl.c: Likewise.
9766 * math/s_erfl.c: Likewise.
9767 * math/s_expm1l.c: Likewise.
9768 * math/s_log1pl.c: Likewise.
9769 * math/s_tanhl.c: Likewise.
9770 * misc/acct.c: Likewise.
9771 * misc/brk.c: Likewise.
9772 * misc/chflags.c: Likewise.
9773 * misc/chroot.c: Likewise.
9774 * misc/fchflags.c: Likewise.
9775 * misc/fgetxattr.c: Likewise.
9776 * misc/flistxattr.c: Likewise.
9777 * misc/fremovexattr.c: Likewise.
9778 * misc/fsetxattr.c: Likewise.
9779 * misc/fsync.c: Likewise.
9780 * misc/ftruncate.c: Likewise.
9781 * misc/futimes.c: Likewise.
9782 * misc/futimesat.c: Likewise.
9783 * misc/getdomain.c: Likewise.
9784 * misc/getdtsz.c: Likewise.
9785 * misc/gethostid.c: Likewise.
9786 * misc/gethostname.c: Likewise.
9787 * misc/getloadavg.c: Likewise.
9788 * misc/getpagesize.c: Likewise.
9789 * misc/getsysstats.c: Likewise.
9790 * misc/getxattr.c: Likewise.
9791 * misc/gtty.c: Likewise.
9792 * misc/ioctl.c: Likewise.
9793 * misc/lgetxattr.c: Likewise.
9794 * misc/listxattr.c: Likewise.
9795 * misc/llistxattr.c: Likewise.
9796 * misc/lremovexattr.c: Likewise.
9797 * misc/lsetxattr.c: Likewise.
9798 * misc/lutimes.c: Likewise.
9799 * misc/madvise.c: Likewise.
9800 * misc/mincore.c: Likewise.
9801 * misc/mlock.c: Likewise.
9802 * misc/mlockall.c: Likewise.
9803 * misc/mmap.c: Likewise.
9804 * misc/mprotect.c: Likewise.
9805 * misc/msync.c: Likewise.
9806 * misc/munlock.c: Likewise.
9807 * misc/munlockall.c: Likewise.
9808 * misc/munmap.c: Likewise.
9809 * misc/preadv.c: Likewise.
9810 * misc/preadv64.c: Likewise.
9811 * misc/ptrace.c: Likewise.
9812 * misc/pwritev.c: Likewise.
9813 * misc/pwritev64.c: Likewise.
9814 * misc/readv.c: Likewise.
9815 * misc/reboot.c: Likewise.
9816 * misc/remap_file_pages.c: Likewise.
9817 * misc/removexattr.c: Likewise.
9818 * misc/revoke.c: Likewise.
9819 * misc/select.c: Likewise.
9820 * misc/setdomain.c: Likewise.
9821 * misc/setegid.c: Likewise.
9822 * misc/seteuid.c: Likewise.
9823 * misc/sethostid.c: Likewise.
9824 * misc/sethostname.c: Likewise.
9825 * misc/setregid.c: Likewise.
9826 * misc/setreuid.c: Likewise.
9827 * misc/setxattr.c: Likewise.
9828 * misc/sstk.c: Likewise.
9829 * misc/stty.c: Likewise.
9830 * misc/swapoff.c: Likewise.
9831 * misc/swapon.c: Likewise.
9832 * misc/sync.c: Likewise.
9833 * misc/syncfs.c: Likewise.
9834 * misc/syscall.c: Likewise.
9835 * misc/truncate.c: Likewise.
9836 * misc/ualarm.c: Likewise.
9837 * misc/usleep.c: Likewise.
9838 * misc/ustat.c: Likewise.
9839 * misc/utimes.c: Likewise.
9840 * misc/vhangup.c: Likewise.
9841 * misc/writev.c: Likewise.
9842 * posix/_exit.c: Likewise.
9843 * posix/alarm.c: Likewise.
9844 * posix/execve.c: Likewise.
9845 * posix/fexecve.c: Likewise.
9846 * posix/fork.c: Likewise.
9847 * posix/fpathconf.c: Likewise.
9848 * posix/getaddrinfo.c: Likewise.
9849 * posix/getegid.c: Likewise.
9850 * posix/geteuid.c: Likewise.
9851 * posix/getgid.c: Likewise.
9852 * posix/getgroups.c: Likewise.
9853 * posix/getlogin.c: Likewise.
9854 * posix/getlogin_r.c: Likewise.
9855 * posix/getpgid.c: Likewise.
9856 * posix/getpid.c: Likewise.
9857 * posix/getppid.c: Likewise.
9858 * posix/getresgid.c: Likewise.
9859 * posix/getresuid.c: Likewise.
9860 * posix/getsid.c: Likewise.
9861 * posix/getuid.c: Likewise.
9862 * posix/glob64.c: Likewise.
9863 * posix/nanosleep.c: Likewise.
9864 * posix/pathconf.c: Likewise.
9865 * posix/pause.c: Likewise.
9866 * posix/posix_madvise.c: Likewise.
9867 * posix/pread.c: Likewise.
9868 * posix/pread64.c: Likewise.
9869 * posix/pwrite.c: Likewise.
9870 * posix/pwrite64.c: Likewise.
9871 * posix/sched_getaffinity.c: Likewise.
9872 * posix/sched_getp.c: Likewise.
9873 * posix/sched_gets.c: Likewise.
9874 * posix/sched_primax.c: Likewise.
9875 * posix/sched_primin.c: Likewise.
9876 * posix/sched_rr_gi.c: Likewise.
9877 * posix/sched_setaffinity.c: Likewise.
9878 * posix/sched_setp.c: Likewise.
9879 * posix/sched_sets.c: Likewise.
9880 * posix/sched_yield.c: Likewise.
9881 * posix/setgid.c: Likewise.
9882 * posix/setlogin.c: Likewise.
9883 * posix/setpgid.c: Likewise.
9884 * posix/setresgid.c: Likewise.
9885 * posix/setresuid.c: Likewise.
9886 * posix/setsid.c: Likewise.
9887 * posix/setuid.c: Likewise.
9888 * posix/sleep.c: Likewise.
9889 * posix/spawni.c: Likewise.
9890 * posix/sysconf.c: Likewise.
9891 * posix/times.c: Likewise.
9892 * posix/wait.c: Likewise.
9893 * posix/wait3.c: Likewise.
9894 * posix/wait4.c: Likewise.
9895 * posix/waitpid.c: Likewise.
9896 * resolv/gai_sigqueue.c: Likewise.
9897 * resource/getpriority.c: Likewise.
9898 * resource/getrlimit.c: Likewise.
9899 * resource/getrusage.c: Likewise.
9900 * resource/nice.c: Likewise.
9901 * resource/setpriority.c: Likewise.
9902 * resource/setrlimit.c: Likewise.
9903 * resource/ulimit.c: Likewise.
9904 * rt/aio_cancel.c: Likewise.
9905 * rt/aio_fsync.c: Likewise.
9906 * rt/aio_read.c: Likewise.
9907 * rt/aio_sigqueue.c: Likewise.
9908 * rt/aio_suspend.c: Likewise.
9909 * rt/aio_write.c: Likewise.
9910 * rt/clock_getres.c: Likewise.
9911 * rt/clock_gettime.c: Likewise.
9912 * rt/clock_nanosleep.c: Likewise.
9913 * rt/clock_settime.c: Likewise.
9914 * rt/lio_listio.c: Likewise.
9915 * rt/mq_close.c: Likewise.
9916 * rt/mq_getattr.c: Likewise.
9917 * rt/mq_notify.c: Likewise.
9918 * rt/mq_open.c: Likewise.
9919 * rt/mq_receive.c: Likewise.
9920 * rt/mq_send.c: Likewise.
9921 * rt/mq_setattr.c: Likewise.
9922 * rt/mq_timedreceive.c: Likewise.
9923 * rt/mq_timedsend.c: Likewise.
9924 * rt/mq_unlink.c: Likewise.
9925 * rt/shm_open.c: Likewise.
9926 * rt/shm_unlink.c: Likewise.
9927 * rt/timer_create.c: Likewise.
9928 * rt/timer_delete.c: Likewise.
9929 * rt/timer_getoverr.c: Likewise.
9930 * rt/timer_gettime.c: Likewise.
9931 * rt/timer_settime.c: Likewise.
9932 * setjmp/__longjmp.c: Likewise.
9933 * setjmp/setjmp.c: Likewise.
9934 * signal/kill.c: Likewise.
9935 * signal/killpg.c: Likewise.
9936 * signal/raise.c: Likewise.
9937 * signal/sigaction.c: Likewise.
9938 * signal/sigaltstack.c: Likewise.
9939 * signal/sigblock.c: Likewise.
9940 * signal/sigignore.c: Likewise.
9941 * signal/sigintr.c: Likewise.
9942 * signal/signal.c: Likewise.
9943 * signal/sigpause.c: Likewise.
9944 * signal/sigpending.c: Likewise.
9945 * signal/sigqueue.c: Likewise.
9946 * signal/sigreturn.c: Likewise.
9947 * signal/sigset.c: Likewise.
9948 * signal/sigsetmask.c: Likewise.
9949 * signal/sigstack.c: Likewise.
9950 * signal/sigsuspend.c: Likewise.
9951 * signal/sigtimedwait.c: Likewise.
9952 * signal/sigvec.c: Likewise.
9953 * signal/sigwait.c: Likewise.
9954 * signal/sigwaitinfo.c: Likewise.
9955 * signal/sysv_signal.c: Likewise.
9956 * socket/accept.c: Likewise.
9957 * socket/accept4.c: Likewise.
9958 * socket/bind.c: Likewise.
9959 * socket/connect.c: Likewise.
9960 * socket/getpeername.c: Likewise.
9961 * socket/getsockname.c: Likewise.
9962 * socket/getsockopt.c: Likewise.
9963 * socket/isfdtype.c: Likewise.
9964 * socket/listen.c: Likewise.
9965 * socket/recv.c: Likewise.
9966 * socket/recvfrom.c: Likewise.
9967 * socket/recvmsg.c: Likewise.
9968 * socket/send.c: Likewise.
9969 * socket/sendmsg.c: Likewise.
9970 * socket/sendto.c: Likewise.
9971 * socket/setsockopt.c: Likewise.
9972 * socket/shutdown.c: Likewise.
9973 * socket/sockatmark.c: Likewise.
9974 * socket/socket.c: Likewise.
9975 * socket/socketpair.c: Likewise.
9976 * stdio-common/ctermid.c: Likewise.
9977 * stdio-common/cuserid.c: Likewise.
9978 * stdio-common/remove.c: Likewise.
9979 * stdio-common/rename.c: Likewise.
9980 * stdio-common/renameat.c: Likewise.
9981 * stdio-common/tempname.c: Likewise.
9982 * stdlib/getcontext.c: Likewise.
9983 * stdlib/makecontext.c: Likewise.
9984 * stdlib/setcontext.c: Likewise.
9985 * stdlib/swapcontext.c: Likewise.
9986 * stdlib/system.c: Likewise.
9987 * streams/fattach.c: Likewise.
9988 * streams/fdetach.c: Likewise.
9989 * streams/getmsg.c: Likewise.
9990 * streams/getpmsg.c: Likewise.
9991 * streams/putmsg.c: Likewise.
9992 * streams/putpmsg.c: Likewise.
9993 * sysdeps/unix/bsd/getpt.c: Likewise.
9994 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9995 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9996 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9999 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10000 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10001 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10002 * sysvipc/msgctl.c: Likewise.
10003 * sysvipc/msgget.c: Likewise.
10004 * sysvipc/msgrcv.c: Likewise.
10005 * sysvipc/msgsnd.c: Likewise.
10006 * sysvipc/semctl.c: Likewise.
10007 * sysvipc/semget.c: Likewise.
10008 * sysvipc/semop.c: Likewise.
10009 * sysvipc/semtimedop.c: Likewise.
10010 * sysvipc/shmat.c: Likewise.
10011 * sysvipc/shmctl.c: Likewise.
10012 * sysvipc/shmdt.c: Likewise.
10013 * sysvipc/shmget.c: Likewise.
10014 * termios/tcdrain.c: Likewise.
10015 * termios/tcflow.c: Likewise.
10016 * termios/tcflush.c: Likewise.
10017 * termios/tcgetattr.c: Likewise.
10018 * termios/tcgetpgrp.c: Likewise.
10019 * termios/tcsendbrk.c: Likewise.
10020 * termios/tcsetattr.c: Likewise.
10021 * termios/tcsetpgrp.c: Likewise.
10022 * time/adjtime.c: Likewise.
10023 * time/clock.c: Likewise.
10024 * time/getitimer.c: Likewise.
10025 * time/gettimeofday.c: Likewise.
10026 * time/setitimer.c: Likewise.
10027 * time/settimeofday.c: Likewise.
10028 * time/stime.c: Likewise.
10029 * time/time.c: Likewise.
10031 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
10033 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10036 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10038 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10040 2012-11-03 Joseph Myers <joseph@codesourcery.com>
10043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10044 FE_TONEAREST before applying Dekker multiplication and Knuth
10045 addition. Clear inexact exceptions and check for exact zero
10046 results afterwards.
10047 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10048 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10049 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10050 * math/libm-test.inc (fma_test): Add more tests.
10051 (fma_test_towardzero): Likewise.
10052 (fma_test_downward): Likewise.
10053 (fma_test_upward): Likewise.
10054 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10056 (libc_fesetround): New macro.
10057 (libc_fesetroundf): Likewise.
10058 (libc_fesetroundl): Likewise.
10059 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10061 (libc_fesetround_387): Likewise.
10062 (libc_fesetroundf): New macro.
10063 (libc_fesetround): Likewise.
10064 (libc_fesetroundl): Likewise.
10065 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10067 (libc_fesetroundf): New macro.
10068 (libc_fesetround): Likewise.
10069 (libc_fesetroundl): Likewise.
10070 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10071 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10072 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10074 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10075 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10077 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10078 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10080 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10084 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10085 integer constant usable in #if and use that to give value to enum
10087 (FE_DIVBYZERO): Likewise.
10088 (FE_UNDERFLOW): Likewise.
10089 (FE_OVERFLOW): Likewise.
10090 (FE_INVALID): Likewise.
10091 (FE_INVALID_SNAN): Likewise.
10092 (FE_INVALID_ISI): Likewise.
10093 (FE_INVALID_IDI): Likewise.
10094 (FE_INVALID_ZDZ): Likewise.
10095 (FE_INVALID_IMZ): Likewise.
10096 (FE_INVALID_COMPARE): Likewise.
10097 (FE_INVALID_SOFTWARE): Likewise.
10098 (FE_INVALID_SQRT): Likewise.
10099 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10100 (FE_TONEAREST): Likewise.
10101 (FE_TOWARDZERO): Likewise.
10102 (FE_UPWARD): Likewise.
10103 (FE_DOWNWARD): Likewise.
10104 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10105 (FE_DIVBYZERO): Likewise.
10106 (FE_OVERFLOW): Likewise.
10107 (FE_UNDERFLOW): Likewise.
10108 (FE_INEXACT): Likewise.
10109 (FE_TONEAREST): Likewise.
10110 (FE_DOWNWARD): Likewise.
10111 (FE_UPWARD): Likewise.
10112 (FE_TOWARDZERO): Likewise.
10113 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10114 (FE_UNDERFLOW): Likewise.
10115 (FE_OVERFLOW): Likewise.
10116 (FE_DIVBYZERO): Likewise.
10117 (FE_INVALID): Likewise.
10118 (FE_TONEAREST): Likewise.
10119 (FE_TOWARDZERO): Likewise.
10120 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10121 (FE_OVERFLOW): Likewise.
10122 (FE_UNDERFLOW): Likewise.
10123 (FE_DIVBYZERO): Likewise.
10124 (FE_INEXACT): Likewise.
10125 (FE_TONEAREST): Likewise.
10126 (FE_TOWARDZERO): Likewise.
10127 (FE_UPWARD): Likewise.
10128 (FE_DOWNWARD): Likewise.
10129 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10130 (FE_DIVBYZERO): Likewise.
10131 (FE_OVERFLOW): Likewise.
10132 (FE_UNDERFLOW): Likewise.
10133 (FE_INEXACT): Likewise.
10134 (FE_TONEAREST): Likewise.
10135 (FE_DOWNWARD): Likewise.
10136 (FE_UPWARD): Likewise.
10137 (FE_TOWARDZERO): Likewise.
10139 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10141 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10143 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10145 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10146 commands. Quote $PWD.
10147 (blacklist_exports): Don't use remove_newlines. Replace "declare
10149 (remove_newlines): Remove.
10151 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10153 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10154 * stdlib/stdlib.h (atof): Moved to ...
10155 * include/bits/stdlib-float.h: Here. New file.
10156 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10157 * stdlib/bits/stdlib-float.h: New file.
10158 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10160 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10163 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10165 * conform/conformtest.pl (@headers): Add fenv.h.
10166 * conform/data/fenv.h-data: New file.
10167 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10168 include of <math/fenv.h>.
10170 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10171 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10172 && !UNIX98]. Enables tests for XOPEN2K8.
10173 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10174 POSIX2008]: Likewise.
10176 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10177 (struct rusage): Do not expect type or its members.
10180 * math/math.h (FP_NAN): Define macro to integer constant usable in
10181 #if and use that to give value to enum constant.
10182 (FP_INFINITE): Likewise.
10183 (FP_ZERO): Likewise.
10184 (FP_SUBNORMAL): Likewise.
10185 (FP_NORMAL): Likewise.
10187 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10189 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10190 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10193 2012-11-02 Roland McGrath <roland@hack.frob.com>
10195 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10196 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10197 autoconf-time if not.
10198 * configure.in: Remove AC_PREREQ.
10200 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10202 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10203 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10204 of the internal implementation.
10206 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10208 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10209 except include of <misc/sys/syslog.h>.
10211 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10214 function returns with a NULL context exit with zero.
10216 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10218 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10220 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10222 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10223 (run_program_cmd): This.
10224 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10225 (tst_langinfo): New variable. Use it.
10227 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10229 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10230 floating point opcodes.
10232 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10234 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10237 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10239 * sysdeps/mach/hurd/powerpc: Remove directory.
10240 * sysdeps/mach/powerpc: Likewise.
10242 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10244 * scripts/check-local-headers.sh: Ignore c++ headers.
10246 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10248 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10249 __libc_cleanup_region_start argument.
10251 2012-11-01 Joseph Myers <joseph@codesourcery.com>
10255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10256 x * y using scaling, not as x * y + z.
10257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10258 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10259 * math/libm-test.inc (fma_test): Add more tests.
10260 (fma_test_towardzero): Likewise.
10261 (fma_test_downward): Likewise.
10262 (fma_test_upward): Likewise.
10264 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10266 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10268 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10270 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10273 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10275 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10277 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10284 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10287 Fix the order of the list for glibc 2.17.
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10291 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10295 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10298 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10299 for low part of x being zero before using __atanl (y).
10300 * math/libm-test.inc (atan2_test): Add another test.
10302 * manual/install.texi (Configuring and compiling): Document
10303 general use of test-wrapper and test-wrapper-env.
10304 * INSTALL: Regenerated.
10306 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10307 (__fma): Do not extract and scale down low bits on after-rounding
10308 systems when result rounded to normal precision would have normal
10310 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10311 (__fmal): Do not extract and scale down low bits on after-rounding
10312 systems when result rounded to normal precision would have normal
10314 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10315 (__fmal): Do not extract and scale down low bits on after-rounding
10316 systems when result rounded to normal precision would have normal
10318 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10320 (fma_test): Add more tests.
10321 (fma_test_towardzero): Likewise.
10322 (fma_test_downward): Likewise.
10323 (fma_test_upward): Likewise.
10325 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10327 * sysdeps/i386/tininess.h: Renamed to ...
10328 * sysdeps/x86/tininess.h: This.
10329 * sysdeps/x86_64/tininess.h: Removed.
10331 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10333 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10334 input. Use $(build-program-cmd).
10335 ($(objpfx)tst-array1-static.out): Likewise.
10336 ($(objpfx)tst-array2.out): Likewise.
10337 ($(objpfx)tst-array3.out): Likewise.
10338 ($(objpfx)tst-array4.out): Likewise.
10339 ($(objpfx)tst-array5.out): Likewise.
10340 ($(objpfx)tst-array5-static.out): Likewise.
10342 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10344 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10347 * nss/nsswitch.h (nss_interface_function): Provide new
10348 macro for use with NSS functions.
10349 * grp/initgroups.c: Use new macro.
10350 * nss/getXXbyYY.c: Likewise.
10351 * nss/getXXbyYY_r.c: Likewise.
10352 * nss/getXXent.c: Likewise.
10353 * nss/getXXent_r.c: Likewise.
10354 * sysdeps/posix/getaddrinfo.c: Likewise.
10356 2012-10-30 Andreas Jaeger <aj@suse.de>
10358 * po/ru.po: Update Russion translation from translation project.
10360 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10365 result and shift together with sticky bit instead of replicating
10366 round-to-nearest rounding.
10367 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10368 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10369 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10370 missing underflow exceptions.
10371 (fma_test_towardzero): Add more tests.
10372 (fma_test_downward): Likewise.
10373 (fma_test_upward): Likewise.
10376 * sysdeps/generic/tininess.h: New file.
10377 * sysdeps/i386/tininess.h: Likewise.
10378 * sysdeps/sh/tininess.h: Likewise.
10379 * sysdeps/x86_64/tininess.h: Likewise.
10380 * stdlib/tst-strtod-underflow.c: Likewise.
10381 * stdlib/tst-tininess.c: Likewise.
10382 * stdlib/strtod_l.c: Include <tininess.h>.
10383 (round_and_return): Do not set errno for exact underflow cases.
10384 Force an underflow exception when setting errno for underflow.
10385 Determine underflow based on rounding to normal precision if
10386 TININESS_AFTER_ROUNDING.
10387 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10388 ERANGE for exact underflow cases.
10389 * stdlib/Makefile (tests): Add tst-tininess and
10390 tst-strtod-underflow.
10391 ($(objpfx)tst-tininess): Use $(link-libm).
10392 ($(objpfx)tst-strtod-underflow): Likewise.
10394 2012-10-30 Andreas Jaeger <aj@suse.de>
10397 * elf/Makefile (tests): Remove conditional for have-initfini-array
10398 since this is now always required and the variable does not exist
10400 (tests-static): Likewise.
10401 (modules-names): Likewise.
10403 * po/eo.po: Add Esperanto translation from translation project.
10405 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10406 merged with constructor/destructor.
10407 (init_array): Likewise.
10408 * elf/tst-array2dep.c (fini_array): Likewise.
10409 (init_array): Likewise.
10411 2012-10-29 Mike Frysinger <vapier@gentoo.org>
10413 * manual/message.texi: Delete @cartouche tags.
10415 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10417 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10419 * sysdeps/mach/hurd/fsync.c: Likewise.
10421 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10422 [_POSIX_REALTIME_SIGNALS]: Change condition to
10423 [_POSIX_REALTIME_SIGNALS > 0].
10425 2012-10-27 Andreas Jaeger <aj@suse.de>
10427 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10428 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10429 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10430 [__WORDSIZE != 64]: Likewise.
10432 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10434 * iconvdata/tst-table.sh: Remove ${SHELL}.
10435 * iconvdata/tst-tables.sh: Likewise.
10437 2012-10-25 David S. Miller <davem@davemloft.net>
10439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10440 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10443 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10445 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10446 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10447 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10450 2012-10-25 Roland McGrath <roland@hack.frob.com>
10452 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10453 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10456 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10457 Jim Blandy <jimb@codesourcery.com>
10459 * scripts/cross-test-ssh.sh: New file.
10460 * manual/install.texi (Configuring and compiling): Document use of
10462 * INSTALL: Regenerated.
10464 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10466 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10469 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10471 * Makeconfig (run-program-prefix): Fix comment.
10473 2012-10-24 Joseph Myers <joseph@codesourcery.com>
10474 Jim Blandy <jimb@codesourcery.com>
10476 * Makeconfig (test-wrapper): New variable,
10477 (test-wrapper-env): Likewise.
10478 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10479 (run-built-tests): Define to yes.
10480 (run-program-prefix): Use $(test-wrapper).
10481 (built-program-cmd): Likewise.
10482 * Rules (make-test-out): Use $(test-wrapper-env) and
10483 $(host-built-program-cmd).
10484 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10485 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10487 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10488 $(test-wrapper-env) to tst-rtld-load-self.sh.
10489 ($(objpfx)order2.out): Use $(test-wrapper).
10490 ($(objpfx)tst-initorder.out): Likewise.
10491 ($(objpfx)tst-initorder2.out): Likewise.
10492 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10493 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10494 (test_wrapper_env): New variable. Use it to run ld.so.
10495 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10496 Use it to run ld.so.
10497 (test_wrapper_env): Likewise.
10498 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10499 $(test-wrapper) to run-iconv-test.sh.
10500 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10501 (ICONV): Use $test_wrapper.
10502 * posix/Makefile ($(objpfx)globtest.out): Pass
10503 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10504 globtest.sh, not $(run-program-prefix).
10505 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10506 (test_wrapper): Likewise.
10507 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10508 set together with run_via_rtld_prefix.
10509 (run_program_prefix): Define in terms of test_wrapper and
10510 run_via_rtld_prefix.
10512 2012-10-24 Roland McGrath <roland@hack.frob.com>
10514 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10515 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10519 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10520 Declare __clock_getres, __clock_gettime, __clock_settime,
10521 __clock_nanosleep, and __clock_getcpuclockid.
10522 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10523 Remove librt_hidden_def (clock_gettime).
10524 * sysdeps/unix/clock_gettime.c: Likewise.
10525 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10526 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10527 * rt/clock_getres.c: Define __clock_getres as an alias.
10528 * sysdeps/posix/clock_getres.c: Likewise.
10529 * rt/clock_settime.c: Define __clock_settime as an alias.
10530 * sysdeps/unix/clock_settime.c: Likewise.
10531 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10532 * sysdeps/unix/clock_nanosleep.c: Likewise.
10533 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10534 * rt/clock-compat.c: New file.
10535 * rt/Makefile (librt-routines): Add clock-compat and move
10536 $(clock-routines) to ...
10537 (routines): ... here, new variable.
10538 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10539 Don't add get_clockfreq here.
10540 * rt/Versions (libc: GLIBC_2.17): New version set.
10541 Add clock_* symbols here.
10542 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10543 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10544 (GLIBC_2.17): Add clock_* symbols.
10545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10547 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10556 * NEWS: Mention the move.
10558 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10559 Use __open, __read, __close rather than their public counterparts.
10560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10561 (__get_clockfreq_via_cpuinfo): Likewise.
10562 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10563 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10565 * config.h.in (HAVE_IFUNC): New #undef.
10566 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10568 * configure: Regenerated.
10570 2012-10-24 Mike Frysinger <vapier@gentoo.org>
10572 * configure.in: Move READELF check to start of file.
10573 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10574 libc_cv_asm_gnu_indirect_function in the process.
10575 * configure: Regenerated.
10577 2012-10-24 Mike Frysinger <vapier@gentoo.org>
10579 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10580 send the output to /dev/null.
10581 (libc_cv_cc_with_libunwind): Likewise.
10582 (libc_cv_as_noexecstack): Likewise.
10583 * configure: Regenerate.
10585 2012-10-24 Joseph Myers <joseph@codesourcery.com>
10587 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10589 * posix/globtest.sh (TMPDIR): Do not set.
10590 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10591 (testout): Likewise.
10593 2012-10-24 Andreas Jaeger <aj@suse.de>
10595 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10596 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10597 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10598 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10599 posix_fadvise64, posix_fallocate64.
10601 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10602 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10603 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10605 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10607 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10610 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10611 <bits/fcntl-linux.h>.
10612 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10614 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10615 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10616 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10617 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10618 [__WORDSIZE != 64]: Likewise.
10620 2012-10-23 Joseph Myers <joseph@codesourcery.com>
10622 * Makeconfig (run-built-tests): New variable.
10623 * Rules [$(cross-compiling) = yes]: Change condition to
10624 [$(run-built-tests) = no].
10625 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10626 to [$(run-built-tests) = yes].
10627 * elf/Makefile [$(cross-compiling) = no]: Likewise
10628 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10629 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10630 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10631 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10632 * io/Makefile [$(cross-compiling) = no]: Likewise.
10633 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10634 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10635 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10636 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10637 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10638 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10639 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10640 * string/Makefile [$(cross-compiling) = no]: Likewise.
10642 * posix/Makefile ($(objpfx)globtest.out): Pass
10643 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10644 $(rtld-installed-name).
10645 * posix/globtest.sh (elf_objpfx): Remove variable.
10646 (rtld_installed_name): Likewise.
10647 (library_path): Likewise.
10648 (run_program_prefix): New variable. Use for running globtest
10651 2012-10-23 Jim Blandy <jimb@codesourcery.com>
10652 Joseph Myers <joseph@codesourcery.com>
10654 * Makeconfig (host-built-program-cmd): New variable.
10655 * elf/Makefile (tst-stackguard1-ARGS): Use
10656 $(host-built-program-cmd).
10657 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10658 (tst-spawn-ARGS): Likewise.
10659 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10661 2012-10-23 Joseph Myers <joseph@codesourcery.com>
10662 Jim Blandy <jimb@codesourcery.com>
10664 * Makeconfig (run-via-rtld-prefix): New variable.
10665 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10666 (built-program-cmd): Likewise.
10668 2012-10-22 Andreas Jaeger <aj@suse.de>
10670 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10671 __O_RSYNC if it exists, otherwise to O_SYNC.
10673 2012-10-22 Jim Blandy <jimb@codesourcery.com>
10674 Joseph Myers <joseph@codesourcery.com>
10676 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10678 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10680 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10683 2012-10-22 Andreas Jaeger <aj@suse.de>
10685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10690 bits/fcntl-linux.h.
10692 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10693 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10695 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10697 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10700 2012-10-21 Jim Blandy <jimb@codesourcery.com>
10701 Joseph Myers <joseph@codesourcery.com>
10703 * config.make.in (NM): New variable.
10705 2012-10-21 Andreas Jaeger <aj@suse.de>
10707 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10708 definitions and declarations that are provided by
10709 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10711 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10714 * elf/Makefile (tests-static): Add tst-leaks1-static.
10715 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10716 ($(objpfx)tst-leaks1-static): New rule.
10717 ($(objpfx)tst-leaks1-static-mem): Likewise.
10718 (tst-leaks1-static-ENV): New macro.
10719 * elf/dl-open.c (dl_open_worker): Check the main application
10720 only if SHARED is defined.
10721 * elf/tst-leaks1-static.c: New file.
10723 2012-10-20 Andreas Jaeger <aj@suse.de>
10725 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10726 generic values for Linux.
10727 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10728 and declarations that are provided by <bits/fcntl-linux.h> and
10729 include <bits/fcntl-linux.h>.
10730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10733 2012-10-20 Roland McGrath <roland@hack.frob.com>
10735 * io/fcntl.h: Move include of <bits/types.h> to the top and
10736 include it unconditionally.
10738 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10740 * wcsmbs/Makefile (tests-ifunc): New variable.
10741 (tests): Add $(tests-ifunc).
10742 * wcsmbs/test-wcschr-ifunc.c: New file.
10743 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10744 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10745 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10746 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10747 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10749 * string/Makefile (tests-ifunc): New variable.
10750 (tests): Add $(tests-ifunc).
10751 * string/test-memccpy.c (TEST_NAME): New macro.
10752 * string/test-memchr.c (TEST_NAME): Likewise.
10753 * string/test-memcmp.c (TEST_NAME): Likewise.
10754 * string/test-memcpy.c (TEST_NAME): Likewise.
10755 * string/test-memmem.c (TEST_NAME): Likewise.
10756 * string/test-memmove.c (TEST_NAME): Likewise.
10757 * string/test-memset.c (TEST_NAME): Likewise.
10758 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10759 * string/test-stpcpy.c (TEST_NAME): Likewise.
10760 * string/test-stpncpy.c (TEST_NAME): Likewise.
10761 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10762 * string/test-strcasestr.c (TEST_NAME): Likewise.
10763 * string/test-strcat.c (TEST_NAME): Likewise.
10764 * string/test-strchr.c (TEST_NAME): Likewise.
10765 * string/test-strcmp.c(TEST_NAME): Likewise.
10766 * string/test-strcpy.c (TEST_NAME): Likewise.
10767 * string/test-strcspn.c (TEST_NAME): Likewise.
10768 * string/test-strlen.c (TEST_NAME): Likewise.
10769 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10770 * string/test-strncmp.c (TEST_NAME): Likewise.
10771 * string/test-strncpy.c (TEST_NAME): Likewise.
10772 * string/test-strnlen.c (TEST_NAME): Likewise.
10773 * string/test-strpbrk.c (TEST_NAME): Likewise.
10774 * string/test-strrchr.c (TEST_NAME): Likewise.
10775 * string/test-strspn.c (TEST_NAME): Likewise.
10776 * string/test-strstr.c (TEST_NAME): Likewise.
10777 * string/test-bcopy-ifunc.c: New file.
10778 * string/test-bzero-ifunc.c: Likewise.
10779 * string/test-memccpy-ifunc.c: Likewise.
10780 * string/test-memchr-ifunc.c: Likewise.
10781 * string/test-memcmp-ifunc.c: Likewise.
10782 * string/test-memcpy-ifunc.c: Likewise.
10783 * string/test-memmem-ifunc.c: Likewise.
10784 * string/test-memmove-ifunc.c: Likewise.
10785 * string/test-mempcpy-ifunc.c: Likewise.
10786 * string/test-memset-ifunc.c: Likewise.
10787 * string/test-rawmemchr-ifunc.c: Likewise.
10788 * string/test-stpcpy-ifunc.c: Likewise.
10789 * string/test-stpncpy-ifunc.c: Likewise.
10790 * string/test-strcasecmp-ifunc.c: Likewise.
10791 * string/test-strcasestr-ifunc.c: Likewise.
10792 * string/test-strcat-ifunc.c: Likewise.
10793 * string/test-strchr-ifunc.c: Likewise.
10794 * string/test-strchrnul-ifunc.c: Likewise.
10795 * string/test-strcmp-ifunc.c: Likewise.
10796 * string/test-strcpy-ifunc.c: Likewise.
10797 * string/test-strcspn-ifunc.c: Likewise.
10798 * string/test-strlen-ifunc.c: Likewise.
10799 * string/test-strncasecmp-ifunc.c: Likewise.
10800 * string/test-strncat-ifunc.c: Likewise.
10801 * string/test-strncmp-ifunc.c: Likewise.
10802 * string/test-strncpy-ifunc.c: Likewise.
10803 * string/test-strnlen-ifunc.c: Likewise.
10804 * string/test-strpbrk-ifunc.c: Likewise.
10805 * string/test-strrchr-ifunc.c: Likewise.
10806 * string/test-strspn-ifunc.c: Likewise.
10807 * string/test-strstr-ifunc.c: Likewise.
10809 * debug/Makefile (tests-ifunc): New variable.
10810 (tests): Add $(tests-ifunc).
10811 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10812 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10813 * debug/test-stpcpy_chk-ifunc.c: New file.
10814 * debug/test-strcpy_chk-ifunc.c: Likewise.
10816 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10819 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10820 header is not read in.
10822 2012-10-19 Joseph Myers <joseph@codesourcery.com>
10824 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10825 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10826 directly. Pass built executable to script as
10827 $(built-program-cmd).
10828 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10829 $testprogram without using LD_LIBRARY_PATH and $ldso.
10831 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10832 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10833 $(rtld-installed-name).
10834 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10835 (rtld_installed_name): Likewise.
10836 (library_path): Likewise.
10837 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10838 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10839 $(run-program-prefix) to tst-tables.sh.
10840 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10841 it to run tst-table-from and tst-table-to.
10842 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10843 Pass it to tst-table.sh.
10844 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10845 $(run-program-prefix) to tst-gettext.sh.
10846 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10848 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10850 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10851 to run tst-gettext.
10852 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10853 to run tst-gettext2.
10854 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10855 to run tst-translit.
10856 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10857 $(run-program-prefix) to tst-mtrace.sh.
10858 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10860 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10861 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10862 $(rtld-installed-name).
10863 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10864 (rtld_installed_name): Likewise.
10865 (run_program_prefix): New variable. Use it to run wordexp-test.
10867 * Makeconfig (ARCH): Remove all definitions.
10868 (machine): Likewise.
10869 [ARCH]: Remove conditional code.
10870 [!objdir]: Give error.
10871 [!objdir] (objpfx): Remove.
10872 [!objdir] (common-objpfx): Likewise.
10873 [!objdir] (common-objdir): Likewise.
10874 * configure.in (config_makefile): Remove. Hardcode Makefile in
10875 AC_CONFIG_FILES call.
10876 * configure: Regenerated.
10879 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10881 (testout): Likewise.
10883 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10884 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10885 $(rtld-installed-name).
10886 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10887 (rtld_installed_name): Likwise.
10888 (runit): Remove function.
10889 (run_getconf): New variable, Use it for running getconf binary.
10891 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10894 * string/test-memmem.c (check_result): New function.
10895 (do_one_test): Use it.
10896 (check1): New function.
10897 (test_main): Use it.
10899 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10901 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10903 2012-10-18 Joseph Myers <joseph@codesourcery.com>
10905 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10906 (_G_LSEEK64): Likewise.
10907 (_G_MMAP64): Likewise.
10908 (_G_FSTAT64): Likewise.
10909 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10910 (_G_LSEEK64): Likewise.
10911 (_G_MMAP64): Likewise.
10912 (_G_FSTAT64): Likewise.
10913 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10914 unconditional. Call __mmap64 directly.
10915 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10916 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10917 __lseek64 directly.
10918 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10919 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10921 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10922 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10923 __lseek64 directly.
10924 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10925 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10926 __lseek64 directly.
10927 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10928 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10929 __lseek64 directly.
10930 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10931 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10932 __fxstat64 directly.
10933 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10934 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10936 (freopen64) [!_G_OPEN64]: Remove conditional code.
10937 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10939 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10940 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10942 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10943 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10945 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10946 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10948 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10949 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10951 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10952 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10954 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10955 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10957 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10959 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10962 * manual/memory.texi (Malloc Tunable Parameters): Add note
10963 about free list pointers overwriting some perturb bytes.
10964 Wording suggested by Roland McGrath.
10966 2012-10-17 Joseph Myers <joseph@codesourcery.com>
10968 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10969 (lgamma_test): Likewise.
10970 (tgamma_test): Likewise.
10972 2012-10-16 Florian Weimer <fweimer@redhat.com>
10975 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10976 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10978 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10980 * NEWS: Mention BZ #14716.
10981 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10982 when removing AVAILABLE1_USES_J macro.
10984 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10986 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10987 (__bswap_64): __uint64_t for unsigned 64-bit int.
10989 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10991 * include/string.h (memmem): Declare libc hidden alias.
10992 * string/memmem.c (memmem): Define libc hidden alias.
10993 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10994 __read, __close instead of open, read, close.
10996 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10998 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10999 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11001 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11002 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11003 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11005 (__rawmemchr_sse2): Likewise.
11006 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11007 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11008 (__strchr_sse2): Likewise.
11009 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11010 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11011 (__strcasecmp_sse2): Likewise.
11012 (__strncasecmp_sse2): Likewise.
11013 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11014 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11015 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11016 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11017 (__strrchr_sse2): Likewise.
11018 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11020 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11021 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11022 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11023 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11024 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11025 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11026 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11027 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11028 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11029 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11030 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11031 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11032 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11033 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11034 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11035 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11036 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11037 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11038 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11039 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11040 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11041 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11042 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11043 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11044 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11045 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11046 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11047 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11048 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11049 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11051 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11053 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11054 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11055 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11056 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11058 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11060 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11061 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11062 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11063 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11065 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11066 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11067 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11068 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11069 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11070 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11071 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11072 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11073 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11074 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11075 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11076 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11077 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11078 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11079 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11080 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11081 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11082 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11083 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11084 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11085 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11086 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11087 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11088 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11089 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11090 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11091 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11092 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11093 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11094 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11095 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11096 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11097 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11098 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11099 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11100 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11101 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11102 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11103 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11104 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11105 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11107 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11108 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11109 * include/ifunc-impl-list.h: New file.
11110 * misc/ifunc-impl-list.c: Likewise.
11111 * misc/Makefile (routines): Add ifunc-impl-list.
11112 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11113 * string/test-string.h: Include <ifunc-impl-list.h>.
11114 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11115 impl_array): New variables.
11116 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11118 (test_init): Call __libc_ifunc_impl_list to initialize
11119 func_list if TEST_IFUNC and TEST_NAME are defined.
11121 * string/Makefile (strop-tests): Add bcopy and bzero.
11122 * string/test-bcopy.c: New file.
11123 * string/test-bzero.c: Likewise.
11124 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11126 * string/test-memset.c: Support bzero test if TEST_BZERO is
11128 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11130 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11132 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11135 2012-10-10 Joseph Myers <joseph@codesourcery.com>
11137 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11138 * configure: Regenerated.
11140 * Makeconfig (+link-static-before-libc): Don't include
11141 $(link-static-libc).
11143 * libio/libio.h (_IO_pos_t): Remove.
11145 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11147 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11150 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11152 * crypt/crypt-entry.c: Include fips-private.h.
11153 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11154 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11155 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11156 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11158 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11160 * crypt/crypt-private.h: Include stdbool.h.
11161 (_ufc_setup_salt_r): Return bool.
11162 * crypt/crypt-entry.c: Include errno.h.
11163 (__crypt_r): Return NULL with EINVAL for bad salt.
11164 * crypt/crypt_util.c (bad_for_salt): New.
11165 (_ufc_setup_salt_r): Check that salt is long enough and within
11166 the specified alphabet.
11167 * crypt/badsalttest.c: New file.
11168 * crypt/Makefile (tests): Add it.
11169 ($(objpfx)badsalttest): New.
11171 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11173 * NEWS: Add entry for BZ #14602.
11175 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11177 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11179 * math/libm-test.inc: Update comment listing what functions and
11181 (isgreater_test): New function.
11182 (isgreaterequal_test): Likewise.
11183 (isless_test): Likewise.
11184 (islessequal_test): Likewise.
11185 (islessgreater_test): Likewise.
11186 (isunordered_test): Likewise.
11187 (main): Call the new functions.
11189 2012-10-09 Roland McGrath <roland@hack.frob.com>
11191 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11192 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11193 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11194 * sysdeps/i386/configure: Regenerated.
11195 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11196 * sysdeps/mach/configure: Regenerated.
11197 * sysdeps/mach/hurd/configure: Regenerated.
11198 * sysdeps/powerpc/configure: Regenerated.
11199 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11200 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11201 * sysdeps/s390/s390-32/configure: Regenerated.
11202 * sysdeps/s390/s390-64/configure: Regenerated.
11203 * sysdeps/sh/configure: Regenerated.
11204 * sysdeps/sparc/configure: Regenerated.
11205 * sysdeps/unix/sysv/linux/configure: Regenerated.
11206 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11207 * sysdeps/x86_64/configure: Regenerated.
11209 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11210 defined. Don't check if MAP is NULL.
11212 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11214 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11215 (_G_stat64): Likewise.
11216 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11217 (_G_stat64): Likewise.
11218 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11219 instead of struct _G_stat64.
11220 * libio/fileops.c (mmap_remap_check): Likewise.
11221 (decide_maybe_mmap): Likewise.
11222 (_IO_new_file_seekoff): Likewise.
11223 (_IO_file_stat): Likewise.
11224 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11226 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11227 instead of struct _G_stat64.
11228 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11230 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11233 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11235 (CHECK_EOL): New macro.
11236 (two_way_short_needle): Check beginning of haystack for EOL. Use
11238 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11239 Replace with CHECK_EOL.
11240 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11241 Replace with CHECK_EOL.
11243 2012-10-08 Joseph Myers <joseph@codesourcery.com>
11245 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11247 * math/libm-test.inc: Update comment listing what functions and
11249 (finite_test): New function.
11250 (isinf_test): Likewise.
11251 (isnan_test): Likewise.
11252 (fpclassify_test): Test subnormal input.
11253 (isfinite_test): Likewise.
11254 (isnormal_test): Likewise.
11255 (main): Call the new functions.
11257 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11260 * Makerules (%.dynsym): Force C locale when running
11261 $(OBJDUMP) --dynamic-syms.
11263 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11265 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11268 2012-10-06 David S. Miller <davem@davemloft.net>
11270 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11271 upper 32-bits of the length value in %o2 since we use branch-on-register
11272 tests which consider the entire 64-bit register.
11274 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11276 * string/test-strstr.c (check2): Add a test for page boundary.
11278 2012-10-05 David S. Miller <davem@davemloft.net>
11280 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11281 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11283 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11285 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11286 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11287 and bzero when HWCAP_SPARC_CRYPTO is present.
11289 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11292 * string/test-strstr.c (check2): New function.
11293 (test_main): Call check2.
11295 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11297 * string/bug-strcasestr1.c (do_test): Moved to ...
11298 * string/test-strcasestr.c (check1): Here. New function.
11299 (do_one_test): Break out result checking code into ...
11300 (check_result): This. New function.
11301 (do_one_test): Call check_result.
11302 (test_main): Call check1.
11303 * string/bug-strchr1.c (do_test): Moved to ...
11304 * string/test-strchr.c (check1): Here. New function.
11305 (do_one_test): Break out result checking code into ...
11306 (check_result): This. New function.
11307 (do_one_test): Call check_result.
11308 (test_main): Call check1.
11309 * string/bug-strstr1.c (main): Moved to ...
11310 * string/test-strstr.c (check1): Here. New function.
11311 (do_one_test): Break out result checking code into ...
11312 (check_result): This. New function.
11313 (do_one_test): Call check_result.
11314 (test_main): Call check1.
11315 * string/bug-strcasestr1.c: Removed.
11316 * string/bug-strchr1.c: Likewise.
11317 * string/bug-strstr1.c: Likewise.
11319 * elf/Makefile (dl-routines): Add hwcaps.
11320 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11321 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11322 (_dl_important_hwcaps): Moved to ...
11323 * elf/dl-hwcaps.c: Here. New file.
11324 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11327 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11328 if IS_IN_rtld isn't defined.
11330 * elf/dl-support.c (_dl_sysinfo_map): New.
11331 Include "get-dynamic-info.h" and "setup-vdso.h".
11332 (_dl_non_dynamic_init): Call setup_vdso.
11333 * elf/dynamic-link.h: Don't include <assert.h>.
11334 (elf_get_dynamic_info): Moved to ...
11335 * elf/get-dynamic-info.h: Here. New file.
11336 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11337 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11338 * elf/setup-vdso.h: Here. New file.
11339 * elf/rtld.c: Include "setup-vdso.h".
11340 (dl_main): Call setup_vdso.
11342 2012-10-05 Joseph Myers <joseph@codesourcery.com>
11344 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11345 creal in comment listing functions tested. List finite, isinf,
11346 isnan, isless, islessequal, isgreater, isgreaterequal,
11347 islessgreater, isunordered, lgamma_r and pow10 as functions and
11348 macros not tested. Mention which functions not tested are aliases
11349 for other functions. Fix typo. Note that signs of NaNs are not
11352 * scripts/config.guess: Update from config.git.
11353 * scripts/config.sub: Likewise.
11355 2012-10-04 Roland McGrath <roland@hack.frob.com>
11357 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11358 * misc/madvise.c (madvise): Renamed to __madvise.
11359 Make madvise a weak alias.
11360 * include/sys/mman.h: Declare __madvise.
11361 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11362 * sysdeps/unix/syscalls.list
11363 (madvise): Make __madvise the strong name, and madvise a weak alias.
11364 * sysdeps/unix/sysv/linux/syscalls.list
11365 (madvise, mmap): Remove redundant entries.
11366 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11367 * malloc/malloc.c (mtrim): Likewise.
11368 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11370 2012-10-03 Roland McGrath <roland@hack.frob.com>
11372 * sysdeps/mach/hurd/dl-cache.c: File removed.
11373 * config.h.in (USE_LDCONFIG): New #undef.
11374 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11375 * configure: Regenerated.
11376 * elf/Makefile (dl-routines): Add dl-cache only under
11377 [$(use-ldconfig) = yes].
11378 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11379 cache on [USE_LDCONFIG].
11380 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11382 * elf/rtld.c (dl_main): Likewise.
11384 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11386 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11387 _SC_LEVEL4_CACHE_LINESIZE.
11389 2012-10-03 Roland McGrath <roland@hack.frob.com>
11391 * sysdeps/unix/bsd/confstr.h: File removed.
11393 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
11395 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11398 2012-10-02 Roland McGrath <roland@hack.frob.com>
11400 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11401 Make 'mapoff' field ElfW(Off) rather than off_t.
11403 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11405 * nscd/Makefile: Remove nscd-cflags and all its users.
11406 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11407 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11410 * malloc.c (malloc_printerr): Clarify error message.
11412 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11416 Set bit_FMA_Usable if FMA is supported.
11417 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11419 (bit_FMA4_Usable): Updated.
11420 (index_FMA_Usable): New macro.
11421 (CPUID_FMA): Likewise
11422 (HAS_FMA): Defined with bit_FMA_Usable.
11424 2012-10-01 Roland McGrath <roland@hack.frob.com>
11426 * bits/types.h (__swblk_t): Type removed.
11427 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11428 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11429 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11430 (__SWBLK_T_TYPE): Likewise.
11431 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11432 (__SWBLK_T_TYPE): Likewise.
11433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11434 (__SWBLK_T_TYPE): Likewise.
11435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11436 (__SWBLK_T_TYPE): Likewise.
11438 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
11439 Honza Horak <hhorak@redhat.com>
11441 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11442 (xdr_mapname): Use YPMAXMAP as maxsize.
11443 (xdr_peername): Use YPMAXPEER as maxsize.
11444 (xdr_keydat): Use YPAXRECORD as maxsize.
11445 (xdr_valdat): Use YPMAXRECORD as maxsize.
11447 2012-10-01 Roland McGrath <roland@hack.frob.com>
11449 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11451 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11452 * csu/init-first.c: ... here.
11453 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11454 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11455 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11456 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11457 * sysdeps/i386/init-first.c: File removed.
11458 * sysdeps/sh/init-first.c: File removed.
11460 2012-10-01 Joseph Myers <joseph@codesourcery.com>
11463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11464 if x * y might underflow to zero and z is zero.
11465 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11466 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11467 * math/libm-test.inc (min_subnorm_value): New variable.
11468 (fma_test): Add more tests.
11469 (fma_test_towardzero): Likewise.
11470 (fma_test_downward): Likewise
11471 (fma_test_upward): Likewise.
11472 (initialize): Set min_subnorm_value.
11474 2012-09-29 Joseph Myers <joseph@codesourcery.com>
11477 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11479 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11480 mode for addition resulting in exact zero.
11481 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11484 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11485 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11486 * math/libm-test.inc (fma_test): Add more tests.
11487 (fma_test_towardzero): New function.
11488 (fma_test_downward): Likewise.
11489 (fma_test_upward): Likewise.
11490 (main): Call the new functions.
11492 2012-09-28 David S. Miller <davem@davemloft.net>
11494 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11496 2012-09-28 Roland McGrath <roland@hack.frob.com>
11498 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11499 instead of SIGALRM.
11501 * sysdeps/gnu/_G_config.h: Moved to ...
11502 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11503 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11504 * sysdeps/generic/_G_config.h: ... here.
11506 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11508 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11510 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11511 Conditionalize target on [libnss_test1.so-version].
11513 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11515 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11516 (elfobjdir): Move out of conditionals.
11518 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11519 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11520 (__nss_lookup_function): Conditionalize label remove_from_tree on
11521 [!DO_STATIC_NSS || SHARED], matching its only use.
11523 2012-09-28 David S. Miller <davem@davemloft.net>
11525 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11526 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11528 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11530 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11532 when HWCAP_SPARC_CRYPTO is present.
11534 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11536 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11538 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11541 * stdio-common/vfprintf.c (process_string_arg): Revert
11544 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11546 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11548 * stdio-common/tst-sprintf.c: Include <locale.h>
11549 (main): Test sprintf's handling of incomplete multibyte
11552 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11554 * elf/dl-runtime.c (VERSYMIDX): Removed.
11555 * elf/dl-version.c (VERSYMIDX): Likewise.
11556 * elf/do-rel.h (VERSYMIDX): Likewise.
11557 (VALIDX): Likewise.
11558 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11559 * elf/rtld.c (VALIDX): Likewise.
11560 (ADDRIDX): Likewise.
11561 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11562 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11563 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
11564 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11565 (VALIDX): Likewise.
11566 (ADDRIDX): Likewise.
11568 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11570 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11572 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11575 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11577 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11578 addresses are in the same scope as 192.0.2/24.
11579 * posix/gai.conf: Document new scope table defaults.
11581 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11584 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11585 for ftell. Compute offsets from write pointers instead.
11586 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11588 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11591 * libio/Makefile (tests): New test case tst-fseek.
11592 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11593 combination works in wide mode.
11594 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11595 state when the external buffer state changes.
11597 2012-09-27 David S. Miller <davem@davemloft.net>
11600 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11601 pass reloc->r_addend in as the 'high' argument to
11602 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11606 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11608 * rt/tst-aio2.c: Include <pthread.h>.
11609 * rt/tst-aio3.c: Likewise.
11611 2012-09-27 Steve Ellcey <sellcey@mips.com>
11613 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11615 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11617 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11618 contents on [SHARED].
11620 2012-09-26 Marek Polacek <polacek@redhat.com>
11624 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11625 for C++ and GCC <4.3 as well as for non GCC compilers.
11627 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11631 2012-09-25 Roland McGrath <roland@hack.frob.com>
11633 * Makefile.in (all, install): Declare with .PHONY.
11634 Reported by Michael Hope <michael.hope@linaro.org>.
11636 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11638 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11639 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11641 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11643 (sydep_routines): Add the new and the internal functions.
11644 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11645 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11647 (GLIBC_2.17): Add the new function.
11648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11649 (GLIBC_2.17): Likewise.
11650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11651 (GLIBC_2.17): Likewise.
11652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11653 (GLIBC_2.17): Likewise.
11654 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11656 2012-09-25 Alan Modra <amodra@gmail.com>
11658 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11659 Add release barrier before setting once_control to say
11660 initialisation is done. Add hints on lwarx. Use macro in
11662 (clear_once_control): Add release barrier.
11664 2012-09-25 Joseph Myers <joseph@codesourcery.com>
11667 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11669 * math/s_clog10.c (__clog10): Likewise.
11670 * math/s_clog10f.c (__clog10f): Likewise.
11671 * math/s_clog10l.c (__clog10l): Likewise.
11672 * math/s_clogf.c (__clogf): Likewise.
11673 * math/s_clogl.c (__clogl): Likewise.
11674 * math/Makefile (libm-calls): Add x2y2m1.
11675 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11676 (__x2y2m1): Likewise.
11677 (__x2y2m1l): Likewise.
11678 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11679 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11680 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11681 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11682 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11683 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11684 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11685 * sysdeps/i386/fpu/libm-test-ulps: Update.
11686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11689 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11690 int as type of variable DEPTH.
11691 (glob): Use size_t instead of int as type of variables NEWCOUNT
11694 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11696 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11697 Add s_sincosf-sse2.
11698 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11699 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11700 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11701 macros for using routine as __sincosf_ia32.
11702 Use macro for function declaration and weak_alias.
11703 * sysdeps/i386/fpu/libm-test-ulps: Update.
11705 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11708 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
11709 subnormal argument.
11710 * math/s_cexpf.c (__cexpf): Likewise.
11711 * math/s_csinf.c (__csinf): Likewise.
11712 * math/s_csinhf.c (__csinhf): Likewise.
11713 * math/s_ctanf.c (__ctanf): Likewise.
11714 * math/s_ctanhf.c (__ctanhf): Likewise.
11715 * math/s_ccosh.c (__ccoshf): Likewise.
11716 * math/s_cexp.c (__cexpl): Likewise.
11717 * math/s_csin.c (__csin): Likewise.
11718 * math/s_csinh.c (__csinh): Likewise.
11719 * math/s_ctan.c (__ctan): Likewise.
11720 * math/s_ctanh.c (ctanh): Likewise.
11721 * math/s_ccoshl.c (__ccoshl): Likewise.
11722 * math/s_cexpl.c (__cexpl): Likewise.
11723 * math/s_csinl.c (__csinl): Likewise.
11724 * math/s_csinhl.c (__csinhl): Likewise.
11725 * math/s_ctanl.c (__ctanl): Likewise.
11726 * math/s_ctanhl.c (__ctanhl): Likewise.
11728 2012-09-25 Joseph Myers <joseph@codesourcery.com>
11730 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11731 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11732 (_IO_off_t): Define to __off_t, not _G_off_t.
11733 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11734 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11735 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11736 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11737 type of __dummy and __dummy2 fields.
11738 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11739 (_G_ssize_t): Likewise.
11740 (_G_off_t): Likewise.
11741 (_G_pid_t): Likewise.
11742 (_G_uid_t): Likewise.
11743 (_G_wchar_t): Likewise.
11744 (_G_wint_t): Likewise.
11745 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11746 (_G_ssize_t): Likewise.
11747 (_G_off_t): Likewise.
11748 (_G_pid_t): Likewise.
11749 (_G_uid_t): Likewise.
11750 (_G_wchar_t): Likewise.
11751 (_G_wint_t): Likewise.
11752 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11753 (_G_ssize_t): Likewise.
11754 (_G_off_t): Likewise.
11755 (_G_pid_t): Likewise.
11756 (_G_uid_t): Likewise.
11757 (_G_wchar_t): Likewise.
11758 (_G_wint_t): Likewise.
11760 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11762 * malloc/arena.c: Include malloc-sysdep.h.
11763 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11764 is sufficient to shrink the heap or an unmap is needed.
11765 * sysdeps/generic/malloc-sysdep.h: New file. Define
11766 new function check_may_shrink_heap.
11767 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11768 new function check_may_shrink_heap.
11770 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11772 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11775 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11777 * catgets/test-gencat.sh: Add "set -e".
11778 * elf/tst-pathopt.sh: Likewise.
11779 * grp/tst_fgetgrent.sh: Likewise.
11780 * iconvdata/run-iconv-test.sh: Likewise.
11781 * intl/tst-gettext.sh: Likewise.
11782 * intl/tst-gettext2.sh: Likewise.
11783 * intl/tst-gettext4.sh: Likewise.
11784 * intl/tst-gettext6.sh: Likewise.
11785 * intl/tst-translit.sh: Likewise.
11786 * io/ftwtest-sh: Likewise.
11787 * libio/test-freopen.sh: Likewise.
11788 * malloc/tst-mtrace.sh: Likewise.
11789 * posix/globtest.sh: Likewise.
11790 * posix/tst-getconf.sh: Likewise.
11791 * posix/wordexp-tst.sh: Likewise.
11792 * stdio-common/tst-printf.sh: Likewise.
11793 * stdio-common/tst-unbputc.sh: Likewise.
11794 * stdlib/tst-fmtmsg.sh: Likewise.
11795 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11796 * catgets/Makefile: Do not specify -e option when running
11797 testsuite shell scripts.
11798 * elf/Makefile: Likewise.
11799 * grp/Makefile: Likewise.
11800 * iconvdata/Makefile: Likewise.
11801 * intl/Makefile: Likewise.
11802 * io/Makefile: Likewise.
11803 * libio/Makefile: Likewise.
11804 * malloc/Makefile: Likewise.
11805 * posix/Makefile: Likewise.
11806 * stdio-common/Makefile: Likewise.
11807 * stdlib/Makefile: Likewise.
11808 * sysdeps/x86_64/Makefile: Likewise.
11810 * io/ftwtest-sh: Add copyright header.
11811 * posix/globtest.sh: Likewise.
11812 * posix/tst-getconf.sh: Likewise.
11813 * posix/wordexp-tst.sh: Likewise.
11814 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11816 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11819 * Makeconfig (+link): Defined as $(+link-static) if
11820 $(build-shared) isn't yes.
11821 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11823 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11825 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11828 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11829 new chunk size with MALLOC_ALIGN_MASK.
11831 2012-09-24 Joseph Myers <joseph@codesourcery.com>
11834 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11836 (__printf_fphex): Determine rounding using get_rounding_mode and
11838 * stdio-common/tst-printf-round.c (struct hex_test): New
11840 (hex_tests): New variable.
11841 (test_hex_in_one_mode): New function.
11842 (do_test): Also run tests for hex float output.
11844 2012-09-21 Joseph Myers <joseph@codesourcery.com>
11846 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11847 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11848 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11849 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11850 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11851 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11852 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11853 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11855 2012-09-20 Joseph Myers <joseph@codesourcery.com>
11857 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11858 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11859 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11860 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11862 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11865 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11867 * elf/tst-rtld-load-self.sh: New test.
11868 * elf/Makefile: Run it.
11870 2012-09-18 Joseph Myers <joseph@codesourcery.com>
11872 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11873 (tst-writev-ENV): Remove.
11874 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11876 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11878 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11880 2012-09-17 Joseph Myers <joseph@codesourcery.com>
11882 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11884 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11886 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11887 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11888 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11891 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11894 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11895 * config.make.in (have-cpp-asm-debuginfo): Removed.
11896 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11897 * configure: Regenerated.
11899 2012-09-14 Joseph Myers <joseph@codesourcery.com>
11902 * stdio-common/printf_fp.c: Include <stdbool.h> and
11904 (___printf_fp): Determine rounding using get_rounding_mode and
11906 * stdio-common/tst-printf-round.c: New file.
11907 * stdio-common/Makefile (tests): Add tst-printf-round.
11908 (link-libm): New variable.
11909 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11911 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11914 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11915 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11917 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11920 2012-09-13 Joseph Myers <joseph@codesourcery.com>
11922 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11923 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11924 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11925 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11927 2012-09-12 Joseph Myers <joseph@codesourcery.com>
11930 * include/rounding-mode.h: New file.
11931 * sysdeps/generic/get-rounding-mode.h: Likewise.
11932 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11933 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11934 (MAX_VALUE): New macro.
11935 (MIN_VALUE): Likewise.
11936 (overflow_value): New function.
11937 (underflow_value): Likewise.
11938 (round_and_return): Use overflow_value and underflow_value to
11939 determine return values in overflow and underflow cases. Use
11940 round_away to determine rounding depending on rounding mode.
11941 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11942 determine return values in overflow and underflow cases.
11943 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11944 (struct test_results): New structure.
11945 (struct test): Use struct test_results to store expected results
11946 for all rounding modes.
11947 (TEST): Include expected results for all rounding modes.
11948 (test_in_one_mode): New function.
11949 (do_test): Use test_in_one_mode to compute and check results.
11950 Check results for all rounding modes.
11951 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11954 2012-12-09 Allan McRae <allan@archlinux.org>
11956 * sysdeps/i386/fpu/libm-test-ulps: Update
11958 2012-09-11 Joseph Myers <joseph@codesourcery.com>
11960 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11961 (_G_int32_t): Likewise.
11962 (_G_uint16_t): Likewise.
11963 (_G_uint32_t): Likewise.
11964 (_G_HAVE_BOOL): Likewise.
11965 (_G_HAVE_ATEXIT): Likewise.
11966 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11967 (_G_HAVE_IO_FILE_OPEN): Likewise.
11968 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11969 (_G_int32_t): Likewise.
11970 (_G_uint16_t): Likewise.
11971 (_G_uint32_t): Likewise.
11972 (_G_HAVE_BOOL): Likewise.
11973 (_G_HAVE_ATEXIT): Likewise.
11974 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11975 (_G_HAVE_IO_FILE_OPEN): Likewise.
11976 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11977 (_G_int32_t): Likewise.
11978 (_G_uint16_t): Likewise.
11979 (_G_uint32_t): Likewise.
11980 (_G_HAVE_BOOL): Likewise.
11981 (_G_HAVE_ATEXIT): Likewise.
11982 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11983 (_G_HAVE_IO_FILE_OPEN): Likewise.
11985 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11987 * csu/libc-tls.c: Update copyright years.
11989 2012-09-10 Joseph Myers <joseph@codesourcery.com>
11991 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11992 [!_G_USING_THUNKS]: Remove conditional code.
11993 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11994 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11996 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11997 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11998 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11999 (_G_VTABLE_LABEL_PREFIX): Likewise.
12000 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12001 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12002 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12003 (_G_VTABLE_LABEL_PREFIX): Likewise.
12004 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12005 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12006 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12007 (_G_VTABLE_LABEL_PREFIX): Likewise.
12008 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12010 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12012 * libio/Makefile: Include ../Makeconfig before tests.
12013 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12014 only if $(build-shared) is yes.
12016 * iconv/gconv_db.c: Update copyright years.
12018 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12020 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12021 unwind info if defined PIC. Fix special cases description.
12022 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12024 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12026 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12028 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12030 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12032 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12035 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12036 (LDLIBS-tst-chk4): This.
12037 (LDFLAGS-tst-chk5): Renamed to ...
12038 (LDLIBS-tst-chk5): This.
12039 (LDFLAGS-tst-chk6): Renamed to ...
12040 (LDLIBS-tst-chk6): This.
12041 (LDFLAGS-tst-lfschk4): Renamed to ...
12042 (LDLIBS-tst-lfschk4): This.
12043 (LDFLAGS-tst-lfschk5): Renamed to ...
12044 (LDLIBS-tst-lfschk5): This.
12045 (LDFLAGS-tst-lfschk6): Renamed to ...
12046 (LDLIBS-tst-lfschk6): This.
12048 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12049 on $(common-objpfx)soversions.mk.
12051 2012-09-07 Joseph Myers <joseph@codesourcery.com>
12054 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12057 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12059 * malloc/arena.c (arena_get_retry): New function that gets
12060 another arena for the caller to try its request on.
12061 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12062 current arena cannot fulfill the request.
12063 (__libc_memalign): Likewise.
12064 (__libc_memalign): Likewise.
12065 (__libc_pvalloc): Likewise.
12066 (__libc_calloc): Likewise.
12068 2012-09-05 John Tobey <john.tobey@gmail.com>
12071 * manual/arith.texi (Operations on Complex): Fix description
12072 of carg branch cut.
12074 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12077 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12081 * manual/memory.texi (Memory): Make order of menu items match
12084 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12086 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12087 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12088 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12090 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12092 * csu/libc-tls.c (static_dtv): Renamed to ...
12093 (_dl_static_dtv): This. Make it global.
12094 (_dl_initial_dtv): Removed.
12095 (__libc_setup_tls): Updated.
12096 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12097 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12100 2012-09-06 Petr Machata <pmachata@redhat.com>
12102 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12103 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12104 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12105 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12107 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12110 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12111 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12114 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12117 * Makeconfig (link-static-before-libc): Replace $(+prector)
12119 (link-static-after-libc): Replace $(+postctor) with
12121 (link-bounded): Replace $(+prector)/$(+postctor) with
12122 $(+prectorT)/$(+postctorT).
12123 (+prectorT): New macro.
12124 (+postctorT): Likewise.
12126 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12128 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12129 (round_str): Handle values above the maximum for IBM long double
12131 * stdlib/tst-strtod-round.c (tests): Regenerated.
12133 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12135 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12137 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12138 zarch_nohighgprs around the zarch optimized routines.
12139 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12140 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12141 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12144 2012-09-05 David S. Miller <davem@davemloft.net>
12146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12148 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12149 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12150 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12151 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12154 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12156 * malloc/arena.c: Fold copyright years.
12157 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12159 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12161 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12163 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12165 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12167 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12169 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12170 change internal state upon failure.
12172 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12174 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12175 * malloc/memusage.c (mmap): Likewise.
12176 (mmap64, mremap): Likewise. Adjust name in comment.
12178 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12180 * libio/fileops.c: Fix typos in comments.
12181 * libio/oldfileops.c: Likewise.
12182 * libio/wfileops.c: Likewise.
12184 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12187 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12188 (tst-malloc-usable-ENV): Set environment for test case.
12189 * malloc/hooks.c (malloc_check_get_size): New function to get
12191 * malloc/malloc.c (musable): Use malloc_check_get_size.
12192 * malloc/tst-malloc-usable.c: New test case.
12194 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12196 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12198 2012-09-05 Allan McRae <allan@archlinux.org>
12201 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12202 determine header location.
12203 * configure: Regenerated.
12205 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12207 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12209 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12210 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12212 (test): Regenerate.
12214 2012-09-04 David S. Miller <davem@davemloft.net>
12216 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12217 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12218 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12220 2012-09-04 Florian Weimer <fweimer@redhat.com>
12222 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12225 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12227 2012-09-04 Joseph Myers <joseph@codesourcery.com>
12230 * libio/iogetdelim.c: Include <limits.h>.
12231 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12232 + len + 1 would overflow.
12234 2012-09-03 Andreas Jaeger <aj@suse.de>
12236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12237 * sysdeps/i386/fpu/libm-test-ulps: Update.
12239 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12241 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12242 Add s_sinf-sse2, s_conf-sse2.
12244 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12245 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12246 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12247 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12249 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12250 for using routine as __sinf_ia32.
12251 Use macro for function declaration and weak_alias.
12252 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12253 for using routine as __cosf_ia32.
12254 Use macro for function declaration and weak_alias.
12256 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12257 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12259 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12260 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12263 * math/libm-test.inc (cos_test): Add more test cases.
12264 (sin_test): Likewise.
12265 (sincos_test): Likewise.
12267 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12269 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12270 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12272 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12274 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12277 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12278 first element of the GOT.
12279 (elf_machine_load_address): Return the difference between
12280 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12282 2012-09-01 Allan McRae <allan@archlinux.org>
12285 * configure.in (AWK): Require gawk version 3.0 or later.
12286 * configure: Regenerated.
12288 2012-09-01 Joseph Myers <joseph@codesourcery.com>
12290 * sysdeps/unix/sysv/linux/kernel-features.h
12291 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12292 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12293 [__NR_clock_getres]: Make code unconditional.
12294 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12295 (clock_getcpuclockid): Remove code left unreachable by removal of
12297 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12298 code unconditional.
12299 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12300 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12301 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12302 Make code unconditional.
12303 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12304 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12305 * sysdeps/unix/sysv/linux/clock_settime.c
12306 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12308 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12309 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12311 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12314 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12315 scripts/test-installation.pl.
12317 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12318 and $ld_so_version if it is set.
12320 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12323 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12324 failure if reading from procfs failed.
12325 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12327 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12329 * sysdeps/unix/sysv/linux/kernel-features.h
12330 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12331 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12332 Remove conditional code.
12333 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12334 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12335 Remove conditional code.
12336 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12337 * sysdeps/unix/sysv/linux/i386/fxstat.c
12338 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12340 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12341 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12342 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12343 * sysdeps/unix/sysv/linux/i386/lxstat.c
12344 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12345 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12346 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12347 Remove conditional code.
12348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12349 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12350 Remove conditional code.
12351 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12352 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12353 <kernel-features.h>.
12354 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12356 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12357 Remove conditional code.
12358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12359 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12360 Remove conditional.
12362 2012-08-27 Mike Frysinger <vapier@gentoo.org>
12365 * NEWS: Add fixed bug number.
12367 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12370 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12371 underflowing exponent in case of negative sign.
12372 * stdlib/tst-strtod-round-data: Add more tests.
12373 * stdlib/tst-strtod-round.c (tests): Regenerated.
12376 * stdlib/strtod_l.c (NDIG): Remove.
12377 (HEXNDIG): Likewise.
12378 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12379 smallest representable value.
12380 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12381 lie within an exact representation of 1/2 ulp of the result.
12382 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12384 (TENS_P9_IDX): Define unconditionally.
12385 (TENS_P9_SIZE): Likewise.
12386 (TENS_P10_IDX): Likewise.
12387 (TENS_P10_SIZE): Likewise.
12388 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12389 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12390 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12391 entries for 10^2^13 and 10^2^14.
12392 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12393 (TENS_P13_IDX): Define.
12394 (TENS_P13_SIZE): Likewise.
12395 (TENS_P14_IDX): Likewise.
12396 (TENS_P14_SIZE): Likewise.
12397 (_fpioconst_pow10): Change array size to
12398 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12400 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12401 1024]: Add entries for 10^2^13 and 10^2^14.
12402 [LAST_POW10 > _LAST_POW10]: Remove #error.
12403 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12404 (_fpioconst_pow10): Change array size to
12405 FPIOCONST_POW10_ARRAY_SIZE.
12406 * stdlib/gen-fpioconst.c: New file.
12407 * stdlib/gen-tst-strtod-round.c: Likewise.
12408 * stdlib/tst-strtod-round-data: Likewise.
12409 * stdlib/tst-strtod-round.c: Likewise.
12410 * stdlib/Makefile (tests): Add tst-strtod-round.
12413 * stdlib/strtod_l.c: Include <stdint.h>.
12414 (NDEBUG): Do not define.
12415 (round_and_return): Change EXPONENT parameter to type intmax_t.
12416 Rearrange calculations to avoid internal overflow possibilities.
12417 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12418 Rearrange calculations to avoid internal overflow possibilities.
12419 Assert that number fits inside MPNSIZE limbs.
12420 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12421 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12422 calculations and add assertions to avoid internal overflow
12423 possibilities. Add casts to avoid signed/unsigned operations.
12424 * stdlib/tst-strtod-overflow.c: New file.
12425 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12427 2012-08-25 Marek Polacek <polacek@redhat.com>
12429 * time/time.h: Fix some typos in comments.
12431 2012-08-23 Roland McGrath <roland@hack.frob.com>
12433 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12434 * posix/tst-rfc3484-2.c: Likewise.
12435 * posix/tst-rfc3484-3.c: Likewise.
12437 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12439 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12440 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12442 2012-08-23 Joseph Myers <joseph@codesourcery.com>
12444 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12445 #include of fxstatat64.c.
12447 2012-08-22 Roland McGrath <roland@hack.frob.com>
12449 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12450 * shadow/getspent_r.c: Likewise.
12451 * shadow/getspnam.c: Likewise.
12452 * shadow/getspnam_r.c: Likewise.
12453 * gshadow/getsgent.c: Likewise.
12454 * gshadow/getsgent_r.c: Likewise.
12455 * gshadow/getsgnam.c: Likewise.
12456 * gshadow/getsgnam_r.c: Likewise.
12457 * inet/getnetbyad.c: Likewise.
12458 * inet/getnetbyad_r.c: Likewise.
12459 * inet/getnetbynm.c: Likewise.
12460 * inet/getnetbynm_r.c: Likewise.
12461 * inet/getnetent.c: Likewise.
12462 * inet/getnetent_r.c: Likewise.
12463 * inet/getproto.c: Likewise.
12464 * inet/getproto_r.c: Likewise.
12465 * inet/getprtent.c: Likewise.
12466 * inet/getprtent_r.c: Likewise.
12467 * inet/getprtname.c: Likewise.
12468 * inet/getprtname_r.c: Likewise.
12469 * inet/getrpcbyname.c: Likewise.
12470 * inet/getrpcbyname_r.c: Likewise.
12471 * inet/getrpcbynumber.c: Likewise.
12472 * inet/getrpcbynumber_r.c: Likewise.
12473 * inet/getrpcent.c: Likewise.
12474 * inet/getrpcent_r.c: Likewise.
12475 * inet/getaliasent.c: Likewise.
12476 * inet/getaliasent_r.c: Likewise.
12477 * inet/getaliasname.c: Likewise.
12478 * inet/getaliasname_r.c: Likewise.
12479 * nscd/getgrgid_r.c: Likewise.
12480 * nscd/getgrnam_r.c: Likewise.
12481 * nscd/gethstbyad_r.c: Likewise.
12482 * nscd/gethstbynm3_r.c: Likewise.
12483 * nscd/getpwnam_r.c: Likewise.
12484 * nscd/getpwuid_r.c: Likewise.
12485 * nscd/getsrvbynm_r.c: Likewise.
12486 * nscd/getsrvbypt_r.c: Likewise.
12487 * nscd/gai.c: Likewise.
12489 * configure.in (build_nscd): New substituted variable, set
12490 by --disable-build-nscd and defaults to $use_nscd.
12491 * configure: Regenerated.
12492 * config.make.in (build-nscd): New substituted variable.
12493 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12494 Change conditional to require [$(build-nscd) = yes] as well.
12495 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12498 * configure.in (use_nscd): New substituted variable, set by
12499 --disable-nscd. If enabled, define USE_NSCD.
12500 * configure: Regenerated.
12501 * config.h.in: Add USE_NSCD.
12502 * config.make.in (use-nscd): New substituted variable.
12503 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12504 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12505 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12506 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12507 (CFLAGS-getgrnam_r.c): Likewise.
12508 (CFLAGS-initgroups.c): Likewise.
12509 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12510 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12512 * inet/getnetgrent_r.c
12513 (nscd_setnetgrent): New function, broken out of ...
12514 (setnetgrent): ... here. Call it.
12515 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12516 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12517 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12518 * nscd/Makefile (routines, aux): Move definitions after include of
12519 Makeconfig. Conditionalize on [$(use-nscd) != no].
12520 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12521 Conditionalize on [USE_NSCD].
12522 (is_nscd, nscd_init_cb): Likewise.
12523 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12524 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12525 * nss/nss_db/db-init.c: Likewise.
12526 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12528 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12529 (make_request): Use it.
12530 (cache_valid_p): New function.
12531 (__check_pf): Use it.
12532 * NEWS: Add item for --disable-nscd.
12534 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12536 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12537 to support sed >= 4.2.1-20-ga9bf076.
12538 * configure: Regenerated.
12540 2012-08-22 Roland McGrath <roland@hack.frob.com>
12542 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12543 Conditionalize whole body on [IREL].
12545 2012-08-22 Jeff Law <law@redhat.com>
12548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12549 if the family is PF_UNSPEC.
12551 2012-08-22 Mike Frysinger <vapier@gentoo.org>
12553 * Makerules (lib-version): Rename from V.
12554 (install-lib-nosubdir): Change V to lib-version.
12556 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12559 * powerpc32/power6/wcschr.c: New file.
12560 * powerpc32/power6/wcscpy.c: New file.
12561 * powerpc32/power6/wcsrchr.c: New file.
12562 * powerpc64/power6/wcschr.c: New file.
12563 * powerpc64/power6/wcscpy.c: New file.
12564 * powerpc64/power6/wcsrchr.c: New file.
12566 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12568 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12569 (two_way_short_needle): Use it.
12570 * string/strstr.c (AVAILABLE1_USES_J): Define.
12571 * string/strcasestr.c: Likewise.
12573 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12575 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12578 * NEWS: Add an entry.
12579 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12580 define their defaults.
12581 (two_way_short_needle): Detect end-of-string on-the-fly.
12582 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12583 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12584 * string/bug-strcasestr1.c: New test.
12585 * string/Makefile: Run it.
12587 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12590 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12591 the first character.
12593 2012-08-21 Roland McGrath <roland@hack.frob.com>
12595 * csu/elf-init.c (__libc_csu_irel): Function removed.
12596 * csu/libc-start.c (apply_irel): New function.
12597 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12599 2012-08-21 Joseph Myers <joseph@codesourcery.com>
12601 * sysdeps/unix/sysv/linux/kernel-features.h
12602 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12603 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12604 <kernel-features.h>.
12605 [__NR_fadvise64_64]: Make code unconditional.
12606 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12607 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12608 !__NR_fadvise64_64)]: Likewise.
12609 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12610 !__NR_fadvise64_64))]: Likewise.
12611 [__NR_fadvise64]: Make code unconditional.
12612 [!__NR_fadvise64]: Remove conditional code.
12613 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12614 <kernel-features.h>.
12615 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12617 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12620 not include <kernel-features.h>.
12621 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12623 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12625 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12626 include <kernel-features.h>.
12627 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12629 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12632 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12634 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12635 slight instruction rearrangements per scrollpipe analysis.
12636 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12638 2012-08-20 Roland McGrath <roland@hack.frob.com>
12640 * manual/syslog.texi (syslog; vsyslog, closelog):
12641 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12642 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12644 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12645 DSOCAPS to match condition on defining it.
12647 2012-08-20 Joseph Myers <joseph@codesourcery.com>
12649 * sysdeps/unix/sysv/linux/kernel-features.h
12650 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12652 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12653 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12655 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12656 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12658 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12659 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12661 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12662 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12664 * sysdeps/unix/sysv/linux/kernel-features.h
12665 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12666 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12668 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12669 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12670 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12671 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12672 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12673 Make code unconditional.
12674 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12675 (__mmap64) [!__NR_mmap2]: Likewise.
12676 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12677 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12678 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12679 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12680 [__NR_mmap2]: Make code unconditional.
12681 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12682 (__mmap64) [!__NR_mmap2]: Likewise.
12684 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12686 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12688 2012-08-18 Andreas Jaeger <aj@suse.de>
12690 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12692 2012-08-18 Mike Frysinger <vapier@gentoo.org>
12694 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12695 * include/unistd.h (__have_sock_cloexec): Likewise.
12696 (__have_pipe2): Likewise.
12697 (__have_dup3): Likewise.
12699 2012-08-18 Mike Frysinger <vapier@gentoo.org>
12702 * include/unistd.h (__have_pipe2): Change define into an extern int.
12703 (__have_dup3): Likewise.
12704 * socket/have_sock_cloexec.c: Include fcntl.h.
12705 (__have_pipe2): New variable.
12706 (__have_dup3): Likewise.
12708 2012-08-17 Mike Frysinger <vapier@gentoo.org>
12710 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12712 2012-08-17 Marek Polacek <polacek@redhat.com>
12714 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12715 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12717 2012-08-17 Roland McGrath <roland@hack.frob.com>
12719 * configure.in: Add AC_SUBST for sysheaders.
12720 * configure: Regenerated.
12721 * config.make.in (sysheaders): New substituted variable.
12723 * sysdeps/unix/mkfifo.c: Moved ...
12724 * sysdeps/posix/mkfifo.c: ... here.
12725 * sysdeps/unix/mkfifoat.c: Moved ...
12726 * sysdeps/posix/mkfifoat.c: ... here.
12728 * sysdeps/unix/utime.c: Moved ...
12729 * sysdeps/posix/utime.c: ... here.
12731 * sysdeps/unix/time.c: Moved ...
12732 * sysdeps/posix/time.c: ... here.
12733 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12734 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
12736 * sysdeps/unix/nice.c: Moved ...
12737 * sysdeps/posix/nice.c: ... here.
12739 * sysdeps/unix/alarm.c: Moved ...
12740 * sysdeps/posix/alarm.c: ... here.
12742 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12744 2012-08-17 Jeff Law <law@redhat.com>
12746 * intl/Makefile (codeset_mo): New variable.
12747 ($(codeset_mo)): New target.
12748 (tst-codeset.out): Depend on that. Remove explicit rule.
12749 (tst-gettext3.out, tst-gettext5.out): Likewise.
12750 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12751 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12752 * intl/tst-codeset.sh: Remove.
12753 * intl/tst-gettext3.sh: Likewise.
12754 * intl/tst-gettext5.sh: Likewise.
12756 2012-08-17 Roland McGrath <roland@hack.frob.com>
12758 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12759 * sysdeps/unix/syscalls.list: ... here.
12761 * sysdeps/posix/getaddrinfo.c
12762 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12763 (gaiconf_init, gaiconf_reload): Use them.
12764 [!_STATBUF_ST_NSEC]
12765 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12766 Define using time_t rather than struct timespec.
12768 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12769 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12771 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12773 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12774 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12777 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12778 __libc_cleanup_push argument.
12780 * bits/param.h: New file.
12781 * misc/sys/param.h: New file.
12782 * include/sys/param.h: New file.
12783 * misc/Makefile (headers): Add bits/param.h.
12784 * sysdeps/generic/sys/param.h: File removed.
12785 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12786 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12787 * sysdeps/mach/hurd/bits/param.h: New file.
12788 * sysdeps/mach/hurd/sys/param.h: File removed.
12790 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12793 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12795 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12796 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12799 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12800 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12801 rather than -D_IO_MTSAFE_IO conditionally.
12802 * stdio-common/Makefile (CPPFLAGS): Likewise.
12803 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12804 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12805 Use $(libio-mtsafe).
12806 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12807 of -D_IO_MTSAFE_IO.
12808 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12809 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12810 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12811 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12812 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12813 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12814 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12815 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12816 (CFLAGS-fread_u_chk.c): Likewise.
12817 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12818 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12819 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12820 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12821 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12822 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12823 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12824 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12825 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12827 * libio/Makefile: Test [$(libc-reentrant) = yes]
12828 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12831 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12832 * sysdeps/pthread/configure: File removed.
12833 * sysdeps/pthread/Makeconfig: New file.
12834 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12835 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12837 2012-08-16 Gary Benson <gbenson@redhat.com>
12839 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12840 unmapping the first object in a namespace.
12842 2012-08-16 Roland McGrath <roland@hack.frob.com>
12844 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12845 (__internal_setnetgrent): ... this. Add internal_function to
12846 definition. Add libc_hidden_def.
12847 (setnetgrent): Update caller.
12848 (internal_endnetgrent): Renamed to ...
12849 (__internal_endnetgrent): ... this. Add internal_function to
12850 definition. Add libc_hidden_def.
12851 (endnetgrent): Update caller.
12852 (internal_getnetgrent_r): Renamed to ...
12853 (__internal_getnetgrent_r): ... this. Add internal_function to
12854 definition. Add libc_hidden_def.
12855 (__getnetgrent_r): Update caller.
12856 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12858 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12860 * stdlib/longlong.h: Update from GCC.
12862 2012-08-16 Roland McGrath <roland@hack.frob.com>
12864 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12865 on _QL, which is set by umul_ppmm but never used.
12866 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12867 variables, which are set by GMP macros but never used.
12868 * stdio-common/_itowa.c (_itowa): Likewise.
12869 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12870 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12872 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12874 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12875 struct La_sh_regs is not constant.
12876 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12877 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12878 and struct La_sparc64_regs are not constant.
12880 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12882 * sysdeps/unix/sysv/linux/kernel-features.h
12883 (__ASSUME_POSIX_TIMERS): Remove.
12884 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12885 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12886 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12887 Make code unconditional.
12888 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12889 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12890 Make code unconditional.
12891 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12892 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12893 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12894 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12895 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12896 Make code unconditional.
12897 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12898 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12899 (__libc_missing_posix_timers): Remove.
12901 2012-08-15 Roland McGrath <roland@hack.frob.com>
12903 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12904 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12906 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12908 * elf/dl-sym.c: Include <stdlib.h>.
12910 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12911 constants, which avoids warnings in 32-bit builds.
12913 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12914 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12916 * misc/lseek.c: File moved to ...
12917 * io/lseek.c: ... here.
12919 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12921 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12922 shifting LEN more than 31 bits at once.
12924 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12927 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12928 segmentation fault for a case of two empty input strings.
12929 * string/test-strncasecmp.c (check1): Renamed to...
12930 (bz12205): ...this.
12931 (bz14195): Add new testcase for two empty input strings and N > 0.
12932 (test_main): Call new testcase, adapt for renamed function.
12934 2012-08-15 Andreas Jaeger <aj@suse.de>
12937 * crypt/md5test2.c: New test, based on test supplied by Serge
12938 Belyshev <belyshev@depni.sinp.msu.ru>.
12939 * crypt/Makefile (xtests): Add md5test-giant..
12940 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12942 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12945 * crypt/md5.c (md5_process_block): Don't assume the buffer
12946 length is less than 2**32.
12947 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12948 length is less than 2**64.
12950 2012-08-15 Roland McGrath <roland@hack.frob.com>
12952 * string/str-two-way.h: Include <sys/param.h>.
12953 (MAX): Macro removed.
12955 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12956 Move #define and #undef of memmove to just before and after
12957 including <string.h>.
12959 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12960 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12961 and after including <string.h>. Move declarations of
12962 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12963 to before #include "string/memmove.c".
12965 * include/dirent.h: Declare __getdirentries.
12967 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12968 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12970 2012-08-14 Mike Frysinger <vapier@gentoo.org>
12972 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12973 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12974 * sysdeps/i386/configure: Regenerated.
12975 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12976 STABS_CURRENT_FILE, and STABS_FUN.
12977 (END): Remove call to STABS_FUN_END.
12978 (STABS_CURRENT_FILE1): Delete.
12979 (STABS_CURRENT_FILE): Likewise.
12980 (STABS_FUN): Likewise.
12981 (STABS_FUN_END): Likewise.
12982 (STABS_FUN2): Likewise.
12983 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12984 * sysdeps/x86_64/configure: Regenerated.
12986 2012-08-14 Roland McGrath <roland@hack.frob.com>
12988 * elf/dl-open.c: Include <atomic.h>.
12989 * elf/dl-lookup.c: Likewise.
12991 2012-08-14 Joseph Myers <joseph@codesourcery.com>
12993 * sysdeps/unix/sysv/linux/kernel-features.h
12994 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12995 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12997 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12999 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13000 condition on __ASSUME_CLONE_THREAD_FLAGS.
13002 2012-08-14 Andreas Jaeger <aj@suse.de>
13004 * sysdeps/i386/fpu/libm-test-ulps: Update.
13006 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13008 * include/atomic.h (atomic_exchange_and_add): Split into ...
13009 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13012 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13016 2012-08-13 Jeff Law <law@redhat.com>
13018 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13019 null byte in the output string.
13021 2012-08-10 Joseph Myers <joseph@codesourcery.com>
13023 * sysdeps/unix/sysv/linux/kernel-features.h
13024 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13025 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13026 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13027 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13028 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13029 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13030 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13032 2012-08-09 Jeff Law <law@redhat.com>
13035 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13036 When avoid_arena is set, don't retry in the that arena. Pick the
13037 next one, whatever it might be.
13038 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13039 (arena_lock): Pass in new parameter to arena_get2.
13040 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13042 (__libc_malloc): Unify retrying after main arena failure with
13043 __libc_memalign version.
13044 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13046 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13049 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13050 to __redirect_strstr.
13051 (__strstr_sse42): Use typeof __redirect_strstr.
13052 (__strstr_ia32): Likewise.
13053 (__libc_strstr): New prototype.
13054 (strstr): Renamed to ...
13055 (__libc_strstr): This.
13056 (strstr): New strong alias of __libc_strstr.
13057 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13058 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13061 (__libc_time): New prototype.
13062 (time_ifunc): Replace time with __libc_time.
13063 (time): New strong alias and hidden definition of __libc_time.
13064 (__GI_time): Remove strong alias.
13065 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13066 Include <stddef.h>.
13067 (memmove): Redefined to __redirect_memmove.
13068 (__memmove_sse2): Use typeof __redirect_memmove.
13069 (__memmove_ssse3): Likewise.
13070 (__memmove_ssse3_back): Likewise.
13071 (__libc_memmove): New prototype.
13072 (memmove): Renamed to ...
13073 (__libc_memmove): This.
13074 (memmove): New strong alias of __libc_memmove.
13076 2012-08-08 Mark Salter <msalter@redhat.com>
13079 (R_MN10300_TLS_GD): Define.
13080 (R_MN10300_TLS_LD): Likewise.
13081 (R_MN10300_TLS_LDO): Likewise.
13082 (R_MN10300_TLS_GOTIE): Likewise.
13083 (R_MN10300_TLS_IE): Likewise.
13084 (R_MN10300_TLS_LE): Likewise.
13085 (R_MN10300_TLS_DTPMOD): Likewise.
13086 (R_MN10300_TLS_DTPOFF): Likewise.
13087 (R_MN10300_TLS_TPOFF): Likewise.
13088 (R_MN10300_SYM_DIFF): Likewise.
13089 (R_MN10300_ALIGN): Likewise.
13090 (R_MN10300_NUM): Update.
13092 2012-08-08 Joseph Myers <joseph@codesourcery.com>
13094 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13097 2012-08-08 Roland McGrath <roland@hack.frob.com>
13099 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13101 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13102 sysdeps/unix -> sysdeps/posix move.
13103 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13105 2012-08-07 Allan McRae <allan@archlinux.org>
13108 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13109 (SUNOS_CPP): Likewise.
13110 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13112 (open_input): Call CPP using execvp.
13114 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13116 * sysdeps/unix/sysv/linux/kernel-features.h
13117 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13118 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13119 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13120 (__ASSUME_WAITID_SYSCALL): Likewise.
13121 * sysdeps/unix/sysv/linux/dl-execstack.c
13122 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13123 code unconditional.
13124 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13126 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13127 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13128 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13130 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13132 [__ASSUME_WAITID_SYSCALL]: Likewise.
13133 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13135 2012-08-07 Roland McGrath <roland@hack.frob.com>
13137 * sysdeps/unix/closedir.c: Renamed to ...
13138 * sysdeps/posix/closedir.c: ... here.
13139 * sysdeps/unix/dirfd.c: Renamed to ...
13140 * sysdeps/posix/dirfd.c: ... here.
13141 * sysdeps/unix/dirstream.h: Renamed to ...
13142 * sysdeps/posix/dirstream.h: ... here.
13143 * sysdeps/unix/fdopendir.c: Renamed to ...
13144 * sysdeps/posix/fdopendir.c: ... here.
13145 * sysdeps/unix/opendir.c: Renamed to ...
13146 * sysdeps/posix/opendir.c: ... here.
13147 * sysdeps/unix/readdir.c: Renamed to ...
13148 * sysdeps/posix/readdir.c: ... here.
13149 * sysdeps/unix/readdir_r.c: Renamed to ...
13150 * sysdeps/posix/readdir_r.c: ... here.
13151 * sysdeps/unix/rewinddir.c: Renamed to ...
13152 * sysdeps/posix/rewinddir.c: ... here.
13153 * sysdeps/unix/seekdir.c: Renamed to ...
13154 * sysdeps/posix/seekdir.c: ... here.
13155 * sysdeps/unix/telldir.c: Renamed to ...
13156 * sysdeps/posix/telldir.c: ... here.
13157 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13158 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13159 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13160 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13162 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13163 * bits/fcntl.h: ... here.
13165 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13167 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13168 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13169 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13170 (struct flock): Move l_start, l_len to the beginning.
13171 Use __pid_t for l_pid.
13172 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13173 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13174 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13175 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13176 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13177 [__USE_LARGEFILE64] (struct flock64): New type.
13178 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13180 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13181 * bits/dirent.h: ... here.
13183 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13184 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13186 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13188 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13189 Change from 2.6.0 to 2.6.16.
13190 * sysdeps/unix/sysv/linux/configure: Regenerated.
13191 * sysdeps/unix/sysv/linux/kernel-features.h
13192 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13193 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13195 (__ASSUME_UTIMES): Likewise.
13196 (__ASSUME_CLONE_STOPPED): Remove.
13197 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13198 architectures, not kernel version.
13199 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13200 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13201 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13202 (__ASSUME_WAITID_SYSCALL): Likewise.
13203 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13204 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13205 * README: State 2.6.16 as minimum Linux kernel version. Do not
13206 refer to older versions.
13208 2012-08-06 Roland McGrath <roland@hack.frob.com>
13210 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13211 Define alphasort64 as an alias.
13212 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13213 Define versionsort64 as an alias.
13214 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13215 Define scandir64 as an alias.
13216 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13217 Define scandirat64 as an alias.
13218 * dirent/alphasort64.c (alphasort64):
13219 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13220 * dirent/versionsort64.c: Likewise.
13221 * dirent/scandir64.c: Likewise.
13222 * dirent/scandirat64.c: Likewise.
13223 * sysdeps/wordsize-64/alphasort.c: File removed.
13224 * sysdeps/wordsize-64/alphasort64.c: File removed.
13225 * sysdeps/wordsize-64/scandir.c: File removed.
13226 * sysdeps/wordsize-64/scandir64.c: File removed.
13227 * sysdeps/wordsize-64/scandirat.c: File removed.
13228 * sysdeps/wordsize-64/scandirat64.c: File removed.
13229 * sysdeps/wordsize-64/versionsort.c: File removed.
13230 * sysdeps/wordsize-64/versionsort64.c: File removed.
13231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13232 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13233 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13234 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13235 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13236 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13237 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13238 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13240 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13241 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13242 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13243 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13244 [defined __arch64__ || defined __sparcv9]
13245 (__INO_T_MATCHES_INO64_T): New macro.
13246 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13247 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13248 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13249 * sysdeps/unix/sysv/linux/bits/dirent.h
13250 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13251 (_DIRENT_MATCHES_DIRENT64): New macro.
13253 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13254 Define lockf64 as an alias.
13255 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13256 Define fseeko64 as an alias.
13257 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13258 Define ftello64 as an alias.
13259 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13260 Define _IO_fgetpos64 and fgetpos64 as aliases.
13261 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13262 Define _IO_fsetpos64 and fsetpos64 as aliases.
13263 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13264 Conditionalize body on this.
13265 * libio/fseeko64.c: Likewise.
13266 * libio/ftello64.c: Likewise.
13267 * libio/iofgetpos64.c: Likewise.
13268 * libio/iofsetpos64.c: Likewise.
13269 * sysdeps/wordsize-64/lockf.c: File removed.
13270 * sysdeps/wordsize-64/lockf64.c: File removed.
13271 * sysdeps/wordsize-64/fseeko.c: File removed.
13272 * sysdeps/wordsize-64/fseeko64.c: File removed.
13273 * sysdeps/wordsize-64/ftello.c: File removed.
13274 * sysdeps/wordsize-64/ftello64.c: File removed.
13275 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13276 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13277 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13278 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13279 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13280 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13281 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13282 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13283 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13284 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13285 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13286 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13287 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13288 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13290 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13291 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13292 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13293 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13294 [defined __arch64__ || defined __sparcv9]
13295 (__OFF_T_MATCHES_OFF64_T): New macro.
13296 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13297 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13298 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13299 (__OFF_T_MATCHES_OFF64_T): New macro.
13301 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13303 * stdlib/secure-getenv.c (__secure_getenv): Replace
13304 GLIBC_2_16 with GLIBC_2_17.
13306 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13308 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13309 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13311 2012-08-03 David S. Miller <davem@davemloft.net>
13313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13315 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13317 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13319 (__ASSUME_CORRECT_SI_PID): Likewise.
13320 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13321 (__ASSUME_TMPFS_NAME): Likewise.
13322 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13323 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13324 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13325 (HAVE_AUX_SECURE): Make definition unconditional.
13326 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13327 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13329 2012-08-03 Roland McGrath <roland@hack.frob.com>
13331 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13332 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13333 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13334 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13335 __eloop_threshold instead of SYMLOOP_MAX.
13337 * sysdeps/generic/eloop-threshold.h: New file.
13338 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13340 * elf/chroot_canon.c (chroot_canon): Likewise.
13342 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13345 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13346 Change to 2.6.0 everywhere.
13347 * sysdeps/unix/sysv/linux/configure: Regenerated.
13348 * sysdeps/unix/sysv/linux/kernel-features.h
13349 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13350 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13352 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13353 (__ASSUME_FUTEX_REQUEUE): Remove.
13354 (__ASSUME_STATFS64): Define unconditionally.
13355 (__ASSUME_AT_SECURE): Likewise.
13356 (__ASSUME_CORRECT_SI_PID): Likewise.
13357 (__ASSUME_TGKILL): Define without depending on kernel version for
13359 (__ASSUME_UTIMES): Likewise.
13360 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13362 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13363 (__ASSUME_TMPFS_NAME): Likewise.
13364 * README: Update reference to Linux kernel versions.
13366 2012-08-02 Marek Polacek <polacek@redhat.com>
13369 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13370 libc_cv_asm_type_prefix with %.
13371 * configure: Regenerated.
13372 * include/libc-symbols.h: Remove comment about
13373 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13374 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13375 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13376 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13377 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13378 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13379 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13380 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13381 * elf/tst-unique2mod1.c: Likewise.
13382 * elf/tst-unique1mod2.c: Likewise.
13383 * elf/tst-unique1mod1.c: Likewise.
13384 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13385 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13386 Replace ASM_TYPE_DIRECTIVE with .type.
13387 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13388 * sysdeps/i386/sysdep.h: Likewise.
13389 * sysdeps/x86_64/sysdep.h: Likewise.
13390 * sysdeps/sh/sysdep.h: Likewise.
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13392 Do not define ASM_TYPE_DIRECTIVE.
13393 * sysdeps/powerpc/sysdep.h: Likewise.
13394 * sysdeps/powerpc/powerpc32/sysdep.h:
13395 Replace ASM_TYPE_DIRECTIVE with .type.
13396 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13397 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13398 * sysdeps/i386/fpu/e_powf.S: Likewise.
13399 * sysdeps/i386/fpu/e_expl.S: Likewise.
13400 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13401 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13402 * sysdeps/i386/fpu/e_pow.S: Likewise.
13403 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13404 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13405 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13406 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13407 * sysdeps/i386/fpu/e_log2.S: Likewise.
13408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13409 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13410 * sysdeps/i386/fpu/e_powl.S: Likewise.
13411 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13412 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13413 * sysdeps/i386/fpu/e_logl.S: Likewise.
13414 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13415 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13416 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13417 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13418 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13419 * sysdeps/i386/fpu/e_log.S: Likewise.
13420 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13421 * sysdeps/i386/fpu/e_logf.S: Likewise.
13422 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13423 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13424 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13425 * sysdeps/i386/fpu/e_log10.S: Likewise.
13426 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13427 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13428 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13429 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13430 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13431 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13432 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13433 * sysdeps/i386/i686/strtok.S: Likewise.
13434 * sysdeps/i386/i386-mcount.S: Likewise.
13435 * sysdeps/i386/strtok.S: Likewise.
13436 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13437 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13438 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13439 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13440 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13441 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13442 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13443 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13444 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13445 * sysdeps/x86_64/_mcount.S: Likewise.
13446 * sysdeps/x86_64/strtok.S: Likewise.
13447 * sysdeps/sh/_mcount.S: Likewise.
13449 2012-08-01 Roland McGrath <roland@hack.frob.com>
13451 * libio/iofopen.c: Include <fcntl.h>.
13452 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13453 (_IO_fopen64, fopen64): Define as aliases.
13454 * libio/iofopen64.c: Include <fcntl.h>.
13455 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13456 Conditionalize body on this.
13457 * sysdeps/wordsize-64/iofopen.c: File removed.
13458 * sysdeps/wordsize-64/iofopen64.c: File removed.
13460 2012-08-01 Marek Polacek <polacek@redhat.com>
13462 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13463 Use dlfcn directly instead of a variable.
13464 (binfmt-subdir): Do not define.
13467 2012-08-01 Joseph Myers <joseph@codesourcery.com>
13469 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13470 Remove all definitions.
13471 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13472 <kernel-features.h>.
13473 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13474 (miss_F_GETOWN_EX): Remove all definitions.
13475 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13477 [!__ASSUME_FCNTL64]: Remove conditional code.
13478 [__ASSUME_FCNTL64]: Make code unconditional.
13479 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13480 <kernel-features.h>.
13481 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13482 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13483 (lockf64) [__NR_fcntl64]: Make code unconditional.
13484 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13486 * sysdeps/unix/sysv/linux/kernel-features.h
13487 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13488 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13489 Make code unconditional.
13490 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13491 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13493 [__NR_vfork]: Make code unconditional.
13494 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13495 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13497 [__NR_vfork]: Make code unconditional.
13498 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13499 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13501 2012-08-01 Roland McGrath <roland@hack.frob.com>
13503 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13504 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13506 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13507 Define mkstemp64 as an alias.
13508 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13509 Define mkstemps64 as an alias.
13510 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13511 Define mkostemp64 as an alias.
13512 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13513 Define mkostemps64 as an alias.
13514 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13515 Conditionalize body on this.
13516 * misc/mkostemp64.c: Likewise.
13517 * misc/mkostemps64.c: Likewise.
13518 * misc/mkstemps64.c: Likewise.
13519 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13520 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13521 * sysdeps/wordsize-64/mkostemp.c: File removed.
13522 * sysdeps/wordsize-64/mkstemp.c: File removed.
13523 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13524 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13525 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13526 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13529 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13530 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13531 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13532 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13534 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13535 compat_symbol macros from <shlib-compat.h> rather than the underlying
13536 default_symbol_version and symbol_version macros, so that DEFAULT
13537 lines in shlib-versions are respected.
13538 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13540 2012-08-01 Florian Weimer <fweimer@redhat.com>
13542 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13543 Declare with warn_unused_result.
13544 (setgid, setregid, setegid, setresgid): Likewise.
13545 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13547 * WUR-REPORT: Remove set*id functions.
13549 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13551 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13553 2012-07-31 Roland McGrath <roland@hack.frob.com>
13556 * include/sys/socket.h (__libc_accept, __libc_accept4):
13557 Add attribute_hidden.
13558 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13560 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13562 * inet/getnetgrent_r.c (setup): Likewise.
13564 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13566 2012-07-31 David S. Miller <davem@davemloft.net>
13568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13570 2012-07-31 Joseph Myers <joseph@codesourcery.com>
13573 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13574 value between 1.0 and 2.0 and smaller part has absolute value less
13576 * math/s_clog10.c (__clog10): Likewise.
13577 * math/s_clog10f.c (__clog10f): Likewise.
13578 * math/s_clog10l.c (__clog10l): Likewise.
13579 * math/s_clogf.c (__clogf): Likewise.
13580 * math/s_clogl.c (__clogl): Likewise.
13581 * math/libm-test.inc (clog_test): Add more tests.
13582 (clog10_test): Likewise.
13583 * sysdeps/i386/fpu/libm-test-ulps: Update.
13584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13586 2012-07-31 Florian Weimer <fweimer@redhat.com>
13588 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13589 Exit with zero in case no suitable GID is found, and write a
13590 message to standard error.
13592 2012-07-30 Roland McGrath <roland@hack.frob.com>
13594 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13596 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13597 (MAXPATHLEN): Removed.
13598 (NOGROUP, NODEV): New macros.
13599 (setbit, clrbit, isset, isclr): New macros.
13600 (howmany, roundup, powerof2): New macros.
13601 (DEV_BSIZE): New macro.
13603 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13604 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13606 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13607 definition on [!__NO_LONG_DOUBLE_MATH].
13609 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13610 PTR_MANGLE and PTR_DEMANGLE.
13612 * socket/accept4.c (accept4): Rename to __libc_accept4.
13613 Define accept4 as a weak alias.
13615 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13616 on [_DIRENT_HAVE_D_TYPE].
13617 * io/ftw.c (ftw_dir): Likewise.
13619 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13621 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13623 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13624 Use the BSD numbers rather than the arbitrary ones we had.
13625 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13626 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13627 (SIGXCPU, SIGXFSZ): New macros.
13630 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13631 initializer on [_LIBC_REENTRANT].
13633 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13634 definitions inside [_POSIX_MAPPED_FILES].
13636 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13638 * dirent/opendir.c: Include <fcntl.h>.
13640 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13641 (__libc_getspecific): Likewise.
13642 (__libc_key_create): Likewise.
13644 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13645 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13646 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13647 (tmpfile64): Define as alias.
13648 * sysdeps/wordsize-64/tmpfile.c: File removed.
13649 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13650 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13651 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13653 * stdio-common/vfscanf.c: Include <stdbool.h>.
13654 * nss/makedb.c: Likewise.
13655 * stdio-common/_i18n_number.h: Likewise.
13656 * argp/argp-help.c: Likewise.
13657 * posix/wordexp.c: Likewise.
13658 * sysdeps/posix/spawni.c: Likewise.
13659 * nss/nss_files/files-initgroups.c: Likewise.
13660 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13661 * nss/nss_files/files-initgroups.c: Likewise.
13662 * nss/nss_db/db-netgrp.c: Likewise.
13663 * nss/nss_db/db-initgroups.c: Likewise.
13664 * io/fchmodat.c: Include <sys/stat.h>.
13666 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13667 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13669 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13672 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13673 Add multiple inclusion protection.
13675 2012-07-27 David S. Miller <davem@davemloft.net>
13677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13679 2012-07-27 Gary Benson <gbenson@redhat.com>
13682 * elf/rtld.c: Include <stap-probe.h>.
13683 (dl_main): Added static probes "init_start" and "init_complete".
13684 * elf/dl-load.c: Include <stap-probe.h>.
13685 (lose): Take new parameter "nsid".
13686 Added static probe "map_failed".
13687 (_dl_map_object_from_fd): Pass namespace id to lose.
13688 Added static probe "map_start".
13689 (open_verify): Pass namespace id to lose.
13690 * elf/dl-open.c: Include <stap-probe.h>.
13691 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13692 and "reloc_complete".
13693 * elf/dl-close.c: Include <stap-probe.h>.
13694 (_dl_close_worker): Added static probes "unmap_start" and
13696 * elf/rtld-debugger-interface.txt: New file documenting the above.
13698 2012-07-26 Roland McGrath <roland@hack.frob.com>
13700 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13701 rather than a string variable.
13702 * sunrpc/rpc_main.c (h_output): Likewise.
13703 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13705 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13707 * inet/check_native.c: New file.
13709 2012-07-26 Joseph Myers <joseph@codesourcery.com>
13712 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13713 if larger part has absolute value 1.0.
13714 * math/s_clog10.c (__clog10): Likewise.
13715 * math/s_clog10f.c (__clog10f): Likewise.
13716 * math/s_clog10l.c (__clog10l): Likewise.
13717 * math/s_clogf.c (__clogf): Likewise.
13718 * math/s_clogl.c (__clogl): Likewise.
13719 * math/libm-test.inc (clog_test): Add more tests.
13720 (clog10_test): Likewise.
13721 * sysdeps/i386/fpu/libm-test-ulps: Update.
13722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13724 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13725 (pltexit): Likewise.
13726 (La_regs): Likewise.
13727 (La_retval): Likewise.
13728 (int_retval): Likewise.
13729 Update #error for removed macros to refer only to definitions in
13731 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13733 (pltexit): Likewise.
13734 (La_regs): Likewise.
13735 (La_retval): Likewise.
13736 (int_retval): Likewise.
13737 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13739 (pltexit): Likewise.
13740 (La_regs): Likewise.
13741 (La_retval): Likewise.
13742 (int_retval): Likewise.
13743 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13745 (pltexit): Likewise.
13746 (La_regs): Likewise.
13747 (La_retval): Likewise.
13748 (int_retval): Likewise.
13749 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13751 (pltexit): Likewise.
13752 (La_regs): Likewise.
13753 (La_retval): Likewise.
13754 (int_retval): Likewise.
13755 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13757 (pltexit): Likewise.
13758 (La_regs): Likewise.
13759 (La_retval): Likewise.
13760 (int_retval): Likewise.
13761 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13763 (pltexit): Likewise.
13764 (La_regs): Likewise.
13765 (La_retval): Likewise.
13766 (int_retval): Likewise.
13767 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13768 macro definitions in tst-audit.h.
13769 * sysdeps/i386/tst-audit.h: New file.
13770 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13771 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13772 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13773 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13774 * sysdeps/sh/tst-audit.h: Likewise.
13775 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13776 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13777 * sysdeps/x86_64/tst-audit.h: Likewise.
13779 2012-07-26 Andreas Jaeger <aj@suse.de>
13781 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13784 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13785 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13786 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13788 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13789 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13790 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13792 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13795 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13797 (si_call_addr, si_syscall, si_arch): Define new macro.
13798 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13800 (si_call_addr, si_syscall, si_arch): Define new marcro.
13801 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13803 (si_call_addr, si_syscall, si_arch): Define new macro.
13804 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13806 (si_call_addr, si_syscall, si_arch): Define new macro.
13808 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13812 Change to 2.4.21 where previously 2.4.1.
13813 * sysdeps/unix/sysv/linux/configure: Regenerated.
13814 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13815 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13816 Linux kernel version.
13817 (__ASSUME_STD_AUXV): Remove.
13818 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13820 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13821 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13822 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13823 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13824 (__ASSUME_NETLINK_SUPPORT): Likewise.
13825 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13826 (__no_netlink_support): Remove conditional definition.
13827 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13829 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13830 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13831 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13832 (if_nameindex_ioctl): Remove.
13833 (if_nameindex_netlink): Do not handle __no_netlink_support.
13834 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13836 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13837 Remove conditional code.
13838 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13840 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13842 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13843 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13844 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13846 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13847 [!__ASSUME_STD_AUXV]: Remove conditional code.
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13849 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13850 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13852 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13853 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13855 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13857 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13858 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13860 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13862 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13865 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13868 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13869 code unconditional.
13870 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13872 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13874 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13877 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13879 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13882 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13883 code unconditional.
13884 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13886 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13888 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13891 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13892 code unconditional.
13893 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13895 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13897 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13900 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13902 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13903 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13904 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13905 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13906 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13907 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13908 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13909 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13910 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13911 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13912 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13913 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13914 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13915 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13916 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13917 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13918 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13919 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13920 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13922 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13923 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13924 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13926 2012-07-25 Florian Weimer <fweimer@redhat.com>
13928 * Versions.def: Add GLIBC_2.17.
13929 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13930 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13931 Introduce __libc_secure_getenv.
13932 * stdlib/Versions (2.17): Add secure_getenv
13933 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13934 * stdlib/secure-getenv.c: Rename __secure_getenv to
13935 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13936 symbol __secure_getenv for GLIBC_2.0.
13937 * stdlib/tst-secure-getenv.c: New.
13938 * stdlib/Makefile (tests): Add testcase.
13939 * manual/startup.texi (Environment Access): Document
13941 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13942 __libc_secure_getenv.
13943 * inet/ruserpass.c (ruserpass): Likewise.
13944 * malloc/mtrace.c (mtrace): Likewise.
13945 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13946 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13947 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13948 * sysdeps/posix/tempname.c: Likewise. Evaluate
13949 HAVE_SECURE_GETENV.
13950 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13951 __secure_getenv to __libc_secure_getenv.
13952 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13965 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13967 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13968 (struct La_i86_retval): Likewise.
13969 (struct La_x86_64_regs): Likewise.
13970 (struct La_x86_64_retval): Likewise.
13971 (struct La_x32_regs): Likewise.
13972 (struct La_x32_retval): Likewise.
13973 (struct La_ppc32_regs): Likewise.
13974 (struct La_ppc32_retval): Likewise.
13975 (struct La_ppc64_regs): Likewise.
13976 (struct La_ppc64_retval): Likewise.
13977 (struct La_sh_regs): Likewise.
13978 (struct La_sh_retval): Likewise.
13979 (struct La_s390_32_regs): Likewise.
13980 (struct La_s390_32_retval): Likewise.
13981 (struct La_s390_64_regs): Likewise.
13982 (struct La_s390_64_retval): Likewise.
13983 (struct La_sparc32_regs): Likewise.
13984 (struct La_sparc32_retval): Likewise.
13985 (struct La_sparc64_regs): Likewise.
13986 (struct La_sparc64_retval): Likewise.
13987 (struct audit_ifaces): Remove architecture-specific pltenter and
13989 * sysdeps/i386/ldsodefs.h: New file.
13990 * sysdeps/powerpc/ldsodefs.h: Likewise.
13991 * sysdeps/s390/ldsodefs.h: Likewise.
13992 * sysdeps/sh/ldsodefs.h: Likewise.
13993 * sysdeps/sparc/ldsodefs.h: Likewise.
13994 * sysdeps/x86_64/ldsodefs.h: Likewise.
13996 2012-07-25 Marek Polacek <polacek@redhat.com>
13999 * math/libm-test.inc (yn_test): Add another test.
14000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14001 to ERANGE when the result is +-Inf.
14002 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14003 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14004 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14005 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14007 2012-07-24 Joseph Myers <joseph@codesourcery.com>
14009 * conform/data/time.h-data (NULL): Use macro-constant. Require
14011 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14013 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14015 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14017 * configure.in <sysdeps resolving>: Correct printing
14019 * configure: Regenerate.
14021 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14023 * math/w_ilogb.c: Include <limits.h>.
14024 * math/w_ilogbl.c: Likewise.
14026 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14028 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14029 va_copy. Document allowing for unavailable va_copy only as
14030 pre-C99 compatibility.
14031 * manual/string.texi (Copying and Concatenation): Use va_copy
14032 instead of __va_copy in concat example.
14034 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14036 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14037 (__sendto): Use create_address_port. Initialize APORT and deallocate
14040 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14041 with O_NOLINK passed to __file_name_lookup.
14043 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14044 with O_NOLINK passed to __file_name_lookup.
14046 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14047 negative N or less than NGIDS.
14049 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14050 type to string_t. Set ERANGE as errno and return it if NAME is not big
14051 enough. Use memcpy instead of strncpy.
14053 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14055 * elf/Makefile (check-data): Remove.
14056 (localplt.data): New vpath directive.
14057 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14058 instead of $(check-data).
14059 * scripts/data/localplt-generic.data: Move to ...
14060 * sysdeps/generic/localplt.data: ... here.
14061 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14062 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14063 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14066 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14069 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14072 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14075 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14078 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14082 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14084 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14085 PPC32 and PPC64 files.
14086 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14087 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14089 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14091 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14092 __makecontext_ret to ...
14093 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14094 ... here and call exit if uc_link is NULL. New file.
14095 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14096 __makecontext_ret.S.
14097 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14098 __makecontext_ret to ...
14099 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14100 ... here and call exit if uc_link is NULL. New file.
14101 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14102 __makecontext_ret.S.
14104 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14106 * elf/elf.h (R_390_IRELATIVE): New definition.
14107 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14108 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14109 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14110 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14111 (elf_machine_lazy_rel): Likewise.
14112 * sysdeps/s390/dl-irel.h: New file.
14113 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14114 * sysdeps/s390/s390-64/memset.S: New asm code.
14115 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14116 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14117 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14118 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14119 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14120 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14121 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14122 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14123 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14124 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14125 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14126 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14127 * sysdeps/s390/s390-32/memset.S: New asm code.
14128 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14130 2012-07-17 Marek Polacek <polacek@redhat.com>
14133 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14134 * sysdeps/s390/s390-64/configure.in: Likewise.
14135 * sysdeps/sparc/configure.in: Likewise.
14136 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14137 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14138 * sysdeps/i386/configure.in: Likewise.
14139 * sysdeps/x86_64/configure.in: Likewise.
14140 * sysdeps/sh/configure.in: Likewise.
14141 * sysdeps/s390/s390-32/configure: Regenerated.
14142 * sysdeps/s390/s390-64/configure: Likewise.
14143 * sysdeps/x86_64/configure: Likewise.
14144 * sysdeps/sh/configure: Likewise.
14145 * sysdeps/powerpc/powerpc64/configure: Likewise.
14146 * sysdeps/powerpc/powerpc32/configure: Likewise.
14147 * sysdeps/sparc/configure: Likwise.
14148 * sysdeps/i386/configure: Likewise.
14150 * elf/dl-open.c: Comment fixes.
14152 2012-07-17 Joseph Myers <joseph@codesourcery.com>
14154 * Makefile [CXX] (check-data): Remove.
14155 [CXX] (c++-types.data): New vpath directive.
14156 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14157 vpath. Do not allow for C++ type data being missing.
14158 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14159 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14160 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14161 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14162 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14163 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14164 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14167 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14170 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14173 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14176 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14179 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14182 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14185 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14188 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14189 definitions to architecture-specific files.
14190 (TLS_IE): Likewise.
14191 (TLS_LD): Likewise.
14192 (TLS_GD): Likewise.
14193 * sysdeps/i386/tls-macros.h: New file.
14194 * sysdeps/powerpc/tls-macros.h: Likewise.
14195 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14196 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14197 * sysdeps/sh/tls-macros.h: Likewise.
14198 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14199 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14200 * sysdeps/x86_64/tls-macros.h: Likewise.
14202 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14204 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14205 zero value for regular exit case.
14207 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14208 (__start_context): Preserve zero value for regular exit case.
14210 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14211 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14213 * manual/setjmp.texi (setcontext): Clarify normal process
14214 termination when uc_link is the null pointer.
14215 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14218 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14220 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14221 preprocessor. Test for each exception mask separately.
14223 2012-07-16 Andreas Jaeger <aj@suse.de>
14225 * po/ru.po: Update from translation team.
14227 2012-07-15 Joseph Myers <joseph@codesourcery.com>
14229 * conform/data/string.h-data (NULL): Use macro-constant. Require
14231 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14232 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14233 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14234 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14235 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14237 2012-07-13 Andreas Jaeger <aj@suse.de>
14239 * po/fr.po: Update from translation team.
14241 2012-07-12 Marek Polacek <polacek@redhat.com>
14244 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14245 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14248 2012-07-12 Joseph Myers <joseph@codesourcery.com>
14251 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14252 Change to 2.4.1 where previously 2.4.0.
14253 * sysdeps/unix/sysv/linux/configure: Regenerated.
14254 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14255 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14257 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14258 (__ASSUME_AT_CLKTCK): Remove.
14259 (__ASSUME_AT_PAGESIZE): Likewise.
14260 (__ASSUME_AT_XID): Likewise.
14261 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14262 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14263 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14265 (HAVE_AUX_PAGESIZE): Likewise.
14266 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14267 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14268 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14270 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14274 the temporary buffer used to invoke __gethostbyname2_r,
14275 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14276 host_data / struct gaih_addrtuple.
14277 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14278 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14279 header file nss/nsswitch.h.
14280 * nss/nsswitch.h (global scope): Add definition of implementation
14281 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14282 resolv/nss_dns/dns-host.c).
14284 2012-07-11 Andreas Jaeger <aj@suse.de>
14286 * po/fr.po: Update from translation team.
14288 * po/sv.po: Update from translation team
14289 * po/fr.po: Another update from translation team.
14291 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14293 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14294 for subnormals or multiply small sinh result by itself.
14295 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14298 2012-07-11 David S. Miller <davem@davemloft.net>
14300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14302 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14305 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14306 (INTERNAL_MARK): Shift it here.
14308 2012-07-10 Marek Polacek <polacek@redhat.com>
14311 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14312 libc_cv_asm_global_directive with .globl.
14313 * configure: Regenerated.
14314 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14316 * sysdeps/i386/configure: Regenerated.
14317 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14319 * sysdeps/x86_64/configure: Regenerated.
14320 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14321 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14322 * elf/tst-unique2mod2.c: Likewise.
14323 * elf/tst-unique2mod1.c: Likewise.
14324 * elf/tst-unique1mod2.c: Likewise.
14325 * elf/tst-unique1mod1.c: Likewise.
14326 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14327 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14329 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14330 * sysdeps/mach/sysdep.h: Likewise.
14331 * sysdeps/i386/sysdep.h: Likewise.
14332 * sysdeps/i386/i386-mcount.S: Likewise.
14333 * sysdeps/x86_64/_mcount.S: Likewise.
14334 * sysdeps/x86_64/sysdep.h: Likewise.
14335 * sysdeps/sh/_mcount.S: Likewise.
14336 * sysdeps/sh/sysdep.h: Likewise.
14337 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14338 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14339 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14340 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14341 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14342 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14343 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14344 * locale/localeinfo.h: Likewise.
14345 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14346 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14348 2012-07-09 Roland McGrath <roland@hack.frob.com>
14351 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14353 * manual/message.texi (The Uniforum approach): Likewise.
14354 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14355 (glibc iconv Implementation): Likewise.
14357 2012-07-09 Joseph Myers <joseph@codesourcery.com>
14360 * math/s_clog.c (__clog): Avoid scaling a value down where that
14361 could result in underflow.
14362 * math/s_clog10.c (__clog10): Likewise.
14363 * math/s_clog10f.c (__clog10f): Likewise.
14364 * math/s_clog10l.c (__clog10l): Likewise.
14365 * math/s_clogf.c (__clogf): Likewise.
14366 * math/s_clogl.c (__clogl): Likewise.
14367 * math/libm-test.inc (clog_test): Add more tests.
14368 (clog10_test): Likewise.
14369 * sysdeps/i386/fpu/libm-test-ulps: Update.
14370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14372 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14375 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14376 by 7 not 8 to examine high bit of fractional part.
14379 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14380 for call to __mcount_internal.
14381 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14382 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14383 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14385 2012-07-06 Joseph Myers <joseph@codesourcery.com>
14388 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14389 approximation for values within 0x1p-13f of an odd multiple of
14391 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14392 exception. Add more tests.
14393 * sysdeps/i386/fpu/libm-test-ulps: Update.
14396 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14397 inputs and return -1 for them. Do not check for +Inf in case not
14398 reachable for +Inf.
14399 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14400 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14401 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14402 and return -1 for them. Do not check for +Inf in case not
14403 reachable for +Inf.
14404 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14406 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14407 and return -1 for them. Do not check for +Inf in case not
14408 reachable for +Inf.
14409 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14410 spurious underflow.
14411 * sysdeps/i386/fpu/libm-test-ulps: Update.
14412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14414 2012-07-06 Mike Frysinger <vapier@gentoo.org>
14416 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14418 2012-07-05 Joseph Myers <joseph@codesourcery.com>
14422 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14423 could result in spurious underflow. Scale down values above
14424 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14425 * math/s_csqrtf.c (__csqrtf): Likewise.
14426 * math/s_csqrtl.c (__csqrtl): Likewise.
14427 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14428 spurious underflow.
14429 * sysdeps/i386/fpu/libm-test-ulps: Update.
14430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14432 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14434 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14436 * catgets/xopen-msg.awk: New file.
14437 * catgets/xopen-msg.sed: Removed.
14439 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14441 * intl/po2test.awk: New file.
14442 * intl/po2test.sed: Removed.
14444 2012-07-04 Joseph Myers <joseph@codesourcery.com>
14447 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14448 or multiply small sinh result by itself.
14449 * math/s_ctanf.c (__ctanf): Likewise.
14450 * math/s_ctanh.c (__ctanh): Likewise.
14451 * math/s_ctanhf.c (__ctanhf): Likewise.
14452 * math/s_ctanhl.c (__ctanhl): Likewise.
14453 * math/s_ctanl.c (__ctanl): Likewise.
14454 * math/libm-test.inc (ctan_test_tonearest): New function.
14455 (ctan_test_towardzero): Likewise.
14456 (ctan_test_downward): Likewise.
14457 (ctan_test_upward): Likewise.
14458 (ctanh_test_tonearest): Likewise.
14459 (ctanh_test_towardzero): Likewise.
14460 (ctanh_test_downward): Likewise.
14461 (ctanh_test_upward): Likewise.
14462 (main): Call these new functions.
14463 * sysdeps/i386/fpu/libm-test-ulps: Update.
14464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14466 2012-07-03 Mike Frysinger <vapier@gentoo.org>
14468 * .gitignore: Delete /ports entry.
14470 2012-07-03 Andreas Jaeger <aj@suse.de>
14472 * po/bg.po: Update from translation team.
14473 * po/cs.po: Likewise.
14474 * po/de.po: Likewise.
14475 * po/hr.po: Likewise.
14476 * po/nl.pl: Likewise.
14477 * po/pl.po: Likewise.
14478 * po/vi.po: Likewise.
14480 2012-07-03 Joseph Myers <joseph@codesourcery.com>
14482 * Makeconfig [!+link] (+link-before-libc): New variable.
14483 [!+link] (+link-after-libc): Likewise.
14484 [!+link] (+link-tests): Likewise.
14485 [!+link] (+link): Define in terms of $(+link-before-libc) and
14486 $(+link-after-libc).
14487 [!+link-static] (+link-static-before-libc): New variable.
14488 [!+link-static] (+link-static-after-libc): Likewise.
14489 [!+link-static] (+link-static-tests): Likewise.
14490 [!+link-static] (+link-static): Define in terms of
14491 $(+link-static-before-libc) and $(+link-static-after-libc).
14492 [build-shared] (link-libc-before-gnulib): New variable.
14493 [build-shared] (link-libc-tests): Likewise.
14494 [build-shared] (link-libc): Define in terms of
14495 $(link-libc-before-gnulib).
14496 [!build-shared] (link-libc-tests): New variable.
14497 (link-libc-static-tests): New variable.
14498 [!gnulib] (gnulib-arch): New variable.
14499 [!gnulib] (gnulib-tests): Likewise.
14500 [!gnulib] (static-gnulib-arch): Likewise.
14501 [!gnulib] (static-gnulib-tests): Likewise.
14502 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14503 Define with "=" instead of ":=".
14504 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14505 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14506 * Rules (binaries-all-notests): New variable.
14507 (binaries-all-tests): Likewise.
14508 (binaries-static-notests): Likewise.
14509 (binaries-static-tests): Likewise.
14510 (binaries-all): Define using $(binaries-all-notests) and
14511 $(binaries-all-tests).
14512 (binaries-static): Define using $(binaries-static-notests) and
14513 $(binaries-static-tests).
14514 (binaries-shared-tests): New variable.
14515 (binaries-shared-notests): Likewise.
14516 (binaries-shared): Remove variable.
14517 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14518 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14519 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14520 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14521 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14522 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14523 * elf/Makefile (sln-modules): New variable.
14524 (extra-objs): Add $(sln-modules:=.o).
14525 (ldconfig-modules): Add static-stubs.
14526 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14527 * elf/static-stubs.c: New file.
14530 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14531 by 7 not 8 to examine high bit of fractional part. Use volatile
14532 variables when splitting into final array of floats if
14533 __FLT_EVAL_METHOD__ != 0.
14534 * math/libm-test.inc (cos_test): Add another test.
14535 (sin_test): Likewise.
14536 * sysdeps/i386/fpu/libm-test-ulps: Update.
14539 * math/libm-test.inc (cosh_test): Add more tests.
14541 * version.h (RELEASE): Set to "development".
14542 (VERSION): Set to "2.16.90".
14544 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14546 * NEWS: Update copyright. Remove last-updated date.
14547 Mention math library bug fixes and timezone data changes.
14548 * README: Mention GNU/Hurd, x32, and HPPA support status.
14550 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14552 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14554 2012-06-27 Andreas Jaeger <aj@suse.de>
14556 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14558 2012-06-25 Andreas Jaeger <aj@suse.de>
14560 * sysdeps/s390/fpu/libm-test-ulps: Update.
14562 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14563 Thomas Schwinge <thomas@codesourcery.com>
14565 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14566 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14567 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14570 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14572 * sysdeps/mach/start.c: Remove file.
14573 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14574 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14575 * sysdeps/sh/init-first.c: Likewise.
14577 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14578 registers for frame unwinding purposes, add CFI directives.
14579 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14580 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14581 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14584 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14585 __fortify_fail returning.
14586 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14588 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14589 sysdeps/sh/____longjmp_chk.S.
14590 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14591 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14592 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14593 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14595 * sysdeps/sh/abort-instr.h: New file.
14596 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14597 process in case exit returns.
14599 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14600 initialize the GOT register before use.
14602 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14603 calculation of ARGC > 4.
14605 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14606 meaningful names to some local labels.
14608 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14609 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14611 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14612 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14613 (__arch_compare_and_exchange_val_16_acq): Likewise.
14614 (__arch_compare_and_exchange_val_32_acq): Likewise.
14615 (atomic_exchange_and_add): Fix gUSA sequence.
14616 (atomic_add): Likewise.
14617 (atomic_add_negative): Likewise.
14618 (atomic_add_zero): Likewise.
14619 (atomic_bit_test_set): Likewise.
14621 2012-06-22 Andreas Schwab <schwab@redhat.com>
14624 * include/link.h (struct link_map): Add l_free_initfini.
14625 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14627 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14628 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14629 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14632 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14634 * configure.in: Use AC_LANG_SOURCE.
14635 * configure: Regenerate.
14637 2012-06-22 Roland McGrath <roland@hack.frob.com>
14639 * configure.in (libc_cv_localstatedir): New substituted variable.
14640 * configure: Regenerated.
14641 * config.make.in (localstatedir): New variable, substituted from
14642 libc_cv_localstatedir.
14643 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14644 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14645 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14646 * sysdeps/gnu/configure: Regenerated.
14648 2012-06-21 Jeff Law <law@redhat.com>
14651 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14652 free. Simplify list management for _LIBC case.
14654 2012-06-21 Joseph Myers <joseph@codesourcery.com>
14657 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14658 Clear sign bit of 64-bit integer value before comparing against
14661 * sysdeps/mach/configure: Regenerated.
14663 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14666 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14668 2012-06-21 Jeff Law <law@redhat.com>
14671 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14672 uint16_t for elements in the "seen" array to avoid char overflows.
14673 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14674 * elf/dl-open.c (dl_open_worker): Likewise.
14676 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14678 * scripts/list-sources.sh: Scan PORTS for translations.
14679 * po/libc.pot: Regenerated.
14681 2012-06-21 Andreas Jaeger <aj@suse.de>
14684 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14686 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14687 * bits/byteswap-16.h (__bswap_16): Likewise.
14688 * bits/byteswap.h (__bswap_constant_16): Likewise.
14690 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14693 * sysdeps/i386/fpu_control.h: Removed.
14694 * sysdeps/x86_64/fpu_control.h: Moved to ...
14695 * sysdeps/x86/fpu_control.h: Here.
14697 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14698 (_FPU_SETCW): Likewise.
14700 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14703 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14704 * sysdeps/x86/fpu/bits/mathinline.h: This.
14705 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14709 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14710 functions if __x86_64__ is defined.
14712 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14714 * string/endian.h: Add !__ASSEMBLER__ condition for including
14715 conversion interfaces.
14717 2012-06-15 Joseph Myers <joseph@codesourcery.com>
14720 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14721 of ABS(x) in calculating zero to negative powers other than odd
14723 * math/libm-test.inc (pow_test): Add more tests.
14725 2012-06-15 Andreas Jaeger <aj@suse.de>
14727 * manual/contrib.texi (Contributors): Update entry of Liubov
14728 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14731 2012-06-15 Cyril Hrubis <metan@ucw.cz>
14733 * string/string.h: Add __wur to GNU version of strerror_r.
14735 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14738 * string/Makefile (tests): Add tst-strtok_r.
14739 * string/tst-strtok_r.c: New file.
14740 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14741 RAX_LP/RDX_LP on SAVE_PTR.
14743 2012-06-14 Roland McGrath <roland@hack.frob.com>
14745 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14747 2012-06-14 Joseph Myers <joseph@codesourcery.com>
14749 * libm_test.inc (csqrt_test): Allow more spurious underflow
14751 (j0_test): Likewise.
14752 (j1_test): Likewise.
14753 (y0_test): Likewise.
14754 (y1_test): Likewise.
14756 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14758 * po/Makefile (libc.pot): Use UTF-8 charset.
14760 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14763 Suppress sign-conversion warning from FD_SET.
14764 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14765 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14766 not unsigned long int.
14767 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14769 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14773 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14774 __extern_always_inline instead of __extern_inline.
14775 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14776 (__signbit): Likewise.
14777 (__signbitl): Support C++ namespace.
14778 (lrintf): New inline function.
14780 (llrintf): Likewise.
14781 (llrint): Likewise.
14791 (floorf): Likewise.
14792 (nearbyint): Likewise.
14793 (nearbyintf): Likewise.
14795 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14797 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14798 non-default versions.
14800 2012-06-11 Roland McGrath <roland@hack.frob.com>
14803 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14805 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14807 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14808 (FE_UPWARD, FE_DOWNWARD): Don't define.
14809 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14810 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14812 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14814 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14815 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14817 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14819 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14820 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14821 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14822 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14824 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14827 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14828 * sysdeps/i386/fpu/Implies: New file.
14829 * sysdeps/x86_64/fpu/Implies: Likewise.
14830 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14831 * sysdeps/x86/fpu/bits/fenv.h: This.
14833 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14836 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14839 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14840 character 0xffff that matches the last element of the
14843 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14845 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14848 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14850 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14851 values higher than 25.6283.
14853 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14855 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14856 subnormal exponent extraction and add some __builtin_expect.
14857 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14858 Fix for subnormal mantissa calculation.
14860 2012-06-04 Mike Frysinger <vapier@gentoo.org>
14862 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14863 cpu2 is -1 and errno is not ENOSYS.
14865 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14868 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14869 * sysdeps/x86/bits/string.h: This.
14870 * sysdeps/x86_64/bits/string.h: Removed.
14872 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14873 if not compiling for x86-64, but compiling for >= i486.
14875 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14876 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14878 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14879 New macro from Linux kernel 3.4.0.
14880 (FP_XSTATE_MAGIC2): Likewise.
14881 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14882 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14883 (struct _fpx_sw_bytes): New struct.
14884 (struct _xsave_hdr): Likewise.
14885 (struct _ymmh_state): Likewise.
14886 (struct _xstate): Likewise.
14888 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14889 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14890 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14891 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14892 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14893 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14895 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14896 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14897 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14898 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14899 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14900 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14902 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14905 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14906 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14907 (sysdep_headers): Include sys/platform/ppc.h.
14908 * sysdeps/powerpc/test-gettimebase.c: Test for
14909 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14910 * manual/Makefile (appendices): Include platform.texi.
14911 * manual/contrib.texi (Contributors): Update @node pointers.
14912 * manual/maint.texi (Maintenance): Likewise.
14913 (Platform): New node.
14914 * manual/platform.texi: New file. Document the new features.
14916 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14917 Jakub Jelinek <jakub@redhat.com>
14920 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14921 where __builtin_expect is unavailable.
14923 2012-06-03 David S. Miller <davem@davemloft.net>
14925 * stdlib/longlong.h: Updated from GCC.
14927 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14930 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14931 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14934 (GLIBC_2.16): Likewise.
14936 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14938 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14940 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14943 (default-abi): New variable.
14944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14945 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14947 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14949 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14951 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14954 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14955 definition. Document in comment.
14957 2012-06-01 David S. Miller <davem@davemloft.net>
14959 * stdlib/longlong.h: Updated from GCC.
14961 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14964 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14965 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14966 sys/debugreg.h sys/io.h here.
14967 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14968 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14970 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14971 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14972 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14973 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14974 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14975 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14977 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14978 Define only if __x86_64__ is defined.
14980 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14983 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14984 Use int64_t for variable i.
14985 * math/libm-test.inc (fmod_test): Add more tests.
14987 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14988 z computation is not scheduled after fetestexcept.
14989 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14990 Use math_force_eval instead of asm to ensure calculation scheduled
14991 before exception test.
14992 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14993 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14995 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14998 computation is not scheduled after fetestexcept.
15000 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15003 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15004 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15006 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15008 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15009 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15011 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15014 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15016 (__WCHAR_MIN): Support __WORDSIZE == 64.
15017 (__WCHAR_MAX): Likewise.
15019 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15020 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15023 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15024 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15027 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15028 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15030 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15031 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15033 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15034 Defined to 1 if __x86_64__ isn't defined.
15035 (_STAT_VER_LINUX_OLD): New.
15036 (st_atime): Remove duplicate.
15037 (st_mtime): Likewise.
15038 (st_ctime): Likewise.
15040 2012-05-31 David S. Miller <davem@davemloft.net>
15042 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15045 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15047 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15051 * elf/dl-reloc.c: Include <_itoa.h>.
15052 (_dl_reloc_bad_type): Remove use of INTUSE.
15053 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15054 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15055 * stdio-common/psiginfo.c (psiginfo): Likewise.
15056 * stdio-common/psignal.c (psignal): Likewise.
15057 * string/strsignal.c (strsignal): Likewise.
15058 * include/signal.h (_sys_siglist): Declare hidden proto.
15059 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15060 INTVARDEF with libc_hidden_data_def.
15061 * stdio-common/itoa-udigits.c: Likewise.
15062 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15063 (_itoa_lower_digits_internal): Remove declaration.
15064 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15065 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15066 (_sys_sigabbrev_internal): Remove aliases.
15067 (_sys_siglist): Define hidden alias.
15069 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15074 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15077 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15078 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15080 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15081 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15082 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15083 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15084 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15085 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15087 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15088 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15089 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15091 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15099 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15100 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15101 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15103 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15104 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15105 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15106 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15107 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15108 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15110 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15111 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15113 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15114 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15116 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15117 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15118 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15120 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15121 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15123 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15125 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15126 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15127 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15129 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15131 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15133 2012-05-31 Joseph Myers <joseph@codesourcery.com>
15135 * math/math.h (M_El): Use two more decimal places.
15136 (M_LOG2El): Likewise.
15137 (M_LOG10El): Likewise.
15138 (M_LN2l): Likewise.
15139 (M_LN10l): Likewise.
15141 (M_PI_2l): Likewise.
15142 (M_PI_4l): Likewise.
15143 (M_1_PIl): Likewise.
15144 (M_2_PIl): Likewise.
15145 (M_2_SQRTPIl): Likewise.
15146 (M_SQRT2l): Likewise.
15147 (M_SQRT1_2l): Likewise.
15149 2012-05-31 David S. Miller <davem@davemloft.net>
15151 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15152 values between float registers.
15153 * sysdeps/sparc/sparc64/memset.S: Likewise.
15154 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15156 2012-05-31 Mike Frysinger <vapier@gentoo.org>
15158 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15159 -D_FORTIFY_SOURCE=1.
15160 (CPPFLAGS-tst-longjmp_chk.c): Define.
15161 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15162 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15163 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15164 CFLAGS-tst-wchar-h.c.
15166 2012-05-31 Marek Polacek <polacek@redhat.com>
15169 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15170 __endmntent_internal): Remove declaration.
15171 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15172 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15173 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15175 2012-05-30 David S. Miller <davem@davemloft.net>
15177 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15178 (___Q_simulate_exceptions): Use real FP ops rather than writing
15180 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15183 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15186 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15187 * sysdeps/x86/bits/xtitypes.h: This.
15189 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15190 * sysdeps/x86/bits/wordsize.h: This.
15192 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15193 * sysdeps/x86/bits/huge_vall.h: This.
15195 * sysdeps/i386/bits/select.h: Removed.
15196 * sysdeps/x86_64/bits/select.h: Renamed to ...
15197 * sysdeps/x86/bits/select.h: This.
15199 * sysdeps/i386/bits/setjmp.h: Removed.
15200 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15201 * sysdeps/x86/bits/setjmp.h: This.
15203 * sysdeps/i386/bits/mathdef.h: Removed.
15204 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15205 * sysdeps/x86/bits/mathdef.h: This.
15207 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15210 * include/sys/socket.h (__connect_internal)
15211 (__libc_sa_len_internal): Remove declaration.
15212 (__connect, __libc_sa_len): Declare hidden_proto.
15213 (SA_LEN): Remove use of INTUSE.
15214 * socket/connect.c: Add libc_hidden_def.
15215 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15216 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15217 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15219 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15220 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15221 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15222 of adding _internal alias.
15224 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15227 * sysdeps/i386/bits/link.h: Removed.
15228 * sysdeps/i386/bits/linkmap.h: Likewise.
15229 * sysdeps/x86_64/bits/link.h: Renamed to ...
15230 * sysdeps/x86/bits/link.h: This.
15231 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15232 * sysdeps/x86/bits/linkmap.h: This.
15234 * sysdeps/i386/bits/endian.h: Removed.
15235 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15236 * sysdeps/x86/bits/endian.h: This.
15238 * sysdeps/i386/bits/byteswap.h: Removed.
15239 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15240 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15241 * sysdeps/x86/bits/byteswap.h: This.
15242 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15243 * sysdeps/x86/bits/byteswap-16.h: This.
15244 * sysdeps/i386/Implies: Add x86.
15245 * sysdeps/x86_64/Implies: Likewise.
15247 2012-05-30 David S. Miller <davem@davemloft.net>
15249 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15250 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15251 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15252 (FP_TRAPPING_EXCEPTIONS): Define.
15253 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15254 (FP_TRAPPING_EXCEPTIONS): Define.
15255 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15256 subnormals only when inexact has been signalled or underflow
15257 exceptions are enabled.
15258 (_FP_PACK_CANONICAL): Likewise.
15260 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15263 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15264 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15266 2012-05-30 Richard Henderson <rth@twiddle.net>
15268 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15269 with #ifndef NOT_IN_libc.
15271 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15272 marked to avoid plt entry.
15274 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15277 * Makeconfig (default-abi): New macro.
15278 (abi-includes): Likewise.
15279 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15280 $(abi-$(default-abi)-lib-soname) for soname if defined.
15281 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15283 * Makefile (installed-stubs): Likewise.
15284 * include/stubs-biarch.h: Removed.
15285 * scripts/lib-names.awk: Only handle one library at a time.
15286 * scripts/soversions.awk: Remove WORDSIZE support.
15287 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15289 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15291 (syscall-list-default-condition): Likewise.
15292 (syscall-list-default-condition): Likewise.
15293 (syscall-list-includes): Likewise.
15294 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15295 syscall-list-* with abi-*. Handle undefined abi-variants.
15296 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15297 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15298 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15299 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15300 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15301 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15303 (syscall-list-32-options): Likewise.
15304 (syscall-list-32-condition): Likewise.
15305 (syscall-list-64-options): Likewise.
15306 (syscall-list-64-condition): Likewise.
15307 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15309 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15312 (abi-64-ld-soname): New macro.
15313 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15314 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15317 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15318 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15320 2012-05-30 Joseph Myers <joseph@codesourcery.com>
15322 * sysdeps/unix/sysv/linux/kernel-features.h
15323 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15324 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15325 include <kernel-features.h>.
15326 [!__NR_ftruncate64]: Remove conditional code.
15327 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15328 [__NR_ftruncate64]: Make code unconditional.
15329 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15330 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15331 include <kernel-features.h>.
15332 [!__NR_ftruncate64]: Remove conditional code.
15333 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15334 [__NR_ftruncate64]: Make code unconditional.
15335 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15337 include <kernel-features.h>.
15338 [!__NR_ftruncate64]: Remove conditional code.
15339 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15340 [__NR_ftruncate64]: Make code unconditional.
15341 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15343 include <kernel-features.h>.
15344 [!__NR_ftruncate64]: Remove conditional code.
15345 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15346 [__NR_ftruncate64]: Make code unconditional.
15347 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15349 * configure.in (libc_cv_fpie): Weaken to a compile test using
15350 LIBC_TRY_CC_OPTION.
15351 * configure: Regenerated.
15353 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15368 2012-05-27 David S. Miller <davem@davemloft.net>
15370 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15372 (__Q_simulate_exceptions): Return void. Change to simulate
15373 exceptions by writing into the %fsr.
15374 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15375 (__Qp_handle_exceptions): Likewise.
15377 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15378 __Qp_handle_exceptions.
15379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15380 __Qp_handle_exceptions.
15381 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15382 as unused and give dummy FP_RND_NEAREST initializer.
15383 (FP_INHIBIT_RESULTS): Define.
15384 (___Q_simulate_exceptions): Update declaration.
15385 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15387 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15388 as unused and give dummy FP_RND_NEAREST initializer.
15389 (__Qp_handle_exceptions): Update declaration.
15390 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15393 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15395 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15396 the temporary FPU control word.
15397 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15398 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15399 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15400 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15401 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15402 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15403 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15404 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15405 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15406 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15407 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15409 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15411 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15414 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15416 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15417 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15418 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15419 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15421 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15422 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15425 2012-05-27 Ulrich Drepper <drepper@gmail.com>
15427 * po/h.po: Update from translation team.
15429 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15431 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15433 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15434 handling of denormals.
15435 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15436 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15437 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15438 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15439 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15444 2012-05-26 Marek Polacek <polacek@redhat.com>
15447 * math/libm-test.inc (fma_test): Don't always expect underflow
15450 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15453 * elf/tst-execstack.c: Include stackinfo.h.
15454 (do_test): Adjust test case to ensure that pthread_getattr_np
15455 behaviour remains the same after marking stack executable.
15457 2012-05-25 Joseph Myers <joseph@codesourcery.com>
15459 * sysdeps/unix/sysv/linux/kernel-features.h
15460 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15461 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15463 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15464 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15465 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15467 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15468 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15470 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15472 * configure.in: Define the default includes to being none.
15473 * configure: Regenerated.
15475 2012-05-25 Roland McGrath <roland@hack.frob.com>
15477 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15478 * sysdeps/x86_64/setjmp.S: Likewise.
15479 * sysdeps/i386/bsd-setjmp.S: Likewise.
15480 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15481 * sysdeps/i386/setjmp.S: Likewise.
15482 * sysdeps/i386/__longjmp.S: Likewise.
15483 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15484 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15486 * include/stap-probe.h: New file.
15487 * configure.in: Handle --enable-systemtap.
15488 * configure: Regenerated.
15489 * config.h.in (USE_STAP_PROBE): New #undef.
15490 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15491 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15492 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15494 2012-05-25 Joseph Myers <joseph@codesourcery.com>
15497 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15498 to 2.4.0 where earlier.
15499 * sysdeps/unix/sysv/linux/configure: Regenerated.
15500 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15501 <kernel-features.h>.
15502 [__ASSUME_32BITUIDS]: Make code unconditional.
15503 [!__ASSUME_32BITUIDS]: Remove conditional code.
15504 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15505 <kernel-features.h>.
15506 [__ASSUME_32BITUIDS]: Make code unconditional.
15507 [!__ASSUME_32BITUIDS]: Remove conditional code.
15508 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15509 [__ASSUME_32BITUIDS]: Make code unconditional.
15510 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15511 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15512 <kernel-features.h>.
15513 [__ASSUME_32BITUIDS]: Make code unconditional.
15514 [!__ASSUME_32BITUIDS]: Remove conditional code.
15515 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15516 <kernel-features.h>.
15517 [__ASSUME_32BITUIDS]: Make code unconditional.
15518 [!__ASSUME_32BITUIDS]: Remove conditional code.
15519 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15520 <kernel-features.h>.
15521 [__ASSUME_32BITUIDS]: Make code unconditional.
15522 [!__ASSUME_32BITUIDS]: Remove conditional code.
15523 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15524 <kernel-features.h>.
15525 [__ASSUME_32BITUIDS]: Make code unconditional.
15526 [!__ASSUME_32BITUIDS]: Remove conditional code.
15527 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15528 <kernel-features.h>.
15529 [__ASSUME_32BITUIDS]: Make code unconditional.
15530 [!__ASSUME_32BITUIDS]: Remove conditional code.
15531 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15532 <kernel-features.h>.
15533 [__ASSUME_32BITUIDS]: Make code unconditional.
15534 [!__ASSUME_32BITUIDS]: Remove conditional code.
15535 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15536 <kernel-features.h>.
15537 [__ASSUME_32BITUIDS]: Make code unconditional.
15538 [!__ASSUME_32BITUIDS]: Remove conditional code.
15539 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15540 <kernel-features.h>.
15541 [__ASSUME_32BITUIDS]: Make code unconditional.
15542 [!__ASSUME_32BITUIDS]: Remove conditional code.
15543 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15544 <kernel-features.h>.
15545 [__ASSUME_32BITUIDS]: Make code unconditional.
15546 [!__ASSUME_32BITUIDS]: Remove conditional code.
15547 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15548 <kernel-features.h>.
15549 [__ASSUME_32BITUIDS]: Make code unconditional.
15550 [!__ASSUME_32BITUIDS]: Remove conditional code.
15551 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15552 <kernel-features.h>.
15553 [__NR_setresgid] (__setresgid): Do not declare.
15554 [__ASSUME_32BITUIDS]: Make code unconditional.
15555 [!__ASSUME_32BITUIDS]: Remove conditional code.
15556 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15557 <kernel-features.h>.
15558 [__NR_setresuid] (__setresuid): Do not declare.
15559 [__ASSUME_32BITUIDS]: Make code unconditional.
15560 [!__ASSUME_32BITUIDS]: Remove conditional code.
15561 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15562 <kernel-features.h>.
15563 [__ASSUME_32BITUIDS]: Make code unconditional.
15564 [!__ASSUME_32BITUIDS]: Remove conditional code.
15565 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15566 <kernel-features.h>.
15567 [__ASSUME_32BITUIDS]: Make code unconditional.
15568 [!__ASSUME_32BITUIDS]: Remove conditional code.
15569 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15570 <kernel-features.h>.
15571 [__ASSUME_32BITUIDS]: Make code unconditional.
15572 [!__ASSUME_32BITUIDS]: Remove conditional code.
15573 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15574 <kernel-features.h>.
15575 [__ASSUME_32BITUIDS]: Make code unconditional.
15576 [!__ASSUME_32BITUIDS]: Remove conditional code.
15577 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15578 <kernel-features.h>.
15579 [__ASSUME_32BITUIDS]: Make code unconditional.
15580 [!__ASSUME_32BITUIDS]: Remove conditional code.
15581 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15582 <kernel-features.h>.
15583 [__ASSUME_32BITUIDS]: Make code unconditional.
15584 [!__ASSUME_32BITUIDS]: Remove conditional code.
15585 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15586 <kernel-features.h>.
15587 [__ASSUME_32BITUIDS]: Make code unconditional.
15588 [!__ASSUME_32BITUIDS]: Remove conditional code.
15589 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15590 <kernel-features.h>.
15591 [__ASSUME_32BITUIDS]: Make code unconditional.
15592 [!__ASSUME_32BITUIDS]: Remove conditional code.
15593 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15594 <kernel-features.h>.
15595 [__ASSUME_32BITUIDS]: Make code unconditional.
15596 [!__ASSUME_32BITUIDS]: Remove conditional code.
15597 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15598 <kernel-features.h>.
15599 [__ASSUME_32BITUIDS]: Make code unconditional.
15600 [!__ASSUME_32BITUIDS]: Remove conditional code.
15601 * sysdeps/unix/sysv/linux/kernel-features.h
15602 (__ASSUME_SETRESUID_SYSCALL): Remove.
15603 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15604 (__ASSUME_32BITUIDS): Likewise.
15605 (__ASSUME_LDT_WORKS): Likewise.
15606 (__ASSUME_O_DIRECTORY): Likewise.
15607 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15608 architecture but not kernel version.
15609 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15610 (__ASSUME_MMAP2_SYSCALL): Likewise.
15611 (__ASSUME_STAT64_SYSCALL): Likewise.
15612 (__ASSUME_IPC64): Likewise.
15613 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15614 <kernel-features.h>.
15615 [__ASSUME_32BITUIDS]: Make code unconditional.
15616 [!__ASSUME_32BITUIDS]: Remove conditional code.
15617 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15618 <kernel-features.h>.
15619 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15620 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15621 132096]: Remove conditional code.
15622 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15623 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15624 <kernel-features.h>.
15625 [__ASSUME_32BITUIDS]: Make code unconditional.
15626 [!__ASSUME_32BITUIDS]: Remove conditional code.
15627 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15628 <kernel-features.h>.
15629 [__ASSUME_32BITUIDS]: Make code unconditional.
15630 [!__ASSUME_32BITUIDS]: Remove conditional code.
15631 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15632 <kernel-features.h>.
15633 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15635 (__setresgid): Do not declare.
15636 [__ASSUME_32BITUIDS]: Make code unconditional.
15637 [!__ASSUME_32BITUIDS]: Remove conditional code.
15638 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15639 <kernel-features.h>.
15640 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15642 (__setresuid): Do not declare.
15643 [__ASSUME_32BITUIDS]: Make code unconditional.
15644 [!__ASSUME_32BITUIDS]: Remove conditional code.
15645 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15646 <kernel-features.h>.
15647 [__ASSUME_32BITUIDS]: Make code unconditional.
15648 [!__ASSUME_32BITUIDS]: Remove conditional code.
15649 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15650 <kernel-features.h>.
15651 [__ASSUME_32BITUIDS]: Make code unconditional.
15652 [!__ASSUME_32BITUIDS]: Remove conditional code.
15654 2012-05-25 Richard Henderson <rth@twiddle.net>
15656 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15657 dl_hwcap to ifunc resolver.
15658 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15660 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15661 dl_hwcap to ifunc resolver.
15662 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15664 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15667 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15668 for |x| <= 2**-26, not 2**-57.
15669 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15672 2012-05-24 Jeff Law <law@redhat.com>
15674 * stdio-common/Makefile (tests): Add bug25.
15675 * stdio-common/bug25.c: New test.
15677 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15680 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15681 multiple of MALLOC_ALIGNMENT in size.
15682 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15684 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15686 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15688 (FILENAME_MAX): Use macro-int-constant.
15689 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15690 (_IOFBF): Use macro-int-constant.
15691 (_IOLBF): Likewise.
15692 (_IONBF): Likewise.
15693 (SEEK_CUR): Likewise.
15694 (SEEK_END): Likewise.
15695 (SEEK_SET): Likewise.
15696 (TMP_MAX): Likewise.
15697 (EOF): Use macro-int-constant. Require < 0.
15698 (NULL): Use macro-constant. Require == 0.
15699 (stdin): Require type to be FILE *.
15700 (stdout): Likewise.
15701 (stderr): Likewise.
15702 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15703 macro-int-constant.
15704 (EXIT_SUCCESS): Likewise.
15705 (NULL): Use macro-constant. Require == 0.
15706 (RAND_MAX): Use macro-int-constant.
15707 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15708 [C99-based standards] (strtof): Require function.
15709 [C99-based standards] (strtold): Likewise.
15710 [C99-based standards] (strtoll): Likewise.
15711 [C99-based standards] (strtoull): Likewise.
15712 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15713 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15714 [ISO || ISO99 || ISO11] (math.h): Likewise.
15715 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15716 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15717 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15719 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15722 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15723 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15724 * intl/dgettext.c (DCGETTEXT): Likewise.
15725 * intl/gettext.c (DCGETTEXT): Likewise.
15726 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15727 * posix/regex_internal.h (gettext): Likewise.
15728 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15729 Remove declaration.
15730 * include/argz.h (__argz_count_internal)
15731 (__argz_stringify_internal): Remove declaration.
15732 (__argz_count, __argz_stringify): Declare hidden proto.
15733 * intl/dcgettext.c: Remove use of INTDEF.
15734 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15735 * string/argz-stringify.c: Likewise.
15736 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15737 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15738 Declare hidden proto.
15739 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15740 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15741 Declare hidden proto.
15742 * include/stdio.h (__asprintf_internal): Don't declare.
15743 (__asprintf): Don't define as macro. Declare hidden proto.
15744 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15745 (__fsetlocking): Declare hidden proto.
15746 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15747 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15749 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15750 (_IO_setlinebuf): Remove use of INTUSE.
15751 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15752 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15753 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15754 Remove declaration.
15755 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15756 (_IO_do_flush): Remove use of INTUSE.
15757 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15758 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15759 (_IO_adjust_column, _IO_least_wmarker)
15760 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15761 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15762 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15763 (_IO_default_doallocate, _IO_wdefault_doallocate)
15764 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15765 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15766 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15767 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15768 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15769 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15770 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15771 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15772 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15773 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15774 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15775 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15776 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15778 (_IO_flush_all_internal, _IO_adjust_column_internal)
15779 (_IO_default_uflow_internal, _IO_default_finish_internal)
15780 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15781 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15782 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15783 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15784 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15785 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15786 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15787 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15788 (_IO_file_close_internal, _IO_file_close_it_internal)
15789 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15790 (_IO_file_init_internal, _IO_file_attach_internal)
15791 (_IO_file_fopen_internal, _IO_file_read_internal)
15792 (_IO_file_sync_internal, _IO_file_seek_internal)
15793 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15794 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15795 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15796 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15797 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15798 (_IO_list_all_internal, _IO_link_in_internal)
15799 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15800 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15801 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15802 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15803 (_IO_do_write_internal, _IO_padn_internal)
15804 (_IO_getline_info_internal, _IO_getline_internal)
15805 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15806 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15807 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15808 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15809 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15810 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15811 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15812 with libc_hidden_ver, remove use of INTUSE.
15813 * libio/genops.c: Likewise.
15814 * libio/freopen.c: Likewise.
15815 * libio/freopen64.c: Likewise.
15816 * libio/iofclose.c: Likewise.
15817 * libio/iofdopen.c: Likewise.
15818 * libio/iofflush.c: Likewise.
15819 * libio/iofflush_u.c: Likewise.
15820 * libio/iofgets.c: Likewise.
15821 * libio/iofgets_u.c: Likewise.
15822 * libio/iofopen.c: Likewise.
15823 * libio/iofopncook.c: Likewise.
15824 * libio/iofread.c: Likewise.
15825 * libio/iofread_u.c: Likewise.
15826 * libio/ioftell.c: Likewise.
15827 * libio/iofwrite.c: Likewise.
15828 * libio/iogetline.c: Likewise.
15829 * libio/iogets.c: Likewise.
15830 * libio/iogetwline.c: Likewise.
15831 * libio/iopadn.c: Likewise.
15832 * libio/iopopen.c: Likewise.
15833 * libio/ioseekoff.c: Likewise.
15834 * libio/ioseekpos.c: Likewise.
15835 * libio/iosetbuffer.c: Likewise.
15836 * libio/iosetvbuf.c: Likewise.
15837 * libio/ioungetc.c: Likewise.
15838 * libio/ioungetwc.c: Likewise.
15839 * libio/iovdprintf.c: Likewise.
15840 * libio/iovsprintf.c: Likewise.
15841 * libio/iovsscanf.c: Likewise.
15842 * libio/memstream.c: Likewise.
15843 * libio/obprintf.c: Likewise.
15844 * libio/oldfileops.c: Likewise.
15845 * libio/oldiofclose.c: Likewise.
15846 * libio/oldiofdopen.c: Likewise.
15847 * libio/oldiofopen.c: Likewise.
15848 * libio/oldiopopen.c: Likewise.
15849 * libio/oldstdfiles.c: Likewise.
15850 * libio/putc.c: Likewise.
15851 * libio/setbuf.c: Likewise.
15852 * libio/setlinebuf.c: Likewise.
15853 * libio/stdfiles.c: Likewise.
15854 * libio/strops.c: Likewise.
15855 * libio/vasprintf.c: Likewise.
15856 * libio/vscanf.c: Likewise.
15857 * libio/vsnprintf.c: Likewise.
15858 * libio/vswprintf.c: Likewise.
15859 * libio/wfiledoalloc.c: Likewise.
15860 * libio/wfileops.c: Likewise.
15861 * libio/wgenops.c: Likewise.
15862 * libio/wmemstream.c: Likewise.
15863 * libio/wstrops.c: Likewise.
15864 * libio/__fpurge.c: Likewise.
15865 * libio/__fsetlocking.c: Likewise.
15866 * assert/assert.c: Likewise.
15867 * debug/fgets_chk.c: Likewise.
15868 * debug/fgets_u_chk.c: Likewise.
15869 * debug/fread_chk.c: Likewise.
15870 * debug/fread_u_chk.c: Likewise.
15871 * debug/gets_chk.c: Likewise.
15872 * debug/obprintf_chk.c: Likewise.
15873 * debug/vasprintf_chk.c: Likewise.
15874 * debug/vdprintf_chk.c: Likewise.
15875 * debug/vsnprintf_chk.c: Likewise.
15876 * debug/vsprintf_chk.c: Likewise.
15877 * malloc/mtrace.c: Likewise.
15878 * misc/error.c: Likewise.
15879 * misc/syslog.c: Likewise.
15880 * stdio-common/asprintf.c: Likewise.
15881 * stdio-common/fxprintf.c: Likewise.
15882 * stdio-common/getw.c: Likewise.
15883 * stdio-common/isoc99_fscanf.c: Likewise.
15884 * stdio-common/isoc99_scanf.c: Likewise.
15885 * stdio-common/isoc99_vfscanf.c: Likewise.
15886 * stdio-common/isoc99_vscanf.c: Likewise.
15887 * stdio-common/isoc99_vsscanf.c: Likewise.
15888 * stdio-common/printf-prs.c: Likewise.
15889 * stdio-common/printf_fp.c: Likewise.
15890 * stdio-common/printf_fphex.c: Likewise.
15891 * stdio-common/printf_size.c: Likewise.
15892 * stdio-common/putw.c: Likewise.
15893 * stdio-common/scanf.c: Likewise.
15894 * stdio-common/sprintf.c: Likewise.
15895 * stdio-common/tmpfile.c: Likewise.
15896 * stdio-common/vfprintf.c: Likewise.
15897 * stdio-common/vfscanf.c: Likewise.
15898 * stdlib/strfmon_l.c: Likewise.
15899 * sunrpc/openchild.c: Likewise.
15900 * sunrpc/xdr_stdio.c: Likewise.
15901 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15902 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15904 2012-05-24 Roland McGrath <roland@hack.frob.com>
15906 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15908 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15909 in the third column, to generate for the shared library an IFUNC
15910 that uses _dl_vdso_vsym.
15911 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15912 * Makeconfig (object-suffixes-noshared): New variable.
15914 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15915 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15916 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15917 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15920 * include/sys/time.h (__gettimeofday): Remove macro.
15921 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15922 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15924 (__gettimeofday): Add libc_hidden_def.
15925 (gettimeofday): Add libc_hidden_weak.
15926 * sysdeps/mach/gettimeofday.c: Likewise.
15927 * sysdeps/posix/gettimeofday.c: Likewise.
15928 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15929 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15930 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15931 (__gettimeofday_internal): Remove strong_alias.
15932 (__gettimeofday): Add libc_hidden_def.
15933 (gettimeofday): Add libc_hidden_weak.
15934 * sysdeps/unix/syscalls.list (gettimeofday):
15935 Remove __gettimeofday_internal alias.
15937 2012-05-24 Daniel Jacobowitz <drow@false.org>
15938 H.J. Lu <hongjiu.lu@intel.com>
15941 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15942 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15943 (largebin_index_32_big): New.
15944 (largebin_index): Use it for 16-byte alignment.
15945 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15946 correction with front_misalign.
15948 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15976 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15977 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15979 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15983 * math/libm-test.inc (exp_test): Add test from bug 14036.
15984 (pow_test): Add test from bug 10846.
15986 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15988 (special_function): Do not include flags in test name.
15989 (parse_args): Likewise.
15990 * sysdeps/i386/fpu/libm-test-ulps: Update.
15991 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15992 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15993 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15996 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15998 * math/libm-test.inc ("Philosophy"): Update comment about
16000 (UNDERFLOW_EXCEPTION): New macro.
16001 (UNDERFLOW_EXCEPTION_OK): Likewise.
16002 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16003 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16004 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16005 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16006 (INVALID_EXCEPTION_OK): Update value.
16007 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16008 (OVERFLOW_EXCEPTION_OK): Likewise.
16009 (IGNORE_ZERO_INF_SIGN): Likewise.
16010 (test_exceptions): Handle underflow exceptions.
16011 (acos_test): Update for underflow exception expectations.
16012 (cexp_test): Likewise.
16013 (clog_test): Likewise.
16014 (clog10_test): Likewise.
16015 (csqrt_test): Likewise.
16016 (ctan_test): Likewise.
16017 (ctanh_test): Likewise.
16018 (exp_test): Likewise.
16019 (exp10_test): Likewise.
16020 (exp2_test): Likewise.
16021 (expm1_test): Likewise.
16022 (fma_test): Likewise.
16023 (j0_test): Likewise.
16024 (jn_test): Likewise.
16025 (nexttoward_test): Likewise.
16026 (pow_test): Likewise.
16027 (scalbn_test): Likewise.
16028 (scalbln_test): Likewise.
16029 (tan_test): Likewise.
16030 (y1_test): Likewise.
16031 * sysdeps/i386/fpu/libm-test-ulps: Update.
16032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16034 2012-05-23 David S. Miller <davem@davemloft.net>
16036 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16037 (__libc_sigaction): Remove unused local variables.
16039 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16041 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16043 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16045 mktime: avoid signed integer overflow
16046 * time/mktime.c (__mktime_internal): Do not mishandle the case
16047 where diff == INT_MIN.
16049 mktime: simplify computation of average
16050 * time/mktime.c (ranged_convert): Use new time_t_avg function
16051 instead of rolling our own (probably-slower) code.
16053 mktime: do not assume signed right shift propagates sign bit
16054 * time/mktime.c (isdst_differ): New static function.
16055 (__mktime_internal): No need to normalize tm_isdst now.
16056 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16059 mktime: merge another wrapv change from gnulib
16060 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16061 from some compilers.
16063 mktime: remove incorrect attempt at unusual arithmetics
16064 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16065 The code didn't really work on such machines anyway.
16066 (TYPE_MINIMUM): Assume two's complement.
16067 (twos_complement_arithmetic): Verify that long_int and time_t
16068 are two's complement (or unsigned, in the latter case).
16070 mktime: check signed shifts on long_int and time_t, too
16071 * time/mktime.c (SHR): Check that shifts work as desired
16072 on the types long_int and time_t too, as SHR is used on
16075 mktime: do not assume 'long' is wide enough
16076 * time/mktime.c (verify): Move decl up.
16077 (long_int): New type.
16078 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16079 to remove assumption in the code that 'long' is wide enough to
16080 store year values. This assumption is not true on x32 and on
16081 some non-glibc platforms.
16083 mktime: merge wrapv change from gnulib
16084 * time/mktime.c (WRAPV): New macro.
16085 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16086 (guess_time_tm, __mktime_internal): Do not assume that signed
16087 integer overflow wraps around; modern compilers generate code
16088 where this assumption is no longer valid.
16090 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16092 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16093 Replace "jmp L(pseudo_end)" with "ret".
16094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16097 2012-05-23 Andreas Jaeger <aj@suse.de>
16099 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16100 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16102 2012-05-23 Andreas Jaeger <aj@suse.de>
16103 Maximilian Attems <max@stro.at>
16105 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16108 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16110 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16111 code so that pseudo_end is just ret and the stack pointer is
16112 correct also for static library in error case.
16114 2012-05-23 Joseph Myers <joseph@codesourcery.com>
16116 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16117 move to syscalls.list.
16118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16123 * manual/install.texi (Running make install): Do not mention Linux
16124 kernel version for which pt_chown is not needed.
16125 (Linux): Do not mention problems with nscd with 2.0 kernels.
16126 * INSTALL: Regenerated.
16128 2012-05-23 Andreas Jaeger <aj@suse.de>
16130 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16131 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16133 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16135 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16137 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16138 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16139 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16140 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16141 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16142 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16143 * sysdeps/unix/sysv/linux/bits/in.h
16144 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16146 2012-05-22 Roland McGrath <roland@hack.frob.com>
16148 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16149 (PREPARE_VERSION): Just use assert instead, it will be elided
16150 under [NDEBUG] anyway.
16152 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16154 * sysdeps/unix/sysv/linux/Makefile: Include
16155 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16156 (sysdep_routines): Remove sysctl.
16157 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16158 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16159 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16160 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16161 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16163 2012-05-22 Andreas Jaeger <aj@suse.de>
16165 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16166 that pseudo_end is just ret and the stack pointer is correct also
16167 for static library in error case.
16169 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16172 * nss/nsswitch.c (defconfig_entries): New variable.
16173 (__nss_database_lookup): Don't leak defconfig entries.
16174 (nss_parse_service_list): Don't leak on error paths.
16175 (free_database_entries): New function.
16176 (free_defconfig): New function.
16177 (free_mem): Move common code to free_database_entries.
16179 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16181 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16183 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16185 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16186 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16189 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16190 (INTERNAL_SYSCALL_TYPES): Likewise.
16191 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16192 (LOAD_REGS_TYPES_[1-6]): Likewise.
16193 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16194 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16196 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16198 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16199 copysignl for GLIBC_2_0.
16200 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16201 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16202 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16203 logbl for GLIBC_2_0.
16204 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16205 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16207 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16209 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16210 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16212 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16215 * time/mktime.c: Update copyright years.
16217 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16219 mktime: merge comment-quoting-style change from gnulib
16220 * time/mktime.c: Quote 'like this' in comments.
16221 The GNU coding standards suggest that we no longer quote `like this',
16222 as "`" and "'" are typically rendered asymmetrically nowadays.
16223 The typical gnulib style is to quote 'like this' when quoting
16224 code, and "like this" when quoting English.
16226 * time/mktime.c (compile-command): Add "-I.".
16228 mktime: merge mktime-internal.h change from gnulib
16229 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16231 mktime: merge time_r change from gnulib
16232 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16234 mktime: merge DEBUG change from gnulib
16235 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16236 case system <time.h> has a #define.
16238 mktime: merge <sys/types.h> change from gnulib
16239 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16240 since <time.t> is now guaranteed to define time_t.
16242 mktime: merge HAVE_CONFIG_H change from gnulib
16243 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16245 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16247 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16250 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16252 (struct rusage): Use anonymous union to pad each field to
16255 2012-05-21 David S. Miller <davem@davemloft.net>
16257 * Makefules (o-iterator): Remove .s cases.
16258 (compile-command.s): Delete.
16259 (COMPILE.s): Delete.
16260 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16262 2012-05-21 Joseph Myers <joseph@codesourcery.com>
16264 * configure.in (libc_cv_predef_stack_protector): Only consider
16265 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16266 * configure: Regenerated.
16268 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16271 New macro. Use R*LP on int and pointer.
16272 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16273 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16274 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16275 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16277 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16278 [__WORDSIZE_TIME64_COMPAT32] instead of
16279 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16280 (struct utmp): Likewise.
16281 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16282 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16284 (__WORDSIZE_TIME64_COMPAT32): This.
16285 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16286 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16287 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16288 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16289 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16290 (__WORDSIZE_TIME64_COMPAT32): New macro.
16292 2012-05-21 Andreas Jaeger <aj@suse.de>
16294 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16295 only if [SHARED]. Add prototype for __wcschr_ia32.
16297 2012-05-21 Roland McGrath <roland@hack.frob.com>
16299 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16300 of %rbp unmolested in the jmp_buf while mangling the low bits.
16301 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16302 unmolested high bits of %rbp while demangling the low bits.
16303 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16305 2012-05-21 Andreas Jaeger <aj@suse.de>
16307 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16308 * sunrpc/svc_simple.c: Use it for registerrpc.
16309 * sunrpc/xcrypt.c: Use it for passwd2des.
16311 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16313 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16315 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16316 Don't define if [__SYSCALL_WORDSIZE != 32].
16317 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16320 2012-05-21 Bruno Haible <bruno@clisp.org>
16321 Andreas Jaeger <aj@suse.de>
16323 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16324 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16325 inptr and inend for must_buffer_ch.
16326 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16327 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16328 * stdio-common/Makefile (tests): Remove bug15.
16329 (bug15-ENV): Remove macro.
16330 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16333 2012-05-19 Andreas Jaeger <aj@suse.de>
16334 Roland McGrath <roland@hack.frob.com>
16336 * manual/contrib.texi: Completely rewritten. It contains now an
16337 alphabetical list of contributors and their contributions.
16339 2012-05-21 Richard Henderson <rth@twiddle.net>
16341 * misc/getauxval.c (__getauxval): Use unsigned long int.
16342 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16343 (getauxval): Use unsigned long int.
16345 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16347 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16349 2012-05-21 Roland McGrath <roland@hack.frob.com>
16351 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16352 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16353 __alignof__ (long double).
16355 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16359 2012-05-20 Richard Henderson <rth@twiddle.net>
16361 * misc/getauxval.c: New file.
16362 * misc/sys/auxv.h: New file.
16363 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16364 (routines): Add getauxval.
16365 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16366 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16367 * elf/dl-sysdep.c (_dl_auxv): Remove.
16368 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16369 * elf/dl-support.c (_dl_auxv): New variable.
16370 (_dl_aux_init): Initialize it.
16371 * manual/startup.texi (Auxiliary Vector): New node.
16372 * sysdeps/generic/bits/hwcap.h: New file.
16373 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16374 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16375 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16376 * sysdeps/sparc/sysdep.h: ... here. Include it.
16377 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16378 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16384 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16390 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16394 2012-05-19 David S. Miller <davem@davemloft.net>
16396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16398 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16401 * math/s_ccosh.c: Include <float.h>
16402 (__ccosh): Avoid internal overflow calculating sinh and cosh
16403 values before multiplying by sin and cos values.
16404 * math/s_ccoshf.c: Likewise.
16405 * math/s_ccoshl.c: Likewise.
16406 * math/s_csin.c: Likewise.
16407 * math/s_csinf.c: Likewise.
16408 * math/s_csinl.c: Likewise.
16409 * math/s_csinh.c: Likewise.
16410 * math/s_csinhf.c: Likewise.
16411 * math/s_csinhl.c: Likewise.
16412 * math/libm-test.inc (ccos_test): Add more tests.
16413 (ccosh_test): Likewise.
16414 (csin_test): Likewise.
16415 (csinh_test): Likewise.
16416 * sysdeps/i386/fpu/libm-test-ulps: Update.
16417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16419 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16421 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16422 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16424 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16426 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16428 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16429 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16430 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16431 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16432 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16433 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16434 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16435 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16436 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16437 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16438 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16439 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16440 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16441 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16442 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16443 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16444 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16445 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16446 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16447 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16448 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16449 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16450 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16451 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16452 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16453 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16454 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16455 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16456 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16457 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16458 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16460 2012-05-18 Andreas Jaeger <aj@suse.de>
16462 * csu/.gitignore: Delete.
16464 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16466 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16467 (timex): Use __syscall_slong_t.
16469 2012-05-18 Andreas Jaeger <aj@suse.de>
16470 Carlos O'Donell <carlos_odonell@mentor.com>
16472 * manual/install.texi (Configuring and compiling): Update
16473 description about files modified in the source directory.
16474 * INSTALL: Regenerated.
16476 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16478 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16479 value. Use "or" to set return value to -1.
16480 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16481 negate return value.
16483 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16485 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16486 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16487 failure if the compiler has Graphite support disabled.
16488 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16490 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16491 CFLAGS-memmove.c): Likewise.
16492 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16495 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16497 * sysdeps/x86_64/x32/_itoa.h: New file.
16499 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16500 getdents system call only if kernel and user dirents have the
16501 same d_ino and d_off.
16503 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16504 LLONG_MAX != LONG_MAX.
16505 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16506 (_fitoa_word): Likewise.
16508 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16510 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16511 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16512 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16514 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16515 include <bits/wordsize.h>. Check __x86_64__ instead of
16517 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16518 if __x86_64__ is defined. Use anonymous union on fpstate.
16520 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16523 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16525 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16526 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16527 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16528 Refer to _rtld_local_ro instead of _rtld_global_ro.
16529 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16531 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16533 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16535 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16536 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16537 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16539 * sysdeps/powerpc/powerpc32/dl-machine.c
16540 (__elf_machine_runtime_setup) [PROF]: Don't reference
16543 2012-05-18 Andreas Jaeger <aj@suse.de>
16545 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16546 function only available for GCCs before 3.4 since GCC 3.4
16547 introduced a builtin.
16549 (llrintf): Likewise.
16550 (llrint): Likewise.
16557 (nearbyint): Likewise.
16558 (nearbyintf): Likewise.
16562 (floorf): Likewise.
16564 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16566 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16567 on both fields and cast pointer to __syscall_ulong_t.
16569 * bits/types.h (__fsword_t): New type.
16570 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16571 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16573 (__FSWORD_T_TYPE): Likewise.
16574 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16575 (__FSWORD_T_TYPE): Likewise.
16576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16577 (__FSWORD_T_TYPE): Likewise.
16578 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16579 (__FSWORD_T_TYPE): Likewise.
16580 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16581 __SWORD_TYPE with __fsword_t.
16582 (statfs64): Likewise.
16584 2012-05-17 David S. Miller <davem@davemloft.net>
16586 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16588 2012-05-17 Andreas Jaeger <aj@suse.de>
16590 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16593 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16595 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16597 2012-05-17 Andreas Jaeger <aj@suse.de>
16599 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16602 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16604 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16606 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16608 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16609 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16611 2012-05-17 Andreas Jaeger <aj@suse.de>
16612 Carlos O'Donell <carlos_odonell@mentor.com>
16615 * sysdeps/x86_64/multiarch/init-arch.h
16616 (bit_YMM_Usable): Rename to...
16617 (bit_AVX_Usable): ... this.
16618 (bit_FMA4_Usable): New macro.
16619 (bit_XMM_state): New macro.
16620 (bit_YMM_state): New macro.
16621 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16622 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16623 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16624 (CPUID_OSXSAVE): New macro.
16625 (CPUID_AVX): New macro.
16626 (CPUID_FMA4): New macro.
16627 (index_YMM_Usable): Rename to...
16628 (index_AVX_Usable): ... this.
16629 (HAS_AVX): Use HAS_ARCH_FEATURE.
16630 (HAS_FMA4): Likewise.
16631 (HAS_YMM_USABLE): Remove.
16632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16633 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16635 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16636 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16637 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16638 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16639 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16641 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16643 * math/libm-test.c: Support platforms without multiple rounding modes.
16644 * math/bug-nextafter.c: Support platforms without FP exceptions.
16645 * math/bug-nexttoward.c: Likewise.
16646 * math/test-fenv.c: Likewise.
16647 * math/test-misc.c: Likewise.
16648 * stdlib/bug-getcontext.c: Likewise.
16650 2012-05-17 Andreas Jaeger <aj@suse.de>
16652 * manual/examples/search.c (critter_cmp): Change signature to
16654 * manual/string.texi (Collation Functions): Likewise.
16656 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16658 * bits/types.h: Fold copyright years.
16659 * bits/typesizes.h: Likewise.
16660 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16661 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16663 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16664 * time/time.h: Likewise.
16666 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16669 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16670 in instead of returning them. Return void.
16671 (__libc_mallinfo): Accumulate over all arenas.
16672 (__malloc_stats): Adjust for change in int_mallinfo interface.
16674 2012-05-16 Roland McGrath <roland@hack.frob.com>
16677 * configure.in (NM): Add AC_CHECK_TOOL for it.
16678 (libc_extra_cflags): New substituted variable.
16679 Check for -fstack-protector being used implicitly.
16680 * configure: Regenerated.
16681 * config.make.in (config-extra-cflags): New variable,
16682 gets @libc_extra_cflags@.
16683 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16686 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16687 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16688 * configure: Regenerated.
16689 * config.make.in (CPPUNDEFS): New substituted variable.
16690 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16691 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16692 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16694 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16696 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16697 (mq_attr): Use __syscall_slong_t.
16699 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16701 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16702 Check __x86_64__ instead of __WORDSIZE.
16703 (_STAT_VER_LINUX): Likewise.
16704 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16705 __syscall_ulong_t and __syscall_slong_t.
16706 (stat64): Likewise.
16708 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16710 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16712 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16714 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16716 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16718 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16721 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16722 include <bits/wordsize.h>. Check __x86_64__ instead of
16724 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16726 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16728 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16729 include <bits/wordsize.h>. Check __x86_64__ instead of
16731 (user_regs_struct): Use "__extension__ unsigned long long"
16732 instead of "unsigned long" if __x86_64__ is defined.
16733 (user): Likewise. Pad after pointer field if __ILP32__ is
16736 2012-05-16 Joseph Myers <joseph@codesourcery.com>
16738 * configure.in (makeinfo): Require version 4.5 or later. Allow
16740 * configure: Regenerated.
16741 * manual/install.texi (texinfo): Increase version requirement to
16743 * INSTALL: Regenerated.
16745 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16747 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16749 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16751 * sysdeps/x86_64/x32/ffs.c: New file.
16753 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16755 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16756 defined. Use __syscall_ulong_t.
16757 (shminfo): Use __syscall_ulong_t.
16758 (shm_info): Likewise.
16760 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16763 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16765 (msgqnum_t): Use __syscall_ulong_t.
16766 (msglen_t): Likewise.
16767 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16770 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16771 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16773 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16775 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16776 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16778 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16781 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16782 include <bits/wordsize.h>. Check __x86_64__ instead of
16785 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16786 "unsigned long long int" if __x86_64__ is defined.
16787 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16789 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16790 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16791 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16793 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16795 (GET_PC): Cast to uintptr_t first.
16796 (GET_FRAME): Likewise.
16797 (GET_STACK): Likewise.
16799 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16800 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16801 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16802 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16803 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16804 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16805 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16806 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16807 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16808 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16809 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16810 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16811 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16812 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16813 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16814 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16815 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16816 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16817 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16818 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16819 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16820 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16821 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16822 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16823 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16824 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16825 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16826 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16827 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16829 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16831 * Makerules (+depfiles): Also collect depfiles from .oS in
16833 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16834 .oS, $(libnldbl-routines)).
16836 * Makerules (native-compile-mkdep-flags): Define.
16837 * sunrpc/Makefile (extra-objs): Add $(addprefix
16838 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16839 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16840 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16841 calling $(make-target-directory).
16843 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16845 * bits/types.h (__snseconds_t): Removed.
16846 * time/time.h (struct timespec): Replace __snseconds_t with
16848 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16849 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16851 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16852 (__SNSECONDS_T_TYPE): Likewise.
16853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16854 (__SNSECONDS_T_TYPE): Likewise.
16855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16856 (__SNSECONDS_T_TYPE): Likewise.
16858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16860 * sysdeps/mach/hurd/bits/typesizes.h
16861 (__SYSCALL_SLONG_TYPE): New macro.
16862 (__SYSCALL_ULONG_TYPE): Likewise.
16864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16866 * bits/types.h (__syscall_slong_t): New type.
16867 (__syscall_ulong_t): Likewise.
16869 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16870 (__SYSCALL_ULONG_TYPE): Likewise.
16871 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16872 (__SYSCALL_SLONG_TYPE): Likewise.
16873 (__SYSCALL_ULONG_TYPE): Likewise.
16874 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16875 (__SYSCALL_SLONG_TYPE): Likewise.
16876 (__SYSCALL_ULONG_TYPE): Likewise.
16877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16878 (__SYSCALL_SLONG_TYPE): Likewise.
16879 (__SYSCALL_ULONG_TYPE): Likewise.
16881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16883 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16884 Add sigaltstack-offsets.sym.
16885 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16886 <sigaltstack-offsets.h>.
16887 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16888 longjmp_msg pointer.
16889 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16890 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16892 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16894 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16896 * elf/stackguard-macros.h: Remove file.
16897 * sysdeps/generic/stackguard-macros.h: New file.
16898 * sysdeps/i386/stackguard-macros.h: Likewise.
16899 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16900 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16901 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16902 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16903 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16904 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16905 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16906 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16907 <elf/stackguard-macros.h>.
16910 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16911 __aligned__ in attribute.
16912 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16913 (gregset_t): Likewise.
16915 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16917 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16918 * sysdeps/x86_64/64/Implies-after: Here. New file.
16919 * sysdeps/x86_64/x32/Implies-after: New file.
16921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16923 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16924 and access return value for _dl_profile_fixup. Use R10_LP to
16927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16929 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16931 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16933 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16934 * sysdeps/x86_64/x32/sysdep.h: New file.
16936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16938 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16939 * sysdeps/x86_64/setjmp.S: Likewise.
16941 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16943 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16944 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16945 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16946 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16947 remove unused global constant.
16949 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16951 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16952 include of <not-cancel.h>.
16954 2012-05-15 Roland McGrath <roland@hack.frob.com>
16956 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16958 2012-05-15 Jeff Law <law@redhat.com>
16959 Andreas Jaeger <aj@suse.de>
16962 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16964 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16965 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16966 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16967 code changing __hst_map_handle.map.
16969 2012-05-15 Roland McGrath <roland@hack.frob.com>
16971 * configure.in (sysnames): Look for Implies-before and Implies-after
16973 * configure: Regenerated.
16975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16977 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16978 8-byte data alignment with LP_SIZE alignment.
16980 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16982 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16987 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16989 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16991 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16992 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16993 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16995 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16999 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17000 (stackinfo_sub_sp): Likewise.
17002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17009 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17012 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17014 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17019 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17023 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17024 into R11_LP and load __x86_64_shared_cache_size_half into
17027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17029 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17032 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17036 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17038 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17040 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17041 powerpc32/power7/fpu/s_logb.c via #include.
17042 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17043 powerpc32/power7/fpu/s_logbf.c via #include.
17044 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17045 powerpc32/power7/fpu/s_logbl.c via #include.
17047 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17049 * README.libm: Remove file.
17051 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17053 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17054 count for x32. Use R*_LP and omit operand-size suffix.
17056 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17058 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17059 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17060 * sysdeps/x86_64/x32/shlib-versions: New file.
17062 2012-05-14 Roland McGrath <roland@hack.frob.com>
17064 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17065 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17066 Use _dl_fatal_printf instead.
17068 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17070 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17071 set if not set by the user. Do not allow for being unset.
17072 * sysdeps/unix/sysv/linux/configure: Regenerated.
17074 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17076 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17077 the `q' suffix from lea and replace .quad with ASM_ADDR.
17079 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17082 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17084 (PTR_DEMANGLE): Likewise.
17086 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17088 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17090 (ASM_ADDR): Likewise.
17091 (RAX_LP): Likewise.
17092 (RBP_LP): Likewise.
17093 (RBX_LP): Likewise.
17094 (RCX_LP): Likewise.
17095 (RDI_LP): Likewise.
17096 (RSI_LP): Likewise.
17097 (RSP_LP): Likewise.
17100 (R10_LP): Likewise.
17101 (R10_LP): Likewise.
17102 (R11_LP): Likewise.
17103 (R12_LP): Likewise.
17104 (R13_LP): Likewise.
17105 (R14_LP): Likewise.
17106 (R15_LP): Likewise.
17108 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17110 * sysdeps/x86_64/x32/dl-machine.h: New file.
17112 2012-05-14 Andreas Jaeger <aj@suse.de>
17114 * manual/Makefile (subdir): Remove export of subdir.
17115 (all): Remove target.
17116 (.PHONY): Remove all from list.
17117 (mkinstalldirs): Remove.
17118 (.PHONY): Remove installdirs from list.
17119 ($(inst_infodir)/libc.info): Use make-target-directory.
17120 (installdirs): Remove.
17121 (subdir_%): Remove.
17122 (glibc-targets): Remove.
17125 ($(objpfx)stubs ../po/manual.pot): Remove.
17126 ($(objpfx)stamp%): Remove.
17127 (make-target-directory): Remove.
17128 (subdir_install): Remove.
17129 (routines): Remove.
17136 * manual/.gitignore: Remove, it's not needed anymore.
17137 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17139 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17141 (texis): Renamed to $(objpfx)texis.
17142 (texis-path): New, contains path to generated files.
17143 (chapters.%): Use texis-path for complete path, add extra argument
17145 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17146 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17147 (summary,texi, stamp-summary): Use complete path of
17148 files. Generate files in build dir.
17149 (dir-add.texi): Build in build dir.
17150 (libm-err.texi,stamp-libm-err): Likewise.
17151 (version.texi, stamp-version): Likewise.
17152 (.%c.texi): Likewise.
17153 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17154 (mostlyclean): Remove target.
17155 (realclean): Remove target.
17156 (generated): Add new variable with contents from mostlyclean and
17157 realclean, remove entries duplicated in common-mostlyclean, add
17158 stamp-libm-err and stamp-version.
17159 (generated-dirs): Add libc directory.
17160 ($(inst_infodir)/libc.info): Install files from build dir.
17162 * manual/install.texi (Configuring and compiling): Adjust since
17163 the info files are not part of the tar ball anymore.
17165 2012-05-14 Andreas Jaeger <aj@suse.de>
17167 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17170 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17173 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17174 to 2.2.0 where earlier.
17175 * sysdeps/unix/sysv/linux/configure: Regenerated.
17176 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17177 Remove conditional code.
17178 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17179 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17180 Remove conditional code.
17181 [!__NR_lchown]: Likewise.
17182 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17183 [__NR_lchown]: Likewise.
17184 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17185 comment referencing __ASSUME_LCHOWN_SYSCALL.
17186 * sysdeps/unix/sysv/linux/i386/sigaction.c
17187 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17188 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17189 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17190 Remove conditional code.
17191 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17192 (__protocol_available): Remove #if 0 code.
17193 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17195 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17196 * sysdeps/unix/sysv/linux/kernel-features.h
17197 (__ASSUME_GETCWD_SYSCALL): Don't define.
17198 (__ASSUME_REALTIME_SIGNALS): Likewise.
17199 (__ASSUME_PREAD_SYSCALL): Likewise.
17200 (__ASSUME_PWRITE_SYSCALL): Likewise.
17201 (__ASSUME_POLL_SYSCALL): Likewise.
17202 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17203 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17205 (__ASSUME_SIOCGIFNAME): Don't define.
17206 (__ASSUME_MSG_NOSIGNAL): Likewise.
17207 (__ASSUME_SENDFILE): Define unconditionally.
17208 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17209 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17211 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17212 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17213 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17214 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17215 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17216 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17217 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17219 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17220 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17222 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17223 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17225 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17226 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17228 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17229 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17231 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17232 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17234 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17237 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17240 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17242 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17243 Remove conditional code.
17244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17245 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17246 Remove conditional code.
17247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17248 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17249 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17250 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17251 Remove conditional code.
17252 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17253 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17254 Remove conditional code.
17255 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17256 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17257 Remove conditional code.
17258 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17259 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17260 Remove conditional code.
17261 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17262 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17263 Remove conditional code.
17264 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17265 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17266 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17267 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17268 * sysdeps/unix/sysv/linux/sigaction.c
17269 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17270 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17271 * sysdeps/unix/sysv/linux/sigpending.c
17272 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17273 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17274 * sysdeps/unix/sysv/linux/sigprocmask.c
17275 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17276 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17277 * sysdeps/unix/sysv/linux/sigsuspend.c
17278 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17279 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17280 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17281 (__libc_missing_rt_sigs): Remove.
17282 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17283 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17284 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17285 Remove conditional code.
17286 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17287 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17289 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17290 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17291 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17292 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17294 2012-05-14 Andreas Jaeger <aj@suse.de>
17296 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17297 it's not used in glibc.
17298 (__coshm1): Likewise.
17299 (__acosh1p): Likewise.
17302 * manual/string.texi (Copying and Concatenation): Add missing
17303 variable in concat example.
17304 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17306 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17309 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17310 __builtin_clzl with __builtin_clzll.
17312 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17315 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17318 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17320 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17321 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17322 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17323 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17325 2012-05-14 Mike Frysinger <vapier@gentoo.org>
17327 * NEWS: Update ia64 info.
17329 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17331 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17334 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17336 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17337 * sysdeps/unix/syscalls.list (dup3): Likewise.
17338 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17339 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17341 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17343 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17344 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17346 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17348 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17350 (TLS_IE): Use mov/add instead of movq/addq to load thread
17352 (TLS_GD_PREFIX): New.
17355 2012-05-11 David S. Miller <davem@davemloft.net>
17357 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17358 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17359 (_FPU_SETCW): Likewise.
17361 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17363 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17364 is 32-byte aligned.
17366 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17369 * iconvdata/gb18030.c: Update tables.
17370 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17371 characters specially.
17372 (BODY for TO_LOOP): Add encoding of missing ranges.
17374 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17377 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17378 * sysdeps/mach/hurd/dup3.c: Likewise.
17379 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17380 * sysdeps/powerpc/memmove.c:: Likewise.
17382 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17384 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17385 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17387 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17389 * elf/elf.h (R_X86_64_RELATIVE64): New.
17390 (R_X86_64_NUM): Updated.
17391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17392 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17393 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17394 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17395 tst-quad1pie tst-quad2pie
17396 (modules-names): Add tst-quadmod1 tst-quadmod2.
17397 ($(objpfx)tst-quad1): New dependency.
17398 ($(objpfx)tst-quad2): Likewise.
17399 ($(objpfx)tst-quad1pie): Likewise.
17400 ($(objpfx)tst-quad2pie): Likewise.
17401 * sysdeps/x86_64/tst-quad1.c: New file.
17402 * sysdeps/x86_64/tst-quad1pie.c: New file.
17403 * sysdeps/x86_64/tst-quad2.c: Likewise.
17404 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17405 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17406 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17407 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17408 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17410 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17412 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17413 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17414 * streams/stropts.h (t_scalar_t): Define type.
17416 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17417 (_PATH_PRESERVE): Set to "/var/lib".
17418 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17420 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17423 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17424 if __dir_mkfile succeeded.
17426 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17427 checking for _hurd_dtablesize. Unlock it right after having
17428 finished _hurd_dtable allocation.
17430 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17432 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17433 * sysdeps/mach/hurd/configure: Regenerated.
17434 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17435 special-casing to...
17436 * sysdeps/gnu/configure.in: ... this new file.
17437 * sysdeps/unix/sysv/linux/configure: Regenerated.
17438 * sysdeps/gnu/configure: New generated file.
17440 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17441 for Linux: use nsec instead of usec, as well as:
17442 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17443 members of type struct timespec.
17444 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17446 (struct stat64): Likewise.
17447 (_STATBUF_ST_NSEC): New macro.
17448 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17450 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17451 __strtoul_internal rather than strtoul.
17453 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17455 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17458 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17460 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17461 which preserves existing values.
17462 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17464 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17466 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17467 TIMEOUT values. Return EINVAL for NFDS values either negative or
17468 greater than FD_SETSIZE.
17470 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17472 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17473 allocated, call __vm_protect to finish enabling the existing space, and
17474 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17475 allocate the remainder.
17477 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17479 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17480 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17482 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17484 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17485 sysdeps/mach/hurd/readlink.c.
17487 * posix/tst-sysconf.c (posix_options): Only use
17488 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17489 _POSIX_SYNCHRONIZED_IO when they are defined
17490 * sysdeps/mach/hurd/bits/posix_opt.h:
17491 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17492 (_XOPEN_REALTIME): Undefine macro.
17493 (_XOPEN_REALTIME_THREADS): Undefine macro.
17494 (_XOPEN_SHM): Undefine macro.
17495 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17497 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17499 (_POSIX_ASYNC_IO): Undefine macro.
17500 (_POSIX_PRIORITIZED_IO): Undefine macro.
17501 (_POSIX_SPIN_LOCKS): Define macro to -1.
17503 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17504 SA_NODEFER, SA_RESETHAND.
17505 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17506 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17509 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17511 * elf/Makefile (pldd-modules): Define unconditionally.
17513 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17515 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17517 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17519 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17520 Return ENOENT when name is empty.
17521 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17523 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17525 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17527 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17529 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17531 Fix mlock in all cases except non-readable pages.
17532 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17533 instead of VM_PROT_ALL as parameter to __vm_wire function.
17535 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17536 (__mkdir): When path is `/', just fail with EEXIST.
17537 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17539 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17541 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17542 <sys/uio.h> (for writev).
17543 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17544 and <sys/param.h> (for MIN).
17546 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17548 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17549 REQUESTED_TIME. Properly set the remaining time and return EINTR
17552 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17554 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17555 Depend on against $(link-rpcuserlibs).
17557 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17559 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17560 (__libc_stack_end): Do not use attribute_relro.
17561 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17562 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
17563 to libthread-provided value.
17564 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17567 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17570 * bits/libc-lock.h (__libc_once_get): New macro.
17571 * sysdeps/mach/bits/libc-lock.h: Likewise.
17572 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17573 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17574 instead of using implementation details.
17576 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17577 * libio/freopen.c: Likewise.
17578 * libio/freopen64.c: Likewise.
17579 * misc/syslog.c: Likewise.
17580 * nscd/connections.c: Likewise.
17581 * nscd/netgroupcache.c: Likewise.
17582 * sysdeps/posix/getcwd.c: Likewise.
17584 2012-05-10 Roland McGrath <roland@hack.frob.com>
17586 * math/w_ilogbf.c: Add #include <limits.h>.
17588 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17590 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
17591 path instead of returning without unlocking.
17593 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17594 immediate-write ioctls.
17595 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17599 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17600 __builtin_frame_address instead of making assumptions about the
17601 location of the return address relative to DATA. Force early load of
17602 the return address.
17603 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17604 __builtin_frame_address.
17607 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17608 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17609 implement dup3 and do some further code clean-ups.
17610 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17611 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17613 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17615 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17617 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17618 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17619 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17620 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17621 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17624 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17625 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17626 when handler == SIG_ERR, not when handler != SIG_ERR.
17628 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17630 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17631 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17634 accept4 for GNU Hurd.
17635 * include/sys/socket.h (__libc_accept4): New prototype.
17636 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17637 to implement __libc_accept4.
17638 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17640 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17642 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17643 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17644 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17645 signal-defines.sym.
17647 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17649 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
17651 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17653 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17654 assertion on O_CLOEXEC flag.
17655 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17656 * hurd/intern-fd.c: Likewise.
17657 * hurd/port2fd.c: Likewise.
17659 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17662 * bits/in.h (IPV6_PKTINFO): Define new macro.
17663 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17665 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17670 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17671 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17672 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17673 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17674 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17675 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17676 * math/libm-test.inc (logb_test) : Additional logb tests.
17678 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17679 Andreas Jaeger <aj@suse.de>
17681 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17682 * configure: Regenerated.
17683 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17684 * config.make.in (link-obsolete-rpc): New substituted variable.
17685 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17686 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17687 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17688 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17689 so that libc.a contains the symbols.
17690 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17691 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17692 * sunrpc/auth_none.c: Likewise.
17693 * sunrpc/auth_unix.c: Likewise.
17694 * sunrpc/authdes_prot.c: Likewise.
17695 * sunrpc/authuxprot.c: Likewise.
17696 * sunrpc/clnt_gen.c: Likewise.
17697 * sunrpc/clnt_perr.c: Likewise.
17698 * sunrpc/clnt_raw.c: Likewise.
17699 * sunrpc/clnt_simp.c: Likewise.
17700 * sunrpc/clnt_tcp.c: Likewise.
17701 * sunrpc/clnt_udp.c: Likewise.
17702 * sunrpc/clnt_unix.c: Likewise.
17703 * sunrpc/des_crypt.c: Likewise.
17704 * sunrpc/des_soft.c: Likewise.
17705 * sunrpc/get_myaddr.c: Likewise.
17706 * sunrpc/key_call.c: Likewise.
17707 * sunrpc/key_prot.c: Likewise.
17708 * sunrpc/netname.c: Likewise.
17709 * sunrpc/pm_getmaps.c: Likewise.
17710 * sunrpc/pm_getport.c: Likewise.
17711 * sunrpc/pmap_clnt.c: Likewise.
17712 * sunrpc/pmap_prot.c: Likewise.
17713 * sunrpc/pmap_prot2.c: Likewise.
17714 * sunrpc/pmap_rmt.c: Likewise.
17715 * sunrpc/publickey.c: Likewise.
17716 * sunrpc/rpc_cmsg.c: Likewise.
17717 * sunrpc/rpc_common.c: Likewise.
17718 * sunrpc/rpc_dtable.c: Likewise.
17719 * sunrpc/rpc_prot.c: Likewise.
17720 * sunrpc/rpc_thread.c: Likewise.
17721 * sunrpc/rtime.c: Likewise.
17722 * sunrpc/svc.c: Likewise.
17723 * sunrpc/svc_auth.c: Likewise.
17724 * sunrpc/svc_raw.c: Likewise.
17725 * sunrpc/svc_run.c: Likewise.
17726 * sunrpc/svc_tcp.c: Likewise.
17727 * sunrpc/svc_udp.c: Likewise.
17728 * sunrpc/svc_unix.c: Likewise.
17729 * sunrpc/svcauth_des.c: Likewise.
17730 * sunrpc/xcrypt.c: Likewise.
17731 * sunrpc/xdr.c: Likewise.
17732 * sunrpc/xdr_array.c: Likewise.
17733 * sunrpc/xdr_float.c: Likewise.
17734 * sunrpc/xdr_intXX_t.c: Likewise.
17735 * sunrpc/xdr_mem.c: Likewise.
17736 * sunrpc/xdr_rec.c: Likewise.
17737 * sunrpc/xdr_ref.c: Likewise.
17738 * sunrpc/xdr_sizeof.c: Likewise.
17739 * sunrpc/xdr_stdio.c: Likewise.
17741 2012-05-10 Roland McGrath <roland@hack.frob.com>
17743 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17744 change. Update copyright years.
17746 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17748 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17750 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17751 Joseph Myers <joseph@codesourcery.com>
17752 Paul Pluzhnikov <ppluzhnikov@google.com>
17755 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17757 [cross-compiling] (extra-libs): Likewise.
17758 [cross-compiling] (extra-libs-others): Likewise.
17759 [cross-compiling] (librpcsvc-routines): Likewise.
17760 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17761 [cross-compiling] (omit-deps): Likewise.
17762 (sunrpc-CPPFLAGS): New variable.
17763 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17764 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17765 (cross-rpcgen-objs): New variable.
17766 (extra-objs): Append $(cross-rpcgen-objs).
17767 ($(cross-rpcgen-objs)): New rule.
17768 ($(objpfx)cross-rpcgen): Likewise.
17769 (rpcgen-cmd): Define to use $(built-program-file). Expand
17771 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17772 ($(objpfx)x%.stmp): Likewise.
17773 * sunrpc/proto.h [IS_IN_build] (_): Define.
17774 [IS_IN_build] (_libc_intl_domainname): Likewise.
17776 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17778 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17779 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17780 and R_X86_64_TPOFF64.
17782 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17784 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17785 sysdeps/unix/sysv/syscalls.list.
17788 * sysdeps/unix/sysv/syscalls.list: Remove file.
17790 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17793 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17794 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17795 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17796 (__LC_IDENTIFICATION): Make these macros useful in #if
17797 expressions, as required by C99.
17799 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17801 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17802 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17805 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17807 * stdlib/longlong.h: Updated from GCC.
17809 2012-05-09 Andreas Jaeger <aj@suse.de>
17811 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17812 default is first entry.
17813 (run_mode): Set type.
17814 (main): Remove informal message about syslog.
17815 (options): Fix typo.
17818 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17821 (llrintf): Likewise.
17822 (llrint): Likewise.
17825 (nearbyint): Likewise.
17826 (nearbyintf): Likewise.
17828 2012-05-09 Andreas Jaeger <aj@suse.de>
17829 Pedro Alves <palves@redhat.com>
17831 * nscd/nscd.c (run_mode): Use enum.
17832 (main): Cleanup coding style issue.
17834 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
17835 Andreas Jaeger <aj@suse.de>
17837 * nscd/nscd.c (go_background): Replaced with...
17838 (run_mode): ... this.
17839 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17840 (options): Add -F --foreground.
17841 (main): Implement it.
17842 (parse_opt): Parse it.
17844 2012-05-09 Andreas Jaeger <aj@suse.de>
17847 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17848 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17849 -Wconversion warning.
17850 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17853 2012-05-09 Joseph Myers <joseph@codesourcery.com>
17855 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17857 (LC_ALL): Use macro-int-constant.
17858 (LC_COLLATE): Likewise.
17859 (LC_CTYPE): Likewise.
17860 (LC_MESSAGES): Likewise.
17861 (LC_MONETARY): Likewise.
17862 (LC_NUMERIC): Likewise.
17863 (LC_TIME): Likewise.
17864 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17865 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17866 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17867 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17869 [C99-based standards] (float_t): Expect type.
17870 [C99-based standards] (double_t): Expect type.
17871 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17873 [C99-based standards] (HUGE_VALL): Likewise.
17874 [C99-based standards] (INFINITY): Likewise.
17875 [C99-based standards] (NAN): Likewise.
17876 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17877 [C99-based standards] (FP_NAN): Likewise.
17878 [C99-based standards] (FP_NORMAL): Likewise.
17879 [C99-based standards] (FP_SUBNORMAL): Likewise.
17880 [C99-based standards] (FP_ZERO): Likewise.
17881 [C99-based standards] (FP_FAST_FMA): Use
17882 optional-macro-int-constant. Specify type. Require == 1.
17883 [C99-based standards] (FP_FAST_FMAF): Likewise.
17884 [C99-based standards] (FP_FAST_FMAL): Likewise.
17885 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17886 [C99-based standards] (FP_ILOGBNAN): Likewise.
17887 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17889 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17890 [C99-based standards] (math_errhandling): Specify type.
17891 [ISO99 || ISO11] (signgam): Do not allow.
17892 [non-C99-based standards] (copysignf): Do not allow.
17893 [non-C99-based standards] (exp2f): Likewise.
17894 [non-C99-based standards] (log2f): Likewise.
17895 [non-C99-based standards] (modff): Allow.
17896 [non-C99-based standards] (erff): Do not allow.
17897 [non-C99-based standards] (erfcf): Likewise.
17898 [non-C99-based standards] (gammaf): Likewise.
17899 [non-C99-based standards] (hypotf): Likewise.
17900 [non-C99-based standards] (j0f): Likewise.
17901 [non-C99-based standards] (j1f): Likewise.
17902 [non-C99-based standards] (jnf): Likewise.
17903 [non-C99-based standards] (lgammaf): Likewise.
17904 [non-C99-based standards] (tgammaf): Likewise.
17905 [non-C99-based standards] (y0f): Likewise.
17906 [non-C99-based standards] (y1f): Likewise.
17907 [non-C99-based standards] (ynf): Likewise.
17908 [non-C99-based standards] (isnanf): Likewise.
17909 [non-C99-based standards] (acoshf): Likewise.
17910 [non-C99-based standards] (asinhf): Likewise.
17911 [non-C99-based standards] (atanhf): Likewise.
17912 [non-C99-based standards] (cbrtf): Likewise.
17913 [non-C99-based standards] (expm1f): Likewise.
17914 [non-C99-based standards] (ilogbf): Likewise.
17915 [non-C99-based standards] (log1pf): Likewise.
17916 [non-C99-based standards] (logbf): Likewise.
17917 [non-C99-based standards] (nextafterf): Likewise.
17918 [non-C99-based standards] (remainderf): Likewise.
17919 [non-C99-based standards] (rintf): Likewise.
17920 [non-C99-based standards] (scalbf): Likewise.
17921 [non-C99-based standards] (copysignl): Likewise.
17922 [non-C99-based standards] (exp2l): Likewise.
17923 [non-C99-based standards] (log2l): Likewise.
17924 [non-C99-based standards] (modfl): Allow.
17925 [non-C99-based standards] (erfl): Do not allow.
17926 [non-C99-based standards] (erfcl): Likewise.
17927 [non-C99-based standards] (gammal): Likewise.
17928 [non-C99-based standards] (hypotl): Likewise.
17929 [non-C99-based standards] (j0l): Likewise.
17930 [non-C99-based standards] (j1l): Likewise.
17931 [non-C99-based standards] (jnl): Likewise.
17932 [non-C99-based standards] (lgammal): Likewise.
17933 [non-C99-based standards] (tgammal): Likewise.
17934 [non-C99-based standards] (y0l): Likewise.
17935 [non-C99-based standards] (y1l): Likewise.
17936 [non-C99-based standards] (ynl): Likewise.
17937 [non-C99-based standards] (isnanl): Likewise.
17938 [non-C99-based standards] (acoshl): Likewise.
17939 [non-C99-based standards] (asinhl): Likewise.
17940 [non-C99-based standards] (atanhl): Likewise.
17941 [non-C99-based standards] (cbrtl): Likewise.
17942 [non-C99-based standards] (expm1l): Likewise.
17943 [non-C99-based standards] (ilogbl): Likewise.
17944 [non-C99-based standards] (log1pl): Likewise.
17945 [non-C99-based standards] (logbl): Likewise.
17946 [non-C99-based standards] (nextafterl): Likewise.
17947 [non-C99-based standards] (remainderl): Likewise.
17948 [non-C99-based standards] (rintl): Likewise.
17949 [non-C99-based standards] (scalbl): Likewise.
17950 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17951 [non-C99-based standards] (FP_*): Do not allow.
17952 [C99-based standards] (FP_*): Change to
17953 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17954 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17956 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17957 (SIG_ERR): Likewise.
17958 [X/Open-based standards] (SIG_HOLD): Likewise.
17959 (SIG_IGN): Likewise.
17960 (SIGABRT): Use macro-int-constant. Specify type. Require
17962 (SIGFPE): Likewise.
17963 (SIGILL): Likewise.
17964 (SIGINT): Likewise.
17965 (SIGSEGV): Likewise.
17966 (SIGTER): Likewise.
17967 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17968 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17969 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17970 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17971 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17972 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17973 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17974 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17975 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17976 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17977 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17978 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17979 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17980 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17981 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17982 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17983 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17984 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17985 [X/Open-based standards] (SIGTRAP): Likewise.
17986 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17987 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17988 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17989 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17990 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17993 2012-05-08 Ian Wienand <ianw@vmware.com>
17996 * time/tzset.c (__tzset_parse_tz): Update default rules for
17997 daylight time changes in the Energy Policy Act of 2005.
17999 2012-05-09 Andreas Jaeger <aj@suse.de>
18002 * elf/ldconfig.c (parse_conf): Change string to make clear that
18003 ldconfig only issued a warning if ld.so.conf does not exist.
18005 2012-05-08 David S. Miller <davem@davemloft.net>
18007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18008 movxtod instead of popping the value on the stack.
18010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18012 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18014 * config.h.in: Add HAVE_ARM_PCS_VFP.
18016 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
18019 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18020 checking but the checks are disabled for any reason.
18022 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18024 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18025 and ELF64_R_TYPE with ELFW(R_TYPE).
18027 2012-05-08 Joseph Myers <joseph@codesourcery.com>
18029 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18030 (ulimit): Likewise.
18032 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18033 (settimeofday): Likewise.
18035 2012-05-08 Mike Frysinger <vapier@gentoo.org>
18037 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18038 a struct th_u2 inside the union, and move tu_block/tu_code into
18039 a new th_u3 union of tu_block/tu_code inside of that. Move
18040 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18041 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18042 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18043 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18044 (th_stuff): Change to th_u1.tu_stuff.
18046 (th_msg): Change to th_u1.th_u2.tu_data.
18048 2012-05-07 David S. Miller <davem@davemloft.net>
18050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18053 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18054 (SETUP_PIC_REG): Use it.
18055 (SETUP_PIC_REG_LEAF): Use it.
18057 2012-05-07 Joseph Myers <joseph@codesourcery.com>
18061 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18063 (EXPL_FINITE): Likewise.
18064 (FLDLOG): Likewise.
18065 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18066 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18068 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18070 (EXPL_FINITE): Likewise.
18071 (FLDLOG): Likewise.
18072 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18073 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18075 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18076 test of -max_value argument for long double.
18077 * sysdeps/i386/fpu/libm-test-ulps: Update.
18078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18080 2012-05-06 David S. Miller <davem@davemloft.net>
18082 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18083 quad soft-float symbols whose references which are compiler
18085 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18087 2012-05-06 Joseph Myers <joseph@codesourcery.com>
18091 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18093 (EXPL_FINITE): Likewise.
18094 (FLDLOG): Likewise.
18097 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18098 Adjust comments for base varying.
18099 (__expl_finite): Change alias to EXPL_FINITE.
18100 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18102 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18103 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18104 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18105 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18106 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18108 (EXPL_FINITE): Likewise.
18109 (FLDLOG): Likewise.
18112 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18113 Adjust comments for base varying.
18114 (__expl_finite): Change alias to EXPL_FINITE.
18115 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18120 * math/libm-test.inc (check_float_internal): Correct ulp
18121 calculation for subnormal expected results.
18123 2012-05-06 Andreas Jaeger <aj@suse.de>
18125 * Makeconfig (+math-flags): New, set to -frounding-math.
18126 (+cflags): Add +math-flags so that all of glibc gets compiled with
18129 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18131 2012-05-05 Joseph Myers <joseph@codesourcery.com>
18133 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18139 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18140 (__ieee754_expl): Allow for and saturate large arguments.
18141 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18142 (u_threshold): Likewise.
18143 (__exp): Call __ieee754_exp before checking for overflow and
18145 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18146 (u_threshold): Likewise.
18147 (__expf): Call __ieee754_expf before checking for overflow and
18149 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18150 (u_threshold): Likewise.
18151 (__expl): Call __ieee754_expl before checking for overflow and
18153 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18154 (__ieee754_expl): Allow for and saturate large arguments.
18155 * math/libm-test.inc (exp_test): Add another test. Do not allow
18156 missing overflow exception on overflow.
18157 (expm1_test): Do not allow missing overflow exception on overflow.
18159 * sysdeps/i386/fpu/e_expl.c: Move to ...
18160 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18161 rather than using inline asm.
18162 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18163 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18164 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18166 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18169 (signal): Likewise.
18173 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18175 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18176 sysdeps/unix/common/syscalls.list.
18177 (fchmod): Likewise.
18178 (fchown): Likewise.
18179 (ftruncate): Likewise.
18180 (getrusage): Likewise.
18181 (gettimeofday): Likewise.
18182 (setpgid): Likewise.
18183 (setregid): Likewise.
18184 (setreuid): Likewise.
18185 (sigaction): Likewise.
18186 (truncate): Likewise.
18187 (vhangup): Likewise.
18188 * sysdeps/unix/common/syscalls.list: Remove file.
18189 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18190 * sysdeps/unix/sysv/linux/Implies: Likewise.
18192 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18194 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18196 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18200 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18203 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18206 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18209 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18212 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18215 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18218 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18222 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18226 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18229 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18233 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18237 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18239 * sysdeps/unix/common/bits/dirent.h: Remove file.
18240 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18242 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18243 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18244 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18245 * sysdeps/unix/bsd/isatty.c: Likewise.
18246 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18247 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18248 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18250 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18254 long double comparison inaccuracies.
18255 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18258 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18260 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18263 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18266 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18267 nonzero digits before rounding a hex value.
18268 * stdlib/tst-strtod.c (tests): Add another test.
18270 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18272 * sysdeps/s390/fpu/libm-test-ulps: Update.
18274 2012-05-03 Andreas Jaeger <aj@suse.de>
18276 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18277 does not get optimized out.
18278 (malloc_opt_barrier): New.
18280 2012-05-03 Andreas Jaeger <aj@suse.de>
18281 Roland McGrath <roland@hack.frob.com>
18283 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18284 intermediate file deletion.
18285 (generated): Add .symlist files.
18287 2012-05-03 Joseph Myers <joseph@codesourcery.com>
18290 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18291 Redirect under this condition.
18292 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18293 [__USE_GNU] (__dprintf_chk): Not under this condition.
18294 [__USE_GNU] (__vdprintf_chk): Likewise.
18295 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18296 under this condition.
18297 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18298 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18299 [__USE_XOPEN2K8] (vdprintf): Likewise.
18300 [__USE_GNU] (__dprintf_chk): Not under this condition.
18301 [__USE_GNU] (__vdprintf_chk): Likewise.
18302 [__USE_GNU] (dprintf): Likewise.
18303 [__USE_GNU] (vdprintf): Likewise.
18305 2012-05-03 Roland McGrath <roland@hack.frob.com>
18307 * elf/Makefile (common-generated): Set this instead of generated for
18308 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18309 $(all-built-dso)-derived lists.
18311 2012-05-03 Andreas Jaeger <aj@suse.de>
18313 * sysdeps/i386/fpu/libm-test-ulps: Update.
18316 * FAQ.in: Likewise.
18317 * scripts/gen-FAQ.pl: Likewise.
18318 * manual/install.texi (Installation): Point to online location of
18320 * Makefile (files-for-dist): Remove FAQ.
18323 2012-05-02 Allan McRae <allan@archlinux.org>
18325 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18326 (LDFLAGS-reldepmod5.so): Likewise.
18327 (LDFLAGS-reldep6mod1.so): Likewise.
18328 (LDFLAGS-reldep6mod4.so): Likewise.
18329 (LDFLAGS-reldep8mod3.so): Likewise.
18330 (LDFLAGS-unload4mod1.so): Likewise.
18331 (LDFLAGS-unload4mod2.so): Likewise.
18332 (LDFLAGS-tst-initorder): Likewise.
18333 (LDFLAGS-tst-initordera2.so): Likewise.
18334 (LDFLAGS-tst-initordera3.so): Likewise.
18335 (LDFLAGS-tst-initordera4.so): Likewise.
18336 (LDFLAGS-tst-initorderb2.so): Likewise.
18337 (LDFLAGS-noload): Likewise.
18338 (LDFLAGS-next): Likewise.
18339 (LDFLAGS-order2mod1.so): Likewise.
18340 (LDFLAGS-order2mod2.so): Likewise.
18341 (LDFLAGS-tst-initorder2): Likewise.
18342 (LDFLAGS-tst-initorder2a.so): Likewise.
18343 (LDFLAGS-tst-initorder2b.so): Likewise.
18344 (LDFLAGS-tst-initorder2c.so): Likewise.
18345 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18347 2012-05-02 David S. Miller <davem@davemloft.net>
18349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18351 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18354 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18356 2012-05-02 Andreas Jaeger <aj@suse.de>
18358 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18359 since we manipulate rounding mode.
18360 (CPPFLAGS-test-idouble.c): Likewise.
18361 (CPPFLAGS-test-ifloat.c): Likewise.
18362 (CFLAGS-test-ldouble.c): Likewise.
18363 (CFLAGS-test-double.c): Likewise.
18364 (CFLAGS-test-float.c): Likewise.
18365 (CFLAGS-test-misc.c): Likewise.
18366 (CFLAGS-test-test-fenv.c): Likewise.
18368 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18372 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18373 comparisons to determine direction to adjust input.
18375 2012-05-01 Roland McGrath <roland@hack.frob.com>
18377 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18378 output to the target.
18380 * scripts/localplt.awk: New file.
18381 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18382 (check-localplt-CFLAGS): Variable removed.
18383 ($(all-built-dso:=.jmprel)): New static pattern rule.
18384 (generated): Add those targets.
18385 (localplt-built-dso): New variable.
18386 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18388 * elf/check-localplt.c: File removed.
18390 * scripts/check-execstack.awk: New file.
18391 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18392 (check-execstack-CFLAGS): Variable removed.
18393 ($(objpfx)check-execstack.h): Target removed.
18394 ($(objpfx)execstack-default): New target.
18395 (generated): Add that instead of check-execstack.h.
18396 ($(all-built-dso:=.phdr)): New static pattern rule.
18397 (generated): Add those targets.
18398 * elf/check-execstack.c: File removed.
18400 * scripts/check-textrel.awk: New file.
18401 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18402 (check-textrel-CFLAGS): Variable removed.
18403 (all-built-dso): Use := to define.o
18404 ($(all-built-dso:=.dyn)): New static pattern rule.
18405 (generated): Add those targets.
18406 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18407 * config.make.in (READELF): New substituted variable.
18408 * elf/check-textrel.c: File removed.
18410 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18412 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18414 * conform/data/ctype.h-data [C99-based standards] (isblank):
18416 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18417 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18418 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18419 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18420 Specify type. Require positive value.
18421 (EILSEQ): Likewise.
18422 (ERANGE): Likewise.
18423 [ISO || POSIX] (EILSEQ): Do not expect.
18424 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18425 Specify type. Require positive value.
18426 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18427 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18428 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18429 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18430 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18431 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18432 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18433 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18434 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18435 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18436 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18437 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18438 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18439 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18440 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18441 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18442 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18443 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18444 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18445 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18446 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18447 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18448 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18449 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18450 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18451 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18452 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18453 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18454 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18455 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18456 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18457 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18458 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18459 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18460 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18461 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18462 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18463 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18464 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18465 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18466 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18467 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18468 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18469 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18470 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18471 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18472 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18473 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18474 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18475 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18476 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18477 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18478 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18479 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18480 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18481 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18482 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18483 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18484 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18485 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18486 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18487 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18488 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18489 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18490 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18491 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18492 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18493 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18494 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18495 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18496 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18497 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18498 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18499 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18500 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18501 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18502 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18504 (FLT_ROUNDS): Expect as macro, not constant.
18505 (FLT_MANT_DIG): Use macro-int-constant.
18506 (DBL_MANT_DIG): Likewise.
18507 (LDBL_MANT_DIG): Likewise.
18508 (FLT_DIG): Likewise.
18509 (DBL_DIG): Likewise.
18510 (LDBL_DIG): Likewise.
18511 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18512 (DBL_MIN_EXP): Likewise.
18513 (LDBL_MIN_EXP): Likewise.
18514 (FLT_MAX_EXP): Use macro-int-constant.
18515 (DBL_MAX_EXP): Likewise.
18516 (LDBL_MAX_EXP): Likewise.
18517 (FLT_MAX_10_EXP): Likewise.
18518 (DBL_MAX_10_EXP): Likewise.
18519 (LDBL_MAX_10_EXP): Likewise.
18520 (FLT_MAX): Use macro-constant.
18521 (DBL_MAX): Likewise.
18522 (LDBL_MAX): Likewise.
18523 (FLT_EPSILON): Use macro-constant. Give upper bound.
18524 (DBL_EPSILON): Likewise.
18525 (LDBL_EPSILON): Likewise.
18526 (FLT_MIN): Likewise.
18527 (DBL_MIN): Likewise.
18528 (LDBL_MIN): Likewise.
18529 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18530 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18531 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18532 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18533 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18534 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18535 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18536 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18537 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18538 [ISO11] (FLT_TRUE_MIN): Likewise.
18539 [ISO11] (LDBL_TRUE_MIN): Likewise.
18540 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18541 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18542 (SCHAR_MIN): Use macro-int-constant. Specify type.
18543 (SCHAR_MAX): Likewise.
18544 (UCHAR_MAX): Likewise.
18545 (CHAR_MIN): Likewise.
18546 (CHAR_MAX): Likewise.
18547 (MB_LEN_MAX): Use macro-int-constant.
18548 (SHRT_MIN): Use macro-int-constant. Specify type.
18549 (SHRT_MAX): Likewise.
18550 (USHRT_MAX): Likewise.
18551 (INT_MAX): Likewise.
18552 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18554 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18556 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18558 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18559 bound negative. Suffix upper bound with "L".
18560 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18562 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18564 [C99-based standards] (LLONG_MAX): Likewise.
18565 [C99-based standards] (ULLONG_MAX): Likewise.
18566 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18568 [ISO11] (max_align_t): Require type.
18569 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18571 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18572 from $CFLAGS, without defining away __attribute__ calls.
18573 (checknamespace): Use $CFLAGS_namespace.
18575 * conform/conformtest.pl (@keywords): Only include C99 keywords
18576 for standards based on C99 or C11.
18578 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18580 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18583 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18584 usability of symbols in #if.
18586 * conform/conformtest.pl: If macro or constant types start
18587 "promoted:", expect the symbol to be of the following type
18588 promoted by the integer promotions.
18590 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18591 in one place. Also handle "macro-constant".
18593 * conform/conformtest.pl: Only accept expected macro values with
18594 "==". Parse all "macro" lines in one place.
18595 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18597 * conform/conformtest.pl: Handle braced types on "constant" lines
18598 instead of handling "typed-constant".
18599 * conform/data/signal.h-data: Use "constant" instead of
18602 * conform/conformtest.pl: Handle "optional-" at start of lines in
18603 one place rather than duplicating several cases. Handle each
18604 format of "macro" line with initial "optional-".
18606 * conform/conformtest.pl: Only accept expected constant or
18607 optional-constant values with "==". Parse all "constant" lines in
18608 one place. Parse all "optional-constant" lines in one place.
18609 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18610 * conform/data/fmtmsg.h-data: Likewise.
18611 * conform/data/netinet/in.h-data: Likewise.
18612 * conform/data/tar.h-data: Likewise.
18613 * conform/data/limits.h-data: Use "==" form on "constant" and
18614 "optional-constant" lines.
18616 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18617 Use -std=c99 for XOPEN2K.
18618 (@knownproblems): Remove.
18619 (newtoken): Don't check %isknown.
18621 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18622 Do not expect macro.
18623 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18624 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18625 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18626 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18627 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18628 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18629 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18630 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18631 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18632 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18633 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18634 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18635 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18636 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18637 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18638 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18639 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18640 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18641 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18642 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18643 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18644 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18645 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18646 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18647 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18648 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18649 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18650 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18651 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18652 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18653 [XPG3] (acosh): Likewise.
18654 [XPG3] (asinh): Likewise.
18655 [XPG3] (atanh): Likewise.
18656 [XPG3] (cbrt): Likewise.
18657 [XPG3] (expm1): Likewise.
18658 [XPG3] (ilogb): Likewise.
18659 [XPG3] (log1p): Likewise.
18660 [XPG3] (logb): Likewise.
18661 [XPG3] (nextafter): Likewise.
18662 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18663 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18664 [XPG3] (remainder): Likewise.
18665 [XPG3] (rint): Likewise.
18666 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18667 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18668 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18669 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18670 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18671 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18672 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18673 [UNIX98 || XOPEN2K] (scalb): Expect.
18674 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18675 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18676 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18677 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18678 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18679 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18680 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18681 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18682 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18683 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18684 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18685 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18686 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18687 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18688 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18689 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18690 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18691 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18692 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18693 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18694 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18695 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18696 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18697 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18698 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18699 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18700 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18701 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18702 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18703 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18704 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18705 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18706 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18707 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18708 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18709 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18710 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18711 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18712 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18713 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18714 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18715 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18716 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18717 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18718 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18719 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18720 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18721 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18722 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18723 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18724 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18725 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18726 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18727 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18728 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18729 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18730 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18731 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18732 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18733 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18734 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18735 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18736 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18737 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18738 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18739 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18740 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18741 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18742 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18743 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18744 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18745 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18746 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18747 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18748 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18749 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18750 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18751 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18752 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18753 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18754 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18755 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18756 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18757 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18758 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18759 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18760 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18761 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18762 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18763 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18764 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18765 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18766 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18767 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18768 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18769 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18770 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18771 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18772 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18773 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18774 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18775 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18776 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18777 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18778 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18779 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18780 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18781 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18782 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18783 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18784 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18785 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18786 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18787 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18788 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18789 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18790 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18791 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18792 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18793 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18794 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18795 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18796 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18797 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18798 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18799 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18800 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18801 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18802 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18803 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18804 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18805 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18806 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18807 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18808 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18809 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18810 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18812 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18813 _XOPEN_SOURCE_EXTENDED for XPG4.
18815 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18817 * Makeconfig (localtime): Remove variable.
18818 (inst_localtime-file): Likewise.
18820 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18841 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18845 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18846 comparisons to determine direction to adjust input.
18847 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18848 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18849 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18851 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18853 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18855 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18856 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18858 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18860 * math/libm-test.inc (nexttoward_test): Add more tests.
18862 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18865 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18866 in version GLIBC_2.1, not GLIBC_2.0.
18867 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18870 2012-04-30 Joseph Myers <joseph@codesourcery.com>
18873 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18875 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18876 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18877 * math/libm-test.inc (acos_test): Add more tests.
18878 (asin_test): Likewise.
18879 * sysdeps/i386/fpu/libm-test-ulps: Update.
18880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18883 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18885 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18886 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18887 * math/libm-test.inc (acos_test_tonearest): New function.
18888 (acos_test_towardzero): Likewise.
18889 (acos_test_downward): Likewise.
18890 (acos_test_upward): Likewise.
18891 (asin_test_tonearest): Likewise.
18892 (asin_test_towardzero): Likewise.
18893 (asin_test_downward): Likewise.
18894 (asin_test_upward): Likewise.
18895 (main): Call the new functions.
18896 * sysdeps/i386/fpu/libm-test-ulps: Update.
18897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18901 * math/e_exp10.c: Include <float.h>.
18902 (__ieee754_exp10): Handle underflow here rather than multiplying
18903 large negative argument by M_LN10.
18904 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18906 * math/e_exp10l.c: Include <float.h>.
18907 (__ieee754_exp10l): Handle underflow here rather than multiplying
18908 large negative argument by M_LN10l.
18909 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18910 spurious overflow exception on underflow.
18912 2012-04-29 Marek Polacek <polacek@redhat.com>
18914 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18915 (__fortify_function): New macro.
18916 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18917 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18918 __extern_always_inline.
18919 * libio/bits/stdio2.h: Likewise.
18920 * libio/bits/stdio.h: Likewise.
18921 * string/string.h: Likewise.
18922 * string/bits/string3.h: Likewise.
18923 * include/stdio.h: Likewise.
18924 * stdlib/bits/stdlib.h: Likewise.
18925 * stdlib/stdlib.h: Likewise.
18926 * rt/bits/mqueue2.h: Likewise.
18927 * rt/mqueue.h: Likewise.
18928 * posix/bits/unistd.h: Likewise.
18929 * posix/unistd.h: Likewise.
18930 * io/bits/poll2.h: Likewise.
18931 * io/bits/fcntl2.h: Likewise.
18932 * io/fcntl.h: Likewise.
18933 * io/sys/poll.h: Likewise.
18934 * misc/bits/syslog.h: Likewise.
18935 * misc/bits/syslog-ldbl.h: Likewise.
18936 * misc/sys/syslog.h: Likewise.
18937 * socket/bits/socket2.h: Likewise.
18938 * socket/sys/socket.h: Likewise.
18939 * debug/tst-chk1.c: Likewise.
18940 * wcsmbs/bits/wchar2.h: Likewise.
18941 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18942 * wcsmbs/wchar.h: Likewise.
18944 2012-04-29 Andreas Jaeger <aj@suse.de>
18946 * Makerules (tests): Remove enable-check-abi protection.
18947 (check-abi-warn): Remove.
18948 (check-abi-%): Remove check-abi-warn usage.
18950 * configure.in: Remove check-abi configure option.
18951 * configure: Regenerated.
18952 * config.make.in (enable-check-abi): Remove.
18954 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18957 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18958 double functions to double *_finite functions.
18961 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18962 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18964 * stdio-common/Makefile (tests): Add tst-sprintf3.
18965 * stdio-common/tst-sprintf3.c: New file.
18967 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18968 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18970 2012-04-28 Joseph Myers <joseph@codesourcery.com>
18972 * conform/conformtest.pl: Remove duplicate typed-constant
18975 2012-04-28 David S. Miller <davem@davemloft.net>
18977 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18978 (check-abi-%): Remove AWK script prerequisite and explicit
18980 (check-abi): Rewrite to just diff the symlist with the abilist.
18981 (config-tls, config-abi-config): Delete, no longer used.
18982 (update-abi-%): Remove AWK script and explicit abilist directory.
18983 (update-abi): Rewrite to simply compare and conditionally copy the
18984 symlist and the sysdep abilist file. Remove update-abi-config
18986 * abilist/ld.abilist: Remove.
18987 * abilist/libBrokenLocale.abilist: Remove.
18988 * abilist/libanl.abilist: Remove.
18989 * abilist/libcrypt.abilist: Remove.
18990 * abilist/libdl.abilist: Remove.
18991 * abilist/librt.abilist: Remove.
18992 * abilist/libthread_db.abilist: Remove.
18993 * abilist/libutil.abilist: Remove.
18994 * scripts/extract-abilist.awk: Remove.
18995 * scripts/merge-abilist.awk: Remove.
18996 * sysdeps/generic/libcidn.abilist: New file.
18997 * sysdeps/generic/libnss_compat.abilist: New file.
18998 * sysdeps/generic/libnss_db.abilist: New file.
18999 * sysdeps/generic/libnss_dns.abilist: New file.
19000 * sysdeps/generic/libnss_files.abilist: New file.
19001 * sysdeps/generic/libnss_hesiod.abilist: New file.
19002 * sysdeps/generic/libnss_nis.abilist: New file.
19003 * sysdeps/generic/libnss_nisplus.abilist: New file.
19004 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19005 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19006 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19009 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19010 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19011 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19012 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19013 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19014 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19015 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19016 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19018 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19019 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19020 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19021 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19023 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19024 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19025 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19026 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19027 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19028 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19030 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19031 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19032 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19034 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19137 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19138 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19139 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19141 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19142 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19143 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19144 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19145 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19146 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19147 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19148 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19149 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19150 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19202 2012-04-28 Joseph Myers <joseph@codesourcery.com>
19204 * conform/conformtest.pl: Fix typo in handling typed-constant from
19207 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19209 * README: Cut down references to pre-2.6 Linux kernels and
19210 Linuxthreads. Update lists of configurations in libc and ports
19211 and sort alphabetically. Say "or newer" with Linux kernel version
19214 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19216 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19219 * math/libm-test.inc (logb_test_downward): New test to expose
19220 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19223 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19226 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19228 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19229 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19231 2012-04-26 Joseph Myers <joseph@codesourcery.com>
19233 * sysdeps/unix/i386/brk.S: Remove file.
19234 * sysdeps/unix/i386/dl-brk.S: Likewise.
19235 * sysdeps/unix/i386/pipe.S: Likewise.
19236 * sysdeps/unix/i386/sigreturn.S: Likewise.
19237 * sysdeps/unix/i386/syscall.S: Likewise.
19238 * sysdeps/unix/i386/vfork.S: Likewise.
19239 * sysdeps/unix/i386/wait.S: Likewise.
19241 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19242 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19244 * configure.in (arm*-none*): Do not allow without
19245 --enable-hacker-mode.
19246 (netbsd*): Remove case setting base_os.
19247 (386bsd*): Likewise.
19248 (freebsd*): Likewise.
19251 (sunos*): Likewise.
19252 (ultrix*): Likewise.
19253 (newsos*): Likewise.
19254 (dynix*): Likewise.
19260 (minix*): Likewise.
19261 (irix4*): Likewise.
19262 (irix6*): Likewise.
19263 (solaris[2-9]*): Likewise.
19265 * configure: Regenerated.
19267 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19270 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19271 overflow or cancellation in calculating denominator.
19272 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19273 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19274 down expression to avoid unexpected rounding in newer GCCs.
19275 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19277 2012-04-26 David S. Miller <davem@davemloft.net>
19279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19280 long-double compat symbols.
19281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19295 2012-04-25 David S. Miller <davem@davemloft.net>
19297 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19298 HWCAP_* values only after the memory barriers have been defined.
19299 (atomic_full_barrier): Define.
19300 (atomic_read_barrier): Define.
19301 (atomic_write_barrier): Define.
19303 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19305 * shlib-versions: Add libgcc_s version information.
19306 * sysdeps/generic/libgcc_s.h: Remove.
19307 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19309 * sysdeps/gnu/unwind-resume.c: Likewise.
19310 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19312 2012-04-25 David S. Miller <davem@davemloft.net>
19314 * sysdeps/unix/sparc/brk.S: Delete.
19315 * sysdeps/unix/sparc/dl-brk.S: Delete.
19316 * sysdeps/unix/sparc/pipe.S: Delete.
19317 * sysdeps/unix/sparc/sysdep.S: Delete.
19318 * sysdeps/unix/sparc/sysdep.h: Delete.
19319 * sysdeps/unix/sparc/vfork.S: Delete.
19320 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19321 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19322 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19323 ret_ERRVAL, r0, r1, MOVE): Define.
19324 (JUMPTARGET): Remove.
19325 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19326 sysdeps/unix/sparc/sysdep.h
19327 (ENTRY, END): Remove.
19328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19330 2012-04-25 Joseph Myers <joseph@codesourcery.com>
19332 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19333 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19336 * timezone/README: Update upstream location and email address for
19338 * timezone/zdump.c: Update from tzcode 2012b.
19339 * timezone/zic.c: Likewise.
19341 * configure.in (libc_cv_as_needed): Remove test.
19342 * configure: Regenerated.
19343 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19344 conditional definition.
19345 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19346 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19347 * config.make.in (have-as-needed): Remove variable.
19349 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19350 Paul Pluzhnikov <ppluzhnikov@google.com>
19352 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19355 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19357 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19358 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19359 * sysdeps/sh/strlen.S: Likewise.
19361 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19363 * sysdeps/unix/fork.S: Remove file.
19364 * sysdeps/unix/i386/fork.S: Likewise.
19365 * sysdeps/unix/sparc/fork.S: Likewise.
19367 * sysdeps/unix/system.c: Remove file.
19368 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19370 * sysdeps/unix/getegid.S: Remove file.
19371 * sysdeps/unix/geteuid.S: Likewise.
19373 2012-04-24 Roland McGrath <roland@hack.frob.com>
19375 * scripts/check-localplt.awk: New file.
19376 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19378 * scripts/data/localplt-generic.data: Add a comment.
19380 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19381 NODE when __dir_mkfile failed.
19382 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19383 Reported by Ludovic Courtès <ludo@gnu.org>.
19385 2012-04-24 Andreas Jaeger <aj@suse.de>
19387 * Makerules (common-clean): Also remove gen-as-const-headers
19390 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19392 * Makerules (native-compile): Do not change working directory for
19393 build. Use $(OUTPUT_OPTION) in command.
19394 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19396 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19399 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19400 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19401 * math/libm-test.inc (floor_test): Add more tests.
19402 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19404 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19406 * sysdeps/unix/getdents.c: Remove file.
19407 * sysdeps/unix/sysv/getdents.c: Likewise.
19408 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19410 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19411 sysdeps/unix/mman/syscalls.list.
19413 (mprotect): Likewise.
19415 (munmap): Likewise.
19416 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19417 * sysdeps/unix/mman/syscalls.list: Remove.
19418 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19420 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19421 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19422 * configure: Regenerated.
19423 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19424 $(libgcc_s_suffix).
19425 * config.make.in (libgcc_s_suffix): Remove variable.
19427 2012-04-23 Joseph Myers <joseph@codesourcery.com>
19429 * sysdeps/unix/sysv/gethostname.c: Move to ...
19430 * sysdeps/posix/gethostname.c: ... here.
19432 * sysdeps/unix/execve.S: Remove file.
19434 * sysdeps/unix/_exit.S: Remove file.
19436 2012-04-23 Andreas Jaeger <aj@suse.de>
19439 * manual/Makefile: Remove make dist support, there's no
19440 need for a stand-alone documentation tar ball.
19441 (TEXI2DVI): Define always, it's not in Makeconfig.
19444 (edition): Removed.
19445 (glibc-doc-$(edition).tar): Removed
19449 (ETAGS): Remove, it's in Makeconfig.
19450 (move-if-change): Remove, it's in Makeconfig.
19452 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
19455 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19456 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19457 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19458 (strtod_l, strtof_l, strtold_l): Remove __wur.
19459 It is not necessarily an error to ignore strtol's return value.
19460 One can reliably look at the stored endptr to decide whether
19461 the number had valid syntax.
19463 2012-04-21 Andreas Jaeger <aj@suse.de>
19466 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19468 2012-04-21 Joseph Myers <joseph@codesourcery.com>
19470 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19471 * sysdeps/unix/sysv/Versions: Remove file.
19473 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19478 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
19481 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19482 version from __vm86.
19484 2012-04-20 Joseph Myers <joseph@codesourcery.com>
19486 * sysdeps/unix/common/lxstat.c: Remove file.
19487 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19489 * sysdeps/unix/sysv/Makefile: Remove file.
19491 * sysdeps/unix/sysv/direct.h: Remove file.
19493 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19494 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19495 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19496 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19497 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19498 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19499 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19501 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19503 * sysdeps/unix/xmknod.c: Remove file.
19504 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19506 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19508 * sysdeps/unix/sysv/i386/time.S: Remove file.
19510 * sysdeps/unix/fxstat.c: Remove file.
19511 * sysdeps/unix/xstat.c: Likewise.
19512 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19514 * sysdeps/unix/sysv/sigaction.c: Remove file.
19516 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19517 (sysdep_headers): Remove variable.
19518 [termio.h not in sysdep_headers] (generated): Likewise.
19519 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19520 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19521 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19522 * sysdeps/unix/sysv/tcflow.c: Likewise.
19523 * sysdeps/unix/sysv/tcflush.c: Likewise.
19524 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19525 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19526 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19527 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19528 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19530 * sysdeps/unix/siglist.c: Remove file.
19532 * sysdeps/unix/getppid.S: Remove file.
19534 * sysdeps/unix/mkdir.c: Remove file.
19535 * sysdeps/unix/rmdir.c: Likewise.
19537 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19539 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19541 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19542 errlist-compat value.
19544 2012-04-18 David S. Miller <davem@davemloft.net>
19546 * sysdeps/generic/memcopy.h (reg_char): Delete.
19547 * debug/strcat_chk.c: Use char, not reg_char.
19548 * debug/strcpy_chk.c: Likewise.
19549 * debug/strncat_chk.c: Likewise.
19550 * debug/strncpy_chk.c: Likewise.
19551 * string/memchr.c: Likewise.
19552 * string/memrchr.c: Likewise.
19553 * string/rawmemchr.c: Likewise.
19554 * string/strcat.c: Likewise.
19555 * string/strchr.c: Likewise.
19556 * string/strchrnul.c: Likewise.
19557 * string/strcmp.c: Likewise.
19558 * string/strcpy.c: Likewise.
19559 * string/strncat.c: Likewise.
19560 * string/strncmp.c: Likewise.
19561 * string/strncpy.c: Likewise.
19563 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19565 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19566 __builtin_memcopy is called when src and dest ranges are known to not
19569 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19571 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19572 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19573 fwd_align_merge macro call.
19574 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19575 bwd_align_merge macro call.
19576 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19578 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19580 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19581 bwd_align_merge macros.
19582 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19583 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19584 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19586 2012-04-18 David S. Miller <davem@davemloft.net>
19588 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19590 2012-04-18 Andreas Jaeger <aj@suse.de>
19593 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19594 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19595 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19597 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19598 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19599 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19601 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19602 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19603 Adjust for changed ldbl-128 files.
19605 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19606 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19607 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19609 2012-04-17 David S. Miller <davem@davemloft.net>
19611 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19613 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19615 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19616 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19617 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19618 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19619 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19620 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19622 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19625 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19626 * math/libm-test.inc: Add ilogb errno and exception tests.
19627 * math/w_ilogb.c: New file: ilogb wrapper.
19628 * math/w_ilogbf.c: New file: ilogbf wrapper.
19629 * math/w_ilogbl.c: New file: ilogbl wrapper.
19630 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19631 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19632 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19633 exception being thrown with 0.0 as argument.
19634 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19635 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19636 exception being thrown with 0.0 as argument.
19637 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19638 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19639 exception being thrown with 0.0 as argument.
19640 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19641 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19642 exception being thrown with 0.0 as argument.
19643 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19644 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
19645 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
19646 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19647 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19648 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19649 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19650 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19651 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19653 2012-04-17 Petr Baudis <pasky@ucw.cz>
19655 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19658 2012-04-16 Marek Polacek <polacek@redhat.com>
19660 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19662 2012-04-16 Marek Polacek <polacek@redhat.com>
19664 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19665 operands of fdivp instruction.
19667 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19669 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19670 * elf/tst-auditmod3b.c: Likewise.
19671 * elf/tst-auditmod4b.c: Likewise.
19672 * elf/tst-auditmod5b.c: Likewise.
19673 * elf/tst-auditmod6b.c: Likewise.
19674 * elf/tst-auditmod6c.c: Likewise.
19675 * elf/tst-auditmod7b.c: Likewise.
19676 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19677 * sysdeps/x86_64/preconfigure.in: Likewise.
19678 * sysdeps/x86_64/preconfigure: Regenerated.
19680 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19682 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19685 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
19687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19688 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19690 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19693 * locale/iso-639.def: Fix gl language name. Spotted by
19696 2012-04-12 Roland McGrath <roland@hack.frob.com>
19699 * libio/libio.h (__io_write_fn): Update comment.
19701 2012-04-12 Petr Baudis <pasky@ucw.cz>
19704 * stdio.texi (Hook Functions): The user provided writer function
19705 is not allowed to return -1.
19707 2012-04-11 David S. Miller <davem@davemloft.net>
19709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19711 2012-04-11 Mike Frysinger <vapier@gentoo.org>
19713 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19714 Add a leading slash to rtkaio.
19716 2012-04-11 Jim Meyering <meyering@redhat.com>
19719 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19720 It is not necessarily an error to ignore fwrite's return
19721 value. One can reliably use ferror to test for errors after
19724 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19726 * bits/types.h (__snseconds_t): New type.
19727 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19729 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19730 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19731 (__SNSECONDS_T_TYPE): Likewise.
19732 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19733 (__SNSECONDS_T_TYPE): Likewise.
19734 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19735 (__SNSECONDS_T_TYPE): Likewise.
19737 2012-04-10 Andreas Jaeger <aj@suse.de>
19740 * manual/time.texi (Processor Time): Return type of times is
19741 elapsed real time since an arbitrary point in the past.
19742 (CPU Time): Move CLK_TCK from here...
19743 (Processor Time): ...to here. Correct description.
19744 * manual/conf.texi (Constants for Sysconf): Correct description of
19747 2012-04-10 David S. Miller <davem@davemloft.net>
19750 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19751 where the is a gap between DT_REL(A) and DT_JMPREL.
19753 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19755 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19756 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19757 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19759 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19761 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19762 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19763 (dl_main): Handle --inhibit-cache.
19764 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19766 * elf/dl-load.c (_dl_map_object): Use it.
19767 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19769 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19772 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19773 (__ieee754_powl): Saturate large exponents rather than testing for
19774 overflow of y*log2(x).
19775 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19776 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19780 * math/s_ctan.c: Include <float.h>.
19781 (__ctan): Avoid internal overflow or cancellation in calculating
19783 * math/s_ctanf.c: Likewise.
19784 * math/s_ctanl.c: Likewise.
19785 * math/s_ctanh.c: Likewise.
19786 * math/s_ctanhf.c: Likewise.
19787 * math/s_ctanhl.c: Likewise.
19788 * math/libm-test.inc (ctan_test): Add more tests.
19789 (ctanh_test): Likewise.
19790 * sysdeps/i386/fpu/libm-test-ulps: Update.
19791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19793 2012-04-09 Andreas Jaeger <aj@suse.de>
19796 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19797 is an optional BSD extension.
19800 * manual/stdio.texi (Opening Streams): Document additional fopen
19803 2012-04-09 Roland McGrath <roland@hack.frob.com>
19805 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19806 %eax without telling the compiler.
19808 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19811 * manual/install.texi: Use sourceware.org.
19813 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19816 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19817 (__ieee754_pow): Generate overflow and underflow using huge*huge
19818 and tiny*tiny rather than just returning constant infinity or zero
19819 for large exponents.
19820 * math/libm-test.inc (pow_test): Require overflow exceptions for
19821 applicable cases of large exponents.
19824 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19825 (__ieee754_pow): Use iterative multiplication algorithm only for
19826 integer exponents with absolute value below 1024. Check for odd
19827 integer exponents when using algorithm for real exponents.
19828 * math/libm-test.inc (pow_test): Add more tests.
19829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19831 2012-04-08 Joseph Myers <joseph@codesourcery.com>
19834 * math/libm-test.inc (exp_test): Do not allow overflow exception
19837 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19840 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19841 instead of __kernel_standard_f.
19843 2012-04-08 Mike Frysinger <vapier@gentoo.org>
19845 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19846 * sysdeps/x86_64/memset_chk.S: Likewise.
19848 2012-04-08 Andreas Jaeger <aj@suse.de>
19851 * manual/startup.texi (Environment Access): Describe return value
19852 for putenv and setenv.
19855 * manual/filesys.texi (Directory Entries): Add description for
19859 * manual/filesys.texi (Directory Entries): Clarify that it's file
19860 system not operating system in the description of DT_UNKNOWN.
19863 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19865 2012-04-08 Stephen Compall <s11@member.fsf.org>
19868 * manual/llio.texi (Opening and Closing Files): Add cross
19869 reference to explain mode argument.
19871 2012-04-07 Mike Frysinger <vapier@gentoo.org>
19873 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19874 * sysdeps/x86_64/memset_chk.S: Likewise.
19876 2012-04-07 David S. Miller <davem@davemloft.net>
19878 * elf/elf.h (R_SPARC_WDISP10): Define.
19879 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19881 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19882 R_SPARC_SIZE64 and R_SPARC_H34.
19884 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19886 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19887 conditions and remove no longer applicable assertion.
19889 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19891 * bits/byteswap.h: Include <features.h>.
19892 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19893 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19895 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19897 * bits/byteswap.h (__bswap_16): Removed.
19898 Include <bits/byteswap-16.h> to get __bswap_16.
19899 * sysdeps/i386/bits/byteswap.h: Likewise.
19900 * sysdeps/s390/bits/byteswap.h: Likewise.
19901 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19902 * bits/byteswap-16.h: New file.
19903 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19904 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19905 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19906 * string/Makefile (headers): Add bits/byteswap-16.h.
19908 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19911 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19913 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19914 * nss/tst-nss-static.c: New.
19916 2012-04-06 Robert Millan <rmh@gnu.org>
19919 * manual/llio.texi (File Position Primitive): lseek
19920 refers to WHENCE when it really means OFFSET.
19922 2012-04-06 Andreas Jaeger <aj@suse.de>
19924 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19925 strncmp declarations.
19927 * abilist/libc.abilist: Add __poll and __ppoll.
19929 2012-04-05 David S. Miller <davem@davemloft.net>
19931 * scripts/check-local-headers.sh: Accept a host triplet in the
19932 path matched by the exclude regexp.
19934 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19936 * sysdeps/powerpc/powerpc32/dl-machine.h
19937 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19938 * sysdeps/s390/s390-32/dl-machine.h
19939 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19940 * sysdeps/sparc/sparc32/dl-machine.h
19941 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19942 * sysdeps/sparc/sparc64/dl-machine.h
19943 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19945 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19947 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19948 undefined symbol errors.
19950 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19953 2012-04-05 Michael Matz <matz@suse.de>
19956 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19958 2012-04-05 Andreas Jaeger <aj@suse.de>
19961 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19964 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19966 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19967 which ROUND is no valid rounding mode.
19969 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19971 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19973 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19975 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19977 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19978 an exception using FPU order intentionally.
19980 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19982 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19983 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19984 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19985 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19987 2012-04-05 Simon Josefsson <simon@josefsson.org>
19990 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19991 EINVAL when BUFLEN is too smal.
19993 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19996 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19997 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19999 2012-04-03 Andreas Jaeger <aj@suse.de>
20002 * manual/setjmp.texi (System V contexts): Fix sentence.
20005 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20006 New macro for this case.
20007 [!__GNUC__] (__bswap_64): New inline function for this case.
20008 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20009 * bits/byteswap.h: Likewise.
20010 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20011 ull, guard with __GLIBC_HAVE_LONG_LONG.
20013 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20014 __GLIBC_HAVE_LONG_LONG.
20016 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20017 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20019 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20022 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20023 inptr and inend, rather than using last_ch.
20025 2012-04-02 David S. Miller <davem@davemloft.net>
20027 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20028 * stdio-common/printf-parse.h (read_int): Change return type to
20029 'int', return -1 on INT_MAX overflow.
20030 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20031 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20032 overflows INT_MAX. Check for overflow of in-format-string precision
20033 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20034 SIZE_MAX not INT_MAX for integer overflow test.
20035 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20036 skip the construct in the format string but do not record anything.
20037 * stdio-common/bug22.c: Adjust to test both width/prevision
20038 INT_MAX overflow as well as total length INT_MAX overflow. Check
20039 explicitly for proper errno values.
20041 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20043 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20045 * string/test-strcmp.c [! WIDE]: Likewise.
20046 * time/tst-mktime2.c: Likewise for INT_MAX.
20047 * string/test-string.h: #include <sys/param.h> for MIN.
20049 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20050 * sysdeps/i386/init-first.c (init): Likewise.
20051 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20052 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20053 * sysdeps/sh/init-first.c (init): Likewise.
20055 2012-04-01 Ulrich Drepper <drepper@gmail.com>
20057 * po/ru.po: Update from translation team.
20058 * po/vi.po: Likewise.
20060 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20062 * resolv/nss_dns/dns-host.c: Merge copyright years.
20064 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20066 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20067 Optimize memcpy with prefetch if
20068 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20069 src, dst pointers have unequal 16 byte alignments.
20071 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20074 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20075 from a CNAME entry and return the minimum ttl for the query.
20076 (gaih_getanswer_slice): Likewise.
20078 2012-03-30 Jeff Law <law@redhat.com>
20080 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20082 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20083 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20085 * resolv/nss_dns/dns-host.c: Update copyright year.
20087 2012-03-30 Ulrich Drepper <drepper@gmail.com>
20089 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20090 requests to save a system call. Fix check that all bytes are sent.
20092 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20093 comments for sendmmsg.
20095 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20098 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20099 with only 1 character between 0x0041 and 0x01b0.
20100 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20101 * wcsmbs/tst-mbsnrtowcs.c: New file.
20103 2012-03-29 David S. Miller <davem@davemloft.net>
20105 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20106 small copies by hand.
20108 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20111 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20112 _nss_compat_initgroups_dyn): Fall back to malloc/free
20113 for large group memberships.
20115 2012-03-28 David S. Miller <davem@davemloft.net>
20117 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20118 that branches into memcpy.
20119 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20120 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20121 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20122 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20123 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20125 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20126 implementation too.
20127 * sysdeps/sparc/mempcpy.S: New file.
20129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20130 the IFUNC routine in the libc case.
20131 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20133 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20134 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20135 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20136 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20137 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20138 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20139 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20140 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20142 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20143 loop to 256 bytes instead of 64 bytes and fix test signedness.
20145 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20146 * sysdeps/sparc/sparc32/Makefile: rather than here...
20147 * sysdeps/sparc/sparc64/Makefile: and here.
20149 2012-03-28 Ulrich Drepper <drepper@gmail.com>
20151 * malloc/mallocbug.c: Avoid warnings about unused variables.
20153 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20156 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20157 in the right place. Discard and retry query if response is
20158 larger than input buffer size.
20160 2012-03-28 Joseph Myers <joseph@codesourcery.com>
20165 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20166 x for large integer exponent.
20167 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20168 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20169 sign of result as needed afterwards.
20170 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20171 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20172 result for underflowing pow the same as for overflow.
20173 (__kernel_standard_l): Handle powl overflow and underflow here
20174 rather than calling __kernel_standard.
20175 * math/libm-test.inc (pow_test): Add more tests.
20190 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20191 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20192 (__kernel_standard_l): New function.
20193 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20195 * math/w_acosl.c (__acosl): Likewise.
20196 * math/w_asinl.c (__asinl): Likewise.
20197 * math/w_atan2l.c (__atan2l): Likewise.
20198 * math/w_atanhl.c (__atanhl): Likewise.
20199 * math/w_coshl.c (__coshl): Likewise.
20200 * math/w_exp10l.c (__exp10l): Likewise.
20201 * math/w_exp2l.c (__exp2l): Likewise.
20202 * math/w_fmodl.c (__fmodl): Likewise.
20203 * math/w_hypotl.c (__hypotl): Likewise.
20204 * math/w_j0l.c (__j0l, __y0l): Likewise.
20205 * math/w_j1l.c (__j1l, __y1l): Likewise.
20206 * math/w_jnl.c (__jnl, __ynl): Likewise.
20207 * math/w_lgammal.c (__lgammal): Likewise.
20208 * math/w_log10l.c (__log10l): Likewise.
20209 * math/w_log2l.c (__log2l): Likewise.
20210 * math/w_logl.c (__logl): Likewise.
20211 * math/w_powl.c (__powl): Likewise.
20212 * math/w_remainderl.c (__remainderl): Likewise.
20213 * math/w_scalbl.c (sysv_scalbl): Likewise.
20214 * math/w_sinhl.c (__sinhl): Likewise.
20215 * math/w_sqrtl.c (__sqrtl): Likewise.
20216 * math/w_tgammal.c (__tgammal): Likewise.
20217 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20218 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20219 * math/libm-test.inc (acos_test): Add more tests.
20220 (acosh_test): Likewise.
20221 (asin_test): Likewise.
20222 (atanh_test): Likewise.
20223 (exp_test): Likewise.
20224 (exp10_test): Likewise.
20225 (exp2_test): Likewise.
20226 (expm1_test): Likewise.
20227 (lgamma_test): Likewise.
20228 (log_test): Likewise.
20229 (log10_test): Likewise.
20230 (log1p_test): Likewise.
20231 (log2_test): Likewise.
20232 (pow_test): Do not allow some spurious overflow exceptions.
20233 (sqrt_test): Add more tests.
20234 (tgamma_test): Likewise.
20235 (y0_test): Likewise.
20236 (y1_test): Likewise.
20237 (yn_test): Likewise.
20239 2012-03-27 Anton Blanchard <anton@samba.org>
20241 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20243 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20244 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20245 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20247 2012-03-27 David S. Miller <davem@davemloft.net>
20249 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20251 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20252 have-as-vis3 check.
20254 2012-03-27 Andreas Jaeger <aj@suse.de>
20256 * sysdeps/x86_64/elf/configure.in: Moved to ...
20257 * sysdeps/x86_64/configure.in: ... here.
20258 * sysdeps/x86_64/elf/start.S: Moved to ...
20259 * sysdeps/x86_64/start.S: ... here.
20260 * sysdeps/x86_64/elf/configure: Delete.
20262 * sysdeps/x86_64/configure.in: Merge contents from
20263 sysdeps/i386/configure.in (without i686 check).
20265 * sysdeps/i386/elf/Versions: Merge into ...
20266 * sysdeps/i386/Versions: ... this.
20267 * sysdeps/i386/elf/Versions: Delete file.
20268 * sysdeps/i386/elf/start.S: Moved to ...
20269 * sysdeps/i386/start.S: ...here.
20270 * sysdeps/i386/elf/configure.in: Merge into...
20271 * sysdeps/i386/configure.in: ...here.
20272 * sysdeps/i386/elf/configure.in: Delete file.
20273 * sysdeps/i386/elf/configure: Delete file.
20275 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20276 * debug/backtracesyms.c: ... here.
20277 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20278 * debug/backtracesymsfd.c: ... here.
20279 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20280 * sysdeps/generic/ifunc-sel.h: ... here.
20282 * sysdeps/unix/i386/start.c: Delete file.
20283 * sysdeps/unix/sparc/start.c: Delete file.
20284 * sysdeps/unix/start.c: Delete file.
20286 * sysdeps/sh/elf/configure.in: Moved to ...
20287 * sysdeps/sh/configure.in: ... here.
20288 * sysdeps/sh/elf/start.S: Moved to ...
20289 * sysdeps/sh/start.S: ... here.
20290 * sysdeps/sh/elf/configure: Delete file.
20292 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20293 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20294 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20295 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20296 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20297 * sysdeps/powerpc/powerpc64/start.S: here.
20298 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20299 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20300 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20301 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20302 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20304 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20305 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20306 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20307 * sysdeps/powerpc/powerpc32/start.S: ... here.
20308 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20309 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20310 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20312 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20313 * sysdeps/powerpc/ifunc-sel.h: ... here.
20314 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20315 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20317 * sysdeps/sparc/elf/configure.in: Moved to ...
20318 * sysdeps/sparc/configure.in: ... here.
20319 * sysdeps/sparc/elf/configure: Delete file.
20320 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20321 * sysdeps/sparc/sparc32/start.S: ... here.
20322 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20323 * sysdeps/sparc/sparc64/start.S: ... here.
20324 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20325 * sysdeps/sparc/sparc32/Makefile: ... this.
20326 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20327 * sysdeps/sparc/sparc64/Makefile: ... this.
20329 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20330 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20331 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20332 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20333 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20334 * sysdeps/s390/s390-32/setjmp.S: ... here.
20335 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20336 * sysdeps/s390/s390-32/configure.in: ... here.
20337 * sysdeps/s390/s390-32/elf/configure: Delete file.
20338 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20339 * sysdeps/s390/s390-32/start.S: ... here.
20341 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20342 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20343 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20344 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20345 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20346 * sysdeps/s390/s390-64/setjmp.S: ... here.
20347 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20348 * sysdeps/s390/s390-64/configure.in: ... here
20349 * sysdeps/s390/s390-64/elf/configure: Delete file.
20350 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20351 * sysdeps/s390/s390-64/start.S: ... here.
20352 * sysdeps/s390/s390-64/elf/configure: Delete.
20354 * configure.in: Remove support for elf directories in sysdeps.
20356 * configure: Regenerated.
20357 * sysdeps/i386/configure: Regenerated.
20358 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20359 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20360 * sysdeps/s390/s390-32/configure: Regenerated.
20361 * sysdeps/s390/s390-64/configure: Regenerated.
20362 * sysdeps/sh/configure: Regenerated.
20363 * sysdeps/sparc/configure: Regenerated.
20364 * sysdeps/x86_64/configure: Regenerated.
20366 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20370 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20371 denormal result into account.
20373 2012-03-25 Roland McGrath <roland@hack.frob.com>
20375 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20376 Reported by Allan McRae <allan@archlinux.org>.
20378 2012-03-23 Jeff Law <law@redhat.com>
20380 * nss/getnssent.c (__nss_getent): Fix typo.
20382 2012-03-23 David S. Miller <davem@davemloft.net>
20384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20386 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20388 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20389 to pad to uint64_t for each field.
20390 (dl_tls_index): Replace unsigned long with uint64_t.
20392 2012-03-23 Daniel Jacobowitz <dmj@google.com>
20393 Paul Pluzhnikov <ppluzhnikov@google.com>
20396 * grp/Makefile (otherlibs): Don't set it.
20397 * inet/Makefile (otherlibs): Likewise.
20398 * login/Makefile (otherlibs): Likewise.
20399 * nscd/Makefile (otherlibs): Likewise.
20400 * posix/Makefile (otherlibs): Likewise.
20401 * pwd/Makefile (otherlibs): Likewise.
20402 * rt/Makefile (otherlibs): Likewise.
20403 * sunrpc/Makefile (otherlibs): Likewise.
20404 * nss/Makefile (otherlibs): Likewise.
20405 Add libnss_files to routines and static-only-routines.
20406 ($(objpfx)getent): Remove rule.
20407 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20408 static-only-routines.
20410 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20413 * math/s_cexp.c: Include <float.h>.
20414 (__cexp): Handle exp result overflowing not necessarily
20415 overflowing both real and imaginary parts of result.
20416 * math/s_cexpf.c: Likewise.
20417 * math/s_cexpl.c: Likewise.
20418 * math/libm-test.inc (cexp_test): Add more tests.
20419 * sysdeps/i386/fpu/libm-test-ulps: Update.
20420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20422 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20424 * include/link.h (ELFW): New macro.
20425 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20426 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20428 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20430 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20433 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20435 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20437 (struct La_x32_retval): Likewise.
20439 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20441 * sysdeps/x86_64/preconfigure.in: New file.
20442 * sysdeps/x86_64/preconfigure: New generated file.
20444 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20447 * math/e_exp2l.c: Include <float.h>.
20448 (__ieee754_exp2l): Handle overflow and underflow cases
20449 separately. Only pass fractional part of argument to
20451 * math/libm-test.inc (exp2_test): Add more tests.
20453 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20454 negating x to take absolute value.
20455 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20457 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20458 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20460 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20461 computing low part if x was negated.
20462 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20464 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20466 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20467 la_x32_gnu_pltexit.
20468 (pltexit): Cast int_retval to ptrdiff_t.
20469 * elf/tst-auditmod3b.c: Likewise.
20470 * elf/tst-auditmod4b.c: Likewise.
20471 * elf/tst-auditmod5b.c: Likewise.
20472 * elf/tst-auditmod6b.c: Likewise.
20473 * elf/tst-auditmod6c.c: Likewise.
20474 * elf/tst-auditmod7b.c: Likewise.
20476 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20477 and x32_gnu_pltexit.
20479 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20480 __ELF_NATIVE_CLASS.
20481 (La_x32_regs): New macro.
20482 (La_x32_retval): Likewise.
20483 (la_x32_gnu_pltenter): New function prototype.
20484 (la_x32_gnu_pltexit): Likewise.
20486 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20488 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20493 * configure.in (libc_cv_cc_nofma): Check for option to disable
20494 generation of FMA instructions.
20495 * configure: Regenerate.
20496 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20497 * sysdeps/ieee754/dbl-64/Makefile: New file.
20498 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20499 Remove brandred-fma4.
20500 (CFLAGS-brandred-fma4.c): Remove.
20501 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20502 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20504 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20507 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20509 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20510 LLONG_MAX != LONG_MAX.
20511 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20512 (_fitoa_word): Likewise.
20513 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20514 LLONG_MAX != LONG_MAX.
20515 * stdio-common/_itowa.h: Include <_itoa.h>.
20516 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20517 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20518 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20519 only if not defined.
20520 (_ITOA_WORD_TYPE): Likewise.
20521 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20522 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20524 2012-03-21 David S. Miller <davem@davemloft.net>
20526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20528 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20530 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20531 of x86_64 when setting libc_cv_slibdir, libdir and
20533 * sysdeps/unix/sysv/linux/configure: Regenerated.
20535 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20537 * manual/lang.texi (Old Varargs): Remove section.
20538 (How Variadic): Update menu.
20539 (va_start): Do not mention varargs.h.
20541 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20542 Joseph Myers <joseph@codesourcery.com>
20544 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20546 * configure: Regenerated.
20548 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20550 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20551 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20554 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20557 * Makefile (files-for-dist): Remove NOTES.
20558 (NOTES): Remove rule.
20559 * README: Don't refer to NOTES.
20560 * manual/creature.texi: Don't include macros.texi.
20561 * manual/intro.texi (creature.texi): Remove comment referring to
20564 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20565 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20566 * configure: Regenerated.
20567 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20568 LIBC_TRY_CC_OPTION.
20569 (libc_cv_as_i686): Likewise.
20570 (libc_cv_cc_avx): Likewise.
20571 (libc_cv_cc_sse2avx): Likewise.
20572 (libc_cv_cc_fma4): Likewise.
20573 (libc_cv_cc_novzeroupper): Likewise.
20574 * sysdeps/i386/configure: Regenerated.
20577 * sysdeps/i386/fpu/s_cexp.S: Remove.
20578 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20579 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20580 * math/libm-test.inc (cexp_test): Add more tests.
20581 * sysdeps/i386/fpu/libm-test-ulps: Update.
20582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20584 2012-03-21 Allan McRae <allan@archlinux.org>
20586 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20588 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20591 * math/w_exp2.c: Do not include <float.h>.
20592 (o_threshold, u_threshold): Remove.
20593 (__exp2): Calculate result before checking finiteness and calling
20595 * math/w_exp2f.c: Likewise.
20596 * math/w_exp2l.c: Likewise.
20597 * math/libm-test.inc (exp2_test): Require overflow exception for
20601 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20602 range of signed 64-bit integers before using fistpll. Remove
20603 checks for whether integers fit in mantissa bits.
20604 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20605 the range of signed 32-bit integers before using fistpl. Remove
20606 checks for whether integers fit in mantissa bits.
20607 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20608 (__ieee754_powl): Test for y outside the range of signed 64-bit
20609 integers before using fistpll. Reduce 64-bit values to 63-bit
20611 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20612 divide-by-zero is raised for zero to large negative powers.
20613 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20614 (__ieee754_powl): Test for y outside the range of signed 64-bit
20615 integers before using fistpll. Reduce 64-bit values to 63-bit
20617 * math/libm-test.inc (pow_test): Add more tests.
20619 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20621 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20622 <stdio-common/_itoa.h>.
20623 * debug/segfault.c: Likewise.
20624 * elf/dl-cache.c: Likewise.
20625 * elf/dl-minimal.c: Likewise.
20626 * elf/dl-misc.c: Likewise.
20627 * elf/dl-sysdep.c: Likewise.
20628 * elf/dl-version.c: Likewise.
20629 * elf/rtld.c: Likewise.
20630 * hurd/hurdsock.c: Likewise.
20631 * hurd/lookup-retry.c: Likewise.
20632 * malloc/malloc.c: Likewise.
20633 * malloc/mtrace.c: Likewise.
20634 * nscd/nscd_getgr_r.c: Likewise.
20635 * nscd/nscd_getpw_r.c: Likewise.
20636 * nscd/nscd_getserv_r.c: Likewise.
20637 * posix/getopt_init.c: Likewise.
20638 * posix/wordexp.c: Likewise.
20639 * stdio-common/_itoa.c: Likewise.
20640 * stdio-common/printf_fphex.c: Likewise.
20641 * stdio-common/vfprintf.c: Likewise.
20642 * string/_strerror.c: Likewise.
20643 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20644 * sysdeps/i386/i686/hp-timing.h: Likewise.
20645 * sysdeps/mach/_strerror.c: Likewise.
20646 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20647 * sysdeps/mach/hurd/sethostid.c: Likewise.
20648 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20649 * sysdeps/mach/xpg-strerror.c: Likewise.
20650 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20651 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20652 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20653 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20654 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20655 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20656 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20657 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20658 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20659 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20660 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20661 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20662 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20663 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20664 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20665 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20666 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20667 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20668 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20669 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20670 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20672 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20674 * stdio-common/_itoa.h: Moved to ...
20675 * sysdeps/generic/_itoa.h: Here.
20677 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20679 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20680 instead of "_itoa.h" and "_itowa.h".
20681 * stdio-common/vfprintf.: Likewise.
20683 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20685 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20687 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20688 (__signbit): Likwise.
20689 (llrintf): Likwise.
20692 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20694 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20697 2012-03-20 Joseph Myers <joseph@codesourcery.com>
20699 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20700 OVERFLOW_EXCEPTION_OK.
20701 * math/libm-test.inc ("Philosophy"): Update comment about
20703 (OVERFLOW_EXCEPTION): Define.
20704 (OVERFLOW_EXCEPTION_OK): Likewise.
20705 (INVALID_EXCEPTION_OK): Renumber.
20706 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20707 (IGNORE_ZERO_INF_SIGN): Likewise.
20708 (test_exceptions): Handle FE_OVERFLOW.
20709 (exp10_test): Expect overflow exceptions.
20710 (exp2_test): Likewise.
20711 (expm1_test): Likewise.
20712 (nextafter_test): Likewise.
20713 (pow_test): Likewise.
20714 (scalbn_test): Likewise.
20715 (scalbln_test): Likewise.
20717 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20719 * sysdeps/x86_64/bits/atomic.h
20720 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20722 (atomic_exchange_acq): Likewise.
20723 (__arch_exchange_and_add_body): Likewise.
20724 (__arch_add_body): Likewise.
20725 (atomic_add_negative): Likewise.
20726 (atomic_add_zero): Likewise.
20728 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20730 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
20731 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20733 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20735 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20736 Check __x86_64__ instead of __WORDSIZE.
20738 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20740 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20742 2012-03-19 David S. Miller <davem@davemloft.net>
20744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20746 * sysdeps/sparc/fpu/fenv_private.h: New file.
20747 * sysdeps/sparc/fpu/math_private.h: Use it.
20748 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20750 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20751 (libc_feholdexcept_setroundl): Remove.
20752 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20754 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20755 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20757 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20759 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20760 int64_t instead of long int.
20761 (INSERT_WORDS64): Likwise.
20763 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20765 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20766 _Unwind_GetCFA return to _Unwind_Ptr first.
20768 2012-03-19 Joseph Myers <joseph@codesourcery.com>
20771 * math/s_clog.c: Include <float.h>.
20772 (__clog): Scale large or subnormal inputs.
20773 * math/s_clogf.c: Likewise.
20774 * math/s_clogl.c: Likewise.
20775 * math/s_clog10.c: Include <float.h>.
20776 (M_LOG10_2): Define.
20777 (__clog10): Scale large or subnormal inputs.
20778 * math/s_clog10f.c: Likewise.
20779 * math/s_clog10l.c: Likewise.
20780 * math/libm-test.inc (clog_test): Add more tests.
20781 (clog10_test): Likewise.
20782 * sysdeps/i386/fpu/libm-test-ulps: Update.
20783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20786 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20788 * math/libm-test.inc (atan2_test): Add another test.
20790 * Makerules (common-objdir-compile): Remove.
20791 * sysdeps/unix/Makefile (config-generated): Do not add
20792 $(unix-generated) to variable.
20793 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20794 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20796 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20798 [generic bits/local_lim.h] (before-compile): Do not append to
20800 [generic bits/local_lim.h] (common-generated): Likewise.
20801 [generic sys/param.h] (before-compile): Do not append to variable.
20802 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20803 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20804 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20805 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20807 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20808 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20809 [generic sys/param.h] ($(addprefix
20810 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20811 [generic sys/param.h] (common-generated): Do not append to
20813 [generic sys/param.h] (sysdep_headers): Likewise.
20814 [generic bits/errno.h] (before-compile): Do not append to
20816 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20818 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20819 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20820 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20821 [generic bits/errno.h] (common-generated): Do not append to
20823 [generic bits/ioctls.h] (before-compile): Do not append to
20825 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20827 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20828 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20829 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20831 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20832 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20833 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20834 [generic bits/ioctls.h] (common-generated): Do not append to
20836 [generic sys/syscall.h] (syscall.h): Remove variable.
20837 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20839 [generic sys/syscall.h] (before-compile): Do not append to
20841 [generic sys/syscall.h] (common-generated): Likewise.
20842 * sysdeps/unix/errnos-tmpl.c: Remove file.
20843 * sysdeps/unix/errnos.awk: Likewise.
20844 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20845 * sysdeps/unix/ioctls.awk: Likewise.
20846 * sysdeps/unix/mk-local_lim.c: Likewise.
20847 * sysdeps/unix/snarf-ioctls: Likewise.
20849 2012-03-19 Richard Henderson <rth@twiddle.net>
20851 * sysdeps/i386/fpu/fenv_private.h: New file.
20852 * sysdeps/i386/fpu/math_private.h: Use it.
20853 (math_opt_barrier, math_force_eval): Remove.
20854 (libc_feholdexcept_setround_53bit): Remove.
20855 (libc_feupdateenv_53bit): Remove.
20856 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20857 (math_opt_barrier, math_force_eval): Remove.
20858 (libc_feholdexcept): Remove.
20859 (libc_feholdexcept_setround): Remove.
20860 (libc_fetestexcept, libc_fesetenv): Remove.
20861 (libc_feupdateenv_test): Remove.
20862 (libc_feupdateenv, libc_feholdsetround): Remove.
20863 (libc_feresetround): Remove.
20865 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20866 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20868 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20869 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20870 (libc_feupdateenv_testl): New.
20871 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20872 (libc_feupdateenv_testf): New.
20873 (libc_feupdateenv): Use libc_feupdateenv_test.
20874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20875 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20877 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20878 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20879 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20880 (libc_feresetround_noex): New.
20881 (libc_feresetround_noexf): New.
20882 (libc_feresetround_noexl): New.
20883 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20884 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20885 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20886 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20888 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20889 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20891 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20892 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20893 SET_RESTORE_ROUND_NOEX.
20894 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20895 SET_RESTORE_ROUND_NOEXF.
20896 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20897 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20898 (libc_feholdsetroundf): New.
20899 (libc_feresetround, libc_feresetroundf): New.
20901 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20902 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20903 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20905 * sysdeps/generic/math_private.h: Include <fenv.h>.
20906 (default_libc_feholdexcept): New.
20907 (default_libc_feholdexcept_setround): New.
20908 (default_libc_fesetenv, default_libc_feupdateenv): New.
20909 (libc_feholdexcept): Only define if undefined.
20910 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20911 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20912 (libc_feholdexcept_setroundl): Likewise.
20913 (libc_feholdexcept_setround_53bit): Likewise.
20914 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20915 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20916 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20917 (libc_feupdateenv_53bit): Likewise.
20918 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20919 (libc_feholdexcept): Convert from macro to inline function.
20920 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20921 (libc_fesetenv, libc_feupdateenv): Likewise.
20923 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20924 not previously defined.
20925 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20926 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20927 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20928 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20929 * sysdeps/ieee754/flt-32/math_private.h: New file.
20930 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20931 math_private.h below SET_FLOAT_WORD.
20932 (__isnan, __isinf_ns, __finite): Remove.
20933 (__isnanf, __isinf_nsf, __finitef): Remove.
20935 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20939 2012-03-17 David S. Miller <davem@davemloft.net>
20942 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20945 2012-03-16 David S. Miller <davem@davemloft.net>
20947 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20951 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20953 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20954 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20955 sysdep_routines when subdir is sysvipc.
20956 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20957 __getshmlba helper.
20959 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20961 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20963 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20966 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20968 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20969 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20970 (__lround): Renamed to ...
20971 (__llround): This. Replace long int with long long int.
20972 Define lround functions as aliases of llround functions.
20973 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20975 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20977 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20978 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20979 adresses to uintptr_t. Replace "long int" and "unsigned long
20980 int" with "greg_t" on va_arg.
20982 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20984 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20985 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20987 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20988 Move e_machine check before EI_CLASS check. Handle x32
20989 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20990 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20991 SKIP_EM_IA_64 and include
20992 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20994 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20995 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20996 (add_system_dir): New macro.
20998 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20999 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21001 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21012 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21014 * math/w_j0f.c (j0f): Likewise.
21016 * math/w_j0l.c (__j0l): Likewise.
21018 * math/w_j1.c (j1): Likewise.
21020 * math/w_j1f.c (j1f): Likewise.
21022 * math/w_j1l.c (__j1l): Likewise.
21024 * math/w_jn.c (jn): Likewise.
21026 * math/w_jnf.c (jnf): Likewise.
21028 * math/w_jnl.c (__jnl): Likewise.
21030 * math/libm-test.inc (j0_test): Add more tests.
21031 (j1_test): Likewise.
21032 (jn_test): Likewise. Add trailing semicolon to existing test.
21033 (y0_test): Likewise.
21034 (y1_test): Likewise.
21035 * sysdeps/i386/fpu/libm-test-ulps: Update.
21036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21040 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21041 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21042 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21043 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21044 (__tanl): Set errno for infinite argument.
21045 * sysdeps/i386/fpu/mptan.c: Remove.
21046 * sysdeps/i386/fpu/s_tan.S: Likewise.
21047 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21048 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21049 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21050 * math/libm-test.inc (tan_test): Add more tests and enable more
21051 tests for double and long double.
21052 * sysdeps/i386/fpu/libm-test-ulps: Update.
21053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21055 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21057 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21058 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21060 2012-03-16 Roland McGrath <roland@hack.frob.com>
21062 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21063 * configure.in: Use it for both main tree and add-ons.
21064 * configure: Regenerated.
21066 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21068 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21070 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21072 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21076 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21077 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21078 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21079 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21080 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21082 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21083 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21084 != 0 for prec == 2.
21085 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21086 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21087 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21088 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21089 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21090 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21091 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21092 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21093 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21094 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21095 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21096 * math/libm-test.inc (cos_test): Add more tests and enable more
21097 tests for long double.
21098 (sin_test): Likewise.
21099 (sincos_test): Likewise.
21100 * sysdeps/i386/fpu/libm-test-ulps: Update.
21101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21103 2012-03-16 David S. Miller <davem@davemloft.net>
21105 * sysdeps/sparc/fpu/math_private.h: New file.
21107 2012-03-15 David S. Miller <davem@davemloft.net>
21109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21119 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21123 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21124 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21126 * sysdeps/sparc/sparc-ifunc.h: New file.
21127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21152 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21154 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21165 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21167 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21168 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21172 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21174 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21178 2012-03-15 Andreas Jaeger <aj@suse.de>
21181 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21182 ieee754/flt-32 implementation for sin, cos and sincos.
21183 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21184 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21185 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21186 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21187 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21188 ieee754/flt-32 implementation for tan.
21190 * math/libm-test.inc (cos_test): Enable some large input tests for
21192 (sin_test): Likewise.
21193 (sincos_test): Likewise.
21194 (tan_test): Add tests for large input.
21196 * sysdeps/i386/fpu/libm-test-ulps: Update.
21198 2012-03-15 Andreas Jaeger <aj@suse.de>
21201 * math/libm-test.inc (cos_test): Add more test cases.
21202 (sin_test): Likewise.
21203 (sincos_test): Likewise.
21205 2012-03-15 Andreas Jaeger <aj@suse.de>
21208 * math/libm-test.inc (cos_test): Add a test case for large input
21210 (sin_test): Likewise.
21211 (sincos_test): Likewise.
21213 2012-03-15 Andreas Jaeger <aj@suse.de>,
21214 Joseph Myers <joseph@codesourcery.com>
21217 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21218 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21219 * sysdeps/i386/fpu/branred.c: Likewise.
21220 * sysdeps/i386/fpu/dosincos.c: Likewise.
21221 * sysdeps/i386/fpu/mpa.c: Likewise.
21222 * sysdeps/i386/fpu/s_cos.S: Likewise.
21223 * sysdeps/i386/fpu/s_sin.S: Likewise.
21224 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21225 * sysdeps/i386/fpu/sincos32.c: Likewise.
21227 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21229 (libc_feupdateenv_53bit): Define.
21230 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21232 (libc_feupdateenv_53bit): Define.
21234 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21235 53 bit (without extend i386 double precision).
21237 * math/libm-test.inc (sincos_test): Add tests for large input.
21241 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21243 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21247 2012-03-15 David S. Miller <davem@davemloft.net>
21249 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21250 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21251 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21252 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21276 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21277 fmin/fmax sysdep routines.
21278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21280 2012-03-14 David S. Miller <davem@davemloft.net>
21282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21305 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21308 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21309 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21310 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21354 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21359 * sysdeps/sparc/configure.in: New file.
21360 * sysdeps/sparc/configure: Generate.
21361 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21362 * configure: Regenerate.
21363 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21364 * config.make.in (have-as-vis3): New.
21365 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21366 available use -Av9d instead of -Av9a.
21367 * sysdeps/sparc/sparc64/Makefile: Likewise.
21368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21377 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21380 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21381 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21383 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21384 fzeros/fnegs to load 0x80000000 into a float register instead of
21386 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21388 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21392 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21393 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21394 ($(inst_includedir)/bits/syscall.h): Remove rule.
21395 ($(objpfx)bits/syscall.d): Include instead of
21396 $(objpfx)syscall-list.d.
21397 (generated): Change syscall-list.h and syscall-list.d to
21398 bits/syscall.h and bits/syscall.d.
21400 2012-03-14 Roland McGrath <roland@hack.frob.com>
21403 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21405 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21408 * math/s_csqrt.c: Include <float.h>.
21409 (__csqrt): Scale large or subnormal inputs.
21410 * math/s_csqrtf.c: Likewise.
21411 * math/s_csqrtl.c: Likewise.
21412 * math/libm-test.inc (csqrt_test): Add more tests.
21413 * sysdeps/i386/fpu/libm-test-ulps: Update.
21414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21417 * math/libm-test.inc (hypot_test): Add more tests.
21419 2012-03-13 David S. Miller <davem@davemloft.net>
21422 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21423 double-precision for the calculation instead of scaling.
21425 2012-03-13 Joseph Myers <joseph@codesourcery.com>
21427 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21428 manipulate bits before adding and subtracting TWO52[sx].
21429 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21430 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21432 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21434 2012-03-13 David S. Miller <davem@davemloft.net>
21436 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21437 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21439 rtld-global-offsets.h
21440 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21442 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21445 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21447 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21448 'err' in the ifdef scope in which it is actually used.
21450 * nss/nss_db/db-init.c: Include string.h
21452 2012-03-12 David S. Miller <davem@davemloft.net>
21454 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21455 masking out of the most significant byte of random value used.
21456 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21457 Fix coding style in previous change.
21459 * sysdeps/unix/sysv/linux/kernel-features.h
21460 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21461 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21463 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21466 2012-03-11 David S. Miller <davem@davemloft.net>
21468 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21469 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21470 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21471 for 'resultvar' otherwise things get truncated on 64-bit.
21473 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21474 Fix masking out of the most significant byte of random value used.
21476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21478 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21482 2012-03-09 David S. Miller <davem@davemloft.net>
21484 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21485 variables with appropriate CPP guards.
21486 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21487 frame pointer, not the stack pointer. Correct layout comments. Fix test
21488 on resulting framesize and the management of the outregs buffer for pltexit.
21489 Preserve floating point return values across _dl_call_pltexit call.
21490 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21491 framesize and the management of the outregs buffer for pltexit.
21492 Preserve floating point return values across _dl_call_pltexit
21494 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21495 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21496 (print_exit): Fix format string for return register value.
21498 2012-03-10 Joseph Myers <joseph@codesourcery.com>
21500 * sunrpc/Makefile (others): Add rpcgen.
21501 ($(objpfx)rpcgen): Remove special build rule and dependency on
21503 * sunrpc/rpcgen.c: New file.
21505 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21508 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21509 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21510 * sysdeps/i386/crti.S: Likewise.
21511 * sysdeps/i386/crtn.S: Likewise.
21512 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21513 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21514 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21515 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21516 * sysdeps/sh/crti.S: Likewise.
21517 * sysdeps/sh/crtn.S: Likewise.
21518 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21521 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21523 * locale/programs/locfile-kw.gperf: Likewise.
21524 * locale/programs/charmap-kw.h: Regenerated.
21525 * locale/programs/locfile-kw.h: Likewise.
21528 * intl/plural.y: Replace FSF snail mail address with URL.
21529 * intl/plural.c: Regenerated.
21531 2012-03-09 Richard Henderson <rth@twiddle.net>
21533 * include/math_private.h: Remove file.
21534 * math/math_private.h: Move file ...
21535 * sysdeps/generic/math_private.h: ... here.
21537 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21538 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21539 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21541 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
21542 and <math_private.h>.
21543 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21544 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21545 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21546 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21547 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21548 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21549 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21550 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21551 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21552 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21554 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21555 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21556 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21557 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21558 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21559 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21560 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21561 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21562 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21564 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21565 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21567 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21568 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21569 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21570 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21572 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21573 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21574 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21575 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21576 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21577 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21578 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21579 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21580 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21581 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21582 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21583 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21584 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21585 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21586 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21587 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21588 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21589 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21590 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21591 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21592 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21593 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21594 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21595 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21596 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21597 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21598 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21599 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21600 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21601 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21602 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21603 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21604 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21606 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21607 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21608 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21609 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21610 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21611 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21612 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21613 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21614 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21615 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21616 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21617 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21620 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21621 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21622 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21623 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21624 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21625 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21626 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21627 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21629 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21630 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21631 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21632 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21633 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21634 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21635 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21636 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21637 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21638 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21640 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21641 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21642 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21643 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21644 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21645 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21646 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21647 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21648 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21649 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21650 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21651 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21652 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21653 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21654 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21655 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21656 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21657 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21658 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21659 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21660 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21661 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21662 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21663 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21664 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21665 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21666 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21667 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21668 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21669 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21670 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21671 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21672 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21673 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21674 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21675 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21676 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21677 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21678 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21679 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21680 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21681 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21682 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21683 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21684 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21685 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21686 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21687 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21688 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21689 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21690 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21691 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21692 * sysdeps/ieee754/k_standard.c: Likewise.
21693 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21694 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21695 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21696 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21697 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21698 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21699 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21700 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21701 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21702 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21703 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21704 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21705 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21706 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21707 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21708 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21709 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21710 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21711 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21712 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21713 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21714 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21715 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21716 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21717 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21718 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21719 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21720 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21721 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21722 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21723 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21724 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21725 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21726 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21727 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21728 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21729 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21731 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21732 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21733 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21734 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21735 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21736 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21737 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21738 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21739 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21740 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21741 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21742 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21743 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21744 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21745 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21746 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21747 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21748 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21749 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21750 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21751 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21752 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21753 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21754 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21755 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21756 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21759 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21763 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21764 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21776 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21777 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21778 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21779 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21781 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21784 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21785 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21786 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21787 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21788 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21789 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21790 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21792 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21793 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21796 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21797 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21798 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21799 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21800 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21801 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21802 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21803 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21804 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21805 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21806 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21807 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21808 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21809 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21810 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21812 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21813 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21814 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21815 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21816 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21817 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21818 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21819 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21820 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21821 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21822 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21823 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21824 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21825 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21826 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21827 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21828 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21829 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21830 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21831 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21832 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21833 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21834 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21835 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21836 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21837 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21838 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21839 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21840 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21841 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21842 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21843 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21844 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21845 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21846 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21847 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21848 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21849 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21850 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21851 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21852 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21853 * sysdeps/ieee754/s_lib_version.c: Likewise.
21854 * sysdeps/ieee754/s_matherr.c: Likewise.
21855 * sysdeps/ieee754/s_signgam.c: Likewise.
21856 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21857 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21858 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21859 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21860 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21861 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21862 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21863 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21864 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21865 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21866 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21867 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21868 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21869 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21870 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21871 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21872 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21873 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21874 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21876 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21878 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21880 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21881 * sunrpc/rpc_main.c: Likewise.
21882 * sunrpc/rpc_svcout.c: Likewise.
21884 2012-03-09 David S. Miller <davem@davemloft.net>
21886 * include/math_private.h: New file.
21888 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21890 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21891 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21892 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21893 from <bits/socket_type.h>.
21894 (enum __socket_type): Don't define here.
21895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21897 bits/socket_type.h.
21900 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21901 checking __USE_GNU.
21903 * Makerules ($(inst_includedir)/%.h): New rule.
21904 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21905 (install-others): Remove variable setting.
21906 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21908 2012-03-08 Richard Henderson <rth@twiddle.net>
21910 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21911 from macro to inline function; merge with the
21912 !__LIBC_INTERNAL_MATH_INLINES version.
21913 (__ieee754_sqrtf): Likewise.
21915 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21916 to inline function.
21917 (__rintf, __floor, __floorf): Likewise.
21919 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21920 macro to inline function.
21921 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21923 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21924 not <math/math_private.h>.
21926 2012-03-08 David S. Miller <davem@davemloft.net>
21928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21930 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21932 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21934 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21936 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21937 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21939 2012-03-08 Ulrich Drepper <drepper@gmail.com>
21941 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21942 be defined individually, they must be defined as a block. Define
21943 S for printing a string instead of hidint the different by using a
21944 macro for adding the 'l'.
21945 * stdio-common/tst-fphex-wide.c: Adjust.
21947 2012-03-07 Marek Polacek <polacek@redhat.com>
21949 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21951 2012-03-08 Marek Polacek <polacek@redhat.com>
21954 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21955 * stdio-common/tst-fphex.c: Define a few macros to make the
21956 test reusable. Use them.
21957 * stdio-common/tst-fphex-wide.c: New file.
21959 2012-03-08 Joseph Myers <joseph@codesourcery.com>
21962 * manual/macros.texi (gnusystems): New macro.
21963 (nongnusystems): Likewise.
21964 (gnulinuxhurdsystems): Likewise.
21965 (gnuhurdsystems): Likewise..
21966 (gnulinuxsystems): Likewise.
21967 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21968 variants of the GNU system, not "GNU system".
21969 * manual/conf.texi: Likewise.
21970 * manual/errno.texi: Likewise. Update example of errno macro
21972 * manual/filesys.texi: Likewise.
21973 (getumask): Document as specific to GNU/Hurd.
21974 * manual/install.texi: Likewise. Reword some references to
21976 * manual/intro.texi: Likewise.
21977 * manual/io.texi: Likewise.
21978 (File Name Portability): Detail which constraints are inapplicable
21979 to all GNU systems and which are only inapplicable to GNU/Hurd.
21980 * manual/job.texi: Likewise.
21981 * manual/llio.texi: Likewise.
21982 (O_NOCTTY): Document as present on GNU/Linux.
21983 * manual/maint.texi: Likewise.
21984 * manual/memory.texi: Likewise.
21985 * manual/pattern.texi: Likewise.
21986 * manual/pipe.texi: Likewise.
21987 * manual/process.texi: Likewise.
21988 * manual/resource.texi: Likewise.
21989 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21991 * manual/setjmp.texi: Likewise.
21992 * manual/signal.texi: Likewise.
21993 * manual/startup.texi: Likewise.
21994 * manual/stdio.texi: Likewise.
21995 * manual/terminal.texi: Likewise.
21996 (ONLCR): Document as POSIX.
21997 (OXTABS): Document availability on GNU/Linux as XTABS.
21998 (ONOEOT): Document availability separately from other bits.
21999 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22000 * manual/time.texi: Likewise.
22001 * manual/users.texi: Likewise.
22002 * INSTALL: Regenerated.
22003 * sysdeps/gnu/errlist.c: Regenerated.
22005 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22006 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22007 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22009 * configure: Regenerated.
22011 2012-03-07 Joseph Myers <joseph@codesourcery.com>
22013 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22014 default includes instead of AC_HEADER_CHECK.
22015 * sysdeps/i386/configure: Regenerated.
22018 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22019 * math/s_cacoshf.c (__cacoshf): Likewise.
22020 * math/s_cacoshl.c (__cacoshl): Likewise.
22021 * math/s_casinh.c (__casinh): Set signs of result from argument.
22022 * math/s_casinhf.c (__casinhf): Likewise.
22023 * math/s_casinhl.c (__casinhl): Likewise.
22024 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22025 (casinh_test): Add more tests.
22026 * sysdeps/i386/fpu/libm-test-ulps: Update.
22027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22029 2012-03-07 Ulrich Drepper <drepper@gmail.com>
22031 * po/zh_TW.po: Update from translation team.
22033 * login/Makefile (distribute): Remove variable.
22034 * catgets/Makefile: Likewise.
22035 * mach/Makefile: Likewise.
22036 * malloc/Makefile: Likewise.
22037 * misc/Makefile: Likewise.
22038 * iconv/Makefile: Likewise.
22039 * nscd/Makefile: Likewise.
22040 * hurd/Makefile: Likewise.
22041 * manual/Makefile: Likewise.
22042 * locale/Makefile: Likewise.
22043 * intl/Makefile: Likewise.
22044 * conform/Makefile: Likewise.
22045 * nss/Makefile: Likewise.
22046 * time/Makefile: Likewise.
22047 * soft-fp/Makefile: Likewise.
22048 * dirent/Makefile: Likewise.
22049 * gmon/Makefile: Likewise.
22050 * po/Makefile: Likewise.
22051 * rt/Makefile: Likewise.
22052 * socket/Makefile: Likewise.
22053 * math/Makefile: Likewise.
22054 * signal/Makefile: Likewise.
22055 * debug/Makefile: Likewise.
22056 * elf/Makefile: Likewise.
22057 * timezone/Makefile: Likewise.
22058 * stdlib/Makefile: Likewise.
22059 * iconvdata/Makefile: Likewise.
22060 * sunrpc/Makefile: Likewise.
22061 * io/Makefile: Likewise.
22062 * argp/Makefile: Likewise.
22063 * inet/Makefile: Likewise.
22064 * hesiod/Makefile: Likewise.
22065 * grp/Makefile: Likewise.
22066 * csu/Makefile: Likewise.
22067 * wctype/Makefile: Likewise.
22068 * crypt/Makefile: Likewise.
22069 * libio/Makefile: Likewise.
22070 * string/Makefile: Likewise.
22071 * nis/Makefile: Likewise.
22072 * resolv/Makefile: Likewise.
22073 * stdio-common/Makefile: Likewise.
22074 * wcsmbs/Makefile: Likewise.
22075 * dlfcn/Makefile: Likewise.
22076 * posix/Makefile: Likewise.
22079 * timezone/Makefile: Don't install timezone files, just the programs
22082 2012-03-06 Ulrich Drepper <drepper@gmail.com>
22084 * nss/databases.def: Add missing gshadow entry.
22086 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22088 2012-03-06 Marek Polacek <polacek@redhat.com>
22091 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22092 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22093 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22094 * stdio-common/tst-long-dbl-fphex.c: New file.
22096 2012-03-06 David S. Miller <davem@davemloft.net>
22098 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22099 (set_obp_int): New function.
22100 (get_obp_int): New function.
22101 (__get_clockfreq_via_dev_openprom): Likewise.
22102 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22103 Avoid unused variable warnings on 'val' and use builtin_expect.
22104 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22106 (INLINE_CLONE_SYSCALL): Likewise.
22108 2012-03-05 David S. Miller <davem@davemloft.net>
22110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22112 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22116 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22117 only for |x| >= 40.
22118 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22120 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
22122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22123 Replace gettimeofday with __vdso_gettimeofday.
22125 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22126 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22127 __vdso_clock_gettime and __vdso_getcpu.
22129 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22130 time with __vdso_time.
22132 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22134 * manual/lang.texi (size_t): Note types to which size_t may be
22135 equivalent with the GNU C Library, but do not describe when
22136 differences between them are significant.
22138 2012-03-05 Andreas Jaeger <aj@suse.de>
22140 * sysdeps/i386/fpu/libm-test-ulps: Update.
22142 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22145 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22146 (__ieee754_pow): Save and restore rounding mode and use
22147 round-to-nearest for main computations.
22148 * math/libm-test.inc (pow_test_tonearest): New function.
22149 (pow_test_towardzero): Likewise.
22150 (pow_test_downward): Likewise.
22151 (pow_test_upward): Likewise.
22152 (main): Call the new functions.
22153 * sysdeps/i386/fpu/libm-test-ulps: Update.
22154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22157 * math/libm-test.inc (cosh_test_tonearest): New function.
22158 (cosh_test_towardzero): Likewise.
22159 (cosh_test_downward): Likewise.
22160 (cosh_test_upward): Likewise.
22161 (sinh_test_tonearest): Likewise.
22162 (sinh_test_towardzero): Likewise.
22163 (sinh_test_downward): Likewise.
22164 (sinh_test_upward): Likewise.
22165 (main): Call the new functions.
22166 * sysdeps/i386/fpu/libm-test-ulps: Update.
22167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22169 2012-03-05 Tom de Vries <tom@codesourcery.com>
22171 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22172 default stack guard is set in last bytes.
22173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22175 2012-03-05 Kees Cook <keescook@chromium.org>
22177 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22180 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22181 possibly allocate from heap instead of stack.
22182 * stdio-common/bug-vfprintf-nargs.c: New file.
22183 * stdio-common/Makefile (tests): Add nargs overflow test.
22185 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22189 2012-03-03 Marek Polacek <polacek@redhat.com>
22191 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22192 * math/math_private.h: Likewise.
22193 * stdlib/tst-strtod.c: Likewise.
22194 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22195 * sysdeps/x86_64/bits/atomic.h: Likewise.
22197 2012-03-02 David S. Miller <davem@davemloft.net>
22199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22203 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22204 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22205 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22206 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22208 2012-03-02 Roland McGrath <roland@hack.frob.com>
22211 * manual/examples/README: New file, says the example source files
22212 can be used under GPL>=2.
22213 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22214 line containing just "*/".
22215 * manual/examples/add.c: Add copyright header (GPL>=2).
22216 * manual/examples/argp-ex1.c: Likewise.
22217 * manual/examples/argp-ex2.c: Likewise.
22218 * manual/examples/argp-ex3.c: Likewise.
22219 * manual/examples/argp-ex4.c: Likewise.
22220 * manual/examples/atexit.c: Likewise.
22221 * manual/examples/db.c: Likewise.
22222 * manual/examples/dir.c: Likewise.
22223 * manual/examples/dir2.c: Likewise.
22224 * manual/examples/execinfo.c: Likewise.
22225 * manual/examples/filecli.c: Likewise.
22226 * manual/examples/filesrv.c: Likewise.
22227 * manual/examples/fmtmsgexpl.c: Likewise.
22228 * manual/examples/genpass.c: Likewise.
22229 * manual/examples/inetcli.c: Likewise.
22230 * manual/examples/inetsrv.c: Likewise.
22231 * manual/examples/isockad.c: Likewise.
22232 * manual/examples/longopt.c: Likewise.
22233 * manual/examples/memopen.c: Likewise.
22234 * manual/examples/memstrm.c: Likewise.
22235 * manual/examples/mkfsock.c: Likewise.
22236 * manual/examples/mkisock.c: Likewise.
22237 * manual/examples/mygetpass.c: Likewise.
22238 * manual/examples/pipe.c: Likewise.
22239 * manual/examples/popen.c: Likewise.
22240 * manual/examples/rprintf.c: Likewise.
22241 * manual/examples/search.c: Likewise.
22242 * manual/examples/select.c: Likewise.
22243 * manual/examples/setjmp.c: Likewise.
22244 * manual/examples/sigh1.c: Likewise.
22245 * manual/examples/sigusr.c: Likewise.
22246 * manual/examples/stpcpy.c: Likewise.
22247 * manual/examples/strdupa.c: Likewise.
22248 * manual/examples/strftim.c: Likewise.
22249 * manual/examples/strncat.c: Likewise.
22250 * manual/examples/subopt.c: Likewise.
22251 * manual/examples/swapcontext.c: Likewise.
22252 * manual/examples/termios.c: Likewise.
22253 * manual/examples/testopt.c: Likewise.
22254 * manual/examples/testpass.c: Likewise.
22255 * manual/examples/timeval_subtract.c: Likewise.
22258 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22260 * manual/timeval_subtract.c.texi: ... here, new file.
22262 2012-03-02 David S. Miller <davem@davemloft.net>
22264 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22266 2012-03-02 Joseph Myers <joseph@codesourcery.com>
22269 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22270 (__sin): Save and restore rounding mode and use round-to-nearest
22271 for all computations.
22272 (__cos): Save and restore rounding mode and use round-to-nearest
22273 for all computations.
22274 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22276 (tan): Save and restore rounding mode and use round-to-nearest for
22278 * math/libm-test.inc (cos_test_tonearest): New function.
22279 (cos_test_towardzero): Likewise.
22280 (cos_test_downward): Likewise.
22281 (cos_test_upward): Likewise.
22282 (sin_test_tonearest): Likewise.
22283 (sin_test_towardzero): Likewise.
22284 (sin_test_downward): Likewise.
22285 (sin_test_upward): Likewise.
22286 (tan_test_tonearest): Likewise.
22287 (tan_test_towardzero): Likewise.
22288 (tan_test_downward): Likewise.
22289 (tan_test_upward): Likewise.
22290 (main): Call the new functions.
22291 * sysdeps/i386/fpu/libm-test-ulps: Update.
22292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22295 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22296 small n, then large n, before computing and testing k+n.
22297 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22300 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22302 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22303 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22304 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22305 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22306 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22307 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22308 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22309 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22310 * math/libm-test.inc (scalbn_test): Add more tests.
22311 (scalbln_test): Likewise.
22313 * manual/filesys.texi (mode_t): Describe constraints on size and
22314 signedness, not exact equivalence to a particular type.
22316 (ino64_t): Likewise.
22318 (nlink_t): Likewise.
22319 (blkcnt_t): Likewise.
22320 (blkcnt64_t): Likewise.
22321 * manual/llio.texi (off_t): Likewise.
22324 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22325 (__ieee754_exp): Save and restore rounding mode and use
22326 round-to-nearest for all computations.
22327 * math/libm-test.inc (exp_test_tonearest): New function.
22328 (exp_test_towardzero): Likewise.
22329 (exp_test_downward): Likewise.
22330 (exp_test_upward): Likewise.
22331 (main): Call the new functions.
22332 * sysdeps/i386/fpu/libm-test-ulps: Update.
22333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22335 2012-03-01 Chris Demetriou <cgd@google.com>
22337 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22338 have predictable order.
22340 2012-03-01 David S. Miller <davem@davemloft.net>
22342 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22344 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22345 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22346 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22347 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22349 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22350 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22351 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22353 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22354 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22355 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22356 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22357 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22361 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22362 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22363 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22365 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22366 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22367 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22368 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22369 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22370 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22371 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22372 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22373 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22374 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22375 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22376 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22378 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22379 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22381 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22382 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22383 * sysdeps/sparc/elf/configure: Regenerated.
22385 2012-03-01 Joseph Myers <joseph@codesourcery.com>
22387 * configure.in (AS, LD): Require binutils 2.20 or later.
22388 * configure: Regenerated.
22389 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22390 as required minimum version.
22391 * INSTALL: Regenerated.
22395 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22396 before squaring exponent.
22397 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22398 bottom long double and 27 bits of top long double before squaring
22400 * math/libm-test.inc (erfc_test): Add more tests.
22401 * sysdeps/i386/fpu/libm-test-ulps: Update.
22402 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22405 2012-03-01 Kai Tietz <ktietz@redhat.com>
22407 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22408 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22409 containing bit-fields.
22410 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22411 * soft-fp/single.h (_FP_UNION_S): Likewise.
22412 * soft-fp/double.h (_FP_UNION_D): Likewise.
22414 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22417 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22418 not include ../strcmp.S.
22419 [USE_AS_STRNCASECMP_L]: Likewise.
22420 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22421 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22422 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22423 (__strncasecmp_l_ia32): Define as alias to
22424 __strncasecmp_l_nonascii.
22427 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22428 * sysdeps/i386/fpu/libm-test-ulps: Update.
22429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22431 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22434 2012-02-29 Jeff Law <law@redhat.com>
22436 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22437 out of bounds read.
22439 2012-02-29 Marek Polacek <polacek@redhat.com>
22442 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22443 * elf/Makefile: Add rules to run tst-unused-dep.out.
22445 2012-02-28 David S. Miller <davem@davemloft.net>
22447 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22448 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22450 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22451 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22452 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22454 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22456 * math/libm-test.inc (llround_test): Move one test from
22457 lround_test. Use TEST_f_L in moved test.
22458 (lround_test): Move misplaced test to llround_test. Add testcase
22461 2012-02-28 Ulrich Drepper <drepper@gmail.com>
22463 * sysdeps/x86_64/fpu/e_expf.S: New file.
22464 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22466 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22469 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22470 of remain_len that may cause incomplete multi-byte character and
22472 * posix/bug-regex33.c: New file.
22473 * posix/Makefile (tests): Add bug-regex33.
22475 2012-02-28 Joseph Myers <joseph@codesourcery.com>
22477 * manual/macros.texi: New file.
22478 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22479 * manual/libc.texinfo: Include macros.texi.
22480 * manual/creatute.texi: Likewise.
22481 * manual/install.texi: Likewise.
22482 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22483 @glibcadj{} in references to the GNU C Library.
22484 * manual/charset.texi: Likewise.
22485 * manual/conf.texi: Likewise.
22486 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22487 when not using those macros.
22488 * manual/creature.texi: Likewise.
22489 * manual/crypt.texi: Likewise.
22490 * manual/errno.texi: Likewise.
22491 * manual/filesys.texi: Likewise.
22492 * manual/header.texi: Likewise.
22493 * manual/install.texi: Likewise.
22494 * manual/intro.texi: Likewise.
22495 * manual/io.texi: Likewise.
22496 * manual/job.texi: Likewise.
22497 * manual/lang.texi: Likewise.
22498 * manual/libc.texiinfo: Likewise.
22499 * manual/llio.texi: Likewise.
22500 * manual/locale.texi: Likewise.
22501 * manual/maint.texi: Likewise.
22502 * manual/math.texi: Likewise.
22503 * manual/memory.texi: Likewise.
22504 * manual/message.texi: Likewise.
22505 * manual/nss.texi: Likewise.
22506 * manual/pattern.texi: Likewise.
22507 * manual/process.texi: Likewise.
22508 * manual/resource.texi: Likewise.
22509 * manual/search.texi: Likewise.
22510 * manual/setjmp.texi: Likewise.
22511 * manual/signal.texi: Likewise.
22512 * manual/socket.texi: Likewise.
22513 * manual/startup.texi: Likewise.
22514 * manual/stdio.texi: Likewise.
22515 * manual/string.texi: Likewise.
22516 * manual/sysinfo.texi: Likewise.
22517 * manual/syslog.texi: Likewise.
22518 * manual/terminal.texi: Likewise.
22519 * manual/time.texi: Likewise.
22520 * manual/users.texi: Likewise.
22521 * INSTALL: Regenerated.
22522 * NOTES: Regenerated.
22523 * sysdeps/gnu/errlist.c: Regenerated.
22525 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22527 * include/dirent.h: Include <dirstream.h> before
22530 2012-02-28 David S. Miller <davem@davemloft.net>
22532 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22533 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22534 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22535 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22537 2012-02-27 David S. Miller <davem@davemloft.net>
22539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22541 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22542 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22545 frame pointer instead of stack pointer relative arg slot.
22546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22547 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22548 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22550 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22553 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22555 2012-02-27 David S. Miller <davem@davemloft.net>
22557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22561 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22562 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22563 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22564 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22566 2012-02-27 Joseph Myers <joseph@codesourcery.com>
22568 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22569 later. Allow versions 5-9.
22570 * configure: Regenerated.
22571 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22572 required minimum version and 4.6 as recommended version. Do not
22573 mention bugs in GCC 2.7 and 2.8.
22574 * INSTALL: Regenerated.
22576 2012-02-27 David S. Miller <davem@davemloft.net>
22578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22582 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22583 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22584 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22585 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22587 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22588 manipulate bits before adding and subtracting TWO112[sx].
22589 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22591 2012-02-27 Roland McGrath <roland@hack.frob.com>
22594 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22595 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22596 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22597 being in POSIX, because they are in 1003.1-2008.
22599 * rt/tst-aio.c: Include <fcntl.h>.
22600 * rt/tst-aio7.c: Likewise.
22601 * rt/tst-aio64.c: Likewise.
22603 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22605 2012-02-27 Joseph Myers <joseph@codesourcery.com>
22607 * manual/install.texi (--with-headers): Describe headers as
22608 interface headers, not private headers.
22609 (Specific advice for GNU/Linux systems): Describe use of headers
22610 from "make headers_install", not private headers from older
22612 * INSTALL: Regenerated.
22613 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22615 * sysdeps/unix/sysv/linux/configure: Regenerated.
22617 * manual/llio.texi (fclean): Remove documentation.
22619 * manual/Makefile (libc-texi-generated): New variable. Include
22621 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22622 $(libc-texi-generated), not duplicated list of files.
22623 (version.texi, stamp-version): New rules.
22624 (realclean): Remove $(libc-texi-generated), not individual files
22625 from that list. Do not remove dir-add.texinfo.
22626 * manual/libc.texinfo: Comment out uses of edition numbers and
22627 references to printed manual. Remove last-updated dates.
22628 (EDITION): Comment out.
22630 (VERSION, UPDATED): Remove.
22631 (version.texi): Include.
22633 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22635 * sysdeps/posix/spawni.c: Include <signal.h>.
22636 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22637 * sysdeps/pthread/aio_fsync.c: Likewise.
22639 2012-02-26 Ulrich Drepper <drepper@gmail.com>
22641 * conform/Makefile (tests): Run only when not cross-compiling and
22642 when fast-check is not defined.
22644 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22645 * conform/data/limits.h-data: Fixes for POSIX2008.
22646 * conform/run-conformtest.sh: Run all tests.
22647 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22649 * include/bits/dlfcn.h: Likewise.
22650 * include/langinfo.h: Likewise.
22651 * include/monetary.h: Likewise.
22652 * include/sys/poll.h: Likewise.
22654 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22656 * posix/spawn.h: Define __need_sigset_t.
22657 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22658 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22659 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22660 to get sigevent_t only.
22661 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22662 only for __USE_GNU.
22663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22664 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22665 process_vm_writev only for __USE_GNU.
22666 * termios/termios.h: Declare tcgetsid also for POSIX2008.
22668 * conform/Makefile: For now ignore errors from run-conformtest.
22669 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22670 POSIX to avoid namespace pollution. Don't prepend headers.
22671 * conform/data/aio.h-data: Fixes for POSIX testing.
22672 * conform/data/fcntl.h-data: Likewise.
22673 * conform/data/glob.h-data: Likewise.
22674 * conform/data/grp.h-data: Likewise.
22675 * conform/data/pthread.h-data: Likewise.
22676 * conform/data/pwd.h-data: Likewise.
22677 * conform/data/signal.h-data: Likewise.
22678 * conform/data/spawn.h-data: Likewise.
22679 * conform/data/stdio.h-data: Likewise.
22680 * conform/data/stdlib.h-data: Likewise.
22681 * conform/data/stropts.h-data: Likewise.
22682 * conform/data/sys/mman.h-data: Likewise.
22683 * conform/data/sys/stat.h-data: Likewise.
22684 * conform/data/sys/types.h-data: Likewise.
22685 * conform/data/sys/wait.h-data: Likewise.
22686 * conform/data/time.h-data: Likewise.
22687 * conform/data/unistd.h-data: Likewise.
22688 * conform/data/utime.h-data: Likewise.
22690 * io/sys/stat.h: fchmod was always in POSIX.
22691 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22692 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22693 * rt/aio.h: Define __need_timespec before including <time.h>.
22694 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22695 struct. Add forward declaration of pthread_attr_t and use it in
22697 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22698 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22699 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22700 always remove CLK_TCK definition.
22702 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22704 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22706 2012-02-25 Ulrich Drepper <drepper@gmail.com>
22708 * conform/run-conformtest.sh: New file.
22709 * conform/Makefile: Run run-conformtest for tests.
22710 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22713 * conform/data/uchar.h-data: New file.
22714 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22715 * conform/data/arpa/inet.h-data: Likewise.
22716 * conform/data/assert.h-data: Likewise.
22717 * conform/data/complex.h-data: Likewise.
22718 * conform/data/cpio.h-data: Likewise.
22719 * conform/data/ctype.h-data: Likewise.
22720 * conform/data/dirent.h-data: Likewise.
22721 * conform/data/dlfcn.h-data: Likewise.
22722 * conform/data/errno.h-data: Likewise.
22723 * conform/data/fcntl.h-data: Likewise.
22724 * conform/data/float.h-data: Likewise.
22725 * conform/data/fmtmsg.h-data: Likewise.
22726 * conform/data/fnmatch.h-data: Likewise.
22727 * conform/data/ftw.h-data: Likewise.
22728 * conform/data/glob.h-data: Likewise.
22729 * conform/data/grp.h-data: Likewise.
22730 * conform/data/iconv.h-data: Likewise.
22731 * conform/data/inttypes.h-data: Likewise.
22732 * conform/data/langinfo.h-data: Likewise.
22733 * conform/data/libgen.h-data: Likewise.
22734 * conform/data/limits.h-data: Likewise.
22735 * conform/data/locale.h-data: Likewise.
22736 * conform/data/math.h-data: Likewise.
22737 * conform/data/monetary.h-data: Likewise.
22738 * conform/data/mqueue.h-data: Likewise.
22739 * conform/data/ndbm.h-data: Likewise.
22740 * conform/data/net/if.h-data: Likewise.
22741 * conform/data/netdb.h-data: Likewise.
22742 * conform/data/netinet/in.h-data: Likewise.
22743 * conform/data/nl_types.h-data: Likewise.
22744 * conform/data/poll.h-data: Likewise.
22745 * conform/data/pthread.h-data: Likewise.
22746 * conform/data/pwd.h-data: Likewise.
22747 * conform/data/regex.h-data: Likewise.
22748 * conform/data/sched.h-data: Likewise.
22749 * conform/data/search.h-data: Likewise.
22750 * conform/data/semaphore.h-data: Likewise.
22751 * conform/data/setjmp.h-data: Likewise.
22752 * conform/data/signal.h-data: Likewise.
22753 * conform/data/spawn.h-data: Likewise.
22754 * conform/data/stdarg.h-data: Likewise.
22755 * conform/data/stdio.h-data: Likewise.
22756 * conform/data/stdlib.h-data: Likewise.
22757 * conform/data/string.h-data: Likewise.
22758 * conform/data/strings.h-data: Likewise.
22759 * conform/data/stropts.h-data: Likewise.
22760 * conform/data/sys/ipc.h-data: Likewise.
22761 * conform/data/sys/mman.h-data: Likewise.
22762 * conform/data/sys/msg.h-data: Likewise.
22763 * conform/data/sys/resource.h-data: Likewise.
22764 * conform/data/sys/select.h-data: Likewise.
22765 * conform/data/sys/sem.h-data: Likewise.
22766 * conform/data/sys/shm.h-data: Likewise.
22767 * conform/data/sys/socket.h-data: Likewise.
22768 * conform/data/sys/stat.h-data: Likewise.
22769 * conform/data/sys/statvfs.h-data: Likewise.
22770 * conform/data/sys/time.h-data: Likewise.
22771 * conform/data/sys/timeb.h-data: Likewise.
22772 * conform/data/sys/times.h-data: Likewise.
22773 * conform/data/sys/types.h-data: Likewise.
22774 * conform/data/sys/uio.h-data: Likewise.
22775 * conform/data/sys/un.h-data: Likewise.
22776 * conform/data/sys/utsname.h-data: Likewise.
22777 * conform/data/sys/wait.h-data: Likewise.
22778 * conform/data/syslog.h-data: Likewise.
22779 * conform/data/tar.h-data: Likewise.
22780 * conform/data/termios.h-data: Likewise.
22781 * conform/data/utime.h-data: Likewise.
22782 * conform/data/utmpx.h-data: Likewise.
22783 * conform/data/varargs.h-data: Likewise.
22784 * conform/data/wchar.h-data: Likewise.
22785 * conform/data/wctype.h-data: Likewise.
22786 * conform/data/wordexp.h-data: Likewise.
22788 * include/stropts.h: New file.
22789 * include/uchar.h: New file.
22790 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22791 * include/assert.h: Likewise.
22792 * include/ctype.h: Likewise.
22793 * include/dirent.h: Likewise.
22794 * include/dlfcn.h: Likewise.
22795 * include/fcntl.h: Likewise.
22796 * include/fnmatch.h: Likewise.
22797 * include/glob.h: Likewise.
22798 * include/grp.h: Likewise.
22799 * include/libio.h: Likewise.
22800 * include/locale.h: Likewise.
22801 * include/math.h: Likewise.
22802 * include/net/if.h: Likewise.
22803 * include/netdb.h: Likewise.
22804 * include/netinet/in.h: Likewise.
22805 * include/pthread.h: Likewise.
22806 * include/pwd.h: Likewise.
22807 * include/regex.h: Likewise.
22808 * include/sched.h: Likewise.
22809 * include/search.h: Likewise.
22810 * include/setjmp.h: Likewise.
22811 * include/signal.h: Likewise.
22812 * include/stdio.h: Likewise.
22813 * include/stdlib.h: Likewise.
22814 * include/string.h: Likewise.
22815 * include/sys/cdefs.h: Likewise.
22816 * include/sys/mman.h: Likewise.
22817 * include/sys/msg.h: Likewise.
22818 * include/sys/resource.h: Likewise.
22819 * include/sys/select.h: Likewise.
22820 * include/sys/socket.h: Likewise.
22821 * include/sys/stat.h: Likewise.
22822 * include/sys/statvfs.h: Likewise.
22823 * include/sys/time.h: Likewise.
22824 * include/sys/times.h: Likewise.
22825 * include/sys/uio.h: Likewise.
22826 * include/sys/utsname.h: Likewise.
22827 * include/sys/wait.h: Likewise.
22828 * include/termios.h: Likewise.
22829 * include/time.h: Likewise.
22830 * include/ulimit.h: Likewise.
22831 * include/unistd.h: Likewise.
22832 * include/utime.h: Likewise.
22833 * include/wchar.h: Likewise.
22834 * include/wctype.h: Likewise.
22835 * include/wordexp.h: Likewise.
22837 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22839 * time/time.h: TIME_UTC must be a macro.
22840 Make timespec_get available for ISO C11 only as well.
22842 2012-02-24 Ulrich Drepper <drepper@gmail.com>
22844 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22845 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22847 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22849 * configure.in: Use -o not -a in test for unsupported multi-arch.
22851 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22853 * manual/texinfo.tex: Update to version 2012-01-19.16.
22855 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22857 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22859 2012-02-24 Roland McGrath <roland@hack.frob.com>
22862 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22863 * manual/fdl-1.3.texi: New file.
22864 * manual/fdl-1.1.texi: File removed.
22867 * manual/libc.texinfo (FDL_VERSION): New @set.
22868 Use it for mention of FDL in cover text.
22869 (Documentation License): Use it in @include file name.
22871 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22872 Roland McGrath <roland@hack.frob.com>
22875 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22876 not LONG_LONG_MAX and LONG_LONG_MIN.
22877 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22878 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22880 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22882 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22886 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22887 manipulate bits before adding and subtracting TWO23[sx].
22888 * math/libm-test.inc (nearbyint_test): Add more tests.
22890 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22893 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22894 bits before adding and subtracting TWO23[sx].
22895 * math/libm-test.inc (rint_test): Add more tests.
22896 (rint_test_tonearest): Likewise.
22897 (rint_test_towardzero): Likewise.
22898 (rint_test_downward): Likewise.
22899 (rint_test_upward: Likewise.
22901 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22904 * include/stdc-predef.h: New file. Extracted from features.h.
22905 * include/features.h: Include stdc-predef.h.
22906 * Makefile (headers): Add stdc-predef.h.
22907 * CONFORMANCE (Compiler limitations): Update.
22909 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22911 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22913 2012-02-21 David S. Miller <davem@davemloft.net>
22915 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22916 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22918 2012-02-20 David S. Miller <davem@davemloft.net>
22920 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22921 using a normal save/restore sequence, rather than allocating a
22922 dummy stack frame just to store a frame pointer and restore.
22923 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22925 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22927 * manual/install.texi: Fix stray word in line-wrapped comment.
22929 2012-02-20 David S. Miller <davem@davemloft.net>
22931 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22932 both binutils and gcc support GOTDATA.
22934 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22935 "rd %pc" in the PIC register setup sequences.
22937 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22938 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22939 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22940 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22941 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22943 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22946 (SYSCALL_ERROR_HANDLER): Likewise.
22947 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22948 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22949 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22950 (SYSCALL_ERROR_HANDLER): Likewise.
22952 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22953 (HAVE_GCC_GOTDATA): New.
22954 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22955 relocation support in both binutils and gcc.
22956 * sysdeps/sparc/elf/configure: Regenerate.
22958 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22959 * sysdeps/sparc/sparc32/elf/configure: Delete.
22960 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22961 * sysdeps/sparc/sparc64/elf/configure: Delete.
22962 * sysdeps/sparc/elf/configure.in: New file.
22963 * sysdeps/sparc/elf/configure: Generate.
22965 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22966 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22967 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22968 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22969 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22971 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22973 * manual/install.texi: Do not mention specific glibc version
22975 * manual/libc.texinfo (VERSION, UPDATED): Update.
22976 (@copying): Use @copyright{} and range of years.
22978 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22981 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22982 [crti.S not in sysdirs] (generated): Do not append.
22983 [crti.S not in sysdirs] (omit-deps): Likewise.
22984 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22985 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22986 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22987 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22988 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22990 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22991 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22992 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22993 * csu/defs.awk: Remove file.
22994 * sysdeps/generic/initfini.c: Likewise.
22995 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22997 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23000 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23002 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23003 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23004 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23005 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23006 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23007 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23009 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23010 (__EPOLL_PACKED): Define to empty if not defined by
23012 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23016 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23018 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23019 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23020 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23021 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23023 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23027 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23029 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23031 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23032 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23033 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23036 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23038 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23039 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23041 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23043 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23044 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23046 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23048 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23051 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23053 * math/w_acos.c: Use non-signaling floating-point comparisons.
23054 * math/w_acosf.c: Likewise.
23055 * math/w_acosh.c: Likewise.
23056 * math/w_acoshf.c: Likewise.
23057 * math/w_acoshl.c: Likewise.
23058 * math/w_acosl.c: Likewise.
23059 * math/w_asin.c: Likewise.
23060 * math/w_asinf.c: Likewise.
23061 * math/w_asinl.c: Likewise.
23062 * math/w_atanh.c: Likewise.
23063 * math/w_atanhf.c: Likewise.
23064 * math/w_atanhl.c: Likewise.
23065 * math/w_exp2.c: Likewise.
23066 * math/w_exp2f.c: Likewise.
23067 * math/w_exp2l.c: Likewise.
23068 * math/w_j0.c: Likewise.
23069 * math/w_j0f.c: Likewise.
23070 * math/w_j0l.c: Likewise.
23071 * math/w_j1.c: Likewise.
23072 * math/w_j1f.c: Likewise.
23073 * math/w_j1l.c: Likewise.
23074 * math/w_jn.c: Likewise.
23075 * math/w_jnf.c: Likewise.
23076 * math/w_log.c: Likewise.
23077 * math/w_log10.c: Likewise.
23078 * math/w_log10f.c: Likewise.
23079 * math/w_log10l.c: Likewise.
23080 * math/w_log2.c: Likewise.
23081 * math/w_log2f.c: Likewise.
23082 * math/w_log2l.c: Likewise.
23083 * math/w_logf.c: Likewise.
23084 * math/w_logl.c: Likewise.
23085 * math/w_sqrt.c: Likewise.
23086 * math/w_sqrtf.c: Likewise.
23087 * math/w_sqrtl.c: Likewise.
23088 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23089 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23090 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23091 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23092 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23094 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23097 * manual/string.texi (strnlen): Use correct parameter name in
23098 equivalent expression.
23100 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23103 * manual/users.texi (seteuid): Consistently use neweuid for
23106 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23109 * manual/nss.texi (Services in the NSS configuration): Correct
23110 list of services in example configuration file.
23112 2012-02-19 Nick Bowler <nbowler@draconx.ca>
23115 * manual/arith.texi: Remove statements about negative zero
23116 behaving identically to zero.
23118 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23121 * manual/install.texi: Do not document upgrading from libc5.
23123 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23126 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23128 2012-02-18 David S. Miller <davem@davemloft.net>
23130 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23131 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23132 %o7 across the call.
23133 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23135 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23136 SETUP_PIC_REG_LEAF.
23137 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23138 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23139 * sysdeps/sparc/crtn.S: Likewise.
23141 2012-02-17 Ulrich Drepper <drepper@gmail.com>
23143 * aout/Makefile: Remove.
23145 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23148 * manual/examples/argp-ex1.c (main): Format definition in GNU
23150 * manual/examples/argp-ex2.c (main): Likewise.
23151 * manual/examples/argp-ex3.c (main): Likewise.
23152 * manual/examples/argp-ex4.c (main): Likewise.
23153 * manual/examples/longopt.c (main): Use new-style prototype
23155 * manual/examples/strncat.c (main): Specify return type and use
23156 (void) for arguments.
23157 * manual/examples/subopt.c (main): Use char **argv argument.
23159 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23162 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23165 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23168 * manual/string.texi (strchr): Change when strchrnul is
23171 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23174 * manual/locale.texi (setlocale): Document LOCPATH.
23176 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23179 * manual/process.texi (execle): Move @dots{} before last argument.
23181 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
23184 * manual/charset.texi (Generic Charset Conversion): Fix typo
23185 (LC_TYPE -> LC_CTYPE).
23187 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23190 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23191 (scalbnf): Likewise.
23192 (scalbnl): Likewise.
23193 (scalbln): Likewise.
23194 (scalblnf): Likewise.
23195 (scalblnl): Likewise.
23196 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23197 (vwarnx): Likewise.
23200 * manual/filesys.texi (telldir): Use braces around return type.
23201 * manual/llio.texi (mmap): Add space after comma.
23202 (mmap64): Likewise.
23203 * manual/math.texi (jn): Use @var{} on parameter names.
23209 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23211 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23213 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23214 (sched_get_priority_max): Likewise.
23215 * manual/signal.texi (sigvec): Add space after comma.
23216 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23218 (if_indextoname): Likewise.
23219 (if_freenameindex): Likewise.
23220 (sendto): Use ',' instead of '.' in prototype.
23221 * manual/startup.texi (syscall): Use @dots{} instead of literal
23223 * manual/stdio.texi (__fpending): Separate initial words of
23224 paragraph from @deftypefun line.
23225 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23227 (vsyslog): Use @var{} on parameter names.
23228 * manual/terminal.texi (stty): Use @var{} on parameter names.
23229 * manual/users.texi (getutmp): Use @var{} on parameter names.
23230 (getutmpx): Likewise.
23232 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23235 * manual/stdio.texi (fopen): Fix typos in description of
23238 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23241 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23242 get clock_id definition.
23244 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
23247 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23248 (madvise): Cast every argument to void on its own.
23250 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23253 * manual/startup.texi (Exit Status): Fix typo.
23255 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23258 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23259 * manual/examples/argp-ex2.c: Likewise.
23260 * manual/examples/argp-ex3.c: Likewise.
23262 2012-02-16 Richard Henderson <rth@redhat.com>
23264 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23265 * sysdeps/s390/s390-32/initfini.c: Remove.
23266 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23267 * sysdeps/s390/s390-64/initfini.c: Remove.
23269 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23271 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23272 compiler output for sysdeps/generic/initfini.c.
23273 * sysdeps/sh/elf/initfini.c: Remove file.
23275 2012-02-16 David S. Miller <davem@davemloft.net>
23278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23280 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23281 * sysdeps/sparc/crti.S: New file.
23282 * sysdeps/sparc/crtn.S: New file.
23283 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23284 * sysdeps/sparc/sparc64/Makefile: Likewise.
23286 2012-02-15 Mike Frysinger <vapier@gentoo.org>
23289 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23291 2012-02-15 Roland McGrath <roland@hack.frob.com>
23294 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23296 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23297 (write, read, close): Likewise.
23298 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23300 2012-02-15 Joseph Myers <joseph@codesourcery.com>
23302 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23303 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23304 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23305 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23307 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23311 2012-02-14 Marek Polacek <polacek@redhat.com>
23313 * sysdeps/x86_64/crti.S: New file.
23314 * sysdeps/x86_64/crtn.S: New file.
23315 * sysdeps/x86_64/elf/initfini.c: Remove file.
23317 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23319 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23320 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23321 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23322 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23324 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23328 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23330 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23331 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23332 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23333 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23335 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23339 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23341 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23342 __feraiseexcept instead of feraiseexcept.
23344 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23345 nanosleep invocations.
23346 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23347 strings, and add error checking for a nanosleep invocations.
23349 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23351 Replace FSF snail mail address with URLs, as per GNU coding standards.
23352 Most of the snail mail addresses were wrong anyway, and omitting
23353 them makes the source code easier to maintain. Almost all of the
23354 changes are to license notices and to locale LC_IDENTIFICATION
23355 addresses, except for this one:
23356 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23357 not its snail mail address.
23359 2012-02-09 Richard Henderson <rth@twiddle.net>
23361 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23362 of kernel-features.h.
23364 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23366 2012-02-08 Marek Polacek <polacek@redhat.com>
23368 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23369 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23370 * sysdeps/gnu/_G_config.h: Likewise.
23371 * sysdeps/generic/_G_config.h: Likewise.
23373 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23375 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23379 * sysdeps/powerpc/powerpc32/crti.S: New file.
23380 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23381 * sysdeps/powerpc/powerpc64/crti.S: New file.
23382 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23384 * Makeconfig (have-initfini): Don't set.
23385 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23386 * configure.in (nopic_initfini): Don't substitute.
23387 * config.h.in (HAVE_INITFINI): Don't #undef.
23388 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23389 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23391 2012-02-08 Joseph Myers <joseph@codesourcery.com>
23393 Support crti.S and crtn.S provided directly by architectures.
23394 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23395 [crti.S in sysdirs] (omit-deps): Likewise.
23396 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23397 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23398 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23399 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23400 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23401 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23402 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23403 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23404 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23405 compiler output for sysdeps/generic/initfini.c.
23406 * sysdeps/i386/elf/Makefile: Remove file.
23407 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23409 2012-02-07 Marek Polacek <polacek@redhat.com>
23411 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23412 * sysdeps/gnu/_G_config.h: Likewise.
23413 * sysdeps/mach/hurd/_G_config.h: Likewise.
23415 2012-02-07 Marek Polacek <polacek@redhat.com>
23417 * math/Makefile (tests): Add tst-CMPLX2.
23418 * math/tst-CMPLX2.c: New file.
23420 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23422 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23424 * math/libm-test.inc (jn_test): Add missing L suffix.
23426 2012-02-06 Marek Polacek <polacek@redhat.com>
23428 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23429 * sysdeps/i386/fpu/e_powf.S: Likewise.
23430 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23431 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23432 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23433 * sysdeps/i386/fpu/e_pow.S: Likewise.
23434 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23435 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23436 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23437 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23438 * sysdeps/i386/fpu/e_log2.S: Likewise.
23439 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23440 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23441 * sysdeps/i386/fpu/e_powl.S: Likewise.
23442 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23443 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23444 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23445 * sysdeps/i386/fpu/e_logl.S: Likewise.
23446 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23447 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23448 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23449 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23450 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23451 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23452 * sysdeps/i386/fpu/e_log.S: Likewise.
23453 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23454 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23455 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23456 * sysdeps/i386/fpu/e_logf.S: Likewise.
23457 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23458 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23459 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23460 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23461 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23462 * sysdeps/i386/fpu/e_log10.S: Likewise.
23463 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23464 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23465 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23466 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23467 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23468 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23469 * sysdeps/i386/asm-syntax.h: Likewise.
23470 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23471 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23472 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23473 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23474 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23475 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23476 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23477 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23478 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23479 * sysdeps/powerpc/sysdep.h: Likewise.
23480 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23481 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23483 2012-02-06 Joseph Myers <joseph@codesourcery.com>
23486 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23488 2012-02-06 Joseph Myers <joseph@codesourcery.com>
23490 * sysdeps/i386/sysdep.h: Include <features.h>.
23491 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23494 2012-02-05 Joseph Myers <joseph@codesourcery.com>
23496 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23498 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23501 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23503 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23504 (SETUP_PIC_REG): Use GET_PC_THUNK.
23505 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23508 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23510 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23511 for non-PIC compilation.
23512 (SETUP_PIC_REG): Add .p2align directive.
23513 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23514 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23515 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23516 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23517 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23518 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23519 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23521 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23522 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23523 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23524 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23525 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23526 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23527 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23528 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23529 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23530 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23531 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23532 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23533 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23534 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23535 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23536 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23537 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23539 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23540 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23541 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23542 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23543 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23544 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23545 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23546 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23547 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23548 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23549 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23550 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23551 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23552 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23553 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23555 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23557 * math/tst-CMPLX.c: Include <stdio.h>.
23559 2012-01-31 Joseph Myers <joseph@codesourcery.com>
23561 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23563 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23564 * sysdeps/sparc/bits/mathdef.h: Likewise.
23566 2012-01-31 Marek Polacek <polacek@redhat.com>
23568 * libio/libio.h: Don't define _PARAMS.
23569 * locale/programs/config.h: Don't define PARAMS.
23570 * stdlib/strtol_l.c: Likewise.
23571 (__strtol_l): Remove PARAMS from the prototype.
23573 2012-01-31 Ulrich Drepper <drepper@gmail.com>
23575 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23576 names. Just use the correct names. Remove unnecessary wrapper
23578 * malloc/arena.c: Likewise.
23579 * malloc/hooks.c: Likewise.
23581 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23582 ARENA_TEST says not to. Simplify test for creation of a new arena.
23583 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23585 2012-01-30 Ulrich Drepper <drepper@gmail.com>
23587 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23589 (update_get_addr): New function.
23590 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23591 GET_ADDR_MODULE parameter.
23593 2012-01-30 Joseph Myers <joseph@codesourcery.com>
23595 * crypt/cert.c: Remove __STDC__ conditionals.
23596 * crypt/crypt-entry.c: Likewise.
23597 * crypt/crypt_util.c: Likewise.
23598 * libio/filedoalloc.c: Likewise.
23599 * libio/fileops.c: Likewise.
23600 * libio/genops.c: Likewise.
23601 * libio/iofclose.c: Likewise.
23602 * libio/iofdopen.c: Likewise.
23603 * libio/iofopen.c: Likewise.
23604 * libio/iofopen64.c: Likewise.
23605 * libio/iogetdelim.c: Likewise.
23606 * libio/iopopen.c: Likewise.
23607 * libio/obprintf.c: Likewise.
23608 * libio/oldfileops.c: Likewise.
23609 * libio/oldiofclose.c: Likewise.
23610 * libio/oldiofdopen.c: Likewise.
23611 * libio/oldiofopen.c: Likewise.
23612 * libio/oldiopopen.c: Likewise.
23613 * libio/wfiledoalloc.c: Likewise.
23614 * libio/wgenops.c: Likewise.
23615 * locale/programs/xmalloc.c: Likewise.
23616 * misc/syslog.c: Likewise.
23617 * stdio-common/xbug.c: Likewise.
23618 * string/memchr.c: Likewise.
23619 * string/memcmp.c: Likewise.
23620 * string/memrchr.c: Likewise.
23621 * string/rawmemchr.c: Likewise.
23622 * sysdeps/posix/getcwd.c: Likewise.
23623 * time/strftime_l.c: Likewise.
23625 2012-01-30 Joseph Myers <joseph@codesourcery.com>
23627 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
23628 * config.make.in (config-cflags-sse2avx): Define.
23629 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23632 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23634 * scripts/config.guess: Update from upstream config git repository.
23635 * scripts/config.sub: Likewise.
23637 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23639 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23641 (R_TILEPRO_*, R_TILEGX_*): New macros.
23643 * scripts/firstversions.awk: Fix bug in version range handling.
23645 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23647 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23649 * include/sys/epoll.h: New file.
23650 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23653 2012-01-28 Ulrich Drepper <drepper@gmail.com>
23655 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23656 Avoid unnecessary __WORDSIZE == 64 test.
23657 (fmaxf): Use VEX format if possible.
23662 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23663 * math/math_private.h: Remove libc_fegetround* and
23665 * sysdeps/i386/configure.in: Check for -msse2avx.
23666 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23667 also if SSE2AVX is defined.
23668 Remove libc_fegetround* and libc_fesetround*.
23669 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23670 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23671 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23673 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23674 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23675 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23676 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23677 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23679 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23681 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23683 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23685 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23687 2012-01-27 Ulrich Drepper <drepper@gmail.com>
23690 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23692 * Makeconfig (libm): Define.
23693 * elf/Makefile: Add rules to build and run tst-relsort1.
23694 * elf/tst-relsort1.c: New file.
23695 * elf/tst-relsort1mod1.c: New file.
23696 * elf/tst-relsort1mod2.c: New file.
23698 2012-01-27 Joseph Myers <joseph@codesourcery.com>
23700 * math/s_ldexp.c: Remove __STDC__ conditionals.
23701 * math/s_ldexpf.c: Likewise.
23702 * math/s_ldexpl.c: Likewise.
23703 * math/s_nextafter.c: Likewise.
23704 * math/s_nexttowardf.c: Likewise.
23705 * math/s_significand.c: Likewise.
23706 * math/s_significandf.c: Likewise.
23707 * math/s_significandl.c: Likewise.
23708 * math/w_jnl.c: Likewise.
23709 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23710 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23711 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23712 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23713 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23714 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23715 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23716 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23717 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23718 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23719 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23720 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23721 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23723 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23724 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23725 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23726 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23728 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23729 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23730 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23731 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23732 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23733 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23734 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23735 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23736 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23737 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23738 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23739 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23740 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23741 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23742 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23743 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23744 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23745 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23746 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23747 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23748 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23749 * sysdeps/ieee754/k_standard.c: Likewise.
23750 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23751 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23752 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23753 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23754 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23755 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23756 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23757 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23758 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23759 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23760 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23761 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23762 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23763 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23764 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23765 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23766 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23767 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23768 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23769 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23770 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23771 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23772 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23773 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23774 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23775 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23776 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23777 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23779 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23780 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23781 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23782 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23783 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23784 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23785 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23786 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23787 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23788 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23789 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23790 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23792 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23793 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23794 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23795 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23796 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23797 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23798 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23799 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23800 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23801 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23802 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23803 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23804 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23805 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23806 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23807 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23808 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23809 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23810 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23811 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23812 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23813 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23814 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23815 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23816 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23817 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23818 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23819 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23820 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23821 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23822 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23823 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23824 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23825 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23826 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23827 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23828 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23829 * sysdeps/ieee754/s_matherr.c: Likewise.
23830 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23831 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23833 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23835 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23837 * crypt/md5.h: Remove __STDC__ conditionals.
23838 * libio/libioP.h: Likewise.
23839 * locale/programs/config.h: Likewise.
23840 * sysdeps/generic/sysdep.h: Likewise.
23841 * sysdeps/i386/asm-syntax.h: Likewise.
23842 * sysdeps/s390/asm-syntax.h: Likewise.
23843 * sysdeps/unix/sysdep.h: Likewise.
23844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23847 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23849 * libio/libio.h: Remove __STDC__ conditionals.
23850 * malloc/obstack.h: Likewise.
23851 * math/complex.h: Likewise.
23852 * math/math.h: Likewise.
23853 * sysdeps/generic/_G_config.h: Likewise.
23854 * sysdeps/gnu/_G_config.h: Likewise.
23855 * sysdeps/mach/hurd/_G_config.h: Likewise.
23856 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23857 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23858 * sysdeps/sparc/bits/mathdef.h: Likewise.
23860 2012-01-26 Ulrich Drepper <drepper@gmail.com>
23863 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23864 Clean up HAS_* macros.
23865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23866 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23868 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23870 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23871 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23872 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23873 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23874 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23876 2012-01-25 Joseph Myers <joseph@codesourcery.com>
23878 * elf/tst-unique3.cc (gets): Remove declaration.
23879 * elf/tst-unique3lib.cc (gets): Likewise.
23880 * elf/tst-unique3lib2.cc (gets): Likewise.
23881 * elf/tst-unique4.cc (gets): Likewise.
23883 2012-01-24 Ulrich Drepper <drepper@gmail.com>
23885 * include/stdio.h: Add C++ protection. Add gets declarations and
23887 * debug/tst-chk1.c: Don't declare gets here.
23888 * stdio-common/tst-gets.c: Likewise.
23890 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23892 * posix/glob: Remove directory.
23894 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23896 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23898 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23900 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23901 of the non-standard EPFNOSUPPORT.
23903 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23905 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23906 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23907 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23909 2012-01-21 Ulrich Drepper <drepper@gmail.com>
23911 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23913 2012-01-20 Ulrich Drepper <drepper@gmail.com>
23915 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23917 * nscd/grpcache.c (cache_addgr): Likewise.
23918 * nscd/hstcache.c (cache_addhst): Likewise.
23919 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23920 * nscd/pwdcache.c (cache_addpw): Likewise.
23921 * nscd/servicescache.c (cache_addserv): Likewise.
23923 2012-01-16 Ulrich Drepper <drepper@gmail.com>
23925 * malloc/malloc.c: Various cleanups.
23926 * malloc/hooks.c: Likewise.
23928 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23929 * stdlib/bug-fmtmsg1.c: New file.
23931 * stdlib/fmtmsg.c (init): Add missing unlock.
23932 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23934 2012-01-12 Marek Polacek <polacek@redhat.com>
23936 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23939 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23941 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23942 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23943 macro to ensure uniqueness of label name.
23944 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23945 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23947 2012-01-11 Ulrich Drepper <drepper@gmail.com>
23949 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23951 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23952 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23953 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23954 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23956 2012-01-10 Ulrich Drepper <drepper@gmail.com>
23958 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23960 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23961 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23962 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23964 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23966 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23967 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23968 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23969 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23971 * math/bits/math-finite.h: Add ldexp support.
23973 2012-01-10 Marek Polacek <polacek@redhat.com>
23975 * locale/programs/localedef.h (show_archive_content): Add noreturn
23978 2012-01-09 Ulrich Drepper <drepper@gmail.com>
23980 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23982 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23984 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23986 * io/Makefile (headers): Add bits/poll2.h.
23988 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23991 typo #include statement.
23993 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23995 * include/sys/cdefs.h: Define __attribute_alloc_size.
23996 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23997 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23998 * elf/pldd.c: Likewise.
23999 * iconv/iconv_charmap.c: Likewise.
24000 * iconv/iconvconfig.c: Likewise.
24001 * iconv/strtab.c: Likewise.
24002 * locale/programs/locale.c: Likewise.
24003 * locale/programs/localedef.h: Likewise.
24004 * locale/programs/simple-hash.c: Likewise.
24005 * nscd/nscd.h: Likewise.
24006 * nss/makedb.c: Likewise.
24007 * sysdeps/generic/ldconfig.h: Likewise.
24008 * locale/programs/localedef.c: Remove xmalloc prototype.
24009 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24011 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24013 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24016 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24018 * math/Makefile (tests): Add tst-CMPLX.
24019 * math/tst-CMPLX.c: New file.
24021 * math/complex.h (CMPLXL): Fix typo.
24023 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24024 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24026 * debug/tst-chk1.c: Add poll and ppoll tests.
24027 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24028 * include/sys/poll.h: Add hidden proto for ppoll.
24029 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24030 * sysdeps/mach/hurd/ppoll.c: Likewise.
24031 * io/ppoll.c: Likewise.
24032 * debug/poll_chk.c: New file.
24033 * debug/ppoll_chk.c: New file.
24034 * include/bits/poll2.h: New file.
24035 * io/bits/poll2.h: New file.
24038 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24040 * configure.in: static is always set to yes. Remove.
24041 * config.make.in: Don't set build-static.
24042 * Makeconfig: Remove use of build-static.
24043 * dlfcn/Makefile: Likewise.
24044 * elf/Makefile: Likewise.
24045 * math/Makefile: Likewise.
24046 * misc/Makefile: Likewise.
24047 * nptl/Makefile: Likewise.
24048 * sysdeps/mach/hurd/Makefile: Likewise.
24050 * configure.in: PWD_P is not used anymore.
24051 * config.make.in: Remove PWD_P entry.
24053 * configure.in: Remove last remnants of RANLIB.
24054 No need to check for signed size_t anymore.
24055 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24057 Remove __builtin_expect test because we require at least gcc 3.4.
24058 * aclocal.m4: Likewise.
24060 * wcsmbs/mbrtoc16.c: Implement using towc function.
24061 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24062 * wcsmbs/wcsmbsload.c: Likewise.
24063 * iconv/gconv_simple.c: Likewise.
24064 * iconv/gconv_int.h: Likewise.
24065 * iconv/gconv_builtin.h: Likewise.
24066 * iconv/iconv_prog.c: Remove CHAR16 handling.
24068 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24070 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24072 * configure.in: Remove --with-elf and --enable-bounded options.
24073 Dont set base_machine for ia64. More non-ELF conditions removed.
24074 Remove testing and setting of leading underscore information.
24075 * config.make.in (build-bounded): Set to no.
24076 * config.h.in: Remove NO_UNDERSCORES entry.
24077 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24079 * csu/start.c: Remove !NO_UNDERSCORE code.
24080 * locale/localeinfo.h: Likewise.
24081 * sysdeps/generic/machine-gmon.h: Likewise.
24082 * sysdeps/generic/sysdep.h: Likewise.
24083 * sysdeps/i386/sysdep.h: Likewise.
24084 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24085 * sysdeps/mach/sysdep.h: Likewise.
24086 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24087 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24088 * sysdeps/sh/sysdep.h: Likewise.
24089 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24090 * sysdeps/unix/i386/sysdep.S: Likewise.
24091 * sysdeps/unix/sparc/start.c: Likewise.
24092 * sysdeps/unix/sparc/sysdep.S: Likewise.
24093 * sysdeps/unix/sparc/sysdep.h: Likewise.
24094 * sysdeps/unix/start.c: Likewise.
24095 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24096 * sysdeps/x86_64/sysdep.h: Likewise.
24098 2012-01-07 Ulrich Drepper <drepper@gmail.com>
24101 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24103 * argp/argp-fmtstream.h: Use const instead __const.
24104 * argp/argp.h: Likewise.
24105 * assert/assert.h: Likewise.
24106 * bits/fenv.h: Likewise.
24107 * bits/sched.h: Likewise.
24108 * bits/sigset.h: Likewise.
24109 * bits/sigthread.h: Likewise.
24110 * catgets/nl_types.h: Likewise.
24111 * conform/data/pthread.h-data: Likewise.
24112 * crypt/crypt-private.h: Likewise.
24113 * crypt/crypt.h: Likewise.
24114 * crypt/crypt_util.c: Likewise.
24115 * ctype/ctype.h: Likewise.
24116 * debug/execinfo.h: Likewise.
24117 * debug/mbsnrtowcs_chk.c: Likewise.
24118 * debug/mbsrtowcs_chk.c: Likewise.
24119 * debug/wcsnrtombs_chk.c: Likewise.
24120 * debug/wcsrtombs_chk.c: Likewise.
24121 * debug/wcstombs_chk.c: Likewise.
24122 * dirent/dirent.h: Likewise.
24123 * dlfcn/dlfcn.h: Likewise.
24124 * elf/neededtest4.c: Likewise.
24125 * grp/grp.h: Likewise.
24126 * gshadow/gshadow.h: Likewise.
24127 * iconv/gconv.h: Likewise.
24128 * iconv/gconv_int.h: Likewise.
24129 * iconv/gconv_simple.c: Likewise.
24130 * iconv/iconv.h: Likewise.
24131 * iconv/loop.c: Likewise.
24132 * iconv/skeleton.c: Likewise.
24133 * include/aio.h: Likewise.
24134 * include/aliases.h: Likewise.
24135 * include/argz.h: Likewise.
24136 * include/arpa/inet.h: Likewise.
24137 * include/assert.h: Likewise.
24138 * include/dirent.h: Likewise.
24139 * include/dlfcn.h: Likewise.
24140 * include/execinfo.h: Likewise.
24141 * include/fcntl.h: Likewise.
24142 * include/fenv.h: Likewise.
24143 * include/glob.h: Likewise.
24144 * include/grp.h: Likewise.
24145 * include/libintl.h: Likewise.
24146 * include/mntent.h: Likewise.
24147 * include/netdb.h: Likewise.
24148 * include/pwd.h: Likewise.
24149 * include/rpc/netdb.h: Likewise.
24150 * include/sched.h: Likewise.
24151 * include/search.h: Likewise.
24152 * include/shadow.h: Likewise.
24153 * include/signal.h: Likewise.
24154 * include/stdio.h: Likewise.
24155 * include/stdlib.h: Likewise.
24156 * include/string.h: Likewise.
24157 * include/sys/socket.h: Likewise.
24158 * include/sys/stat.h: Likewise.
24159 * include/sys/statfs.h: Likewise.
24160 * include/sys/statvfs.h: Likewise.
24161 * include/sys/syslog.h: Likewise.
24162 * include/sys/time.h: Likewise.
24163 * include/sys/uio.h: Likewise.
24164 * include/time.h: Likewise.
24165 * include/unistd.h: Likewise.
24166 * include/utmp.h: Likewise.
24167 * include/wchar.h: Likewise.
24168 * include/wctype.h: Likewise.
24169 * inet/aliases.h: Likewise.
24170 * inet/arpa/inet.h: Likewise.
24171 * inet/netinet/ether.h: Likewise.
24172 * inet/netinet/in.h: Likewise.
24173 * intl/libintl.h: Likewise.
24174 * io/bits/fcntl2.h: Likewise.
24175 * io/fcntl.h: Likewise.
24176 * io/ftw.h: Likewise.
24177 * io/sys/poll.h: Likewise.
24178 * io/sys/stat.h: Likewise.
24179 * io/sys/statfs.h: Likewise.
24180 * io/sys/statvfs.h: Likewise.
24181 * io/utime.h: Likewise.
24182 * libio/bits/stdio.h: Likewise.
24183 * libio/bits/stdio2.h: Likewise.
24184 * libio/libio.h: Likewise.
24185 * libio/libioP.h: Likewise.
24186 * libio/stdio.h: Likewise.
24187 * locale/lc-ctype.c: Likewise.
24188 * locale/locale.h: Likewise.
24189 * login/utmp.h: Likewise.
24190 * malloc/arena.c: Likewise.
24191 * malloc/malloc.c: Likewise.
24192 * malloc/malloc.h: Likewise.
24193 * malloc/mcheck.c: Likewise.
24194 * malloc/mtrace.c: Likewise.
24195 * math/bits/mathcalls.h: Likewise.
24196 * math/fenv.h: Likewise.
24197 * math/math_private.h: Likewise.
24198 * misc/bits/error.h: Likewise.
24199 * misc/bits/syslog.h: Likewise.
24200 * misc/err.h: Likewise.
24201 * misc/error.h: Likewise.
24202 * misc/fstab.h: Likewise.
24203 * misc/mntent.h: Likewise.
24204 * misc/regexp.h: Likewise.
24205 * misc/search.h: Likewise.
24206 * misc/sgtty.h: Likewise.
24207 * misc/sys/mman.h: Likewise.
24208 * misc/sys/syslog.h: Likewise.
24209 * misc/sys/uio.h: Likewise.
24210 * misc/sys/xattr.h: Likewise.
24211 * misc/ttyent.h: Likewise.
24212 * nis/rpcsvc/ypclnt.h: Likewise.
24213 * nss/nss.h: Likewise.
24214 * posix/bits/unistd.h: Likewise.
24215 * posix/fnmatch.h: Likewise.
24216 * posix/glob.h: Likewise.
24217 * posix/sched.h: Likewise.
24218 * posix/spawn.h: Likewise.
24219 * posix/sys/wait.h: Likewise.
24220 * posix/unistd.h: Likewise.
24221 * posix/wordexp.h: Likewise.
24222 * pwd/pwd.h: Likewise.
24223 * resolv/netdb.h: Likewise.
24224 * resource/sys/resource.h: Likewise.
24225 * rt/aio.h: Likewise.
24226 * rt/bits/mqueue2.h: Likewise.
24227 * rt/mqueue.h: Likewise.
24228 * shadow/shadow.h: Likewise.
24229 * signal/signal.h: Likewise.
24230 * socket/send.c: Likewise.
24231 * socket/sendto.c: Likewise.
24232 * socket/sys/socket.h: Likewise.
24233 * stdio-common/printf.h: Likewise.
24234 * stdlib/bits/stdlib.h: Likewise.
24235 * stdlib/fmtmsg.h: Likewise.
24236 * stdlib/monetary.h: Likewise.
24237 * stdlib/stdlib.h: Likewise.
24238 * stdlib/ucontext.h: Likewise.
24239 * streams/stropts.h: Likewise.
24240 * string/argz.h: Likewise.
24241 * string/bits/string2.h: Likewise.
24242 * string/string.h: Likewise.
24243 * string/strings.h: Likewise.
24244 * sunrpc/rpc/auth.h: Likewise.
24245 * sunrpc/rpc/auth_des.h: Likewise.
24246 * sunrpc/rpc/clnt.h: Likewise.
24247 * sunrpc/rpc/netdb.h: Likewise.
24248 * sunrpc/rpc/pmap_clnt.h: Likewise.
24249 * sunrpc/rpc/xdr.h: Likewise.
24250 * sysdeps/generic/inttypes.h: Likewise.
24251 * sysdeps/generic/net/if.h: Likewise.
24252 * sysdeps/generic/sys/swap.h: Likewise.
24253 * sysdeps/gnu/net/if.h: Likewise.
24254 * sysdeps/gnu/utmpx.h: Likewise.
24255 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24256 * sysdeps/i386/i486/bits/string.h: Likewise.
24257 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24258 * sysdeps/s390/bits/string.h: Likewise.
24259 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24260 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24261 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24262 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24263 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24264 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24265 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24266 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24267 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24268 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24269 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24270 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24271 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24272 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24273 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24274 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24275 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24276 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24277 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24278 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24279 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24280 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24281 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24282 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24283 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24284 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24285 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24286 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24287 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24288 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24289 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24290 * sysvipc/sys/ipc.h: Likewise.
24291 * sysvipc/sys/msg.h: Likewise.
24292 * sysvipc/sys/sem.h: Likewise.
24293 * sysvipc/sys/shm.h: Likewise.
24294 * termios/termios.h: Likewise.
24295 * time/sys/time.h: Likewise.
24296 * time/time.h: Likewise.
24297 * wcsmbs/bits/wchar2.h: Likewise.
24298 * wcsmbs/uchar.h: Likewise.
24299 * wcsmbs/wchar.h: Likewise.
24300 * wctype/wctype.h: Likewise.
24303 * Makeconfig: Remove all but ELF support including AIX support.
24304 * Makerules: Likewise.
24305 * config.h.in: Likewise.
24306 * config.make.in: Likewise.
24307 * configure: Likewise.
24308 * configure.in: Likewise.
24309 * csu/Makefile: Likewise.
24310 * csu/version.c: Likewise.
24311 * debug/Makefile: Likewise.
24312 * dlfcn/Makefile: Likewise.
24313 * elf/Makefile: Likewise.
24314 * extra-lib.mk: Likewise.
24315 * iconv/Makefile: Likewise.
24316 * include/libc-symbols.h: Likewise.
24317 * include/shlib-compat.h: Likewise.
24318 * resolv/Makefile: Likewise.
24319 * resolv/res_libc.c: Likewise.
24320 * rt/Makefile: Likewise.
24321 * sysdeps/i386/asm-syntax.h: Likewise.
24322 * sysdeps/i386/sysdep.h: Likewise.
24323 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24324 * sysdeps/mach/sysdep.h: Likewise.
24325 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24326 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24327 * sysdeps/s390/asm-syntax.h: Likewise.
24328 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24329 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24330 * sysdeps/sh/sysdep.h: Likewise.
24331 * sysdeps/unix/sparc/sysdep.h: Likewise.
24332 * sysdeps/wordsize-32/divdi3.c: Likewise.
24333 * sysdeps/x86_64/sysdep.h: Likewise.
24335 * argp/Versions: Remove _argp_unlock_xxx.
24338 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24339 * abilist/libBrokenLocale.abilist: Likewise.
24340 * abilist/libanl.abilist: Likewise.
24341 * abilist/libc.abilist: Likewise.
24342 * abilist/libcrypt.abilist: Likewise.
24343 * abilist/libdl.abilist: Likewise.
24344 * abilist/libm.abilist: Likewise.
24345 * abilist/libnsl.abilist: Likewise.
24346 * abilist/libpthread.abilist: Likewise.
24347 * abilist/libresolv.abilist: Likewise.
24348 * abilist/librt.abilist: Likewise.
24349 * abilist/libthread_db.abilist: Likewise.
24350 * abilist/libutil.abilist: Likewise.
24351 * abilist/libnss_db.abilist: New file.
24353 * scripts/abilist.awk: Add support for indirect functions.
24355 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24357 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24359 * shlib-versions: Remove entries for ports architectures.
24361 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24363 * elf/stackguard-macros.h: Remove support for IA-64.
24364 * elf/tst-auditmod1.c: Likewise.
24365 * sysdeps/generic/ldsodefs.h: Likewise.
24367 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24368 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24372 * configure.in: Remove --enable-omitfp support.
24374 * config.make.in: Likewise.
24375 * Makeconfig: Likewise.
24376 * manual/install.texi: Likewise.
24378 In case anyone cares, the IA-64 architecture could move to ports.
24379 * sysdeps/ia64/*: Removed.
24380 * sysdeps/unix/sysv/linux/ia64/*: Removed.
24381 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24384 * configure.in: Remove entries for unsupported architectures.
24387 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24388 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24390 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24391 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24392 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24393 fall back to using wcrtomb.
24394 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24395 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24397 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24398 * wcsmbs/tst-c16c32-1.c: New file.
24400 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24403 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24405 * elf/tst-unique3.cc: Add explicit declaration of gets.
24406 * elf/tst-unique3lib.cc: Likewise.
24407 * elf/tst-unique3lib2.cc: Likewise.
24408 * elf/tst-unique4.cc: Likewise.
24410 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24412 2012-01-06 Joseph Myers <joseph@codesourcery.com>
24415 * assert/assert.h (static_assert): Don't define for C++.
24416 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24417 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24419 2012-01-03 Ulrich Drepper <drepper@gmail.com>
24421 * iconv/loop.c (single loop): Fix assertion in storing of
24424 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24426 2012-01-01 Ulrich Drepper <drepper@gmail.com>
24428 * posix/getconf.c: Update copyright year.
24429 * nss/getent.c: Likewise.
24430 * nss/makedb.c: Likewise.
24431 * iconv/iconvconfig.c: Likewise.
24432 * iconv/iconv_prog.c: Likewise.
24433 * elf/ldconfig.c: Likewise.
24434 * elf/pldd.c: Likewise.
24435 * elf/sotruss.ksh: Likewise.
24436 * catgets/gencat.c: Likewise.
24437 * csu/version.c: Likewise.
24438 * elf/ldd.bash.in: Likewise.
24439 * elf/sprof.c (print_version): Likewise.
24440 * locale/programs/locale.c: Likewise.
24441 * locale/programs/localedef.c: Likewise.
24442 * login/programs/pt_chown.c: Likewise.
24443 * nscd/nscd.c (print_version): Likewise.
24444 * debug/xtrace.sh: Likewise.
24445 * malloc/memusage.sh: Likewise.
24446 * malloc/mtrace.pl: Likewise.
24447 * debug/catchsegv.sh: Likewise.
24449 2011-12-30 Jakub Jelinek <jakub@redhat.com>
24451 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24454 2011-12-24 Ulrich Drepper <drepper@gmail.com>
24457 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24458 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24460 * iconv/gconv_int.h: Likewise.
24461 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24462 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24463 from libc for GLIBC_2.16.
24464 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24465 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24466 * wcsmbs/uchar.h: Really define mbstate_t.
24467 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24468 * wcsmbs/c16rtomb.c: New file.
24469 * wcsmbs/mbrtoc16.c: New file.
24470 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24471 for C/POSIX locale.
24472 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24473 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24475 * wcsmbs/wchar.h: Add missing __restrict.
24477 2011-12-23 Ulrich Drepper <drepper@gmail.com>
24480 * time/Makefile (routines): Add timespec_get.
24481 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24482 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24483 timespec for ISO C11.
24484 * time/timespec_get.c: New file.
24485 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24486 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24489 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24490 * stdlib/stdlib.h: Declare aligned_alloc.
24491 * Versions.def: Add GLIBC_2.16 for libc.
24492 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24495 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24498 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
24502 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24505 * assert/assert.h (static_assert): Define.
24507 * version.h: Update for 2.16 development version.
24510 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24513 * version.h (RELEASE): Bump for 2.15 release.
24514 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24516 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24517 Patch by Marek Polacek <mpolacek@redhat.com>.
24519 * bits/byteswap.h: Protect long long constants with __extension__.
24520 * sysdeps/i386/bits/byteswap.h: Likewise.
24521 * sysdeps/ia64/bits/byteswap.h: Likewise.
24522 * sysdeps/s390/bits/byteswap.h: Likewise.
24523 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24525 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24528 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24529 destination buffer.
24530 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24532 2011-12-23 Marek Polacek <polacek@redhat.com>
24534 * elf/dl-addr.c (determine_info): Add inline keyword.
24535 * elf/tst-auditmod4b.c (check_avx): Likewise.
24536 * elf/tst-auditmod6b.c (check_avx): Likewise.
24537 * elf/tst-auditmod6c.c (check_avx): Likewise.
24538 * elf/tst-auditmod7b.c (check_avx): Likewise.
24540 2011-12-23 Ulrich Drepper <drepper@gmail.com>
24542 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24545 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24548 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24549 processing for last bytes.
24551 2011-08-06 Bruno Haible <bruno@clisp.org>
24554 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24555 U+0385, not to U+1FEE.
24558 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24559 entry for U+00A5 U+0301.
24561 2011-12-22 Ulrich Drepper <drepper@gmail.com>
24564 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24565 buffer for the output is too small.
24567 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24571 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24572 SSE flags if possible.
24574 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24577 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24578 processing for last bytes.
24580 2011-12-22 Joseph Myers <joseph@codesourcery.com>
24582 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24583 (syscall-list-default-options, syscall-list-default-condition)
24584 (syscall-list-includes): Define.
24585 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24586 list of ABIs and options and #if conditions for each ABI. Do not
24587 handle common syscalls between ABIs specially.
24588 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24590 (syscall-list-variants, syscall-list-32bit-options)
24591 (syscall-list-32bit-condition, syscall-list-64bit-options)
24592 (syscall-list-64bit-condition): Define.
24593 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24594 (syscall-list-variants, syscall-list-32bit-options)
24595 (syscall-list-32bit-condition, syscall-list-64bit-options)
24596 (syscall-list-64bit-condition): Define.
24597 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24599 (syscall-list-variants, syscall-list-32bit-options)
24600 (syscall-list-32bit-condition, syscall-list-64bit-options)
24601 (syscall-list-64bit-condition): Define.
24602 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24604 (syscall-list-variants, syscall-list-32bit-options)
24605 (syscall-list-32bit-condition, syscall-list-64bit-options)
24606 (syscall-list-64bit-condition): Define.
24608 2011-12-22 Ulrich Drepper <drepper@gmail.com>
24610 * locale/iso-639.def: Add brx entry.
24613 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24614 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24616 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24617 __feraiseexcept_renamed.
24619 2011-12-21 Ulrich Drepper <drepper@gmail.com>
24622 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24623 EPOLLET with unsigned values.
24624 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24625 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24627 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24628 to large cancellation.
24629 * math/s_cacoshf.c: Likewise.
24630 * math/s_cacoshl.c: Likewise.
24632 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24636 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24637 * math/s_cacoshf.c: Likewise.
24638 * math/s_cacoshl.c: Likewise.
24640 2011-12-21 Ulrich Drepper <drepper@gmail.com>
24643 * iconv/gconv.h: Define __GCONV_SWAP.
24644 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24645 * iconvdata/utf-16.c: Likewise.
24646 * iconvdata/utf-32.c: Likewise.
24648 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24651 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24652 numerator after shifting it by one limb.
24654 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24656 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24657 under [__USE_EXTERN_INLINES].
24659 2011-12-17 Ulrich Drepper <drepper@gmail.com>
24662 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24664 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24666 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24667 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24669 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24670 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24671 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24672 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24673 for strncasecmp/strncasecmp_l compilation.
24674 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24675 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24677 2011-12-08 Marek Polacek <mpolacek@redhat.com>
24680 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24683 2011-12-17 Ulrich Drepper <drepper@gmail.com>
24686 * time/tzfile.c (__tzfile_read): Check values from file header.
24688 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24690 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24691 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24692 * powerpc/powerpc32/dl-start.S: Likewise.
24693 * powerpc/powerpc32/elf/start.S: Likewise.
24694 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24695 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24696 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24697 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24698 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24699 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24700 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24701 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24702 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24703 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24704 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24705 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24706 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24707 * powerpc/powerpc32/memset.S: Likewise.
24708 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24709 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24710 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24711 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24712 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24713 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24714 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24715 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24716 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24717 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24718 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24719 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24720 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24722 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24724 * math/libm-test.inc: Added more nearbyint tests.
24725 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24726 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24727 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24728 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24730 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24732 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24735 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24737 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24738 Add wcscpy-ssse3 wcscpy-c.
24739 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24740 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24741 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24742 * sysdeps/x86_64/wcschr.S: New file.
24743 * sysdeps/x86_64/wcsrchr.S: New file.
24744 * string/test-strcmp.c: Remove checking of wcscmp function for
24746 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24747 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24748 wcsrchr-sse2 wcsrchr-c.
24749 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24750 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24751 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24752 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24753 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24754 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24755 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24756 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24757 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24758 * wcsmbc/wcschr.c (WCSCHR): New macro.
24760 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24762 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24763 * wcsmbs/test-wcsrchr.c: New file.
24764 * string/test-strrchr.c: Add wcsrchr support.
24766 * wcsmbs/test-wcscpy.c: New file.
24767 * string/test-strcpy.c: Add wcscpy support.
24770 2011-12-10 Ulrich Drepper <drepper@gmail.com>
24772 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24775 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24778 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24780 2011-12-04 Ulrich Drepper <drepper@gmail.com>
24782 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24783 Minor optimizations.
24785 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24786 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24787 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24789 2011-12-03 Ulrich Drepper <drepper@gmail.com>
24791 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24792 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24793 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24794 for gcc to avoid warnings.
24795 * inet/Makefile (tests): Add tst-checks.
24796 * inet/tst-checks.c: New file.
24798 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24801 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24804 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24805 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24807 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24809 2011-12-02 Ulrich Drepper <drepper@gmail.com>
24811 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24814 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24816 2011-11-29 Joseph Myers <joseph@codesourcery.com>
24818 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24819 conditional on GCC version.
24820 (__arch_compare_and_exchange_val_8_acq)
24821 (__arch_compare_and_exchange_val_16_acq)
24822 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24823 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24824 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24826 2011-12-02 Joseph Myers <joseph@codesourcery.com>
24828 * sysdeps/sh/backtrace.c: New file.
24830 2011-12-02 Andreas Schwab <schwab@redhat.com>
24832 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24835 2011-12-01 Andreas Schwab <schwab@redhat.com>
24837 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24838 falling back to utime.
24840 2011-11-30 Andreas Schwab <schwab@redhat.com>
24842 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24843 expectations for float.
24845 2011-11-29 Andreas Schwab <schwab@redhat.com>
24847 * locale/weight.h (findidx): Add parameter len.
24848 * locale/weightwc.h (findidx): Likewise.
24849 * posix/fnmatch_loop.c (FCT): Adjust caller.
24850 * posix/regcomp.c (build_equiv_class): Likewise.
24851 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24852 * posix/regexec.c (check_node_accept_bytes): Likewise.
24853 * string/strcoll_l.c (STRCOLL): Likewise.
24854 * string/strxfrm_l.c (STRXFRM): Likewise.
24856 2011-11-17 Ulrich Drepper <drepper@gmail.com>
24858 * Makefile.in: Remove CVSOPT handling.
24859 * configure.in: Remove use of AC_REVISION.
24860 * iconvdata/Makefile (distribute): No need to filter out CVS.
24861 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24864 2011-11-16 Andreas Schwab <schwab@redhat.com>
24866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24867 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24868 [USE_AS_STRNCASECMP_L]: Likewise.
24869 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24870 NO_TLS_DIRECT_SEG_REFS.
24871 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24872 Fix argument offsets for non-PIC.
24873 [USE_AS_STRNCASECMP_L]: Likewise.
24874 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24875 NO_TLS_DIRECT_SEG_REFS.
24877 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24879 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24881 * locale/loadlocale.c (_nl_load_locale): Likewise.
24883 2011-11-15 Andreas Schwab <schwab@redhat.com>
24885 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24886 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24887 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24888 (SYSCALL_GETTIME): Set errno on error.
24890 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24891 count references to noai6ai_cached.
24893 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24895 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24897 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24898 FD_CLOEXEC for /proc/self/maps.
24900 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24901 FD_CLOEXEC for /proc/meminfo.
24903 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24906 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24907 FD_CLOEXEC for given file.
24909 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24911 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24912 FD_CLOEXEC for /etc/hosts.
24913 (_gethtent): Likewise.
24915 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24917 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24918 cancellation and set FD_CLOEXEC for /etc/netgroup.
24920 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24921 reading /etc/publickey.
24923 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24924 allow cancellation when reading /etc/group.
24926 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24928 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24930 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24931 when using data file.
24933 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24935 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24936 (write_nis_obj): Use "c" and "e" in fopen.
24938 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24940 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24942 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24944 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24946 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24949 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24951 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24953 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24955 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24956 file parsing and set FD_CLOEXEC.
24958 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24960 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24962 2011-11-14 Andreas Schwab <schwab@redhat.com>
24964 * malloc/arena.c (arena_get2): Don't call reused_arena when
24965 _int_new_arena failed.
24967 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24969 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24970 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24971 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24972 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24973 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24974 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24975 to compile strcasecmp and strncasecmp.
24976 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24977 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24981 2011-11-13 Ulrich Drepper <drepper@gmail.com>
24983 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24984 locale-defines.sym to gen-as-const-headers.
24985 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24986 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24987 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24988 to compile strcasecmp and strncasecmp.
24989 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24990 strcasecmp_l and strncasecmp_l.
24991 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24992 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24993 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24994 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24995 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24996 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24997 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24998 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24999 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25000 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25001 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25003 2011-11-12 Ulrich Drepper <drepper@gmail.com>
25005 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25006 result of SYSDEP_GETTIME_CPU to retval.
25007 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25008 parameter list to macro. Remove trailing semicolon. Adjust users.
25010 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25013 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25015 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25017 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25018 from unused variable.
25020 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25022 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25025 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25028 * sunrpc/rpc_prot.c (rejected): Fix case value.
25030 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25031 unsigned long long int to avoid warnings in shift.
25033 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25035 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25038 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25039 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25040 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25042 * nis/nis_table.c (nis_list): Use variable of correct type for
25043 result of __follow_path call.
25045 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25047 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25048 of math functions ceil, trunc, floor, round, and sqrt, when
25049 avaliable on the platform.
25050 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25052 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25053 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25054 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25056 2011-10-30 Marek Polacek <mpolacek@redhat.com>
25058 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25059 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25061 2011-11-11 Roland McGrath <roland@hack.frob.com>
25063 * include/unistd.h: Fix __readlink return type.
25064 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25066 2011-11-11 Ulrich Drepper <drepper@gmail.com>
25068 * stdlib/ucontext.h: Undo last change for makecontext.
25070 2011-11-11 Andreas Schwab <schwab@redhat.com>
25072 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25074 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25075 * setjmp/setjmp.h: Mark functions as non-leaf.
25076 * setjmp/bits/setjmp2.h: Likewise.
25077 * stdlib/ucontext.h: Likewise.
25079 2011-11-10 Andreas Schwab <schwab@redhat.com>
25081 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25082 (reused_arena): Don't check arena limit.
25083 (arena_get2): Atomically check arena limit.
25085 2011-11-08 Ulrich Drepper <drepper@gmail.com>
25087 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25088 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25090 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25093 2011-11-07 Andreas Schwab <schwab@redhat.com>
25095 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25096 handler when locking.
25098 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25099 Fix size of allocated buffer.
25101 2011-11-04 Andreas Schwab <schwab@redhat.com>
25104 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25105 declarations for long double functions.
25106 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25108 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25110 2011-11-03 Andreas Schwab <schwab@redhat.com>
25112 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25115 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25118 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25120 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25122 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25124 * include/alloca.h (stackinfo_alloca_round): Define.
25125 (extend_alloca): Use it.
25126 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25127 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25130 * scripts/check-local-headers.sh: Ignore libaudit.h.
25132 * nscd/Makefile (extra-objs): Make recursively expanded.
25134 2011-11-01 Ulrich Drepper <drepper@gmail.com>
25136 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25137 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25139 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25140 * posix/tst-rfc3484-2.c: Likewise.
25141 * posix/tst-rfc3484-3.c: Likewise.
25143 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25145 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25147 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25148 process_vm_writev from libc using GLIBC_2.15 version.
25150 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25152 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25154 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25157 2011-10-31 Ulrich Drepper <drepper@gmail.com>
25160 * nss/getent.c (initgroups_keys): Show error message in case no group
25163 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25164 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25165 __bump_nl_timestamp.
25166 * nscd/connections (nscd_init): When host database is served open
25167 netlink socket and request notification about configuration changes.
25168 (main_loop_poll): Track netlink file descriptor and bump timestamp
25169 in case data becomes available.
25170 (main_loop_epoll): Likewise.
25171 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25172 (database_pers_head): Add extra_data fileds.
25173 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25174 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25175 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25177 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25178 in6ai data, call __free_in6ai.
25179 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25180 Add -DHAVE_NETLINK.
25181 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25182 interface information. Reuse previous data if netlink timestamp
25184 (__bump_nl_timestamp): New function.
25185 (__free_in6ai): New function.
25187 2011-10-30 Ulrich Drepper <drepper@gmail.com>
25189 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25190 close_not_cancel_no_status here.
25191 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25193 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25196 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25199 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25200 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25201 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25203 2011-07-03 Andreas Jaeger <aj@suse.de>
25206 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25207 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25208 * math/libm-test.inc (sin_test): Add test case.
25210 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25213 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25214 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25216 * elf/chroot_canon.c (chroot_canon): Cleanups.
25218 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25221 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25222 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25224 * string/test-strchr.c: Make usable for strchrnul testing.
25225 * string/test-strchrnul.c: New file.
25226 * string/Makefile (strop-tests): Add strchrnul.
25228 * po/it.po: Update from translation team.
25229 * po/es.po: Likewise.
25231 2011-10-28 Ulrich Drepper <drepper@gmail.com>
25233 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25234 the three constants needed as parameters. Drop the others.
25235 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25236 __m128i_strloadu_tolower.
25237 Create and initialize variable zero and use it in all the places
25238 where _mm_setzero_si128 was used.
25240 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25241 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25242 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25243 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25245 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25246 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25247 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25248 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25249 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25250 __mpranred, __mptan.
25251 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25252 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25253 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25254 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25255 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25256 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25257 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25258 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25259 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25261 2011-10-28 Andreas Schwab <schwab@redhat.com>
25263 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25264 redefine if SHARED.
25265 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25268 wide char related routines to wcsmbs subdir.
25270 2011-10-27 Andreas Schwab <schwab@redhat.com>
25273 * misc/sys/cdefs.h (__THROWNL): Define.
25274 * posix/unistd.h: Use __THREADNL instead of __THREAD
25275 for memory synchronization functions.
25277 2011-10-26 Roland McGrath <roland@hack.frob.com>
25280 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25282 * manual/stdio.texi (Obstack Streams): Node removed.
25284 2011-10-26 Andreas Schwab <schwab@redhat.com>
25286 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25287 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25288 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25290 * math/math_private.h (math_force_eval): Allow non-addressable
25292 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25294 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25296 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25297 file is not needed.
25299 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25300 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25301 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25302 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25303 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25304 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25305 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25306 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25308 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25309 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25310 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25311 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25312 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25313 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25314 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25315 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25316 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25317 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25318 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25319 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25320 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25321 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25322 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25323 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25324 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25325 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25326 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25328 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25329 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25331 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25332 place. Use VEX encoding when compiling for AVX.
25334 2011-10-25 Andreas Schwab <schwab@redhat.com>
25336 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25337 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25339 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25341 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25343 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25344 useless if() expression.
25345 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25346 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25347 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25348 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25349 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25350 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25351 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25352 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25353 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25354 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25355 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25356 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25357 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25358 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25359 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25360 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25361 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25362 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25363 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25365 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25367 2011-10-25 Andreas Schwab <schwab@redhat.com>
25369 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25371 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25373 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25375 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25376 .text section. Avoid duplicate constants.
25377 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25379 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25384 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25385 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25386 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25387 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25388 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25389 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25390 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25391 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25392 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25393 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25394 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25395 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25396 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25397 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25398 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25399 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25400 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25401 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25402 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25403 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25404 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25405 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25406 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25407 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25408 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25409 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25410 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25411 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25412 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25413 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25414 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25415 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25416 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25417 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25418 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25419 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25420 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25421 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25423 2011-10-24 Ulrich Drepper <drepper@gmail.com>
25425 * sysdeps/x86_64/dla.h: Move to ...
25426 * sysdeps/x86_64/fpu/dla.h: ...here.
25427 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25428 situations. Use __builtin_fma only for gcc 4.6 and up.
25430 * config.make.in: Add have-mfma4 entry.
25431 * configure.in: Substitute libc_cv_cc_fma4.
25432 * math/Makefile (dbl-only-routines): Add sincostab.
25433 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25434 Use __sincostab not sincos.
25435 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25437 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25440 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25442 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25443 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25444 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25445 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25447 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25448 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25450 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25451 define aliases when function name is a macro.
25452 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25453 sysdeps/ieee754/dbl-64/sincos.tbl.
25454 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25455 fma4-enabled routines.
25456 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25457 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25458 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25459 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25460 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25461 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25462 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25463 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25464 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25465 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25466 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25467 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25468 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25469 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25470 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25471 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25472 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25473 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25474 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25475 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25476 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25477 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25478 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25479 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25480 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25481 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25482 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25483 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25484 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25485 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25487 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25489 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25498 2011-10-24 Andreas Schwab <schwab@redhat.com>
25500 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25502 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25504 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25506 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25508 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25510 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25511 Remove unused variable magic_bits.
25512 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25514 * string/strnlen.c: Define and use STRNLEN macro.
25515 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25516 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25517 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25518 * wcsmbs/wcslen.c: Define and use WCSLEN.
25519 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25520 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25521 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25522 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25523 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25524 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25525 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25527 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25530 strnlen-sse2-no-bsf.
25531 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25532 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25533 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25534 Add strnlen support.
25535 (USE_AS_STRNLEN): New macro.
25536 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25537 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25538 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25539 * sysdeps/x86_64/wcslen.S: New file.
25541 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25543 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25544 XMM-moves are used for copying on small sizes.
25546 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25548 * wcsmbs/Makefile (strop-tests): Add wcschr.
25549 * wcsmbs/test-wcschr.c: New file.
25550 * string/test-strchr.c: Update.
25551 Add wcschr support.
25554 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25556 * wcsmbs/Makefile (strop-tests): Add wcslen.
25557 * wcsmbs/test-wcslen.c: New file.
25558 * string/test-strlen.c: Update.
25559 Add wcslen support.
25562 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25564 * po/it.po: Update from translation team.
25566 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25568 * sysdeps/x86_64/wcscmp.S: Update.
25569 Fix wrong comparison semantics.
25570 wcscmp shall use signed comparison not unsigned.
25571 Don't use substraction to avoid overflow bug.
25572 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25573 * wcsmbc/wcscmp.c: Likewise.
25574 * string/test-strcmp.c: Likewise.
25575 Add new tests to check cases with negative values.
25577 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25579 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25580 * sysdeps/x86_64/dla.h: ...here. New file.
25581 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25582 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25583 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25588 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25589 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25591 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25594 __ynl_finite aliases.
25596 2011-10-22 Ulrich Drepper <drepper@gmail.com>
25598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25600 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25602 [DLA_FMA] (EMULV): Use DLA_FMA.
25603 [DLA_FMA] (MUL12): Use EMULV.
25604 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25605 that are not needed.
25606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25608 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25612 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25614 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25616 * math/s_nan.c: Undef __nan.
25617 * math/s_nanf.c: Undef __nanf.
25618 * math/s_nanl.c: Undef __nanl.
25619 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25622 2011-10-22 Ulrich Drepper <drepper@gmail.com>
25624 * math/s_catan.c: Add branch predictions.
25625 * math/s_catanf.c: Likewise.
25626 * math/s_catanh.c: Likewise.
25627 * math/s_catanhf.c: Likewise.
25628 * math/s_catanhl.c: Likewise.
25629 * math/s_catanl.c: Likewise.
25630 * math/s_cexp.c: Likewise.
25631 * math/s_cexpf.c: Likewise.
25632 * math/s_cexpl.c: Likewise.
25633 * math/s_clog.c: Likewise.
25634 * math/s_clog10.c: Likewise.
25635 * math/s_clog10f.c: Likewise.
25636 * math/s_clog10l.c: Likewise.
25637 * math/s_clogf.c: Likewise.
25638 * math/s_clogl.c: Likewise.
25639 * math/s_csqrt.c: Likewise.
25640 * math/s_csqrtf.c: Likewise.
25641 * math/s_csqrtl.c: Likewise.
25642 * math/s_ctanf.c: Likewise.
25643 * math/s_ctanh.c: Likewise.
25644 * math/s_ctanhf.c: Likewise.
25645 * math/s_ctanhl.c: Likewise.
25646 * math/s_ctanl.c: Likewise.
25648 * math/math_private.h: Define __nan, __nanf, __nanl.
25649 * math/s_cacosh.c: Include <math_private.h>.
25650 * math/s_cacoshl.c: Likewise.
25651 * math/s_casinh.c: Likewise.
25652 * math/s_casinhf.c: Likewise.
25653 * math/s_casinhl.c: Likewise.
25654 * math/s_ccos.c: Rely entire on ccosh.
25655 * math/s_ccosf.c: Rely entire on ccoshf.
25656 * math/s_ccosl.c: Rely entirely on ccoshl.
25657 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25658 Remove tests for FE_INVALID.
25659 * math/s_ccoshf.c: Likewise.
25660 * math/s_ccoshl.c: Likewise.
25661 * math/s_csin.c: Likewise.
25662 * math/s_csinf.c: Likewise.
25663 * math/s_csinh.c Likewise.
25664 * math/s_csinhf.c: Likewise.
25665 * math/s_csinhl.c: Likewise.
25666 * math/s_csinl.c: Likewise.
25667 * math/s_ctan.c: Likewise.
25668 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25669 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25670 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25672 2011-10-21 Ulrich Drepper <drepper@gmail.com>
25674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25675 compilation problems.
25677 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25680 2011-10-20 Ulrich Drepper <drepper@gmail.com>
25682 * sysdeps/i386/configure.in: Test for -mfma4 option.
25683 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25684 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25685 COMMON_CPUID_INDEX_80000001.
25686 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25687 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25688 use it if FMA3 is not supported.
25689 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25691 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25692 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25694 2011-10-20 Andreas Schwab <schwab@redhat.com>
25697 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25698 it would create a cycle with a link time dependency.
25700 2011-10-19 Ulrich Drepper <drepper@gmail.com>
25702 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25704 * string/Makefile (strop-tests): Add rawmemchr.
25705 * string/test-rawmemchr.c: New file.
25707 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25708 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25709 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25710 when compiling str{,n}casecmp and when AVX is available. Hook up
25711 new optimized code in initializers.
25713 2011-10-19 Andreas Schwab <schwab@redhat.com>
25715 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25716 __feraiseexcept instead of feraiseexcept.
25718 2011-10-18 Ulrich Drepper <drepper@gmail.com>
25720 * math/math_private.h: Define defaults for libc_fetestexcept and
25722 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25723 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25724 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25725 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25726 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25727 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25728 libc_fetestexcept and libc_feupdateenv.
25730 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25731 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25732 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25733 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25734 libc_feholdexcept_setround.
25736 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25737 Add s_nearbyint-c and s_nearbyintf-c.
25738 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25739 nearbyintf inlines.
25740 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25741 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25742 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25743 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25745 * math/math_private.h: Define defaults for libc_fegetround,
25746 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25747 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25748 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25749 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25750 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25751 standard functions.
25752 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25753 Remove comments and hacks for old compiler versions.
25754 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25755 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25756 libc_feholdexceptl.
25758 2011-10-18 Andreas Schwab <schwab@redhat.com>
25760 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25761 (__feraiseexcept_renamed): Add __NTH.
25762 (feraiseexcept): Add __NTH. Rename local variables to fix
25763 namespace violations.
25765 2011-10-17 Ulrich Drepper <drepper@gmail.com>
25767 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25769 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25771 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25772 recently added interfaces.
25773 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25775 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25776 about macro parameter expansion.
25778 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25779 __NO_MATH_INLINES is defined. Cleanups.
25781 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25782 and __floorf is target has SSE4.1.
25783 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25784 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25785 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25786 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25788 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25790 (floorf): Likewise.
25792 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25794 2011-10-17 Andreas Schwab <schwab@redhat.com>
25796 * misc/sys/cdefs.h: Fix last change.
25798 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25801 2011-10-16 Ulrich Drepper <drepper@gmail.com>
25803 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25805 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25806 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25807 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25808 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25809 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25810 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25811 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25812 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25813 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25814 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25815 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25816 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25817 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25818 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25819 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25820 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25821 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25822 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25823 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25824 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25825 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25826 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25828 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25829 ceil, ceilf, floor, floorf.
25831 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25832 Perform IRELATIVE relocations last.
25834 * elf/do-rel.h: Add another parameter nrelative, replacing the
25835 local variable with the same name. Change name of the function
25836 to end in Rel or Rela (uppercase).
25837 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25838 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25839 elf_dynamic_do_##reloc function.
25841 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25843 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25844 is sufficient, at least on modern CPUs.
25846 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25848 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25849 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25851 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25853 * math/bits/math-finite.h: Add entries for exp.
25854 * math/e_expl.c: Add __*_finite alias.
25855 * sysdeps/i386/fpu/e_exp.S: Likewise.
25856 * sysdeps/i386/fpu/e_expf.S: Likewise.
25857 * sysdeps/i386/fpu/e_expl.c: Likewise.
25858 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25859 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25860 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25862 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25863 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25864 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25866 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25867 is sufficient, at least on modern CPUs.
25869 * ctype/ctype-info.c (__ctype_init): Define.
25870 * include/ctype.h (__ctype_init): Declare.
25871 (__ctype_b_loc): The variable is always initialized.
25872 (__ctype_toupper_loc): Likewise.
25873 (__ctype_tolower_loc): Likewise.
25874 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25875 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25877 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25879 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25881 * configure.in: Also look in $cxxmachine/include for C++ system
25884 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25886 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25887 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25888 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25889 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25890 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25891 (USE_AS_WMEMCMP): New macro.
25893 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25894 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25895 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25896 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25898 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25899 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25900 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25901 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25902 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25903 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25904 (USE_AS_WMEMCMP): New macro.
25905 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25906 * sysdeps/string/test-memcmp.c: Update.
25907 Fix simple_wmemcmp.
25909 * wcsmbs/wmemcmp.c: Update.
25910 (WMEMCMP): New macro.
25913 2011-10-12 Andreas Jaeger <aj@suse.de>
25916 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25918 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25920 * libio/iofwide.c (do_length): Avoid warning.
25922 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25924 2011-10-14 Ulrich Drepper <drepper@gmail.com>
25926 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25928 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25929 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25930 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25931 * sysdeps/i386/i686/fpu/e_log.S: New file.
25932 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25933 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25935 * ctype/ctype.h: Add support for inlined isXXX functions when
25936 compiling C++ code.
25938 2011-10-14 Andreas Schwab <schwab@redhat.com>
25940 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25942 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25944 2011-10-13 Roland McGrath <roland@hack.frob.com>
25947 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25949 2011-10-13 Andreas Schwab <schwab@redhat.com>
25951 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25952 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25955 * sysdeps/x86_64/memrchr.S: Check for zero size.
25957 * string/stratcliff.c: Add memrchr tests.
25959 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25962 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25963 rawmemchr-sse2 rawmemchr-sse2-bsf.
25964 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25965 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25966 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25967 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25968 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25969 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25970 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25971 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25972 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25973 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25974 * string/memrchr.c (MEMRCHR): New macro.
25976 2011-10-12 Ulrich Drepper <drepper@gmail.com>
25978 Add integration with gcc's -ffinite-math-only and optimize wrapper
25980 * Versions.def: Define GLIBC_2.15 version for libm.
25981 * math/Makefile (headers): Add bits/math-finite.h.
25982 * math/bits/math-finite.h: New file.
25983 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25984 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25985 * math/e_acoshl.c: Add __*_finite alias.
25986 * math/e_acosl.c: Likewise.
25987 * math/e_asinl.c: Likewise.
25988 * math/e_atan2l.c: Likewise.
25989 * math/e_atanhl.c: Likewise.
25990 * math/e_coshl.c: Likewise.
25991 * math/e_exp10.c: Likewise.
25992 * math/e_exp10f.c: Likewise.
25993 * math/e_exp10l.c: Likewise.
25994 * math/e_exp2l.c: Likewise.
25995 * math/e_fmodl.c: Likewise.
25996 * math/e_gammal_r.c: Likewise.
25997 * math/e_hypotl.c: Likewise.
25998 * math/e_j0l.c: Likewise.
25999 * math/e_j1l.c: Likewise.
26000 * math/e_jnl.c: Likewise.
26001 * math/e_lgammal_r.c: Likewise.
26002 * math/e_log10l.c: Likewise.
26003 * math/e_log2l.c: Likewise.
26004 * math/e_logl.c: Likewise.
26005 * math/e_powl.c: Likewise.
26006 * math/e_sinhl.c: Likewise.
26007 * math/e_sqrtl.c: Likewise.
26008 * math/e_scalb.c: Completely rewritten and optimized.
26009 * math/e_scalbf.c: Likewise.
26010 * math/e_scalbl.c: Likewise.
26011 * math/w_acos.c: Likewise.
26012 * math/w_acosf.c: Likewise.
26013 * math/w_acosl.c: Likewise.
26014 * math/w_acosh.c: Likewise.
26015 * math/w_acoshf.c: Likewise.
26016 * math/w_acoshl.c: Likewise.
26017 * math/w_asin.c: Likewise.
26018 * math/w_asinf.c: Likewise.
26019 * math/w_asinl.c: Likewise.
26020 * math/w_atan2.c: Likewise.
26021 * math/w_atan2f.c: Likewise.
26022 * math/w_atan2l.c: Likewise.
26023 * math/w_atanh.c: Likewise.
26024 * math/w_atanhf.c: Likewise.
26025 * math/w_atanhl.c: Likewise.
26026 * math/w_exp10.c: Likewise.
26027 * math/w_exp10f.c: Likewise.
26028 * math/w_exp10l.c: Likewise.
26029 * math/w_fmod.c: Likewise.
26030 * math/w_fmodf.c: Likewise.
26031 * math/w_fmodl.c: Likewise.
26032 * math/w_j0.c: Likewise.
26033 * math/w_j0f.c: Likewise.
26034 * math/w_j0l.c: Likewise.
26035 * math/w_j1.c: Likewise.
26036 * math/w_j1f.c: Likewise.
26037 * math/w_j1l.c: Likewise.
26038 * math/w_jn.c: Likewise.
26039 * math/w_jnf.c: Likewise.
26040 * math/w_log.c: Likewise.
26041 * math/w_logf.c: Likewise.
26042 * math/w_logl.c: Likewise.
26043 * math/w_log10.c: Likewise.
26044 * math/w_log10f.c: Likewise.
26045 * math/w_log10l.c: Likewise.
26046 * math/w_log2.c: Likewise.
26047 * math/w_log2f.c: Likewise.
26048 * math/w_log2l.c: Likewise.
26049 * math/w_pow.c: Likewise.
26050 * math/w_powf.c: Likewise.
26051 * math/w_powl.c: Likewise.
26052 * math/w_remainder.c: Likewise.
26053 * math/w_remainderf.c: Likewise.
26054 * math/w_remainderl.c: Likewise.
26055 * math/w_scalb.c: Likewise.
26056 * math/w_scalbf.c: Likewise.
26057 * math/w_scalbl.c: Likewise.
26058 * math/w_sqrt.c: Likewise.
26059 * math/w_sqrtf.c: Likewise.
26060 * math/w_sqrtl.c: Likewise.
26061 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26062 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26064 * math/math_private.h: Declare __kernel_standard_f.
26065 * math/w_cosh.c: Remove cruft and optimize a bit.
26066 * math/w_coshf.c: Likewise.
26067 * math/w_coshl.c: Likewise.
26068 * math/w_exp2.c: Likewise.
26069 * math/w_exp2f.c: Likewise.
26070 * math/w_exp2l.c: Likewise.
26071 * math/w_hypot.c: Likewise.
26072 * math/w_hypotf.c: Likewise.
26073 * math/w_hypotl.c: Likewise.
26074 * math/w_lgamma.c: Likewise.
26075 * math/w_lgamma_r.c: Likewise.
26076 * math/w_lgammaf.c: Likewise.
26077 * math/w_lgammaf_r.c: Likewise.
26078 * math/w_lgammal.c: Likewise.
26079 * math/w_lgammal_r.c: Likewise.
26080 * math/w_sinh.c: Likewise.
26081 * math/w_sinhf.c: Likewise.
26082 * math/w_sinhl.c: Likewise.
26083 * math/w_tgamma.c: Likewise.
26084 * math/w_tgammaf.c: Likewise.
26085 * math/w_tgammal.c: Likewise.
26086 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26087 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26088 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26089 Minor optimizations. Pretty printing. Remove cruft.
26090 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26091 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26092 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26093 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26094 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26095 * sysdeps/i386/fpu/e_asin.S: Likewise.
26096 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26097 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26098 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26099 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26100 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26101 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26102 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26103 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26104 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26105 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26106 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26107 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26108 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26109 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26110 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26111 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26112 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26113 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26114 * sysdeps/i386/fpu/e_log.S: Likewise.
26115 * sysdeps/i386/fpu/e_log10.S: Likewise.
26116 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26117 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26118 * sysdeps/i386/fpu/e_log2.S: Likewise.
26119 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26120 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26121 * sysdeps/i386/fpu/e_logf.S: Likewise.
26122 * sysdeps/i386/fpu/e_logl.S: Likewise.
26123 * sysdeps/i386/fpu/e_pow.S: Likewise.
26124 * sysdeps/i386/fpu/e_powf.S: Likewise.
26125 * sysdeps/i386/fpu/e_powl.S: Likewise.
26126 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26127 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26128 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26129 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26130 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26131 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26132 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26133 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26134 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26135 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26136 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26138 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26139 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26140 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26141 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26142 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26143 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26144 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26145 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26146 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26148 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26149 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26150 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26151 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26152 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26153 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26155 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26156 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26157 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26158 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26159 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26160 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26161 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26162 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26163 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26164 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26165 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26166 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26167 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26168 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26169 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26170 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26171 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26172 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26173 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26174 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26175 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26176 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26177 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26178 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26179 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26180 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26181 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26182 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26183 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26184 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26185 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26186 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26187 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26188 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26189 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26190 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26191 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26192 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26193 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26194 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26195 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26196 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26197 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26198 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26199 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26200 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26201 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26203 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26204 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26205 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26206 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26207 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26208 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26209 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26210 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26211 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26212 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26213 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26214 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26215 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26216 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26217 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26218 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26219 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26220 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26221 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26222 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26223 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26224 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26225 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26226 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26227 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26228 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26229 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26230 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26231 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26232 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26233 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26234 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26235 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26236 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26237 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26238 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26239 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26240 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26241 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26242 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26243 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26244 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26245 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26246 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26247 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26248 (__isnanf): Likewise.
26249 (__isinf_ns): Likewise.
26250 (__isinf_nsf): Likewise.
26251 (__finite): Likewise.
26252 (__finitef): Likewise.
26253 (__ieee754_sqrt): Define as macro.
26254 (__ieee754_sqrtf): Define as macro.
26255 (__ieee754_sqrtl): Define as macro.
26256 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26258 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26259 __FINITE_MATH_ONLY__ consistent.
26260 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26262 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26264 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26267 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26269 2011-10-09 Ulrich Drepper <drepper@gmail.com>
26271 * po/ja.po: Update from translation team.
26273 2011-10-08 Roland McGrath <roland@hack.frob.com>
26275 * locale/programs/locarchive.c (prepare_address_space): New function.
26276 (create_archive, enlarge_archive, open_archive): Use it.
26278 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26279 inside [SHARED], where it is used.
26281 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26283 * nss/getent.c (netgroup_keys): Remove unused variable.
26284 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26286 2011-10-08 Ulrich Drepper <drepper@gmail.com>
26288 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26289 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26290 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26291 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26292 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26293 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26294 * math/Makefile (libm-calls): Add s_isinf_ns.
26295 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26296 * math/multc3.c: Likewise.
26297 * math/s_casin.c: Likewise.
26298 * math/s_casinf.c: Likewise.
26299 * math/s_casinl.c: Likewise.
26300 * math/s_ccos.c: Likewise.
26301 * math/s_ccosf.c: Likewise.
26302 * math/s_ccosl.c: Likewise.
26303 * math/s_ctan.c: Likewise.
26304 * math/s_ctanf.c: Likewise.
26305 * math/s_ctanh.c: Likewise.
26306 * math/s_ctanhf.c: Likewise.
26307 * math/s_ctanhl.c: Likewise.
26308 * math/s_ctanl.c: Likewise.
26309 * math/w_fmod.c: Likewise.
26310 * math/w_fmodf.c: Likewise.
26311 * math/w_fmodl.c: Likewise.
26312 * math/w_remainder.c: Likewise.
26313 * math/w_remainderf.c: Likewise.
26314 * math/w_remainderl.c: Likewise.
26315 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26316 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26317 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26319 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26320 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26321 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26322 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26324 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26326 * stdio-common/printf_fphex.c: Likewise.
26327 * stdio-common/printf_size.c: Likewise.
26329 * math/e_exp10.c: Include math_private.h using <...> not "...".
26330 * math/e_exp10f.c: Likewise.
26331 * math/e_exp10l.c: Likewise.
26332 * math/e_exp2l.c: Likewise.
26333 * math/e_j0l.c: Likewise.
26334 * math/e_j1l.c: Likewise.
26335 * math/e_jnl.c: Likewise.
26336 * math/e_lgammal_r.c: Likewise.
26337 * math/e_rem_pio2l.c: Likewise.
26338 * math/e_scalb.c: Likewise.
26339 * math/e_scalbf.c: Likewise.
26340 * math/e_scalbl.c: Likewise.
26341 * math/k_cosl.c: Likewise.
26342 * math/k_sinl.c: Likewise.
26343 * math/k_tanl.c: Likewise.
26344 * math/s_cacoshf.c: Likewise.
26345 * math/s_catan.c: Likewise.
26346 * math/s_catanf.c: Likewise.
26347 * math/s_catanh.c: Likewise.
26348 * math/s_catanhf.c: Likewise.
26349 * math/s_catanhl.c: Likewise.
26350 * math/s_catanl.c: Likewise.
26351 * math/s_ccosh.c: Likewise.
26352 * math/s_ccoshf.c: Likewise.
26353 * math/s_ccoshl.c: Likewise.
26354 * math/s_cexp.c: Likewise.
26355 * math/s_cexpf.c: Likewise.
26356 * math/s_cexpl.c: Likewise.
26357 * math/s_clog.c: Likewise.
26358 * math/s_clog10.c: Likewise.
26359 * math/s_clog10f.c: Likewise.
26360 * math/s_clog10l.c: Likewise.
26361 * math/s_clogf.c: Likewise.
26362 * math/s_clogl.c: Likewise.
26363 * math/s_csin.c: Likewise.
26364 * math/s_csinf.c: Likewise.
26365 * math/s_csinh.c: Likewise.
26366 * math/s_csinhf.c: Likewise.
26367 * math/s_csinhl.c: Likewise.
26368 * math/s_csinl.c: Likewise.
26369 * math/s_csqrt.c: Likewise.
26370 * math/s_csqrtf.c: Likewise.
26371 * math/s_csqrtl.c: Likewise.
26372 * math/s_ctan.c: Likewise.
26373 * math/s_ctanf.c: Likewise.
26374 * math/s_ctanh.c: Likewise.
26375 * math/s_ctanhf.c: Likewise.
26376 * math/s_ctanhl.c: Likewise.
26377 * math/s_ctanl.c: Likewise.
26378 * math/s_ldexp.c: Likewise.
26379 * math/s_ldexpf.c: Likewise.
26380 * math/s_ldexpl.c: Likewise.
26381 * math/s_significand.c: Likewise.
26382 * math/s_significandf.c: Likewise.
26383 * math/s_significandl.c: Likewise.
26384 * math/w_acos.c: Likewise.
26385 * math/w_acosf.c: Likewise.
26386 * math/w_acosh.c: Likewise.
26387 * math/w_acoshf.c: Likewise.
26388 * math/w_acoshl.c: Likewise.
26389 * math/w_acosl.c: Likewise.
26390 * math/w_asin.c: Likewise.
26391 * math/w_asinf.c: Likewise.
26392 * math/w_asinl.c: Likewise.
26393 * math/w_atan2.c: Likewise.
26394 * math/w_atan2f.c: Likewise.
26395 * math/w_atan2l.c: Likewise.
26396 * math/w_atanh.c: Likewise.
26397 * math/w_atanhf.c: Likewise.
26398 * math/w_atanhl.c: Likewise.
26399 * math/w_cosh.c: Likewise.
26400 * math/w_coshf.c: Likewise.
26401 * math/w_coshl.c: Likewise.
26402 * math/w_dremf.c: Likewise.
26403 * math/w_exp10.c: Likewise.
26404 * math/w_exp10f.c: Likewise.
26405 * math/w_exp10l.c: Likewise.
26406 * math/w_exp2.c: Likewise.
26407 * math/w_exp2f.c: Likewise.
26408 * math/w_fmod.c: Likewise.
26409 * math/w_fmodf.c: Likewise.
26410 * math/w_fmodl.c: Likewise.
26411 * math/w_hypot.c: Likewise.
26412 * math/w_hypotf.c: Likewise.
26413 * math/w_hypotl.c: Likewise.
26414 * math/w_j0.c: Likewise.
26415 * math/w_j0f.c: Likewise.
26416 * math/w_j0l.c: Likewise.
26417 * math/w_j1.c: Likewise.
26418 * math/w_j1f.c: Likewise.
26419 * math/w_j1l.c: Likewise.
26420 * math/w_jn.c: Likewise.
26421 * math/w_jnf.c: Likewise.
26422 * math/w_jnl.c: Likewise.
26423 * math/w_lgamma.c: Likewise.
26424 * math/w_lgamma_r.c: Likewise.
26425 * math/w_lgammaf.c: Likewise.
26426 * math/w_lgammaf_r.c: Likewise.
26427 * math/w_lgammal.c: Likewise.
26428 * math/w_lgammal_r.c: Likewise.
26429 * math/w_log.c: Likewise.
26430 * math/w_log10.c: Likewise.
26431 * math/w_log10f.c: Likewise.
26432 * math/w_log10l.c: Likewise.
26433 * math/w_log2.c: Likewise.
26434 * math/w_log2f.c: Likewise.
26435 * math/w_log2l.c: Likewise.
26436 * math/w_logf.c: Likewise.
26437 * math/w_logl.c: Likewise.
26438 * math/w_pow.c: Likewise.
26439 * math/w_powf.c: Likewise.
26440 * math/w_powl.c: Likewise.
26441 * math/w_remainder.c: Likewise.
26442 * math/w_remainderf.c: Likewise.
26443 * math/w_remainderl.c: Likewise.
26444 * math/w_scalb.c: Likewise.
26445 * math/w_scalbf.c: Likewise.
26446 * math/w_scalbl.c: Likewise.
26447 * math/w_sinh.c: Likewise.
26448 * math/w_sinhf.c: Likewise.
26449 * math/w_sinhl.c: Likewise.
26450 * math/w_sqrt.c: Likewise.
26451 * math/w_sqrtf.c: Likewise.
26452 * math/w_sqrtl.c: Likewise.
26453 * math/w_tgamma.c: Likewise.
26454 * math/w_tgammaf.c: Likewise.
26455 * math/w_tgammal.c: Likewise.
26457 * po/ja.po: Update from translation team.
26459 2011-09-29 Andreas Jaeger <aj@suse.de>
26462 * sunrpc/netname.c (netname2host): Fix logic.
26466 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26468 * math/w_remainder.c (__remainder): Likewise.
26469 * math/w_remainderf.c (__remainderf): Likewise.
26470 * math/libm-test.inc (remainder_test): Add test cases.
26472 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26474 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26477 2011-10-07 Ulrich Drepper <drepper@gmail.com>
26479 * string/test-memcmp.c: Avoid unncessary #defines.
26480 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26482 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26484 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26485 Use new sse2 version for core i3 - i7 as it's faster
26486 than sse42 version.
26487 (bit_Prefer_PMINUB_for_stringop): New.
26488 * sysdeps/x86_64/rawmemchr.S: Update.
26489 Replace with faster SSE2 version.
26490 * sysdeps/x86_64/memrchr.S: New file.
26491 * sysdeps/x86_64/memchr.S: Update.
26492 Replace with faster SSE2 version.
26494 2011-09-12 Marek Polacek <mpolacek@redhat.com>
26496 * elf/dl-load.c (lose): Add cast to avoid warning.
26498 2011-10-07 Ulrich Drepper <drepper@gmail.com>
26500 * po/ca.po: Update from translation team.
26502 * inet/getnetgrent_r.c: Hook up nscd.
26503 * nscd/Makefile (routines): Add nscd_netgroup.
26504 (nscd-modules): Add netgroupcache.
26505 (CFLAGS-netgroupcache.c): Define.
26506 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26507 (cache_search): Add const to second parameter.
26508 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26510 (dbs): Add netgrdb entry.
26511 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26512 (verify_persistent_db): Handle netgrdb.
26513 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26514 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26516 (netgroup_response_header): Define.
26517 (innetgroup_response_header): Define.
26518 (datahead): Add netgroup_response_header and innetgroup_response_header
26520 * nscd/nscd.conf: Add entries for netgroup cache.
26521 * nscd/nscd.h (dbtype): Add netgrdb.
26522 (_PATH_NSCD_NETGROUP_DB): Define.
26523 (netgroup_iov_disabled): Declare.
26524 (xmalloc, xcalloc, xrealloc): Move declarations here.
26525 (cache_search): Adjust prototype.
26526 Add netgroup-related prototypes.
26527 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26528 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26529 (__nscd_innetgr): Declare.
26530 * nscd/selinux.c (perms): Use access_vector_t as element type and
26531 add netgroup-related initializers.
26532 * nscd/netgroupcache.c: New file.
26533 * nscd/nscd_netgroup.c: New file.
26534 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26535 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26536 For four parameters use innetgr.
26537 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26538 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26539 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26540 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26542 * nscd/connections.c (register_traced_file): Don't register file
26543 for disabled databases.
26545 2011-10-06 Ulrich Drepper <drepper@gmail.com>
26547 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26549 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26550 from tree and freeing node.
26552 2011-09-25 Jiri Olsa <jolsa@redhat.com>
26554 * nss/nsswitch.c (__nss_database_lookup): Handle
26555 nss_parse_service_list out of memory case.
26557 2011-09-15 Jiri Olsa <jolsa@redhat.com>
26559 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26560 out of memory case.
26562 2011-10-04 Andreas Schwab <schwab@redhat.com>
26564 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26565 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26567 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26568 elf_machine_rela, elf_machine_lazy_rel.
26569 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26570 (ELF_DYNAMIC_DO_REL): Likewise.
26571 (ELF_DYNAMIC_DO_RELA): Likewise.
26572 (ELF_DYNAMIC_RELOCATE): Likewise.
26573 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26574 to ELF_DYNAMIC_DO_REL.
26575 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26576 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26577 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26579 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26580 skip_ifunc, don't call ifunc function if non-zero.
26581 (elf_machine_rela): Likewise.
26582 (elf_machine_lazy_rel): Likewise.
26583 (elf_machine_lazy_rela): Likewise.
26584 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26585 (elf_machine_lazy_rel): Likewise.
26586 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26588 (elf_machine_lazy_rel): Likewise.
26589 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26591 (elf_machine_lazy_rel): Likewise.
26592 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26593 (elf_machine_lazy_rel): Likewise.
26594 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26595 (elf_machine_lazy_rel): Likewise.
26596 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26597 (elf_machine_lazy_rel): Likewise.
26598 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26599 (elf_machine_lazy_rel): Likewise.
26600 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26601 (elf_machine_lazy_rel): Likewise.
26602 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26603 (elf_machine_lazy_rel): Likewise.
26605 2011-09-28 Ulrich Drepper <drepper@gmail.com>
26607 * nss/nss_files/files-init.c (_nss_files_init): Use static
26608 initialization for all the *_traced_file variables.
26610 2011-09-28 Andreas Schwab <schwab@redhat.com>
26612 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26614 2011-09-27 Roland McGrath <roland@hack.frob.com>
26617 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26619 2011-09-27 Andreas Schwab <schwab@redhat.com>
26621 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26622 Reread the line before reparsing it.
26624 2011-09-26 Andreas Schwab <schwab@redhat.com>
26626 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26628 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26629 Maxim Kuvyrkov <maxim@codesourcery.com>
26630 Joseph Myers <joseph@codesourcery.com>
26632 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26633 if needed for __stack_chk_guard.
26635 2011-09-19 Roland McGrath <roland@hack.frob.com>
26637 * sysdeps/posix/spawni.c (script_execute): Always define it.
26638 It will be optimized away if unused.
26639 (maybe_script_execute): New function.
26640 (__spawni): Call it.
26642 * Makerules: Don't include tls.make.
26643 (config-tls): Always set to thread.
26644 * tls.make.c: File removed.
26646 2011-09-19 Mike Frysinger <vapier@gentoo.org>
26648 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26649 * config.make.in (CPPFLAGS-config): New substituted variable.
26651 2011-09-15 Ulrich Drepper <drepper@gmail.com>
26653 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26656 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26657 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26659 2011-09-15 Roland McGrath <roland@hack.frob.com>
26661 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26662 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26663 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26664 (CALL_FAIL): Likewise.
26665 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26666 (CALL_FAIL): Macro removed.
26667 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26669 2011-09-15 Ulrich Drepper <drepper@gmail.com>
26671 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26672 for __FINITE_MATH_ONLY__ == 1.
26674 2011-09-15 Andreas Schwab <schwab@redhat.com>
26676 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26677 __ieee754_sqrt instead of sqrt.
26678 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26679 __ieee754_sqrtf instead of sqrtf.
26680 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26681 __floorf instead of floorf.
26682 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26683 __floorf, __truncf instead of floorf, truncf.
26685 2011-09-14 Ulrich Drepper <drepper@gmail.com>
26687 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26689 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26690 __extern_always_inline.
26691 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26694 2011-09-14 Andreas Schwab <schwab@redhat.com>
26696 * elf/rtld.c (dl_main): Also relocate in dependency order when
26697 doing symbol dependency testing.
26699 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26701 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26702 Always define `refsym'.
26704 2011-09-13 Andreas Schwab <schwab@redhat.com>
26706 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26707 (__FD_ELT): Renamed from __FDELT.
26708 * misc/bits/select2.h (__FD_ELT): Likewise.
26709 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26710 __FD_MASK instead of __FDELT, __FDMASK.
26711 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26713 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26716 * elf/Makefile (gen-ldd): Fix pattern.
26718 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26719 (init_tls): Likewise.
26721 2011-09-12 Ulrich Drepper <drepper@gmail.com>
26723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26725 2011-09-12 Andreas Schwab <schwab@redhat.com>
26727 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26728 `struct cmsghdr *' instead of `void *'.
26729 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26732 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26734 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26736 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26737 ldd_rewrite_script.
26739 2011-09-11 Ulrich Drepper <drepper@gmail.com>
26741 * configure.in: Remove --with-tls option.
26742 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26743 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26744 out in case it is missing.
26745 * sysdeps/ia64/elf/configure.in: Likewise.
26746 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26747 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26748 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26749 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26750 * sysdeps/sh/elf/configure.in: Likewise.
26751 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26752 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26753 * sysdeps/x86_64/elf/configure.in: Likewise.
26754 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26755 * sysdeps/mach/hurd/tls.h: Likewise.
26758 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26761 * configure.in: Fix use of AC_INIT.
26763 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26765 2011-09-10 Ulrich Drepper <drepper@gmail.com>
26767 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26769 * malloc/hooks.c: Likewise.
26772 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26773 variables statically.
26774 (narenas): Initialize.
26775 (list_lock): Initialize.
26776 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26777 initializtion of main_arena and list_lock. Small cleanups.
26778 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26779 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26780 Add initializers to main_arena and mp_.
26781 (malloc_state): Remove pagesize member. Change all users to use
26784 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26785 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26786 is always initialized.
26788 * malloc/malloc.c: Removed unused configurations and dead code.
26789 * malloc/arena.c: Likewise.
26790 * malloc/hooks.c: Likewise.
26791 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26793 * include/tls.h: Removed. USE___THREAD must always be defined.
26794 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26795 * elf/dl-libc.c: Likewise.
26796 * elf/dl-tsd.c: Likewise.
26797 * include/errno.h: Likewise.
26798 * include/netdb.h: Likewise.
26799 * include/resolv.h: Likewise.
26800 * inet/herrno-loc.c: Likewise.
26801 * inet/herrno.c: Likewise.
26802 * malloc/arena.c: Likewise.
26803 * malloc/hooks.c: Likewise.
26804 * malloc/malloc.c: Likewise.
26805 * resolv/res-state.c: Likewise.
26806 * resolv/res_libc.c: Likewise.
26807 * sysdeps/i386/dl-machine.h: Likewise.
26808 * sysdeps/ia64/dl-machine.h: Likewise.
26809 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26810 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26811 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26812 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26813 * sysdeps/sh/dl-machine.h: Likewise.
26814 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26815 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26816 * sysdeps/unix/i386/sysdep.S: Likewise.
26817 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26818 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26820 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26823 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26827 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26828 * sysdeps/x86_64/dl-machine.h: Likewise.
26829 * tls.make.c: Likewise.
26831 * configure.in: Remove --with-__thread option. Make tests for
26832 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26833 tls_model attribute fail if no support is available. Remove
26835 * Makeconfig: Adjust for dropped configure option. All features are
26837 * Makerules: Likewise.
26838 * Versions.def: Likewise.
26839 * argp/argp-fmtstream.c: Likewise.
26840 * argp/argp-fmtstream.h: Likewise.
26841 * argp/argp-help.c: Likewise.
26842 * assert/assert.c: Likewise.
26843 * config.h.in: Likewise.
26844 * config.make.in: Likewise.
26845 * configure: Likewise.
26846 * configure.in: Likewise.
26847 * csu/Versions: Likewise.
26848 * csu/init.c: Likewise.
26849 * elf/tst-audit2.c: Likewise.
26850 * elf/tst-tls10.c: Likewise.
26851 * elf/tst-tls10.h: Likewise.
26852 * elf/tst-tls11.c: Likewise.
26853 * elf/tst-tls12.c: Likewise.
26854 * elf/tst-tls14.c: Likewise.
26855 * elf/tst-tlsmod11.c: Likewise.
26856 * elf/tst-tlsmod12.c: Likewise.
26857 * elf/tst-tlsmod13.c: Likewise.
26858 * elf/tst-tlsmod13a.c: Likewise.
26859 * elf/tst-tlsmod14a.c: Likewise.
26860 * elf/tst-tlsmod15b.c: Likewise.
26861 * elf/tst-tlsmod16a.c: Likewise.
26862 * elf/tst-tlsmod16b.c: Likewise.
26863 * elf/tst-tlsmod7.c: Likewise.
26864 * elf/tst-tlsmod8.c: Likewise.
26865 * elf/tst-tlsmod9.c: Likewise.
26866 * gmon/gmon.c: Likewise.
26867 * grp/fgetgrent_r.c: Likewise.
26868 * grp/putgrent.c: Likewise.
26869 * hurd/fopenport.c: Likewise.
26870 * include/libc-symbols.h: Likewise.
26871 * include/tls.h: Likewise.
26872 * intl/gettextP.h: Likewise.
26873 * intl/loadinfo.h: Likewise.
26874 * locale/global-locale.c: Likewise.
26875 * locale/localeinfo.h: Likewise.
26876 * mach/devstream.c: Likewise.
26877 * malloc/arena.c: Likewise.
26878 * malloc/set-freeres.c: Likewise.
26879 * misc/err.c: Likewise.
26880 * misc/getttyent.c: Likewise.
26881 * misc/mntent_r.c: Likewise.
26882 * posix/getopt.c: Likewise.
26883 * posix/wordexp.c: Likewise.
26884 * pwd/fgetpwent_r.c: Likewise.
26885 * resolv/Versions: Likewise.
26886 * resolv/res_hconf.c: Likewise.
26887 * shadow/fgetspent_r.c: Likewise.
26888 * shadow/putspent.c: Likewise.
26889 * stdio-common/printf_fphex.c: Likewise.
26890 * stdio-common/tmpfile.c: Likewise.
26891 * stdlib/abort.c: Likewise.
26892 * stdlib/fmtmsg.c: Likewise.
26893 * sunrpc/auth_unix.c: Likewise.
26894 * sunrpc/clnt_perr.c: Likewise.
26895 * sunrpc/clnt_tcp.c: Likewise.
26896 * sunrpc/clnt_udp.c: Likewise.
26897 * sunrpc/clnt_unix.c: Likewise.
26898 * sunrpc/openchild.c: Likewise.
26899 * sunrpc/svc_simple.c: Likewise.
26900 * sunrpc/svc_tcp.c: Likewise.
26901 * sunrpc/svc_udp.c: Likewise.
26902 * sunrpc/svc_unix.c: Likewise.
26903 * sunrpc/xdr.c: Likewise.
26904 * sunrpc/xdr_array.c: Likewise.
26905 * sunrpc/xdr_rec.c: Likewise.
26906 * sunrpc/xdr_ref.c: Likewise.
26907 * sunrpc/xdr_stdio.c: Likewise.
26909 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26911 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26913 2011-07-03 Andreas Jaeger <aj@suse.de>
26915 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26916 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26917 regenerate with gen-libm-tests.pl.
26919 2010-05-12 Petr Baudis <pasky@suse.cz>
26922 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26923 around j0() zero points by switching to j1().
26924 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26925 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26927 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26929 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26931 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26933 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26935 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26936 Patch in part by Pavel Roskin <proski@gnu.org>.
26939 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26941 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26942 Free memory block if necessary.
26945 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26946 be NULL. Don't lock in this case.
26948 2011-09-09 Roland McGrath <roland@hack.frob.com>
26950 * elf/elf.h (ELFOSABI_GNU): New macro.
26951 (ELFOSABI_LINUX): Define to that.
26953 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26955 * string/strncat.c (strncat): Undef the symbol in case it has been
26956 defined in bits/string.h.
26958 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26960 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26962 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26965 2011-08-17 Andreas Jaeger <aj@suse.de>
26967 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26969 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26970 Ian Lance Taylor <iant@google.com>
26972 * math/libm-test.inc (lround_test): New testcase.
26973 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26975 2011-09-08 Ulrich Drepper <drepper@gmail.com>
26977 * Makefile: Remove support for automatic cvs check-ins.
26978 * Makerules: Likewise.
26979 * config.make.in: Likewise.
26980 * configure.in: Likewise.
26981 * intl/Makefile: Likewise.
26982 * locale/Makefile: Likewise.
26983 * po/Makefile: Likewise.
26984 * posix/Makefile: Likewise.
26985 * sysdeps/gnu/Makefile: Likewise.
26986 * sysdeps/mach/hurd/Makefile: Likewise.
26987 * sysdeps/sparc/sparc32/Makefile: Likewise.
26990 * posix/Makefile (bug-regex32-ENV): Define.
26991 Patch by John Stanley <jpsinthemix@verizon.net>.
26993 * misc/Makefile (headers): Add bits/select2.h.
26994 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26995 * misc/bits/select2.h: New file.
26996 * include/bits/select2.h: New file.
26997 * debug/Makefile (routines): Add fdelt_chk.
26998 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26999 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27001 * debug/fdelt_chk.c: New file.
27003 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27004 * wcsmbs/test-wmemcmp.c: Likewise.
27005 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27006 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27008 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27010 * string/Makefile (strop-tests): Add memcmp.
27011 * string/test-wmemcmp.c: New file.
27012 * string/test-memcmp.c: Add wmemcmp support.
27014 2011-09-08 Roland McGrath <roland@hack.frob.com>
27017 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27020 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27021 garbage value in a __mach_port_mod_refs call in the cases of the
27022 task-self and thread-self ports.
27024 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27026 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27028 2011-09-08 Andreas Schwab <schwab@redhat.com>
27030 * elf/dl-load.c (lose): Check for non-null L.
27032 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27034 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27036 * elf/dl-libc.c (dlerror_run): Pass back error code from
27040 * elf/dl-load.c (lose): Free l_origin if it is valid.
27042 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27044 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27045 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27046 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27047 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27048 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27049 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27051 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27053 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27054 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27055 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27056 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27057 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27058 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27059 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27060 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27061 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27062 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27064 2011-08-15 Alan Modra <amodra@gmail.com>
27067 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27068 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27069 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27070 ppc_mcount to static-only-routines.
27071 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27073 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27074 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27076 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27078 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27079 for finite and infinity parameters.
27081 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27084 and add nop instructions for throughput optimization.
27085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27087 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27089 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27090 aligned copy for power7 with vector-scalar instructions.
27091 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27093 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27098 2011-09-07 Andreas Schwab <schwab@redhat.com>
27101 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27104 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27106 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27107 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27108 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27109 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27112 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27114 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27115 Forgot to demangle the pointer.
27117 * sysdeps/i386/sysdep.h: Define atom_text_section.
27118 * sysdeps/x86_64/sysdep.h: Likewise.
27119 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27120 section with atom_text_section.
27121 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27122 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27123 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27124 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27125 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27127 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27128 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27129 already be defined. Change to take two parameters and don't assign
27130 result to variable. Adjust all users.
27131 Define INTERNAL_GETTIME if not already defined.
27132 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27135 HAVE_CLOCK_GETTIME_VSYSCALL.
27136 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27138 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27139 gettimeofday vsyscall, just use time.
27141 2011-09-06 Andreas Schwab <schwab@redhat.com>
27143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27146 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27148 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27150 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27152 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27153 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27154 syscall if possible.
27156 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27158 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27159 e_ident. Don't pass to find_mapsXX.
27160 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27162 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27165 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27166 * sysdeps/x86_64/multiarch/strchr.S: Update.
27167 Check bit_slow_BSF bit.
27168 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27169 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27170 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27172 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27175 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27177 (tryshell): Define.
27178 (__spawni): Change last parameter to be flag. Test
27179 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27180 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27181 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27182 * posix/spawni.c: Likewise.
27183 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27184 * posix/spawnp.c: Likewise. Change normal version to use
27185 SPAWN_XFLAGS_USE_PATH.
27186 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27187 SPAWN_XFLAGS_TRY_SHELL.
27190 * posix/glob.h: Remove gcc 1.x support.
27193 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27195 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27198 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27200 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27201 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27202 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27203 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27204 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27205 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27207 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27209 * sysdeps/x86_64/wcscmp.S: New file.
27211 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27212 wcscmp-c wcscmp-sse2
27213 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27214 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27215 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27216 * wcsmbs/wcscmp.c: Allow renaming.
27218 2011-09-05 David S. Miller <davem@davemloft.net>
27220 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27221 stack slot, rather than the struct return pointer slot.
27222 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27223 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27225 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27227 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27229 * po/ja.po: Update from translation team.
27232 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27233 kernel in 64-bit binaries.
27235 2011-09-01 David S. Miller <davem@davemloft.net>
27237 * elf/elf.h (HWCAP_SPARC_*): Move to..
27238 * sysdeps/sparc/sysdep.h: this new file and add new values.
27239 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27240 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27241 _DL_HWCAP_COUNT to 24.
27242 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27244 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27245 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27246 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27247 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27248 instead of magic constants.
27249 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27251 2011-08-31 David S. Miller <davem@davemloft.net>
27253 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27254 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27255 Reimplement to do errno handling inline.
27256 (SYSCALL_ERROR_HANDLER): New macro.
27257 (__SYSCALL_STRING): Do not do errno handling in asm.
27258 (__CLONE_SYSCALL_STRING): Delete.
27259 (__INTERNAL_SYSCALL_STRING): Delete.
27260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27261 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27262 (PSEUDO): Reimplement to do errno handling inline.
27263 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27264 (SYSCALL_ERROR_HANDLER): New macro.
27265 (__SYSCALL_STRING): Do not do errno handling in asm.
27266 (__CLONE_SYSCALL_STRING): Delete.
27267 (__INTERNAL_SYSCALL_STRING): Delete.
27268 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27269 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27271 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27272 (inline_syscall*): Add 'err' argument.
27273 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27274 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27275 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27276 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27278 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27279 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27281 2011-08-30 Andreas Schwab <schwab@redhat.com>
27283 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27285 2011-08-29 Jiri Olsa <jolsa@redhat.com>
27287 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27290 2011-08-24 David S. Miller <davem@davemloft.net>
27292 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27294 2011-08-24 Andreas Schwab <schwab@redhat.com>
27296 * elf/Makefile: Add rules to build and run unload8 test.
27297 * elf/unload8.c: New file.
27298 * elf/unload8mod1.c: New file.
27299 * elf/unload8mod1x.c: New file.
27300 * elf/unload8mod2.c: New file.
27301 * elf/unload8mod3.c: New file.
27303 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27306 2011-08-23 David S. Miller <davem@davemloft.net>
27308 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27309 subtract stack bias.
27310 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27311 %sp not %fp in calculations.
27312 (_JMPBUF_UNWINDS_ADJ): Likewise.
27314 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27315 (aio_suspend): Call it to force an exception region around the
27316 AIO_MISC_WAIT() invocation.
27318 2011-08-23 Andreas Schwab <schwab@redhat.com>
27320 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27323 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27325 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27327 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27328 and <dl-machine.h>.
27329 (Elf64_FuncDesc): Remove.
27331 2011-08-22 David S. Miller <davem@davemloft.net>
27333 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27334 sigaltstack check, add missing cfi directives.
27335 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27336 missing cfi directives, and sigaltstack handling.
27338 2011-08-16 Andreas Schwab <schwab@redhat.com>
27341 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27342 object is seen twice.
27343 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27345 * elf/Makefile (distribute): Add tst-initorder2.c.
27346 (tests): Add tst-initorder2.
27347 (modules-names): Add tst-initorder2a tst-initorder2b
27348 tst-initorder2c tst-initorder2d. Add rules to build them.
27349 ($(objpfx)tst-initorder2.out): New rule.
27350 * elf/tst-initorder2.c: New file.
27351 * elf/tst-initorder2.exp: New file.
27353 2011-08-22 Andreas Schwab <schwab@redhat.com>
27355 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27357 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27358 dependencies back to end of function.
27360 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27361 $(elfobjdir)/ld.so.
27363 2011-08-21 Ulrich Drepper <drepper@gmail.com>
27365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27366 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27368 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27369 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27370 of __vdso_gettimeofday.
27371 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27372 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27374 (_libc_vdso_platform_setup): Remove initialization of
27375 __vdso_gettimeofday and __vdso_time.
27377 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27379 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27380 and fgetc_unlocked.
27381 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27384 * elf/dl-open.c (add_to_global): Report additions to the global scope
27385 for LD_DEBUG=scopes.
27386 (dl_open_worker): Also print scope of newly loaded dependencies.
27387 (_dl_show_scope): Indicate if there is no scope.
27390 * stdio-common/Makefile (tests): Add bug24.
27391 * stdio-common/bug24.c: New file.
27393 2011-08-19 Andreas Jaeger <aj@suse.de>
27396 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27397 non-existant file when using close-on-exec mode.
27399 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27401 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27402 the very first instruction.
27404 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27405 the CFI state in the end.
27406 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27407 inclusion of dl-trampoline.h.
27408 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27410 2011-08-19 Andreas Schwab <schwab@redhat.com>
27412 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27413 expectations for long double.
27415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27416 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27418 2011-08-14 David S. Miller <davem@davemloft.net>
27420 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27421 artificual limit depends upon the system page size.
27423 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27425 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27426 * resolv/Makefile: Define CFLAGS-libresolv.
27428 2011-08-17 Andreas Schwab <schwab@redhat.com>
27430 * nss/makedb.c (compute_tables): Make variables used in nested
27433 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27435 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27436 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27437 if buffer was too small.
27439 * elf/pldd.c (main): Attach to all threads in the process.
27440 Rewrite /proc handling to use *at functions.
27442 2011-08-16 Ulrich Drepper <drepper@gmail.com>
27444 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27445 specifies first scope to show.
27446 (dl_open_worker): Update callers. Move printing scope of new
27447 object to before the relocation.
27448 * elf/rtld.c (dl_main): Update _dl_show_scope call.
27449 * sysdeps/generic/ldsodefs.h: Update declaration.
27451 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27452 string for the scope number.
27454 2011-08-14 Ulrich Drepper <drepper@gmail.com>
27456 * nscd/servicescache.c (cache_addserv): Make sure written is always
27459 2011-08-14 Roland McGrath <roland@hack.frob.com>
27461 * sysdeps/i386/i486/bits/atomic.h
27462 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27463 statement expression, so as to suppress "set but not used" warning.
27464 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27466 * string/strncat.c (STRNCAT): Use prototype definition.
27468 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27469 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27471 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27472 (localedef-modules): Add localedef.
27473 (locale-modules): Add locale.
27475 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27476 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27477 to avoid a warning.
27479 2011-08-14 David S. Miller <davem@davemloft.net>
27481 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27482 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27484 2011-08-13 Ulrich Drepper <drepper@gmail.com>
27486 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
27487 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27488 * elf/rtld.c (dl_main): Set l_name of vDSO.
27489 Call _dl_show_scope when DL_DEBUG_SCOPES.
27490 (process_dl_debug): Recognize scopes flag and also set it for all.
27491 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27492 Declare _dl_show_scope.
27494 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27495 (do_dlopen): Pass caller_dlopen to dl_open.
27496 (__libc_dlopen_mode): Initialize caller_dlopen.
27498 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27499 of libc. Make tolower call locale-independent. Optimize a bit by
27500 using isdigit instead of isalnum.
27501 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27503 2011-08-12 Ulrich Drepper <drepper@gmail.com>
27505 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27506 was a dependency or dynamically loaded.
27508 2011-08-11 Ulrich Drepper <drepper@gmail.com>
27510 * intl/l10nflist.c: Allow architecture-specific pop function.
27511 * sysdeps/x86_64/l10nflist.c: New file.
27513 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27516 2011-08-10 Andreas Schwab <schwab@redhat.com>
27518 * include/dirent.h: Add libc_hidden_proto for scandirat and
27519 scandirat64. Don't declare __scandirat64.
27520 * dirent/scandirat.c: Add libc_hidden_def.
27521 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27522 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27524 2011-08-10 David S. Miller <davem@davemloft.net>
27526 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27528 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27529 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27530 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27532 2011-08-09 Ulrich Drepper <drepper@gmail.com>
27534 * Versions.def [libc]: Add GLIBC_2.15.
27535 * dirent/Makefile (routines): Add scandirat and scandirat64.
27536 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27538 * dirent/dirent.h: Declare scandirat and scandirat64.
27539 * dirent/scandirat.c: New file.
27540 * dirent/scandirat64.c: New file.
27541 * sysdeps/wordsize-64/scandirat.c: New file.
27542 * sysdeps/wordsize-64/scandirat64.c: New file.
27543 * dirent/opendir.c: Define opendirat.
27544 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27546 * dirent/scandir64.c: Adjust for scandir.c change.
27547 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27548 __scandirat64, and __scandir_cancel_handler.
27549 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27550 additional parameter and use openat instead of open (outside of ld.so).
27551 Add new __opendir as wrapper around __opendirat.
27552 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27553 here without requiring old scandirat implementation.
27555 2011-08-08 Ulrich Drepper <drepper@gmail.com>
27557 * dirent/scandir.c (cancel_handler): Renamed to
27558 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27559 defined. Adjust users.
27560 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27561 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27563 2011-08-04 Ulrich Drepper <drepper@gmail.com>
27565 * string/test-string.h (IMPL): Use __STRING to expand name and then
27568 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27571 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27573 * string/Makefile: Update.
27574 (strop-tests): Append strncat.
27575 * string/test-wcscmp.c: New file.
27576 New comprehensive test for wcscmp.
27577 * string/test-strcmp.c: Update.
27578 (WIDE): New define.
27580 2011-07-22 Andreas Schwab <schwab@redhat.com>
27582 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27585 2011-07-26 Andreas Schwab <schwab@redhat.com>
27587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27588 encoding to ACE if AI_IDN.
27590 2011-08-01 Jakub Jelinek <jakub@redhat.com>
27592 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27593 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27595 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27597 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27598 Fix overflow bug in strncat.
27599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27601 * string/test-strncat.c: Update.
27602 Add new tests for checking overflow bugs.
27604 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27607 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27608 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27609 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27610 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27611 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27612 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27613 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27614 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27616 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27617 (USE_AS_STRCAT): Define.
27618 Add strcat and strncat support.
27619 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27621 2011-07-25 Andreas Schwab <schwab@redhat.com>
27623 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27624 __n bigger than INT_MAX+1.
27625 (__strncmp_g): Likewise.
27627 2011-07-23 Ulrich Drepper <drepper@gmail.com>
27629 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27630 * libio/stido.h: Likewise.
27632 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27637 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27638 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27639 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27640 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27641 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27644 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27649 (_dl_x86_64_save_sse): Likewise.
27651 2011-07-22 Ulrich Drepper <drepper@gmail.com>
27653 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27655 (_dl_x86_64_save_sse): Likewise.
27657 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27659 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27661 2011-07-21 Andreas Schwab <schwab@redhat.com>
27663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27665 (_dl_x86_64_save_sse): Use correct AVX check.
27667 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27669 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27670 bug in strncpy/strncat.
27671 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27673 2011-07-21 Ulrich Drepper <drepper@gmail.com>
27675 * string/tester.c (test_strcat): Add tests for different alignments
27676 of source and destination.
27677 (test_strncat): Likewise.
27679 2011-07-20 Ulrich Drepper <drepper@gmail.com>
27682 * posix/glob.c (glob): Check passed in values before using them in
27683 expressions to avoid some overflows.
27684 (glob_in_dir): Likewise.
27687 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27688 check for AVX enablement so that we don't crash with old kernels and
27690 * elf/tst-audit4.c: Add same checks here.
27691 * elf/tst-audit6.c: Likewise.
27693 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
27695 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27697 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27699 2011-07-20 Ulrich Drepper <drepper@gmail.com>
27701 * po/cs.po: Update from translation team.
27702 * po/bg.po: Likewise.
27704 2011-07-12 Marek Polacek <mpolacek@redhat.com>
27706 * misc/sys/cdefs.h: Add support for const attribute.
27707 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27708 to gnu_dev_{major,minor,makedev} functions.
27710 2011-07-20 Marek Polacek <mpolacek@redhat.com>
27712 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27714 2011-07-20 Andreas Schwab <schwab@redhat.com>
27716 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27719 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27722 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27723 register in order to avoid conflicts with the soft frame pointer
27724 being held in r11 when necessary.
27725 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27726 (INTERNAL_VSYSCALL_NCS): Likewise.
27728 2011-07-14 Marek Polacek <mpolacek@redhat.com>
27730 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27731 * elf/dl-fini.c (_dl_fini): Adjust caller.
27732 * elf/dl-close.c (_dl_close_worker): Likewise.
27733 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27735 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27737 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27738 "aux_cache->nlibs < 0".
27740 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27741 in the reload-count case.
27743 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27746 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27747 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27748 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27749 * sysdeps/x86_64/multiarch/strcat.S: New file.
27750 * sysdeps/x86_64/multiarch/strncat.S: New file.
27751 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27752 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27753 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27754 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27755 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27756 (USE_AS_STRCAT): Define.
27757 Add strcat and strncat support.
27758 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27759 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27760 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27761 * string/strncat.c: Update.
27762 (USE_AS_STRNCAT): Define.
27763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27764 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27766 * sysdeps/x86_64/multiarch/init-arch.h
27767 (bit_Prefer_PMINUB_for_stringop): New.
27768 (index_Prefer_PMINUB_for_stringop): Likewise.
27769 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27770 bit_Prefer_PMINUB_for_stringop.
27772 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27774 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27776 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27777 of casting of buffer.
27778 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27779 buffer32 and buffer64.
27780 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27781 writes instead of casting of buffer.
27782 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27784 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27787 2011-07-19 Andreas Schwab <schwab@redhat.com>
27789 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27791 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27793 * nscd/nscd.c (termination_handler): Don't do anything for a database
27794 if it has not yet been initialized.
27796 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27798 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27800 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27802 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27804 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27806 * po/nl.po: Update from translation team.
27807 * po/sv.po: Likewise.
27809 2011-07-16 Roland McGrath <roland@hack.frob.com>
27811 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27812 now disallowed by GCC.
27814 * configure.in (use-default-link): Default to yes if a test -shared
27815 link meets our qualifications.
27816 * configure: Regenerated.
27818 * config.make.in (output-format): New variable.
27819 * configure.in: Check for ld --print-output-format support.
27820 * configure: Regenerated.
27821 * Makerules ($(common-objpfx)format.lds)
27822 [$(output-format) != unknown]: Just use $(output-format),
27823 instead of the linker-script munging.
27825 2011-07-14 Roland McGrath <roland@hack.frob.com>
27827 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27828 of $(common-objpfx)shlib.lds.
27829 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27831 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27832 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27834 * configure.in (-z relro check): Adjust test code to add a large
27835 writable data section after it.
27836 * configure: Regenerated.
27838 2011-07-11 Roland McGrath <roland@hack.frob.com>
27840 * configure.in (-z relro check): Fix test code to make the variable
27842 * configure: Regenerated.
27844 2011-07-11 Ulrich Drepper <drepper@gmail.com>
27846 * nscd/nscd.h (struct traced_file): Define.
27847 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27848 elements. Add traced_files.
27849 (inotify_fd): Declare.
27850 (register_traced_file): Declare.
27851 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27852 (inotify_fd): Export.
27853 (resolv_conf_descr): Remove.
27854 (nscd_init): Move inotify descriptor creation to main.
27855 Don't register files for notification here.
27856 (register_traced_file): New function.
27857 (invalidate_cache): Don't use reset_res to determine whether to call
27858 res_init, go through the list of registered files.
27859 (main_loop_poll): The inotify descriptors are now stored in the
27860 structures for the traced files.
27861 (main_loop_epoll): Likewise
27862 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27863 to __nss_disable_nscd.
27864 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27865 for a database anymore. Check the records for all the registered
27867 * nss/Makefile (libnss_files-routines): Add files-init.
27868 (libnss_db-routines): Add db-init.
27869 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27870 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27871 * nss/nss_db/db-init.c: New file.
27872 * nss/nss_files/files-init.c: New file.
27873 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27874 __nss_lookup_function.
27875 (__nss_lookup_function): Call nss_load_library.
27876 (nss_load_all_libraries): New function.
27877 (__nss_disable_nscd): Take parameter with callback function for files
27878 to register. Set is_nscd. Load all the DSOs for the NSS modules
27879 used for the cached services.
27880 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27881 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27882 options for features to all the files in nscd.
27884 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27886 2011-07-10 Roland McGrath <roland@hack.frob.com>
27888 * csu/elf-init.c (__libc_csu_init): Comment typo.
27890 2011-07-09 Ulrich Drepper <drepper@gmail.com>
27892 * po/pl.po: Update from translation team.
27893 * po/ja.po: Likewise.
27894 * po/ru.po: Likewise.
27895 * po/ko.po: Likewise.
27896 * po/fr.po: Likewise.
27898 2011-07-09 Roland McGrath <roland@hack.frob.com>
27900 * configure.in (.ctors/.dtors header and trailer check):
27901 Use an empirical test on a built program.
27902 * configure: Regenerated.
27904 * configure.in (-z relro check): Use an empirical test on a built DSO.
27905 Detect, but do not require, on ia64.
27906 * configure: Regenerated.
27908 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27909 Update tests that use readelf to use $READELF instead.
27910 * configure: Regenerated.
27912 2011-07-08 Ulrich Drepper <drepper@gmail.com>
27914 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27915 if the result is not used.
27917 2011-07-05 Andreas Jaeger <aj@suse.de>
27920 * stdlib/tst-strtod.c: Add testcase.
27922 2011-07-07 Ulrich Drepper <drepper@gmail.com>
27924 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27925 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27926 The latter has a higher limit. Take additional parameter to pass to
27928 (__pathconf): Pass file to __statfs_link_max.
27929 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27931 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27935 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27936 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27938 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27939 (__statfs_filesize_max): Likewise.
27940 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27942 2011-07-05 Andreas Jaeger <aj@suse.de>
27944 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27946 2011-07-06 Marek Polacek <mpolacek@redhat.com>
27948 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27950 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27953 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27955 * Makefile (strop-tests): Add strncat.
27956 * string/test-strncat.c: New file.
27958 2011-06-30 Marek Polacek <mpolacek@redhat.com>
27960 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27962 2011-06-21 Andreas Jaeger <aj@suse.de>
27964 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27965 Copy rule from iconvdata/Makefile.
27967 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27970 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27971 but no long options are defined, just return 'W'.
27973 2011-06-22 Marek Polacek <mpolacek@redhat.com>
27976 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27978 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27980 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27982 (innetgr): Likewise.
27984 2011-07-05 Roland McGrath <roland@hack.frob.com>
27986 * config.make.in (install_root): Default to $(DESTDIR).
27988 2011-07-05 Ulrich Drepper <drepper@gmail.com>
27990 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27992 2011-07-02 Roland McGrath <roland@hack.frob.com>
27994 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27996 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27997 containing directory rather than embedding absolute directory names.
27999 * scripts/check-local-headers.sh: Rewritten using awk.
28000 Match by word, not by line. Print error messages for matches.
28001 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28003 * Makerules [shlib-lds-flags empty]:
28004 ($(common-objpfx)libc_pic.opts): New target.
28005 ($(common-objpfx)libc_pic.os.clean): New target.
28006 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28008 * config.make.in (OBJCOPY): New variable.
28009 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28010 * configure: Regenerated.
28012 * config.make.in (use-default-link): New variable.
28013 * configure.in (use_default_link): Grok --with-default-link to set it.
28014 * configure: Regenerated.
28015 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28016 (shlib-lds, shlib-lds-flags): Define to empty.
28018 * Makerules (shlib-lds): New variable.
28019 (shlib-lds-flags): New variable.
28020 (build-shlib, build-moduile, build-module-asneeded): Use it.
28021 ($(common-objpfx)libc.so): Use $(shlib-lds).
28022 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28023 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28025 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28026 DT_FLAGS/DT_FLAGS_1 with zero flags.
28028 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28029 linker script munging.
28031 2011-07-02 Ulrich Drepper <drepper@gmail.com>
28033 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28035 * crypt/sha512.c (sha512_process_block): Perform total addition using
28036 128-bit if possible.
28037 (__sha512_finish_ctx): Likewise.
28038 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28040 * crypt/sha256.c (SWAP64): Define.
28041 (sha256_process_block): Perform total addition using 64-bit if
28043 (__sha256_finish_ctx): Likewise.
28045 2011-07-01 Ulrich Drepper <drepper@gmail.com>
28047 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28048 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28049 * nscd/hstcache.c (cache_addhst): Likewise.
28050 * nscd/grpcache.c (cache_addgr): Likewise.
28051 * nscd/aicache.c (addhstaiX): Likewise
28052 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28054 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
28056 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28058 * nscd/hstcache.c (cache_addhst): Likewise.
28059 * nscd/grpcache.c (cache_addgr): Likewise.
28060 * nscd/aicache.c (addhstaiX): Likewise
28062 2011-07-01 Andreas Schwab <schwab@redhat.com>
28064 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28065 domain only when needed.
28067 2011-06-30 Andreas Schwab <schwab@redhat.com>
28069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28070 is always restored.
28072 2011-06-29 Ulrich Drepper <drepper@gmail.com>
28074 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28075 are re-adding the entry.
28076 * nscd/servicescache.c (cache_addserv): Likewise.
28078 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28080 * sysdeps/generic/dl-irel.h: fix protection against multiple
28082 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28084 2011-06-28 Ulrich Drepper <drepper@gmail.com>
28087 * malloc/memusage.sh: Fix quoting in message.
28088 * debug/xtrace.sh: Likewise.
28090 * configure.in: Remove support for --experimental-malloc option, make
28092 * config.make.in: Likewise.
28093 * malloc/Makefile: Likewise.
28095 2011-06-27 Andreas Schwab <schwab@redhat.com>
28097 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28098 two-byte characters.
28100 2011-06-27 Roland McGrath <roland@hack.frob.com>
28102 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28103 AC_CACHE_CHECK invocation.
28104 * configure: Regenerated.
28106 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28108 2011-06-27 Ulrich Drepper <drepper@gmail.com>
28111 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28112 bit from old_res_options.
28114 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28116 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28117 value type for setfct.
28119 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28121 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28122 __gettimeofday instead of gettimeofday.
28124 2011-06-26 Ulrich Drepper <drepper@gmail.com>
28126 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28128 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28130 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28132 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28135 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28138 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28139 strcpy-sse2-unaligned strncpy-sse2-unaligned
28140 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28141 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28142 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28143 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28144 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28145 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28146 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28147 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28148 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28149 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28150 (STRCPY): Support SSE2 and SSSE3 versions.
28152 2011-06-24 Ulrich Drepper <drepper@gmail.com>
28155 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28156 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28157 kernels which artificially limit size of requests.
28159 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28162 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28163 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28164 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28165 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28166 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28167 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28168 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28169 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28170 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28171 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28172 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28173 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28174 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28175 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28177 Enable unaligned load optimization for Intel Core i3, i5 and i7
28179 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28181 (index_Fast_Unaligned_Load): Define.
28182 (HAS_FAST_UNALIGNED_LOAD): Define.
28184 2011-06-23 Marek Polacek <mpolacek@redhat.com>
28186 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28188 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28191 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28192 until it is clear that the information is realy needed.
28193 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28195 2011-06-22 Andreas Schwab <schwab@redhat.com>
28197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28199 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28201 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28202 /sys/devices/system/cpu/online if it is usable.
28204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28205 reading the information from the /proc filesystem to once a second.
28207 2011-06-21 Andreas Jaeger <aj@suse.de>
28209 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28210 NULL after inclusion of kernel headers.
28212 2011-06-21 Ulrich Drepper <drepper@gmail.com>
28214 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28215 calls to internal_setent.
28218 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28219 addresses using gethostbyname4_r ignore IPv4 addresses.
28221 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28222 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28224 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28226 2011-06-20 David S. Miller <davem@davemloft.net>
28228 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28230 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28232 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28233 (elf_irel): Use it.
28234 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28235 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28236 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28237 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28238 * sysdeps/x86_64/dl-irel.h: Likewise.
28240 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28241 * elf/dl-sym.c: Likewise.
28243 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28245 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28246 need to dereference resplen2.
28248 2011-06-14 Andreas Schwab <schwab@redhat.com>
28250 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28252 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28254 * Makeconfig: Define vardbdir and inst_vardbdir.
28255 * nss/Makefile: Add rules to install db-Makefile.
28257 * nss/nss_db/db-XXX.c: Cleanup.
28259 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28260 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28262 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28263 * nss/makedb.c: Implement -g option to specify that value strings
28264 are generated and should not be added to table iterated over for
28266 * nss/nss_db/db-initgroups.c: New file.
28268 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28271 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28272 (internal_getgrouplist): Adjust to name change.
28273 Update use_initgroups_entry if this is not the first call.
28274 * nss/databases.def: Add initgroups entry.
28276 * nss/makedb.c (compute_tables): Check result of multiple hash table
28277 sizes to minimize maximum chain length.
28279 2011-06-14 Ulrich Drepper <drepper@gmail.com>
28281 * Versions.def: Add entry for libnss_db.
28282 * shlib-versions: Likewise.
28283 * nss/Makefile: Add rules to build libnss_db.
28284 * nss/Versions: Add libnss_db information. Organize libnss_files
28286 * nss/db-Makefile: Add gshadow support. Change rules for the new
28287 makedb progra. Some minor improvements to generate smaller files.
28288 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28290 * nss/makedb.c: ...here.
28291 Improve database format to be smaller and require less memory at
28293 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28295 * nss/nss_db/db-netgrp.c: Likewise.
28296 * nss/nss_db/db-open.c: Likewise.
28297 * nss/nss_files/flies-XXX.x: Adjust comments.
28298 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28299 * nss/nss_files/files-grp.c: Likewise.
28300 * nss/nss_files/files-hosts.c: Likewise.
28301 * nss/nss_files/files-network.c: Likewise.
28302 * nss/nss_files/files-proto.c: Likewise.
28303 * nss/nss_files/files-pwd.c: Likewise.
28304 * nss/nss_files/files-rpc.c: Likewise.
28305 * nss/nss_files/files-service.c: Likewise.
28306 * nss/nss_files/files-sgrp.c: Likewise.
28307 * nss/nss_files/files-spwd.c: Likewise.
28308 * nss/nss_db/db-alias.c: Removed.
28309 * nss/nss_db/dummy-db.h: Removed.
28311 2011-06-02 Ulrich Drepper <drepper@gmail.com>
28313 * nss/makedb.c: Rewritten to not use database library.
28314 * nss/Makefile: Update to build new makedb program.
28316 2011-06-14 Andreas Jaeger <aj@suse.de>
28318 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28319 memset declaration.
28321 2011-06-10 Andreas Schwab <schwab@redhat.com>
28323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28326 2011-06-10 Roland McGrath <roland@hack.frob.com>
28328 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28329 * elf/Makefile ($(objpfx)ld.so): Likewise.
28331 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28332 Don't list ld.so twice in dependencies.
28334 * posix/bug-regex31.c: Include <stdlib.h>.
28336 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28338 * nis/nss_compat/compat-spwd.c
28339 (getspent_next_nss_netgr): Remove unused variable.
28340 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28342 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28343 nonmembers" output to use the right array.
28345 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28347 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28349 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28350 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28351 * catgets/gencat.c (read_input_file): Likewise.
28352 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28354 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28355 variable definition inside #if's controlling its use.
28357 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28359 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28361 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28363 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28366 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28368 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28369 * configure: Regenerated.
28371 * Makerules: Revert last change.
28372 * elf/Makefile: Likewise.
28374 2011-06-09 Roland McGrath <roland@hack.frob.com>
28376 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28377 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28378 (reloc-link): Likewise.
28380 2011-06-09 Ulrich Drepper <drepper@gmail.com>
28382 * elf/Makefile: Add rules to build pldd.
28383 * elf/pldd.c: New file.
28384 * elf/pldd-xx.c: New file.
28386 2011-06-07 Ulrich Drepper <drepper@gmail.com>
28388 * version.h: Update for 2.15 development version.
28390 2011-06-07 David S. Miller <davem@davemloft.net>
28392 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28394 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28395 elf_machine_lazy_rel): Likewise.
28396 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28397 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28398 elf_machine_lazy_rel): Likewise.
28399 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28400 dl_hwcap via passed in argument.
28401 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28404 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28406 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28408 2011-06-06 Roland McGrath <roland@hack.frob.com>
28411 * manual/fdl-1.1.texi: New file, verbatim from:
28412 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28413 * manual/lgpl-2.1.texi: New file, verbatim from:
28414 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28415 * manual/Makefile (licenses): New variable, list those new file names.
28417 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28419 * manual/fdl.texi: File removed.
28420 * manual/lesser.texi: File removed.
28421 * manual/libc.texinfo (Copying, Documentation License):
28422 Use new @include file names, put @appendix directive before @include.
28424 2011-06-04 Jakub Jelinek <jakub@redhat.com>
28427 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28428 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28429 (mq_open): Add __NTH.
28431 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28434 Assume Intel Core i3/i5/i7 processor if AVX is available.
28436 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28438 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28441 2011-05-31 Andreas Schwab <schwab@redhat.com>
28443 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28444 memory. Use alloca_account. Fix memory leak when retrying.
28446 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28448 * version.h (RELEASE): Bump for 2.14 release.
28449 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28451 * config.make.in (RANLIB): Remove entry.
28453 2011-05-30 Ulrich Drepper <drepper@gmail.com>
28455 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28456 (libc.pot): Work around missing support for .ksh extension in xgettext.
28459 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28460 if both request failed.
28461 (send_dg): In case of server errors clear resplen or *resplen2.
28464 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28465 when there are multiple maps.
28466 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28467 (_dl_fini): Remove test here.
28469 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28471 2011-05-29 Ulrich Drepper <drepper@gmail.com>
28474 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28475 bit from old_res_options.
28476 (gaih_inet): Likewise.
28479 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
28482 * resolv/res_init.c (res_setoptions): Make the code more compact.
28485 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28489 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28491 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28494 * malloc/malloc.h: Declare malloc hook variables as volatile.
28496 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28500 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
28501 raise in the comment.
28502 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28503 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28504 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
28506 2011-05-28 Ulrich Drepper <drepper@gmail.com>
28509 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28510 grow the buffers more if it already has to be sufficient.
28511 (build_wcs_upper_buffer): Likewise.
28512 * posix/regexec.c (check_matching): Likewise.
28513 (clean_state_log_if_needed): Likewise.
28514 (extend_buffers): Don't enlarge buffers beyond size of the input
28516 Patches mostly by Emil Wojak <emil@wojak.eu>.
28517 * posix/bug-regex32.c: New file.
28518 * posix/Makefile (tests): Add bug-regex32.
28520 * locale/findlocale.c (_nl_find_locale): Return right away if
28521 _nl_explode_name failed.
28522 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28524 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28526 * debug/xtrace.sh: Unify messages.
28527 * malloc/memusage.sh: Likewise.
28530 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28531 time symbol from vDSO. Substitute with vsyscall if not available.
28532 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28535 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28536 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28537 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28538 Add sendmmsg and internal_sendmmsg.
28539 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28540 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28541 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28543 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28544 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28545 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28547 2011-05-27 Ulrich Drepper <drepper@gmail.com>
28550 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28551 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28553 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28557 * iconvdata/Makefile (tests): Add bug-iconv9.
28558 * iconvdata/bug-iconv9.c: New file.
28560 2011-05-27 Andreas Schwab <schwab@redhat.com>
28563 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28565 2011-05-25 Jakub Jelinek <jakub@redhat.com>
28567 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28568 (struct user_regs_struct): Change intcs field back to cs.
28570 2011-05-25 Ulrich Drepper <drepper@gmail.com>
28572 * po/ja.po: Update from translation team.
28574 2011-05-23 Ulrich Drepper <drepper@gmail.com>
28577 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28578 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28580 2011-05-20 Andreas Schwab <schwab@redhat.com>
28582 * stdlib/longlong.h: Update from GCC.
28584 2011-05-23 Andreas Schwab <schwab@redhat.com>
28586 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28588 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28589 Add parameter name.
28590 (__sysconf): Pass it down.
28592 2011-05-22 Ulrich Drepper <drepper@gmail.com>
28595 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28597 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28598 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28599 add in in __libc_use_alloca calls. Adjust callers.
28600 (glob): Use malloc in some situations.
28602 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28603 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28606 2011-05-21 Ulrich Drepper <drepper@gmail.com>
28608 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28609 and CLOCK_BOOTTIME_ALARM.
28612 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28615 * string/_strerror.c (__strerror_r): Print negative errors as signed
28619 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28620 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28621 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28623 * configure.in: Fix typo in redirection and correct removal of test
28624 files in two cases.
28627 * locale/setlocale.c (new_composite_name): Fix test to check for
28628 identical name of all categories.
28631 * libio/filedoalloc.c (local_isatty): New function.
28632 (_IO_file_doallocate): Use local_isatty.
28633 * stdio-common/perror.c (perror): In case a new stream is used
28634 forward the stream error.
28635 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28638 2011-05-20 Ulrich Drepper <drepper@gmail.com>
28641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28643 * include/alloca.h (extend_alloca_account): Define.
28646 * posix/regex.h: Fix comments with documentation of user-accessible
28647 fields after compilation and describe correct free'ing of pattern
28648 after re_compile_pattern.
28649 Patch by Reuben Thomas <rrt@sc3d.org>.
28651 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28653 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28654 and -mno-altivec to prevent the compiler from using Altivec and/or
28655 VSX instructions when the corresponding registers are not available.
28657 2011-05-19 Andreas Schwab <schwab@redhat.com>
28659 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28661 2011-05-19 Ulrich Drepper <drepper@gmail.com>
28663 * libio/freopen.c (freopen): Use __dup2, not dup2.
28664 * libio/freopen64.c (freopen64): Likewise.
28666 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28669 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28670 * math/Makefile (tests): Add test-powl.
28671 (CFLAGS-test-powl.c): Define.
28672 * math/test-powl.c: New file.
28674 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28676 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28678 2011-05-17 Ulrich Drepper <drepper@gmail.com>
28681 * iconvdata/gb18030.c: Update to GB18020-2005.
28683 2011-05-16 Ulrich Drepper <drepper@gmail.com>
28685 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28686 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28687 Patch by Aharon Robbins <arnold@skeeve.com>.
28690 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28694 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28695 through underflows.
28698 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28699 point to strings before performing equality test for error_one_per_line
28703 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28706 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28707 (struct user_fpregs_struct): Avoid __uint*_t types.
28710 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28711 symbol info. Use it instead of calling _dl_addr locally.
28712 (lock_and_info): New function.
28713 (tr_freehook): Call lock_and_info and pass symbol info as additional
28714 parameter to tr_where.
28715 (tr_mallochook): Likewise.
28716 (tr_reallochook): Likewise.
28717 (tr_memalignhook): Likewise.
28719 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28720 used and couldn't be at all thread-safe.
28722 2011-05-15 Ulrich Drepper <drepper@gmail.com>
28724 * libio/freopen.c (freopen): Don't close old file descriptor
28725 before the new one is opened. Instead dup the new file descriptor
28726 to the old one after the new stream is created.
28727 * libio/freopen64.c (freopen64): Likewise.
28728 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28729 * libio/fileops.c (_IO_new_file_close_it): Handle new
28730 _IO_FLAGS2_NOCLOSE flag.
28731 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28732 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28733 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28734 _IO_FLAGS2_NOCLOSE flag.
28735 * include/unistd.h: Add hidden_proto for dup3.
28736 Define __have_dup3.
28737 * io/dup3.c: Define hidden symbol.
28738 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28741 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28742 when an incomplete long option is used.
28743 * posix/tst-getopt_long1.c: New file.
28744 * posix/Makefile (tests): Add tst-getopt_long1.
28747 * scripts/config.guess: Update from autoconf-2.68.
28748 * scripts/config.sub: Likewise.
28751 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28753 (has_cpuclock): ...this. New function.
28754 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28755 macro here based on has_cpuclock code.
28758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28759 First byte (not low byte) is now always NUL.
28760 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28762 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28763 Use non-cancelable interfaces.
28766 * locale/iso-639.def: Add entry for Sorani.
28769 * include/stdlib.h: Move include protection to the right place.
28770 Define abort_msg_s. Declare __abort_msg with it.
28771 * stdlib/abort.c (__abort_msg): Adjust type.
28772 * assert/assert.c (__assert_fail_base): New function. Majority
28773 of code from __assert_fail. Allocate memory for __abort_msg with
28775 (__assert_fail): Now call __assert_fail_base.
28776 * assert/assert-perr.c: Remove bulk of implementation. Use
28777 __assert_fail_base.
28778 * include/assert.hL Declare __assert_fail_base.
28779 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28781 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28783 2011-05-14 Ulrich Drepper <drepper@gmail.com>
28787 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28788 until all modules are registered in the DTV.
28789 * elf/Makefile: Add rules to build and run tst-tls19.
28790 * elf/tst-tls19.c: New file.
28791 * elf/tst-tls19mod1.c: New file.
28792 * elf/tst-tls19mod2.c: New file.
28793 * elf/tst-tls19mod3.c: New file.
28794 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28797 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28801 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28802 two-byte sequence errors.
28803 * iconvdata/Makefile (tests): Add bug-iconv8.
28804 * iconvdata/bug-iconv8.c: New file.
28807 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28810 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28813 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28814 (dummy_getcfa): New function.
28815 (init): Get _Unwind_GetCFA address, use dummy if not found.
28816 (backtrace_helper): In recursion check, also check whether CFA changes.
28817 (__backtrace): Completely initialize arg.
28819 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28820 storing incomplete byte sequence in state object. Avoid testing for
28821 guaranteed too small input if we know there is enough data available.
28823 2011-05-11 Andreas Schwab <schwab@redhat.com>
28825 * Makeconfig (+link-pie): Indent.
28826 * Rules (binaries-pie): Define if $(have-fpie) and
28828 (binaries-shared): Also filter out $(binaries-pie).
28829 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28830 * nscd/Makefile (others-pie): Add nscd.
28831 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28832 ($(objpfx)nscd): Remove command override.
28833 * login/Makefile (others-pie): Add pt_chown.
28834 ($(objpfx)pt_chown): Remove command override.
28835 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28836 remove command overrides.
28838 2011-05-13 Ulrich Drepper <drepper@gmail.com>
28840 * libio/tst_putwc.c: Fix error messages.
28843 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28844 currently writing and seek to current position when not.
28845 * libio/Makefile (tests): Add bug-fclose1.
28846 * libio/bug-fclose1.c: New file.
28848 2011-05-12 Ulrich Drepper <drepper@gmail.com>
28851 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28852 don't set DF_1_NODELETE here.
28853 (do_lookup_x): When entering new entry test for copy relocation
28854 and if necessary set DF_1_NODELETE flag.
28855 * elf/tst-unique4.cc: New file.
28856 * elf/tst-unique4.h: New file.
28857 * elf/tst-unique4lib.cc: New file.
28858 * elf/Makefile: Add rules to build and run tst-unique4.
28859 Patch by Piotr Bury <pbury@goahead.com>.
28861 2011-05-11 Ulrich Drepper <drepper@gmail.com>
28864 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28867 * misc/mntent_r.c (addmntent): Flush the stream after the output
28870 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28871 (is_trusted_path_normalize): Skip initial colon. Append slash
28872 to empty buffer. Duplicate is_trusted_path code but allow
28873 constructed patch to be prefix.
28874 (is_dst): Allow $ORIGIN followed by /.
28875 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28876 Correct testing of result of is_trusted_path_normalize
28877 (decompose_rpath): Fix warning.
28879 2011-05-10 Ulrich Drepper <drepper@gmail.com>
28882 * grp/initgroups.c (internal_getgrouplist): When we found the service
28883 list through the initgroups entry in nsswitch.conf do not always
28884 continue on a successful lookup. Don't always use the
28885 __nss_group_database value if it is set.
28886 * nss/nsswitch.conf (initgroups): Change action for successful db
28887 lookup to continue for compatibility.
28889 2011-05-09 Ulrich Drepper <drepper@gmail.com>
28892 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28894 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28896 * iconvdata/tst-tables.sh: Likewise.
28897 * iconvdata/cp770.c: New file.
28898 * iconvdata/cp771.c: New file.
28899 * iconvdata/cp772.c: New file.
28900 * iconvdata/cp773.c: New file.
28901 * iconvdata/cp774.c: New file.
28902 * iconvdata/testdata/CP770: New file.
28903 * iconvdata/testdata/CP770..UTF8: New file.
28904 * iconvdata/testdata/CP771: New file.
28905 * iconvdata/testdata/CP771..UTF8: New file.
28906 * iconvdata/testdata/CP772: New file.
28907 * iconvdata/testdata/CP772..UTF8: New file.
28908 * iconvdata/testdata/CP773: New file.
28909 * iconvdata/testdata/CP773..UTF8: New file.
28910 * iconvdata/testdata/CP774: New file.
28911 * iconvdata/testdata/CP774..UTF8: New file.
28913 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28915 * iconvdata/gen-8bit-gap.sh: Likewise.
28916 * iconvdata/gen-8bit.sh: Likewise.
28918 * locale/iso-639.def: Add ary entry.
28921 * locale/C-translit.h.in: Add U20A1 transliteration.
28924 * locale/iso-639.def: Add wae entry.
28925 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28928 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28932 * locale/C-translit.h.in: Add entry for U20B9.
28933 Patch by pravin.d.s@gmail.com.
28935 2011-05-08 Ulrich Drepper <drepper@gmail.com>
28938 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28939 ENAMETOOLONG use generic getcwd.
28940 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28941 in rtld. Use *stat64.
28942 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28943 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28944 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28945 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28946 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28947 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28948 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28949 __fstatat64 macros.
28950 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28951 * dirent/rewinddir.c: Add libc_hidden_def.
28952 * sysdeps/mach/hurd/rewinddir.c: Likewise.
28953 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
28955 * include/dirent.h (__alloc_dir): Add flags parameter.
28956 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28957 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28959 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28960 from fdopendir if O_CLOEXEC is already set.
28962 2011-03-15 Alan Modra <amodra@gmail.com>
28964 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28965 l_tls_firstbyte_offset non-zero. Save padding offset in
28966 l_tls_firstbyte_offset for later use.
28967 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28968 freeing static tls block.
28970 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28972 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28973 where #ifdef was intended. The intent is to prevent ARG_MAX from
28974 being defined by the kernel headers.
28976 2011-05-07 Ulrich Drepper <drepper@gmail.com>
28979 * resolv/resolv.h: Define RES_NOTLDQUERY.
28980 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28981 no-tld-query and set RES_NOTLDQUERY.
28982 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28983 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28984 modern BIND to search name as TLD unless forbidden.
28986 2011-05-07 Petr Baudis <pasky@suse.cz>
28987 Ulrich Drepper <drepper@gmail.com>
28990 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28991 (is_trusted_path): ...to here.
28992 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
28993 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
28994 using is_trusted_path_normalize() in setuid scripts.
28996 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28998 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28999 __BEGIN/__END_DECLS.
29001 2011-05-06 Ulrich Drepper <drepper@gmail.com>
29003 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29004 NSS_STATUS_NOTFOUND if no record was found.
29006 2011-05-05 Andreas Schwab <schwab@redhat.com>
29008 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29009 (headers-not-in-tirpc): Remove rpc/netdb.h
29010 * resolv/netdb.h: Revert last change.
29012 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29014 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29015 circular dependency between libgcc.a and libc.a.
29017 2011-05-05 Andreas Schwab <schwab@redhat.com>
29019 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29020 * nis/Makefile: Don't install rpcsvc/*.
29021 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29022 instead of <rpc/types.h>.
29023 (MAXHOSTNAMELEN): Define.
29025 2011-05-03 Andreas Schwab <schwab@redhat.com>
29027 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29029 2011-04-28 Maciej Babinski <mbabinski@google.com>
29032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29033 gethostbyname4_r when IPv6 results are possible.
29035 2011-05-02 Ulrich Drepper <drepper@gmail.com>
29038 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29039 _PC_PIPE_BUF handling.
29041 2011-04-30 Bruno Haible <bruno@clisp.org>
29044 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29045 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29047 * inet/getnameinfo.c (getnameinfo): Likewise.
29049 2011-04-29 Ulrich Drepper <drepper@gmail.com>
29051 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29052 to groups setting in database lookup.
29053 * nss/nsswitch.conf: Add initgroups entry.
29055 2011-04-22 Ulrich Drepper <drepper@gmail.com>
29058 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29060 Patch by Eric Blake <eblake@redhat.com>.
29062 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29064 * sunrpc/Makefile (need-export-routines): Add svc_run.
29065 (routines): Remove svc_run.
29066 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29067 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29068 * sunrpc/svc_run.c (svc_run): Likewise.
29069 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29071 2011-04-21 Ulrich Drepper <drepper@gmail.com>
29073 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29074 problem in reallocation in last patch.
29076 2011-04-20 Ulrich Drepper <drepper@gmail.com>
29078 * sunrpc/Makefile: Move inclusion of Rules.
29080 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29082 * nss/nss_files/files-initgroups.c: New file.
29083 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29084 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29085 _nss_files_initgroups_dyn.
29087 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29089 * elf/elf.h (R_ARM_IRELATIVE): Define.
29091 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29093 * po/ru.po: Update from translation team.
29095 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29097 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29100 2011-02-06 Mike Frysinger <vapier@gentoo.org>
29103 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29104 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29105 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29106 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29109 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29111 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29113 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29114 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29115 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29117 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29120 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29122 * stdlib/bug-getcontext.c: New file.
29123 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29125 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29127 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29128 instructions into .machine "z9-109".
29129 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29130 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29132 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29134 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29135 between environment variables and auxiliary vector.
29137 2011-04-16 Ulrich Drepper <drepper@gmail.com>
29139 * Makefile: Add rules to build linkobj/libc.so.
29140 * include/libc-symbols.h: Define libc_hidden_nolink.
29141 * include/rpc/auth.h: Mark functions which are to be hidden.
29142 * include/rpc/auth_des.h: Likewise.
29143 * include/rpc/auth_unix.h: Likewise.
29144 * include/rpc/clnt.h: Likewise.
29145 * include/rpc/des_crypt.h: Likewise.
29146 * include/rpc/key_prot.h: Likewise.
29147 * include/rpc/pmap_clnt.h: Likewise.
29148 * include/rpc/pmap_prot.h: Likewise.
29149 * include/rpc/pmap_rmt.h: Likewise.
29150 * include/rpc/rpc_msg.h: Likewise.
29151 * include/rpc/svc.h: Likewise.
29152 * include/rpc/svc_auth.h: Likewise.
29153 * include/rpc/xdr.h: Likewise.
29154 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29155 * nss/Makefile: Likewise.
29156 * sunrpc/Makefile: Don't install headers. Build library with normal
29157 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29158 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29159 for the compat linking library. Remove use of INTDEF/INTUSE.
29160 * sunrpc/auth_none.c: Likewise.
29161 * sunrpc/auth_unix.c: Likewise.
29162 * sunrpc/authdes_prot.c: Likewise.
29163 * sunrpc/authuxprot.c: Likewise.
29164 * sunrpc/clnt_gen.c: Likewise.
29165 * sunrpc/clnt_perr.c: Likewise.
29166 * sunrpc/clnt_raw.c: Likewise.
29167 * sunrpc/clnt_simp.c: Likewise.
29168 * sunrpc/clnt_tcp.c: Likewise.
29169 * sunrpc/clnt_udp.c: Likewise.
29170 * sunrpc/clnt_unix.c: Likewise.
29171 * sunrpc/des_crypt.c: Likewise.
29172 * sunrpc/des_soft.c: Likewise.
29173 * sunrpc/get_myaddr.c: Likewise.
29174 * sunrpc/key_call.c: Likewise.
29175 * sunrpc/key_prot.c: Likewise.
29176 * sunrpc/netname.c: Likewise.
29177 * sunrpc/pm_getmaps.c: Likewise.
29178 * sunrpc/pm_getport.c: Likewise.
29179 * sunrpc/pmap_clnt.c: Likewise.
29180 * sunrpc/pmap_prot.c: Likewise.
29181 * sunrpc/pmap_prot2.c: Likewise.
29182 * sunrpc/pmap_rmt.c: Likewise.
29183 * sunrpc/publickey.c: Likewise.
29184 * sunrpc/rpc_cmsg.c: Likewise.
29185 * sunrpc/rpc_common.c: Likewise.
29186 * sunrpc/rpc_dtable.c: Likewise.
29187 * sunrpc/rpc_prot.c: Likewise.
29188 * sunrpc/rpc_thread.c: Likewise.
29189 * sunrpc/rtime.c: Likewise.
29190 * sunrpc/svc.c: Likewise.
29191 * sunrpc/svc_auth.c: Likewise.
29192 * sunrpc/svc_authux.c: Likewise.
29193 * sunrpc/svc_raw.c: Likewise.
29194 * sunrpc/svc_run.c: Likewise.
29195 * sunrpc/svc_simple.c: Likewise.
29196 * sunrpc/svc_tcp.c: Likewise.
29197 * sunrpc/svc_udp.c: Likewise.
29198 * sunrpc/svc_unix.c: Likewise.
29199 * sunrpc/svcauth_des.c: Likewise.
29200 * sunrpc/xcrypt.c: Likewise.
29201 * sunrpc/xdr.c: Likewise.
29202 * sunrpc/xdr_array.c: Likewise.
29203 * sunrpc/xdr_float.c: Likewise.
29204 * sunrpc/xdr_intXX_t.c: Likewise.
29205 * sunrpc/xdr_mem.c: Likewise.
29206 * sunrpc/xdr_rec.c: Likewise.
29207 * sunrpc/xdr_ref.c: Likewise.
29208 * sunrpc/xdr_sizeof.c: Likewise.
29209 * sunrpc/xdr_stdio.c: Likewise.
29211 2011-04-10 Ulrich Drepper <drepper@gmail.com>
29214 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29215 * sysdeps/ia64/dl-tls.h: Likewise.
29216 * sysdeps/powerpc/dl-tls.h: Likewise.
29217 * sysdeps/s390/dl-tls.h: Likewise.
29218 * sysdeps/sh/dl-tls.h: Likewise.
29219 * sysdeps/sparc/dl-tls.h: Likewise.
29220 * sysdeps/x86_64/dl-tls.h: Likewise.
29221 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29223 2011-03-14 Andreas Schwab <schwab@redhat.com>
29225 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29226 rpath element also skip the following colon.
29227 (expand_dynamic_string_token): Add is_path parameter and pass
29228 down to DL_DST_REQUIRED and _dl_dst_substitute.
29229 (decompose_rpath): Call expand_dynamic_string_token with
29230 non-zero is_path. Ignore empty rpaths.
29231 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29234 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29239 2011-04-09 Ulrich Drepper <drepper@gmail.com>
29242 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29243 Patch by Filipe David Manana <fdmanana@apache.org>.
29245 2011-04-07 Andreas Schwab <schwab@redhat.com>
29247 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29248 Maintain aligned stack.
29249 (CHECK_RSP): Remove unused macro.
29251 2011-04-03 Ulrich Drepper <drepper@gmail.com>
29253 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29254 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29256 2011-04-02 Ulrich Drepper <drepper@gmail.com>
29258 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29260 * include/features.h: Mention __USE_XOPEN2K8 in comment.
29262 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29265 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29266 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29267 * sysdeps/x86_64/memmove.c: New file.
29268 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29269 (memcpy): Renamed to ...
29270 (__new_memcpy): This.
29271 (memcpy): Provide GLIBC_2_14 memcpy.
29272 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29273 (memcpy): Provide GLIBC_2_2_5 memcpy.
29275 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29278 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29280 2011-03-30 Andreas Schwab <schwab@redhat.com>
29282 * misc/syncfs.c: New file.
29283 * misc/Makefile (routines): Add syncfs.
29284 * posix/unistd.h: Declare syncfs.
29285 * sysdeps/unix/syscalls.list: Add syncfs.
29287 2011-04-01 Andreas Schwab <schwab@redhat.com>
29289 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29292 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29294 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29296 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29297 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29299 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29301 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29302 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29303 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29305 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29307 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29309 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29310 sync_file_range.c with -fexceptions.
29311 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29312 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29313 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29314 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29315 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29316 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29317 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29318 sync_file_range as cancellation point
29319 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29320 now a wrapper around __call_sync_file_range with cancellation handling.
29321 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29322 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29323 function name to __call_sync_file_range.
29324 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29325 Add call_sync_file_range.
29327 2011-04-01 Andreas Schwab <schwab@redhat.com>
29329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29332 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29334 * iconv/iconv.h: Fix typo in comment.
29335 * io/fcntl.h: Likewise.
29336 * libio/stdio.h: Likewise.
29337 * posix/spawn.h: Likewise.
29338 * posix/unistd.h: Likewise.
29339 * stdlib/stdlib.h: Likewise.
29340 * time/time.h: Likewise.
29341 * wcsmbs/wchar.h: Likewise.
29343 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29344 open_by_handle): Add.
29345 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29346 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29347 Augment a few comments.
29348 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29350 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29352 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29353 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29356 * io/fcntl.h (AT_EMPTY_PATH): Define.
29358 2011-03-30 Ulrich Drepper <drepper@gmail.com>
29360 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29361 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29362 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29364 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
29365 * Versions.def: Add GLIBC_2.14.
29366 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29369 2011-03-22 Ulrich Drepper <drepper@gmail.com>
29371 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29373 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29375 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29378 * string/test-strncmp.c (do_page_test): New function.
29379 (check2): Likewise.
29380 (test_main): Call check2.
29381 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29383 2011-03-20 Ulrich Drepper <drepper@gmail.com>
29386 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29387 Handle cache information in CPU leaf 4.
29388 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29390 2011-03-18 Ulrich Drepper <drepper@gmail.com>
29393 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29394 character representation.
29395 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29397 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29399 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29400 END(__isnan) to END(__isnanf) to match function entry point/label
29401 EALIGN(__isnanf,...).
29403 2011-03-10 Jakub Jelinek <jakub@redhat.com>
29405 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29407 2011-03-10 Ulrich Drepper <drepper@gmail.com>
29410 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29411 copy from the symbol referenced in the relocation to initialize the
29413 Patch by Piotr Bury <pbury@goahead.com>.
29414 * elf/Makefile: Add rules to build and tst-unique3.
29415 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29416 * elf/tst-unique3.cc: New file.
29417 * elf/tst-unique3.h: New file.
29418 * elf/tst-unique3lib.cc: New file.
29419 * elf/tst-unique3lib2.cc: New file.
29421 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29423 2011-03-10 Mike Frysinger <vapier@gentoo.org>
29425 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29426 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29429 2011-03-06 Ulrich Drepper <drepper@gmail.com>
29431 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29432 to-be-loaded object along a path to loader is ld.so.
29434 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29435 Ulrich Drepper <drepper@gmail.com>
29437 * sysdeps/x86_64/memset.S: After aligning destination, code
29438 branches to different locations depending on the value of
29439 misalignment, when multiarch is enabled. Fix this.
29441 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29443 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29444 Set _x86_64_preferred_memory_instruction for AMD processsors.
29445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29446 Set bit_Prefer_SSE_for_memop for AMD processors.
29448 2011-03-04 Ulrich Drepper <drepper@gmail.com>
29450 * libio/fmemopen.c (fmemopen): Optimize a bit.
29452 2011-03-03 Andreas Schwab <schwab@redhat.com>
29454 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29456 2011-03-03 Roland McGrath <roland@redhat.com>
29458 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29460 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29462 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
29463 __bzero_ultra1 instead of __memset_ultra1.
29465 2011-02-23 Andreas Schwab <schwab@redhat.com>
29466 Ulrich Drepper <drepper@gmail.com>
29469 * include/link.h (struct link_map): Add l_orig_initfini.
29470 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29471 returning unsuccessfully.
29472 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29473 close of a file loaded at startup, restore the original l_initfini
29475 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29476 list, store the pointer.
29477 * elf/Makefile ($(objpfx)noload-mem): New rule.
29478 (noload-ENV): Define.
29479 (tests): Add $(objpfx)noload-mem.
29480 * elf/noload.c: Include <memcheck.h>.
29481 (main): Call mtrace. Close all opened handles.
29483 2011-02-17 Andreas Schwab <schwab@redhat.com>
29486 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29487 dependencies are missing.
29489 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29491 Fix __if_freereq crash: Unlike the generic version which uses free,
29493 * sysdeps/mach/hurd/ifreq.h: New file.
29495 2011-01-27 Petr Baudis <pasky@suse.cz>
29496 Ulrich Drepper <drepper@gmail.com>
29499 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29500 to extend_alloca().
29501 * stdio-common/bug23.c: New file.
29502 * stdio-common/Makefile (tests): Add bug23.
29504 2010-09-28 Andreas Schwab <schwab@redhat.com>
29505 Ulrich Drepper <drepper@gmail.com>
29508 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29509 before performing relro protection. At old place add assertion
29510 to make sure nothing changed.
29512 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29513 Glauber de Oliveira Costa <glommer@gmail.com>
29515 * elf/elf.h: Add new ARM TLS relocs.
29517 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29520 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29522 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29524 * sysdeps/wordsize-64/tst-writev.c: New file.
29526 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29528 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29529 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29530 insns in _dl_start to prevent a TOC reference before relocs are
29533 2011-02-15 Ulrich Drepper <drepper@gmail.com>
29536 * Makeconfig: Remove RANLIB definition.
29537 * Makerules: Don't use RANLIB.
29538 * aclocal.m4: Remove ranlib test.
29539 * configure.in: No need to check for ranlib.
29540 * elf/rtld-Rules: Don't use RANLIB.
29542 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29544 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29546 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29547 inclusion protection macro.
29549 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29550 SIGRTMIN and SIGRTMAX and print information in that case only when
29551 SIGRTMIN is defined.
29553 2011-02-11 Jakub Jelinek <jakub@redhat.com>
29555 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29556 arginfo fn returning -1.
29558 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29559 and thousands string is zero terminated.
29561 2011-02-03 Andreas Schwab <schwab@redhat.com>
29563 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29564 sysdeps/unix/sysv/linux/bits/socket.h.
29566 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29568 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29569 (__CPU_COUNT): Remove old macros.
29570 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29571 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29572 (__CPU_ALLOC, __CPU_FREE): Add macros.
29573 (__sched_cpualloc, __sched_cpufree): Add declarations.
29575 2011-02-05 Ulrich Drepper <drepper@gmail.com>
29577 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29578 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29579 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29580 (readdhstai): Return value of addhstaiX call.
29581 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29582 (addgrbyX): Return value returned by cache_addgr.
29583 (readdgrbyname): Return value returned by addgrbyX.
29584 (readdgrbygid): Likewise.
29585 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29586 (addpwbyX): Return value returned by cache_addpw.
29587 (readdpwbyname): Return value returned by addhstbyX.
29588 (readdpwbyuid): Likewise.
29589 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29590 (addservbyX): Return value returned by cache_addserv.
29591 (readdservbyname): Return value returned by addservbyX:
29592 (readdservbyport): Likewise.
29593 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29594 (addhstbyX): Return value returned by cache_addhst.
29595 (readdhstbyname): Return value returned by addhstbyX.
29596 (readdhstbyaddr): Likewise.
29597 (readdhstbynamev6): Likewise.
29598 (readdhstbyaddrv6): Likewise.
29599 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29600 (readdinitgroups): Return value returned by addinitgroupsX.
29601 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29602 (prune_cache): Keep track of timeout value of re-added entries.
29603 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29604 * nscd/nscd.h: Adjust prototypes of readd* functions.
29606 2011-02-04 Roland McGrath <roland@redhat.com>
29608 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29609 (nis_stats): Likewise.
29610 * nis/nis_modify.c (nis_modify): Likewise.
29611 * nis/nis_remove.c (nis_remove): Likewise.
29612 * nis/nis_add.c (nis_add): Likewise.
29614 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29616 * posix/fnmatch_loop.c: Add some consts.
29618 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29620 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29623 * config.make.in (config-cflags-novzeroupper): Define.
29624 * configure.in: Substitute libc_cv_cc_novzeroupper.
29625 * elf/Makefile (AVX-CFLAGS): Define.
29626 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29627 (CFLAGS-tst-auditmod4a.c): Likewise.
29628 (CFLAGS-tst-auditmod4b.c): Likewise.
29629 (CFLAGS-tst-auditmod6b.c): Likewise.
29630 (CFLAGS-tst-auditmod6c.c): Likewise.
29631 (CFLAGS-tst-auditmod7b.c): Likewise.
29632 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29634 2011-02-02 Ulrich Drepper <drepper@gmail.com>
29636 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29637 function to the callback.
29638 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29640 2011-02-02 Andreas Schwab <schwab@redhat.com>
29642 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29645 2011-01-19 Ulrich Drepper <drepper@gmail.com>
29648 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29650 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29652 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29655 * elf/Makefile: Add rules to build and run new test.
29656 * elf/tst-initorder.c: New file.
29657 * elf/tst-initorder.exp: New file.
29658 * elf/tst-initordera1.c: New file.
29659 * elf/tst-initordera2.c: New file.
29660 * elf/tst-initordera3.c: New file.
29661 * elf/tst-initordera4.c: New file.
29662 * elf/tst-initorderb1.c: New file.
29663 * elf/tst-initorderb2.c: New file.
29664 * elf/tst-order-a1.c: New file.
29665 * elf/tst-order-a2.c: New file.
29666 * elf/tst-order-a3.c: New file.
29667 * elf/tst-order-a4.c: New file.
29668 * elf/tst-order-b1.c: New file.
29669 * elf/tst-order-b2.c: New file.
29670 * elf/tst-order-main.c: New file.
29671 New test case by George Gensure <werkt0@gmail.com>.
29673 2010-10-01 Andreas Schwab <schwab@redhat.com>
29675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29676 decoding ACE if AI_CANONIDN.
29678 2011-01-18 Ulrich Drepper <drepper@gmail.com>
29680 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29682 2011-01-17 Ulrich Drepper <drepper@gmail.com>
29684 * version.h (RELEASE): Bump for 2.13 release.
29685 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29687 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29689 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29691 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29692 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29693 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29694 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29695 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29696 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29698 * posix/getconf.c: Update copyright year.
29699 * catgets/gencat.c: Likewise.
29700 * csu/version.c: Likewise.
29701 * debug/catchsegv.sh: Likewise.
29702 * debug/xtrace.sh: Likewise.
29703 * elf/ldconfig.c: Likewise.
29704 * elf/ldd.bash.in: Likewise.
29705 * elf/sprof.c (print_version): Likewise.
29706 * iconv/iconv_prog.c: Likewise.
29707 * iconv/iconvconfig.c: Likewise.
29708 * locale/programs/locale.c: Likewise.
29709 * locale/programs/localedef.c: Likewise.
29710 * malloc/memusage.sh: Likewise.
29711 * malloc/mtrace.pl: Likewise.
29712 * nscd/nscd.c (print_version): Likewise.
29713 * nss/getent.c: Likewise.
29715 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29716 PF_CAIF, and PF_ALG.
29717 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29719 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29721 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29722 (modules-names): Use them.
29723 (ifunc-test-modules, ifunc-pie-tests): Define.
29724 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29725 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29726 (test-extras): Likewise.
29727 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29728 $(compile-command.c).
29729 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29730 (all-built-dso): Define.
29731 (check-textrel.out, check-execstack.out): Depend on it.
29733 * configure.in: Don't override --enable-multi-arch.
29735 2011-01-15 Ulrich Drepper <drepper@gmail.com>
29738 * nscd/hstcache.c (tryagain): Define.
29739 (cache_addhst): Return tryagain not notfound for temporary errors.
29740 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29743 2011-01-14 Ulrich Drepper <drepper@gmail.com>
29746 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29747 to make the syscall.
29748 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29751 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29752 and fall back to matching as normal character if the string ends before
29753 the matching ']' is found. This is what POSIX requires.
29754 * posix/testfnm.c: Adjust test result.
29755 * posix/globtest.sh: Adjust test result. Add new test.
29756 * posix/tst-fnmatch.input: Likewise.
29757 * posix/tst-fnmatch2.c: Add new test.
29759 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29761 * elf/Makefile (check-execstack): Revert last change. Depend on
29763 (check-execstack.h): New target.
29764 (generated): Add check-execstack.h.
29765 * elf/check-execstack.c: Include "check-execstack.h".
29766 (main): Revert last change.
29767 (handle_file): Return zero if GNU_STACK is absent and
29768 DEFAULT_STACK_PERMS doesn't include PF_X.
29770 2011-01-13 Ulrich Drepper <drepper@gmail.com>
29772 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29773 in child fails because the descriptor is already closed.
29774 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29775 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29776 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29779 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29783 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29784 temporary buffer used to handle multi lookups locally.
29785 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29787 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29789 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29792 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29794 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29795 alignment for SSE2.
29797 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29800 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29801 characters. When rounding increased number of integer digits recompute
29803 * stdio-common/tst-grouping.c: New file.
29804 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29806 2011-01-09 Ulrich Drepper <drepper@gmail.com>
29808 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29809 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29811 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29813 * bits/select.h: Likewise.
29815 2011-01-08 Ulrich Drepper <drepper@gmail.com>
29817 * po/ja.po: Update from translation team.
29819 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
29822 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29823 implementation just like for lxstat, fxstatat, et al.
29825 2010-12-27 Jim Meyering <meyering@redhat.com>
29828 * posix/regexec.c (build_trtable): Return failure indication upon
29829 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29831 2010-12-25 Ulrich Drepper <drepper@gmail.com>
29834 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29835 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29836 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29837 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29840 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29843 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29844 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29846 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29848 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29849 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29850 script has SORT_BY_INIT_PRIORITY.
29851 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29852 NO_CTORS_DTORS_SECTIONS is defined.
29853 * elf/soinit.c: Likewise.
29854 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29855 NO_CTORS_DTORS_SECTIONS is defined.
29856 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29857 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29858 * sysdeps/sh/init-first.c: Likewise.
29859 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29861 2010-12-24 Ulrich Drepper <drepper@gmail.com>
29863 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29864 always use the slow path.
29866 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29868 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29869 similar rule which adds the sysdep directories to the header search in
29870 order to pick up the correct platform stackinfo.h.
29871 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29872 perform test if it is, otherwise return successfully without testing.
29873 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29874 DEFAULT_STACK_PERMS define in stackinfo.h.
29875 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29876 defined in stackinfo.h.
29877 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29878 DEFAULT_STACK_PERMS defined in stackinfo.h.
29879 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29880 * sysdeps/ia64/stackinfo.h: Likewise.
29881 * sysdeps/s390/stackinfo.h: Likewise.
29882 * sysdeps/sh/stackinfo.h: Likewise.
29883 * sysdeps/sparc/stackinfo.h: Likewise.
29884 * sysdeps/x86_64/stackinfo.h: Likewise.
29885 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29886 PF_X for powerpc64. Retain PF_X for powerpc32.
29888 2010-12-19 Ulrich Drepper <drepper@gmail.com>
29890 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29892 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29893 GETDENTS_64BIT_ALIGNED.
29895 2010-12-14 Ulrich Drepper <dreper@gmail.com>
29897 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29899 2010-12-10 Andreas Schwab <schwab@redhat.com>
29901 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29904 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29905 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29907 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29908 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29910 2010-12-09 Ulrich Drepper <drepper@gmail.com>
29913 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29916 2010-12-09 Jakub Jelinek <jakub@redhat.com>
29918 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29920 2010-12-03 Ulrich Drepper <drepper@gmail.com>
29922 * po/it.po: Update from translation team.
29924 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29929 2010-11-30 Ulrich Drepper <drepper@gmail.com>
29931 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29933 2010-11-24 Andreas Schwab <schwab@redhat.com>
29935 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29937 (gaih_getanswer_slice): Likewise.
29939 2010-10-20 Jakub Jelinek <jakub@redhat.com>
29941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29943 2010-05-31 Petr Baudis <pasky@suse.cz>
29946 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29947 silently even in the chroot mode.
29949 2010-11-22 Ulrich Drepper <drepper@gmail.com>
29951 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29952 last patch a bit. Pretty printing
29954 2010-05-31 Petr Baudis <pasky@suse.cz>
29957 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29958 initialization of skip_initgroups_dyn.
29960 2010-11-19 Ulrich Drepper <drepper@gmail.com>
29962 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29963 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29965 2010-11-16 Ulrich Drepper <drepper@gmail.com>
29967 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29969 2010-11-11 Andreas Schwab <schwab@redhat.com>
29971 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29972 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29973 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29974 ($(objpfx)tst-fnmatch-mem): New rule.
29975 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29976 * posix/tst-fnmatch.c (main): Call mtrace.
29978 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29981 Support Intel processor model 6 and model 0x2c.
29983 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
29985 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29988 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29991 * string/test-strncasecmp.c (check_result): New function.
29992 (do_one_test): Use it.
29993 (check1): New function.
29994 (test_main): Use it.
29995 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29996 Support strcasecmp and strncasecmp.
29998 2010-11-08 Ulrich Drepper <drepper@gmail.com>
30001 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30002 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30004 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30006 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30010 * sysdeps/x86_64/multiarch/bzero.S: New file.
30011 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30012 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30013 * sysdeps/x86_64/multiarch/memset.S: New file.
30014 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30016 Set bit_Prefer_SSE_for_memop for Intel processors.
30017 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30019 (index_Prefer_SSE_for_memop): Define.
30020 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30022 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
30024 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30025 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30027 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30030 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30031 (__x86_64_raw_data_cache_size_half): Likewise.
30032 (__x86_64_raw_shared_cache_size): Likewise.
30033 (__x86_64_raw_shared_cache_size_half): Likewise.
30035 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30036 (__x86_64_raw_data_cache_size_half): Likewise.
30037 (__x86_64_raw_shared_cache_size): Likewise.
30038 (__x86_64_raw_shared_cache_size_half): Likewise.
30039 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30040 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30041 and __x86_64_raw_shared_cache_size_half. Round
30042 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30043 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30044 to multiple of 256 bytes.
30046 2010-11-03 Ulrich Drepper <drepper@gmail.com>
30049 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30050 of inacessible symlinks. Verify result of symlink before returning it.
30051 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30052 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30054 2010-10-28 Erich Ritz <erichritz@gmail.com>
30056 * math/math.h (isinf): Fix typo in comment.
30058 2010-11-01 Ulrich Drepper <drepper@gmail.com>
30060 * po/da.po: Update from translation team.
30062 2010-10-26 Ulrich Drepper <drepper@gmail.com>
30064 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30065 is added to the list.
30067 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30068 Ulrich Drepper <drepper@gmail.com>
30070 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30071 the global list here. Move code to...
30072 (_dl_add_to_namespace_list): ...here. New function.
30073 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30074 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30075 * elf/dl-load.c (lose): Don't remove the element from the list.
30076 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30077 (_dl_map_object): Likewise.
30079 2010-10-25 Ulrich Drepper <drepper@gmail.com>
30082 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30083 into all bytes of SSE register.
30084 Patch by Richard Li <richardpku@gmail.com>.
30086 2010-10-24 Ulrich Drepper <drepper@gmail.com>
30089 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30092 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30094 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30095 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30096 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30097 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30102 2010-10-22 Andreas Schwab <schwab@redhat.com>
30104 * include/dlfcn.h (__RTLD_SECURE): Define.
30105 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30106 mode & __RTLD_SECURE instead.
30107 (open_path): Rename preloaded parameter to secure.
30108 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30109 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30110 * elf/dl-deps.c (openaux): Likewise.
30111 * elf/rtld.c (struct map_args): Remove is_preloaded.
30112 (map_doit): Don't use it.
30113 (dl_main): Likewise.
30114 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30115 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30117 2010-09-09 Andreas Schwab <schwab@redhat.com>
30119 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30120 (sysd-rules-targets): Remove duplicates.
30121 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30122 rtld-%.$o dependency.
30124 2010-10-18 Andreas Schwab <schwab@redhat.com>
30126 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30127 _dl_map_object do it.
30129 2010-10-19 Ulrich Drepper <drepper@gmail.com>
30131 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30132 fast fma builtins, define the macros in the C99 standard.
30133 (FP_FAST_FMAF): Likewise.
30134 (FP_FAST_FMAL): Likewise.
30135 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30137 * bits/mathdef.h: Update copyright year.
30138 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30140 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30142 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30143 builtins, define the macros in the C99 standard.
30144 (FP_FAST_FMAF): Likewise.
30145 (FP_FAST_FMAL): Likewise.
30146 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30148 (FP_FAST_FMAF): Likewise.
30150 2010-10-15 Jakub Jelinek <jakub@redhat.com>
30153 * math/libm-test.inc (fma_test): Some new testcases.
30154 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30155 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30156 y and infinite z. Do multiplication by C already in long double.
30157 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30159 y and infinite z. Do bitwise or of inexact bit into u.d.
30160 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30161 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30162 * sysdeps/i386/fpu/s_fma.S: Removed.
30163 * sysdeps/i386/fpu/s_fmal.S: Removed.
30165 2010-10-16 Jakub Jelinek <jakub@redhat.com>
30168 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30170 computation is not scheduled after fetestexcept. Fix value
30171 of minimum denormal long double.
30173 2010-10-14 Jakub Jelinek <jakub@redhat.com>
30176 * math/libm-test.inc (fma_test): Add some more tests.
30177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30180 2010-10-15 Andreas Schwab <schwab@redhat.com>
30182 * scripts/data/localplt-s390-linux-gnu.data: New file.
30183 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30185 2010-10-13 Jakub Jelinek <jakub@redhat.com>
30188 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30189 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30191 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30193 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30195 if one of x and y is very large and the other is subnormal.
30196 * sysdeps/s390/fpu/s_fmaf.c: New file.
30197 * sysdeps/s390/fpu/s_fma.c: New file.
30198 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30199 * sysdeps/powerpc/fpu/s_fma.S: New file.
30200 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30201 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30202 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30204 2010-10-12 Jakub Jelinek <jakub@redhat.com>
30207 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30209 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30210 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30211 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30212 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30213 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30214 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30215 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30217 2010-10-12 Ulrich Drepper <drepper@redhat.com>
30220 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30221 * posix/bug-regex31.input: Add test case.
30223 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30225 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30226 * posix/bug-regex31.input: New file.
30229 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30230 (parse_sub_exp): Fix last change, use postorder.
30232 * posix/bug-regex31.c: New file.
30233 * posix/Makefile: Add rules to build and run bug-regex31.
30235 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30238 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30241 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30242 to have entries in sys_siglist.
30245 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30248 2010-10-07 Jakub Jelinek <jakub@redhat.com>
30251 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30252 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30253 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30254 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30255 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30256 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30257 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30258 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30259 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30260 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30261 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30262 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30263 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30264 * math/ftestexcept.c (fetestexcept): Likewise.
30265 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30266 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30267 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30268 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30269 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30270 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30271 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30273 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30276 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30279 2010-10-06 Ulrich Drepper <drepper@gmail.com>
30281 * string/bug-strstr1.c: New file.
30282 * string/Makefile: Add rules to build and run bug-strstr1.
30284 2010-10-05 Eric Blake <eblake@redhat.com>
30287 * string/str-two-way.h (two_way_long_needle): Always clear memory
30288 when skipping input due to the shift table.
30290 2010-10-03 Ulrich Drepper <drepper@gmail.com>
30293 * malloc/mcheck.c: Handle large requests.
30296 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30297 for strncmp and strncasecmp.
30298 * string/stratcliff.c: Add tests for strcmp and strncmp.
30299 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30301 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30303 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30306 2010-09-30 Andreas Jaeger <aj@suse.de>
30308 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30309 (CGROUP_SUPER_MAGIC): Define.
30310 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30311 Handle btrfs and cgroup file systems.
30312 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30315 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
30317 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30318 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30320 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30323 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30324 trying to locate the ELF header.
30326 2010-09-27 Andreas Schwab <schwab@redhat.com>
30329 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30330 Mask out sign-bit copies when constructing f_fsid.
30332 2010-09-24 Petr Baudis <pasky@suse.cz>
30334 * debug/stack_chk_fail_local.c: Add missing licence exception.
30335 * debug/warning-nop.c: Likewise.
30337 2010-09-15 Joseph Myers <joseph@codesourcery.com>
30339 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30340 implementing getdents64 using getdents syscall, set d_type if
30341 __ASSUME_GETDENTS32_D_TYPE.
30343 2010-09-16 Andreas Schwab <schwab@redhat.com>
30345 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30346 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30348 2010-09-21 Ulrich Drepper <drepper@redhat.com>
30351 * posix/unistd.h: Undo change of feature selection for ftruncate from
30354 2010-09-20 Ulrich Drepper <drepper@redhat.com>
30356 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30359 2010-09-20 Andreas Schwab <schwab@redhat.com>
30361 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30363 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30365 2010-09-14 Andreas Schwab <schwab@redhat.com>
30367 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30368 variables after CHECK_SP call.
30369 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30371 2010-09-13 Andreas Schwab <schwab@redhat.com>
30372 Ulrich Drepper <drepper@redhat.com>
30374 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30375 re-relocationg ld.so.
30376 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30377 _dl_init_paths call.
30378 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30381 2010-09-14 Ulrich Drepper <drepper@redhat.com>
30383 * resolv/res_init.c (__res_vinit): Count the default server we added.
30385 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30386 Ulrich Drepper <drepper@redhat.com>
30389 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30390 (____longjmp_chk): Use %ebx for saving value across system call.
30393 2010-09-06 Andreas Schwab <schwab@redhat.com>
30395 * manual/Makefile: Don't mix pattern rules with normal rules.
30397 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30399 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30401 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30402 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30403 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30404 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30405 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30408 2010-09-04 Ulrich Drepper <drepper@redhat.com>
30411 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30412 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30414 2010-09-02 Ulrich Drepper <drepper@redhat.com>
30416 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30417 * sysdeps/x86_64/addmul_1.S: Likewise.
30418 * sysdeps/x86_64/lshift.S: Likewise.
30419 * sysdeps/x86_64/mul_1.S: Likewise.
30420 * sysdeps/x86_64/rshift.S: Likewise.
30421 * sysdeps/x86_64/sub_n.S: Likewise.
30422 * sysdeps/x86_64/submul_1.S: Likewise.
30424 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30426 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30427 Define __sched_param instead of SCHED_* and sched_param when
30428 <bits/sched.h> is included with __need_schedparam defined.
30429 * bits/sched.h [__need_schedparam]
30430 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30431 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30432 (__defined_schedparam): Define to 1.
30433 (__sched_param): New structure, identical to sched_param.
30434 (__need_schedparam): Undefine.
30436 2010-08-31 Mike Frysinger <vapier@gentoo.org>
30438 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30439 (epoll_create1): Declare.
30441 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30443 2010-08-31 Andreas Schwab <schwab@redhat.com>
30446 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30447 shifting retval into place.
30449 2010-09-01 Ulrich Drepper <drepper@redhat.com>
30451 * nis/rpcsvc/nis.h: Update copyright notice.
30452 * nis/rpcsvc/nis.x: Likewise.
30453 * nis/rpcsvc/nis_callback.h: Likewise.
30454 * nis/rpcsvc/nis_callback.x: Likewise.
30455 * nis/rpcsvc/nis_object.x: Likewise.
30456 * nis/rpcsvc/nis_tags.h: Likewise.
30457 * nis/rpcsvc/yp.h: Likewise.
30458 * nis/rpcsvc/yp.x: Likewise.
30459 * nis/rpcsvc/ypupd.h: Likewise.
30460 * nis/yp_xdr.c: Likewise.
30461 * nis/ypupdate_xdr.c: Likewise.
30463 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30464 mainly the body of pmap_getport. Add parameters to specify timeouts.
30465 (pmap_getport): Use __libc_rpc_getport.
30466 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30467 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30468 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30470 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30475 2010-08-27 Roland McGrath <roland@redhat.com>
30477 * sysdeps/i386/i686/multiarch/Makefile
30478 (CFLAGS-varshift.c): New variable.
30480 2010-08-27 Ulrich Drepper <drepper@redhat.com>
30482 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30483 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30485 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30487 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30489 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30491 * sysdeps/x86_64/strlen.S: Unroll the loop.
30492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30493 strlen-sse2 strlen-sse2-bsf.
30494 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30495 __strlen_no_bsf if bit_Slow_BSF is set.
30496 (__strlen_sse42): Removed.
30497 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30498 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30500 2010-08-25 Roland McGrath <roland@redhat.com>
30502 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30503 * sysdeps/x86_64/multiarch/varshift.c: New file.
30504 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30505 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30506 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30507 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30509 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30512 strlen-sse2 strlen-sse2-bsf.
30513 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30514 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30515 (__strlen_sse2): Removed.
30516 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30517 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30519 bit_Slow_BSF for Atom.
30520 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30521 (index_Slow_BSF): Define.
30522 (HAS_SLOW_BSF): Define.
30524 2010-08-25 Ulrich Drepper <drepper@redhat.com>
30527 * resolv/res_init.c (__res_vinit): When no server address at all
30528 is given default to loopback.
30530 2010-08-24 Roland McGrath <roland@redhat.com>
30532 * configure.in: Remove config-name.h generation.
30533 * configure: Regenerated.
30534 * config-name.in: File removed.
30535 * scripts/config-uname.sh: New file.
30536 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30537 ($(objdir)config-name.h): New target.
30539 * sunrpc/rpc_parse.h: Avoid nested comment.
30541 2010-08-24 Richard Henderson <rth@redhat.com>
30542 Ulrich Drepper <drepper@redhat.com>
30543 H.J. Lu <hongjiu.lu@intel.com>
30545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30547 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30548 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30549 _mm_alignr_epi8 with _mm_loadu_si128.
30550 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30551 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30552 (__m128i_shift_right): Removed.
30553 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30554 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30555 * sysdeps/x86_64/multiarch/varshift.h: New file.
30556 * sysdeps/x86_64/multiarch/varshift.S: New file.
30558 2010-08-21 Mike Frysinger <vapier@gentoo.org>
30560 * configure.in: Move assembler checks to before sysdep dir checking.
30562 2010-08-20 Petr Baudis <pasky@suse.cz>
30564 * LICENSES: Sync the sunrpc license.
30566 2010-08-19 Ulrich Drepper <drepper@redhat.com>
30568 * sunrpc/auth_des.c: Update copyright notice once again.
30569 * sunrpc/auth_none.c: Likewise.
30570 * sunrpc/auth_unix.c: Likewise.
30571 * sunrpc/authdes_prot.c: Likewise.
30572 * sunrpc/authuxprot.c: Likewise.
30573 * sunrpc/bindrsvprt.c: Likewise.
30574 * sunrpc/clnt_gen.c: Likewise.
30575 * sunrpc/clnt_perr.c: Likewise.
30576 * sunrpc/clnt_raw.c: Likewise.
30577 * sunrpc/clnt_simp.c: Likewise.
30578 * sunrpc/clnt_tcp.c: Likewise.
30579 * sunrpc/clnt_udp.c: Likewise.
30580 * sunrpc/clnt_unix.c: Likewise.
30581 * sunrpc/des_crypt.c: Likewise.
30582 * sunrpc/des_soft.c: Likewise.
30583 * sunrpc/get_myaddr.c: Likewise.
30584 * sunrpc/getrpcport.c: Likewise.
30585 * sunrpc/key_call.c: Likewise.
30586 * sunrpc/key_prot.c: Likewise.
30587 * sunrpc/openchild.c: Likewise.
30588 * sunrpc/pm_getmaps.c: Likewise.
30589 * sunrpc/pm_getport.c: Likewise.
30590 * sunrpc/pmap_clnt.c: Likewise.
30591 * sunrpc/pmap_prot.c: Likewise.
30592 * sunrpc/pmap_prot2.c: Likewise.
30593 * sunrpc/pmap_rmt.c: Likewise.
30594 * sunrpc/rpc/auth.h: Likewise.
30595 * sunrpc/rpc/auth_unix.h: Likewise.
30596 * sunrpc/rpc/clnt.h: Likewise.
30597 * sunrpc/rpc/des_crypt.h: Likewise.
30598 * sunrpc/rpc/key_prot.h: Likewise.
30599 * sunrpc/rpc/netdb.h: Likewise.
30600 * sunrpc/rpc/pmap_clnt.h: Likewise.
30601 * sunrpc/rpc/pmap_prot.h: Likewise.
30602 * sunrpc/rpc/pmap_rmt.h: Likewise.
30603 * sunrpc/rpc/rpc.h: Likewise.
30604 * sunrpc/rpc/rpc_des.h: Likewise.
30605 * sunrpc/rpc/rpc_msg.h: Likewise.
30606 * sunrpc/rpc/svc.h: Likewise.
30607 * sunrpc/rpc/svc_auth.h: Likewise.
30608 * sunrpc/rpc/types.h: Likewise.
30609 * sunrpc/rpc/xdr.h: Likewise.
30610 * sunrpc/rpc_clntout.c: Likewise.
30611 * sunrpc/rpc_cmsg.c: Likewise.
30612 * sunrpc/rpc_common.c: Likewise.
30613 * sunrpc/rpc_cout.c: Likewise.
30614 * sunrpc/rpc_dtable.c: Likewise.
30615 * sunrpc/rpc_hout.c: Likewise.
30616 * sunrpc/rpc_main.c: Likewise.
30617 * sunrpc/rpc_parse.c: Likewise.
30618 * sunrpc/rpc_parse.h: Likewise.
30619 * sunrpc/rpc_prot.c: Likewise.
30620 * sunrpc/rpc_sample.c: Likewise.
30621 * sunrpc/rpc_scan.c: Likewise.
30622 * sunrpc/rpc_scan.h: Likewise.
30623 * sunrpc/rpc_svcout.c: Likewise.
30624 * sunrpc/rpc_tblout.c: Likewise.
30625 * sunrpc/rpc_util.c: Likewise.
30626 * sunrpc/rpc_util.h: Likewise.
30627 * sunrpc/rpcinfo.c: Likewise.
30628 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30629 * sunrpc/rpcsvc/key_prot.x: Likewise.
30630 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30631 * sunrpc/rpcsvc/mount.x: Likewise.
30632 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30633 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30634 * sunrpc/rpcsvc/rex.x: Likewise.
30635 * sunrpc/rpcsvc/rstat.x: Likewise.
30636 * sunrpc/rpcsvc/rusers.x: Likewise.
30637 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30638 * sunrpc/rpcsvc/spray.x: Likewise.
30639 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30640 * sunrpc/rtime.c: Likewise.
30641 * sunrpc/svc.c: Likewise.
30642 * sunrpc/svc_auth.c: Likewise.
30643 * sunrpc/svc_authux.c: Likewise.
30644 * sunrpc/svc_raw.c: Likewise.
30645 * sunrpc/svc_run.c: Likewise.
30646 * sunrpc/svc_simple.c: Likewise.
30647 * sunrpc/svc_tcp.c: Likewise.
30648 * sunrpc/svc_udp.c: Likewise.
30649 * sunrpc/svc_unix.c: Likewise.
30650 * sunrpc/svcauth_des.c: Likewise.
30651 * sunrpc/xcrypt.c: Likewise.
30652 * sunrpc/xdr.c: Likewise.
30653 * sunrpc/xdr_array.c: Likewise.
30654 * sunrpc/xdr_float.c: Likewise.
30655 * sunrpc/xdr_mem.c: Likewise.
30656 * sunrpc/xdr_rec.c: Likewise.
30657 * sunrpc/xdr_ref.c: Likewise.
30658 * sunrpc/xdr_sizeof.c: Likewise.
30659 * sunrpc/xdr_stdio.c: Likewise.
30661 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30664 2010-08-19 Andreas Schwab <schwab@redhat.com>
30666 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30668 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
30670 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30671 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30672 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30673 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30674 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30675 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30676 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30677 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30678 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30679 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30680 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30681 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30682 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30683 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30685 2010-07-26 Anton Blanchard <anton@samba.org>
30687 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30688 * malloc/arena.c (heap_trim): Likewise.
30690 2010-08-16 Ulrich Drepper <drepper@redhat.com>
30692 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30694 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30695 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30697 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30699 * sysdeps/i386/elf/Makefile: New file.
30701 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30703 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30704 from fanotify_init.
30705 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30706 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30708 2010-08-15 Ulrich Drepper <drepper@redhat.com>
30710 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30712 * sysdeps/multiarch/strcmp.S: Likewise.
30714 2010-08-14 Ulrich Drepper <drepper@redhat.com>
30716 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30717 strncase_l-nonascii.
30718 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30719 Add strncase_l-ssse3.
30720 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30721 * sysdeps/x86_64/strcmp.S: Likewise.
30722 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30723 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30724 * sysdeps/x86_64/strncase.S: New file.
30725 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30726 * sysdeps/x86_64/strncase_l.S: New file.
30727 * string/Makefile (strop-tests): Add strncasecmp.
30728 * string/test-strncasecmp.c: New file.
30730 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30733 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30734 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30736 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30738 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30740 2010-08-12 Ulrich Drepper <drepper@redhat.com>
30742 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30743 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30744 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30746 2010-05-01 Alan Modra <amodra@gmail.com>
30748 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30749 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30750 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30751 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30752 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30753 tidying. Don't tail-call __sigjmp_save for static lib.
30754 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30756 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30757 (CALL_MCOUNT): Add eh info, and nop after bl.
30758 (TAIL_CALL_SYSCALL_ERROR): New macro.
30759 (PSEUDO_RET): Use it.
30760 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30761 Correct save location of integer regs and cr.
30762 (_dl_profile_resolve): Correct cr save location. Delete nops
30763 after bl when SHARED. Reduce cfi size a little by better
30764 placement of cfi directives.
30765 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30766 make a stack frame. Instead use parm save area as a temp.
30767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30768 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30770 Don't make a stack frame for parent, use parm save area.
30771 Increase child stack frame to 112 bytes. Don't save unused reg,
30772 and adjust reg usage. Set up cfi on error recovery and
30773 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30775 (__makecontext): Add dummy nop after jump to exit.
30776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30777 Use correct parm save area and cr save, reduce stack frame.
30778 Correct cfi for possible PSEUDO_RET frame setup.
30779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30780 Branch to local label emitted by PSEUDO_RET rather than
30783 2010-08-12 Andreas Schwab <schwab@redhat.com>
30786 * locale/programs/locale.c (print_assignment): New function.
30787 (show_locale_vars): Use it.
30789 2010-08-11 Ulrich Drepper <drepper@redhat.com>
30791 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30793 (struct statfs64): Likewise.
30794 (_STATFS_F_FLAGS): Define.
30795 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30796 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30797 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30798 (ST_VALID): Define locally.
30799 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30800 __statvfs_getflags, use the provided value.
30801 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30802 __ASSUME_STATFS_F_FLAGS.
30804 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30806 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30807 Add sys/fanotify.h.
30808 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30809 fanotify_mask for GLIBC_2.13.
30810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30811 fanotify_init and fanotify_mark.
30812 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30813 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30815 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30817 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30818 prlimit64 for GLIBC_2.13.
30819 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30824 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30825 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30826 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30827 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30829 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30832 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30833 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30835 * nss/Makefile: Add rules to build and run tst-nss-test1.
30836 * shlib-versions: Add entry for libnss_test1.
30837 * nss/nss_test1.c: New file.
30838 * nss/tst-nss-test1.c: New file.
30840 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30841 (__nss_configure_lookup): Set appropriate entry in
30842 __nss_configure_lookup to true.
30843 * nss/nsswitch.h: Define enum with indeces of databases in
30844 databases and __nss_database_custom arrays. Declare
30845 __nss_database_custom.
30846 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30847 to avoid using nscd when custom rules are installed.
30848 * nss/getXXbyYY_r.c: Likewise.
30849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30851 * nss/nss_files/files-parse.c: Whitespace fixes.
30853 2010-08-09 Ulrich Drepper <drepper@redhat.com>
30856 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30857 * posix/fnmatch_loop.c: Likewise.
30859 2010-07-17 Andi Kleen <ak@linux.intel.com>
30861 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30862 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30863 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30864 * Versions.def [GLIBC_2.13]: Add.
30866 2010-08-06 Ulrich Drepper <drepper@redhat.com>
30868 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30869 Also fail if tpwd after pwuid call is NULL.
30871 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30873 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30874 when converting to ms.
30876 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30878 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30879 EOPNOTSUPP errors with ENOTTY.
30880 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30881 EOPNOTSUPP errors with ENOTTY.
30883 2010-07-31 Ulrich Drepper <drepper@redhat.com>
30885 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30886 Add strcasecmp_l-ssse3.
30887 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30889 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30890 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30891 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30893 2010-07-30 Ulrich Drepper <drepper@redhat.com>
30895 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30897 * string/Makefile (strop-tests): Add strcasecmp.
30898 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30899 strcasecmp_l-nonascii.
30900 (gen-as-const-headers): Add locale-defines.sym.
30901 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30902 * sysdeps/x86_64/strcasecmp.S: New file.
30903 * sysdeps/x86_64/strcasecmp_l.S: New file.
30904 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30905 * sysdeps/x86_64/locale-defines.sym: New file.
30906 * string/test-strcasecmp.c: New file.
30908 * string/test-strcasestr.c: Test both ends of the range of characters.
30909 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30911 2010-07-29 Roland McGrath <roland@redhat.com>
30914 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30916 2010-07-27 Ulrich Drepper <drepper@redhat.com>
30918 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30921 2010-07-27 Andreas Schwab <schwab@redhat.com>
30923 * manual/memory.texi (Malloc Tunable Parameters): Document
30926 2010-07-26 Roland McGrath <roland@redhat.com>
30929 * configure.in (-fgnu89-inline check): Set and substitute
30930 gnu89_inline, not libc_cv_gnu89_inline.
30931 * configure: Regenerated.
30932 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30934 2010-07-26 Ulrich Drepper <drepper@redhat.com>
30936 * string/test-strnlen.c: New file.
30937 * string/Makefile (strop-tests): Add strnlen.
30938 * string/tester.c (test_strnlen): Add a few more test cases.
30939 * string/tst-strlen.c: Better error reporting.
30941 * sysdeps/x86_64/strnlen.S: New file.
30943 2010-07-24 Ulrich Drepper <drepper@redhat.com>
30945 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30946 lower-latency instructions.
30948 2010-07-23 Ulrich Drepper <drepper@redhat.com>
30950 * string/test-strcasestr.c: New file.
30951 * string/test-strstr.c: New file.
30952 * string/Makefile (strop-tests): Add strstr and strcasestr.
30953 * string/str-two-way.h: Don't undefine MAX.
30954 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30956 2010-07-21 Andreas Schwab <schwab@redhat.com>
30958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30959 strcasestr-nonascii.
30960 (CFLAGS-strcasestr-nonascii.c): Define.
30961 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30962 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30963 Remove unused attribute.
30965 2010-07-20 Roland McGrath <roland@redhat.com>
30967 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30968 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30969 ld.so.cache was broken. With it, there is no way to disable dsocaps
30970 like LD_HWCAP_MASK can disable hwcaps.
30972 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30974 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30976 2010-07-16 Ulrich Drepper <drepper@redhat.com>
30978 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30979 call in strcasestr.
30980 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30981 __strcasestr_sse42_nonascii.
30982 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30983 strcasestr-nonascii.c.
30984 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30986 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
30988 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30989 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30990 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30991 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30993 2010-07-09 Ulrich Drepper <drepper@redhat.com>
30995 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30998 2010-07-06 Andreas Schwab <schwab@redhat.com>
31001 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31004 2010-07-06 Ulrich Drepper <drepper@redhat.com>
31006 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31007 _PC_PIPE_BUF using F_GETPIPE_SZ.
31009 2010-07-05 Roland McGrath <roland@redhat.com>
31011 * manual/arith.texi (Rounding Functions): Fix rint description
31012 implicit in round description.
31014 2010-07-02 Ulrich Drepper <drepper@redhat.com>
31016 * elf/Makefile: Fix linking for a few tests to make recent linker
31019 2010-06-30 Andreas Schwab <schwab@redhat.com>
31021 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31022 $(common-objpfx)libc_nonshared.a.
31024 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
31026 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31027 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31028 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31029 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31030 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31031 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31032 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31033 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31048 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31049 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31050 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31051 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31052 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31053 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31054 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31055 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31056 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31057 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31058 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31059 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31075 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31077 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31078 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31079 * string/memmove.c (memmove): Renamed to ...
31080 (MEMMOVE): ...this. Default to memmove.
31081 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31082 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31085 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31086 mempcpy-ssse3-back memmove-ssse3-back.
31087 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31089 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31090 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31091 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31092 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31093 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31094 * sysdeps/x86_64/multiarch/memmove.c: New file.
31095 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31096 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31097 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31098 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31099 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31100 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31102 (index_Fast_Copy_Backward): Define.
31103 (HAS_ARCH_FEATURE): Define.
31104 (HAS_FAST_REP_STRING): Define.
31105 (HAS_FAST_COPY_BACKWARD): Define.
31107 2010-06-21 Andreas Schwab <schwab@redhat.com>
31109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31110 Restore proper fallback handling.
31112 2010-06-19 Ulrich Drepper <drepper@redhat.com>
31115 * posix/group_member.c (__group_member): Correct checking loop.
31117 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31118 OOM in getpwuid_r correctly. Return error number when the caller
31119 should return, otherwise -1.
31120 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31121 call returning > 0 value.
31122 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31124 2010-06-07 Andreas Schwab <schwab@redhat.com>
31126 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31127 libc_nonshared.a from targets in modules-names.
31129 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31131 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31134 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
31136 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31137 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31138 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31139 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31141 2010-06-02 Andreas Schwab <schwab@redhat.com>
31143 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31145 2010-06-14 Ulrich Drepper <drepper@redhat.com>
31147 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31149 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31150 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31151 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31153 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31154 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31156 2010-06-14 Roland McGrath <roland@redhat.com>
31158 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31160 2010-06-07 Jakub Jelinek <jakub@redhat.com>
31162 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31163 __REDIRECT followed by __THROW.
31164 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31165 * posix/getopt.h (getopt): Likewise.
31167 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31169 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31170 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31171 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31173 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31174 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31176 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
31178 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31180 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31184 Properly check family and model.
31186 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31188 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31190 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
31192 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31194 2010-05-21 Ulrich Drepper <drepper@redhat.com>
31196 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31199 2010-05-19 Andreas Schwab <schwab@redhat.com>
31201 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31204 2010-05-21 Andreas Schwab <schwab@redhat.com>
31206 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31207 and internal_recvmmsg.
31208 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31209 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31210 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31211 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31213 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31214 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31215 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31217 2010-05-20 Andreas Schwab <schwab@redhat.com>
31219 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31221 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
31223 POWER7 optimizations.
31224 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31225 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31227 2010-05-19 Ulrich Drepper <drepper@redhat.com>
31229 * version.h: Update for 2.13 development version.
31231 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
31233 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31234 exceptions. Return 0.
31236 2010-05-07 Roland McGrath <roland@redhat.com>
31238 * elf/ldconfig.c (main): Add a const.
31240 2010-05-06 Ulrich Drepper <drepper@redhat.com>
31242 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31243 (args_options): Add no-idn option.
31244 (ahosts_keys_int): Add idn_flags to ai_flags.
31245 (parse_option): Handle 'i' option to clear idn_flags.
31247 * malloc/malloc.c (_int_free): Possible race in the most recently
31248 added check. Only act on the data if no current modification
31251 See ChangeLog.17 for earlier changes.