1 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7 (clock_getcpuclockid): Likewise.
8 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9 Add weak_alias and libc_hidden_def.
10 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11 * rt/clock_gettime.c (clock_gettime): Rename to
12 __clock_gettime. Add weak_alias and libc_hidden_def.
13 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19 * rt/clock_settime.c (clock_settime): Rename to
20 __clock_settime. Add weak_alias and libc_hidden_def.
21 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23 2013-06-10 Joseph Myers <joseph@codesourcery.com>
25 * mach/err_boot.sub: Remove trailing whitespace.
26 * mach/err_ipc.sub: Likewise.
27 * mach/err_mach.sub: Likewise.
29 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30 (ROUNDING_TESTS_double): Likewise.
31 (ROUNDING_TESTS_long_double): Likewise.
32 (ROUNDING_TESTS): Likewise.
33 * math/libm-test.inc: Include <math-tests.h>.
34 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37 (IF_ROUND_INIT_FE_UPWARD): Likewise.
39 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
44 2013-06-08 Joseph Myers <joseph@codesourcery.com>
46 * sysdeps/gnu/errlist.awk: Do not generate space at end of
47 otherwise empty TRANS lines.
48 * sysdeps/gnu/errlist.c: Regenerated.
50 * catgets/gencat.c (error_print): Use (void) in function
52 * crypt/crypt_util.c (__init_des): Likewise.
53 * crypt/speeds.c (Stop): Likewise.
55 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
56 * inet/ruserpass.c (token): Likewise.
57 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
58 * intl/localealias.c (extend_alias_table): Likewise.
59 * intl/plural-exp.c (init_germanic_plural): Likewise.
60 * libio/fcloseall.c (__fcloseall): Likewise.
61 * libio/genops.c (_IO_flush_all): Likewise.
62 (_IO_flush_all_linebuffered): Likewise.
63 (_IO_cleanup): Likewise.
64 (_IO_iter_begin): Likewise.
65 (_IO_iter_end): Likewise.
66 (_IO_list_lock): Likewise.
67 (_IO_list_unlock): Likewise.
68 (_IO_list_resetlock): Likewise.
69 * libio/getchar.c (getchar): Likewise.
70 * libio/getchar_u.c (getchar_unlocked): Likewise.
71 * libio/getwchar.c (getwchar): Likewise.
72 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
73 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
74 * login/getpt.c (__getpt): Likewise.
75 * login/tst-utmp.c (main): Likewise.
76 * malloc/hooks.c (__malloc_check_init): Likewise.
77 * malloc/malloc.c (__malloc_stats): Likewise.
78 * malloc/mtrace.c (tr_break): Likewise.
81 * misc/fstab.c (endfsent): Likewise.
82 * misc/getclktck.c (__getclktck): Likewise.
83 * misc/getdtsz.c (__getdtablesize): Likewise.
84 * misc/gethostid.c (gethostid): Likewise.
85 * misc/getpagesize.c (__getpagesize): Likewise.
86 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
87 (__get_nprocs): Likewise.
88 (__get_phys_pages): Likewise.
89 (__get_avphys_pages): Likewise.
90 * misc/getttyent.c (getttyent): Likewise.
91 (setttyent): Likewise.
92 (endttyent): Likewise.
93 * misc/getusershell.c (getusershell): Likewise.
94 (endusershell): Likewise.
95 (setusershell): Likewise.
96 (initshells): Likewise.
97 * misc/hsearch.c (__hdestroy): Likewise.
98 * misc/sync.c (sync): Likewise.
99 * misc/syslog.c (closelog_internal): Likewise.
100 (closelog): Likewise.
101 * misc/ttyslot.c (ttyslot): Likewise.
102 * misc/vhangup.c (vhangup): Likewise.
103 * posix/fork.c (__fork): Likewise.
104 * posix/getegid.c (__getegid): Likewise.
105 * posix/geteuid.c (__geteuid): Likewise.
106 * posix/getgid.c (__getgid): Likewise.
107 * posix/getpid.c (__getpid): Likewise.
108 * posix/getppid.c (__getppid): Likewise.
109 * posix/getuid.c (__getuid): Likewise.
110 * posix/pause.c (pause): Likewise.
111 * posix/setpgrp.c (setpgrp): Likewise.
112 * posix/setsid.c (__setsid): Likewise.
113 * posix/test-vfork.c (noop): Likewise.
114 * resolv/gethnamaddr.c (_endhtent): Likewise.
115 (_gethtent): Likewise.
116 (ht_endhostent): Likewise.
117 (gethostent): Likewise.
118 (dns_service): Likewise.
119 * stdlib/drand48.c (drand48): Likewise.
120 * stdlib/lrand48.c (lrand48): Likewise.
121 * stdlib/mrand48.c (mrand48): Likewise.
122 * stdlib/rand.c (rand): Likewise.
123 * stdlib/random.c (__random): Likewise.
124 * stdlib/setenv.c (clearenv): Likewise.
125 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
126 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
127 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
128 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
129 (__get_nprocs): Likewise.
130 (__get_phys_pages): Likewise.
131 (__get_avphys_pages): Likewise.
132 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
133 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
134 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
135 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
136 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
137 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
138 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
139 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
140 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
141 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
142 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
143 * sysdeps/mach/hurd/sync.c (sync): Likewise.
144 * sysdeps/posix/clock.c (clock): Likewise.
145 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
146 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
147 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
148 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
149 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
150 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
151 (__get_nprocs_conf): Likewise.
152 (__get_phys_pages): Likewise.
153 (__get_avphys_pages): Likewise.
154 * time/clock.c (clock): Likewise.
155 * time/tzset.c (__tzname_max): Likewise.
157 2013-06-07 Joseph Myers <joseph@codesourcery.com>
159 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
160 (__bswap_32): Do not use "register".
161 * crypt/crypt.c (_ufc_doit_r): Likewise.
162 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
163 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
164 * gmon/gmon.c (__monstartup): Likewise.
165 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
166 * hurd/hurdmalloc.c (more_memory): Likewise.
170 (malloc_fork_prepare): Likewise.
171 (malloc_fork_parent): Likewise.
172 (malloc_fork_child): Likewise.
173 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
174 (_svcauth_des): Likewise.
175 * inet/inet_lnaof.c (inet_lnaof): Likewise.
176 * inet/inet_net.c (inet_network): Likewise.
177 * inet/inet_netof.c (inet_netof): Likewise.
178 * inet/rcmd.c (__validuser2_sa): Likewise.
179 * io/fts.c (fts_open): Likewise.
180 (fts_load): Likewise.
181 (fts_close): Likewise.
182 (fts_read): Likewise.
183 (fts_children): Likewise.
184 (fts_build): Likewise.
185 (fts_stat): Likewise.
186 (fts_sort): Likewise.
187 (fts_alloc): Likewise.
188 (fts_lfree): Likewise.
189 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
190 (_IO_file_xsgetn): Likewise.
191 (_IO_file_xsgetn_mmap): Likewise.
192 * libio/iofopncook.c (_IO_cookie_read): Likewise.
193 (_IO_cookie_write): Likewise.
194 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
195 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
196 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
197 * malloc/obstack.c (_obstack_begin): Likewise.
198 (_obstack_begin_1): Likewise.
199 (_obstack_newchunk): Likewise.
200 (_obstack_allocated_p): Likewise.
201 (obstack_free): Likewise.
202 (_obstack_memory_used): Likewise.
203 * misc/getttyent.c (getttynam): Likewise.
204 (getttyent): Likewise.
207 * misc/getusershell.c (initshells): Likewise.
208 * misc/syslog.c (__vsyslog_chk): Likewise.
209 * misc/ttyslot.c (ttyslot): Likewise.
210 * nis/nis_hash.c (__nis_hash): Likewise.
211 * posix/fnmatch_loop.c (FCT): Likewise.
212 * posix/getconf.c (print_all): Likewise.
214 * posix/getopt.c (exchange): Likewise.
215 * posix/glob.c (globfree): Likewise.
216 (prefix_array): Likewise.
217 (__glob_pattern_type): Likewise.
218 * resolv/arpa/nameser.h (NS_GET16): Likewise.
219 (NS_GET32): Likewise.
220 (NS_PUT16): Likewise.
221 (NS_PUT32): Likewise.
222 * resolv/gethnamaddr.c (getanswer): Likewise.
223 (gethostbyname2): Likewise.
224 (gethostbyaddr): Likewise.
225 (_gethtent): Likewise.
226 (_gethtbyname2): Likewise.
227 (_gethtbyaddr): Likewise.
228 * resolv/ns_print.c (dst_s_get_int16): Likewise.
229 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
230 * resolv/res_init.c (__res_vinit): Likewise.
231 (net_mask): Likewise.
232 * resolv/res_mkquery.c (outchar): Likewise.
234 * stdio-common/printf_fp.c (outchar): Likewise.
236 * stdio-common/printf_fphex.c (outchar): Likewise.
238 * stdio-common/printf_size.c (outchar): Likewise.
240 * stdio-common/test_rdwr.c (main): Likewise.
241 * stdio-common/tfformat.c (matches): Likewise.
242 * stdio-common/vfprintf.c (outchar): Likewise.
243 (printf_unknown): Likewise.
244 (buffered_vfprintf): Likewise.
245 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
246 * stdio-common/xbug.c (AppendToBuffer): Likewise.
247 (ReadFile): Likewise.
248 * stdlib/qsort.c (SWAP): Likewise.
249 (_quicksort): Likewise.
250 * stdlib/setenv.c (__add_to_environ): Likewise.
251 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
252 * stdlib/strtol_l.c (__strtol_l): Likewise.
253 * stdlib/tst-strtod.c (main): Likewise.
254 * stdlib/tst-strtol.c (main): Likewise.
255 * stdlib/tst-strtoll.c (main): Likewise.
256 * string/bits/string2.h (__strcmp_cc): Likewise.
257 (__strcmp_cg): Likewise.
258 (__strcspn_c1): Likewise.
259 (__strcspn_c2): Likewise.
260 (__strcspn_c3): Likewise.
261 (__strspn_c1): Likewise.
262 (__strspn_c2): Likewise.
263 (__strspn_c3): Likewise.
264 (__strsep_1c): Likewise.
265 (__strsep_2c): Likewise.
266 (__strsep_3c): Likewise.
267 * string/memccpy.c (__memccpy): Likewise.
268 * string/stpcpy.c (__stpcpy): Likewise.
269 * string/strcmp.c (strcmp): Likewise.
270 * string/strrchr.c (strrchr): Likewise.
271 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
273 * sysdeps/mach/hurd/getcwd.c
274 (_hurd_canonicalize_directory_name_internal): Likewise.
275 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
276 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
277 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
278 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
279 Likewise, in both definitions.
280 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
282 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
283 64] (__bswap_64): Likewise.
284 * time/test_time.c (main): Likewise.
285 * time/tzfile.c (__tzfile_read): Likewise.
286 (__tzfile_compute): Likewise.
287 * time/tzset.c (__tzset_parse_tz): Likewise.
288 (tzset_internal): Likewise.
289 (compute_change): Likewise.
290 * wcsmbs/wcscat.c (__wcscat): Likewise.
291 * wcsmbs/wcschr.c (wcschr): Likewise.
292 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
293 * wcsmbs/wcscspn.c (wcscspn): Likewise.
294 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
295 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
296 * wcsmbs/wcsspn.c (wcsspn): Likewise.
297 * wcsmbs/wcsstr.c (wcsstr): Likewise.
298 * wcsmbs/wmemchr.c (wmemchr): Likewise.
299 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
300 * wcsmbs/wmemset.c (wmemset): Likewise.
302 2013-06-06 Joseph Myers <joseph@codesourcery.com>
304 * scripts/config.guess: Update to version 2013-05-16.
305 * scripts/config.sub: Update to version 2013-04-24.
306 * scripts/install-sh: Update to version 2011-11-20.07.
307 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
308 * scripts/move-if-change: Update to version 2012-01-06 07:23.
310 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
312 * debug/fgetws_u_chk.c: Fix leading whitespaces.
313 * elf/sln.c: Likewise.
314 * hurd/hurd/ioctl.h: Likewise.
315 * hurd/hurdmalloc.c: Likewise.
316 * hurd/xattr.c: Likewise.
317 * include/shlib-compat.h: Likewise.
318 * inet/ruserpass.c: Likewise.
319 * libio/iofgets_u.c: Likewise.
320 * libio/iofgetws_u.c: Likewise.
321 * locale/programs/ld-identification.c: Likewise.
322 * locale/programs/ld-time.c: Likewise.
323 * mach/msg-destroy.c: Likewise.
324 * nss/nss_files/files-netgrp.c: Likewise.
325 * resolv/res_data.c: Likewise.
326 * soft-fp/op-1.h: Likewise.
327 * soft-fp/op-2.h: Likewise.
328 * soft-fp/op-4.h: Likewise.
329 * soft-fp/op-common.h: Likewise.
330 * stdio-common/printf_fphex.c: Likewise.
331 * stdlib/strtod_l.c: Likewise.
332 * sunrpc/rpc/clnt.h: Likewise.
333 * sysdeps/generic/framestate.c: Likewise.
334 * sysdeps/i386/bsd-_setjmp.S: Likewise.
335 * sysdeps/i386/bsd-setjmp.S: Likewise.
336 * sysdeps/i386/__longjmp.S: Likewise.
337 * sysdeps/i386/setjmp.S: Likewise.
338 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
339 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
340 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
341 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
342 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
343 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
344 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
345 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
346 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
347 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
348 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
349 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
350 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
351 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
352 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
353 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
354 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
355 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
356 * sysdeps/ieee754/support.c: Likewise.
357 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
358 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
359 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
360 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
361 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
362 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
363 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
364 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
365 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
366 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
367 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
368 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
369 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
370 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
371 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
372 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
373 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
376 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
378 * posix/transbug.c: Remove executable mode.
380 2013-06-05 Joseph Myers <joseph@codesourcery.com>
382 * crypt/speeds.c: Remove trailing whitespace.
383 * dlfcn/default.c: Likewise.
384 * elf/ifuncdep2.c: Likewise.
385 * elf/ifuncmain1.c: Likewise.
386 * elf/ifuncmain1vis.c: Likewise.
387 * elf/testobj.h: Likewise.
388 * elf/tst-stackguard1.c: Likewise.
389 * gmon/sys/gmon.h: Likewise.
390 * hurd/hurdmsg.c: Likewise.
391 * hurd/new-fd.c: Likewise.
392 * hurd/ports-get.c: Likewise.
393 * iconvdata/ibm1008_420.c: Likewise.
394 * inet/tst-getni1.c: Likewise.
395 * inet/tst-getni2.c: Likewise.
396 * libio/ioungetc.c: Likewise.
397 * libio/wfiledoalloc.c: Likewise.
398 * manual/libm-err-tab.pl: Likewise.
399 * math/w_dremf.c: Likewise.
400 * misc/ftruncate.c: Likewise.
401 * posix/bug-glob2.c: Likewise.
402 * posix/tst-pcre.c: Likewise.
403 * posix/wait4.c: Likewise.
404 * resolv/README: Likewise.
405 * resolv/res_debug.h: Likewise.
406 * resolv/tst-inet_ntop.c: Likewise.
407 * setjmp/bug269-setjmp.c: Likewise.
408 * soft-fp/extended.h: Likewise.
409 * soft-fp/op-1.h: Likewise.
410 * soft-fp/op-2.h: Likewise.
411 * soft-fp/op-4.h: Likewise.
412 * soft-fp/op-8.h: Likewise.
413 * soft-fp/testit.c: Likewise.
414 * stdio-common/bug16.c: Likewise.
415 * stdlib/random.c: Likewise.
416 * sunrpc/rpcsvc/rquota.x: Likewise.
417 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
418 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
419 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
420 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
421 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
422 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
423 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
424 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
425 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
426 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
427 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
428 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
429 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
430 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
431 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
432 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
433 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
434 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
435 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
436 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
437 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
438 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
439 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
440 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
441 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
442 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
443 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
444 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
445 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
446 * sysdeps/ieee754/s_lib_version.c: Likewise.
447 * sysdeps/mach/hurd/check_fds.c: Likewise.
448 * sysdeps/mach/hurd/getsockname.c: Likewise.
449 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
450 * sysdeps/mach/hurd/recvfrom.c: Likewise.
451 * sysdeps/powerpc/bits/link.h: Likewise.
452 * sysdeps/powerpc/dl-procinfo.c: Likewise.
453 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
454 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
455 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
456 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
457 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
458 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
459 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
460 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
461 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
462 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
463 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
464 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
465 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
466 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
467 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
468 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
469 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
470 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
471 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
472 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
473 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
474 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
475 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
476 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
477 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
478 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
479 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
480 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
481 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
482 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
483 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
484 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
485 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
486 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
487 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
488 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
489 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
490 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
491 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
492 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
493 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
494 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
495 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
496 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
497 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
498 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
499 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
500 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
501 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
502 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
503 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
504 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
505 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
506 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
507 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
508 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
509 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
510 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
511 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
512 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
513 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
514 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
515 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
516 * sysdeps/powerpc/sysdep.h: Likewise.
517 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
518 * sysdeps/s390/s390-64/sub_n.S: Likewise.
519 * sysdeps/sh/dl-trampoline.S: Likewise.
520 * sysdeps/sh/memset.S: Likewise.
521 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
522 * sysdeps/sh/strlen.S: Likewise.
523 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
524 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
525 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
526 * sysdeps/sparc/sparc32/rem.S: Likewise.
527 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
528 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
529 * sysdeps/sparc/sparc32/strchr.S: Likewise.
530 * sysdeps/sparc/sparc32/udiv.S: Likewise.
531 * sysdeps/sparc/sparc32/urem.S: Likewise.
532 * sysdeps/sparc/sparc64/add_n.S: Likewise.
533 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
534 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
535 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
536 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
537 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
538 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
539 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
540 * sysdeps/unix/bsd/times.c: Likewise.
541 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
542 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
546 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
547 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
548 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
549 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
550 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
551 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
552 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
553 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
554 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
555 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
556 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
557 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
558 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
559 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
560 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
561 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
562 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
563 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
564 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
565 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
566 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
567 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
568 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
569 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
570 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
571 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
572 * sysdeps/x86_64/strcspn.S: Likewise.
574 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
576 * locale/C-translit.h: Revert #include <stdint.h> because this is a
577 generated file. Regenerate properly from gen-translit.pl.
578 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
581 2013-06-05 Andreas Schwab <schwab@suse.de>
584 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
585 week as 6 instead of -1.
586 * time/tst-strptime.c (day_tests): Add test case.
588 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
590 * sysdeps/generic/math_private.h
591 (libc_feholdexcept_setround_53bit): Replace with
592 libc_feholdsetround_53bit.
593 (libc_feupdateenv_53bit): Replace with
594 libc_feresetround_53bit.
595 (SET_RESTORE_ROUND_53BIT): Adjust.
597 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
599 * string/test-strchrnul.c: Add copyright header.
601 * posix/tst-getaddrinfo4.c: Increase test timeout.
603 2013-06-03 Carlos O'Donell <carlos@redhat.com>
606 * math/libm-test.inc (MAX_EXP): Remove
608 (ulp): Use MIN_EXP - MANT_DIG.
609 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
611 2013-05-31 Carlos O'Donell <carlos@redhat.com>
613 * po/be.po: Revert last change.
614 * po/zh_CN.po: Likewise.
615 * po/header.pot: Likewise.
617 2013-05-31 Joseph Myers <joseph@codesourcery.com>
619 * Makefile ($(common-objpfx)linkobj/libc.so): Define
620 link-libc-deps to empty as target-specific variable.
621 * Makerules (link-libc-args): New variable.
622 (libc-for-link): Likewise.
623 (link-libc-deps): Likewise.
624 (lib%.so): Depend on $(link-libc-deps). Link with
626 (build-module): Link with $(link-libc-args).
627 (build-module-asneeded): Likewise.
628 (build-module-helper-objlist): Filter out $(link-libc-deps) from
630 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
631 target-specific variable.
632 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
633 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
634 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
636 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
638 ($(objpfx)libpcprofile.so): Likewise.
639 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
641 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
642 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
643 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
645 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
646 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
647 * login/Makefile ($(objpfx)libutil.so): Likewise.
648 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
649 * math/Makefile ($(objpfx)libm.so): Likewise.
650 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
651 $(objpfx)libnsl.so): Define libc-for-link as target-specific
652 variable instead of depending directly on libc.
653 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
654 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
656 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
658 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
659 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
660 ($(objpfx)libanl.so): Likewise.
661 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
663 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
665 * sysdeps/i386/fpu/Makefile: Remove file.
666 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
667 ($(objpfx)libm.so): Remove dependency on ld.so.
669 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
672 * nis/yp_xdr.c (XDRMAXNAME): Define.
673 (XDRMAXRECORD): Define.
674 (xdr_domainname): Use XDRMAXNAME.
675 (xdr_mapname): Likewise.
676 (xdr_peername): Likewise.
677 (xdr_keydat): Use XDRMAXRECORD.
678 (xdr_valdat): Likewise.
680 2013-05-30 Jeff Law <law@redhat.com>
683 * manual/errno.texi (ESTALE): Update to account for more than
684 just NFS file systems.
685 * sysdeps/gnu/errlist.c: Regenerated.
687 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
690 * elf/Makefile (tests): Add tst-null-argv.
691 (modules-names): Add tst-null-argv-lib.
692 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
693 (tst-null-argv-ENV): Set environment for tst-null-argv.
694 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
695 (RTLD_PROGNAME): New macro.
696 * elf/tst-null-argv.c: New test case.
697 * elf/tst-null-argv-lib.c: Library for test case.
698 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
699 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
700 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
701 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
702 * elf/dl-init.c (call_init): Likewise.
703 (_dl_init): Likewise.
704 * elf/dl-load.c (print_search_path): Likewise.
705 (_dl_map_object): Likewise.
706 * elf/dl-lookup.c (do_lookup_x): Likewise.
707 (add_dependency): Likewise.
708 (_dl_lookup_symbol_x): Likewise.
709 (_dl_debug_bindings): Likewise.
710 * elf/dl-open.c (_dl_show_scope): Likewise.
711 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
712 * elf/dl-version.c (match_symbol): Likewise.
713 (_dl_check_map_versions): Likewise.
714 * elf/rtld.c (dl_main): Likewise.
715 (print_unresolved): Use RTLD_PROGNAME.
716 (print_missing_version): Likewise.
717 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
718 (elf_machine_rela): Likewise.
719 * sysdeps/powerpc/powerpc32/dl-machine.c
720 (__process_machine_rela): Likewise.
721 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
723 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
725 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
727 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
728 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
732 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
734 2013-05-28 Carlos O'Donell <carlos@redhat.com>
736 * po/be.po: Add descriptive title.
737 * po/zh_CN.po: Likewise.
738 * po/header.pot: Likewise.
740 2013-05-28 Mike Frysinger <vapier@gentoo.org>
742 * locale/programs/locarchive.c (create_archive): Inlucde fname in
744 (enlarge_archive): Likewise.
746 2013-05-28 Ben North <ben@redfrontdoor.org>
748 * manual/arith.texi (frexp): It is the magnitude of the return
749 value which lies in [0.5, 1), not the return value itself.
751 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
755 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
757 * stdio-common/bug26.c (main): Correct fscanf template.
759 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
760 declare _dl_skip_args.
762 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
765 * manual/platform.texi: Add missing @end deftypefun.
767 2013-05-24 Joseph Myers <joseph@codesourcery.com>
770 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
771 bit of mantissa of 2^16382.
772 * math/libm-test.inc (hypot_test_data): Add more tests.
774 * math/libm-test.inc: Add drem and pow10 to list of tested
776 (pow10_test): New function.
777 (drem_test): Likewise.
778 (drem_test_tonearest): Likewise.
779 (drem_test_towardzero): Likewise.
780 (drem_test_downward): Likewise.
781 (drem_test_upward): Likewise.
782 (main): Call the new functions.
784 * math/libm-test.inc (finite_test_data): Remove.
785 (finite_test): Run tests from isfinite_test_data.
786 (gamma_test_data): Remove.
787 (gamma_test): Run tests from lgamma_test_data.
788 * sysdeps/i386/fpu/libm-test-ulps: Update.
789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
791 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
793 * manual/platform.texi: Add PowerPC PPR function set documentation.
794 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
797 2013-05-24 Carlos O'Donell <carlos@redhat.com>
799 * math/libm-test.inc (MAX_EXP): Define.
802 (check_float_internal): Use ULPDIFF.
803 (cpow_test): Disable failing test.
804 (check_ulp): Test ulp() implemetnation.
805 (main): Call check_ulp before starting tests.
807 2013-05-24 Joseph Myers <joseph@codesourcery.com>
809 * math/gen-libm-test.pl (generate_testfile): Do not handle
810 START_DATA and END_DATA.
811 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
813 (acos_tonearest_test_data): Likewise.
814 (acos_towardzero_test_data): Likewise.
815 (acos_downward_test_data): Likewise.
816 (acos_upward_test_data): Likewise.
817 (acosh_test_data): Likewise.
818 (asin_test_data): Likewise.
819 (asin_tonearest_test_data): Likewise.
820 (asin_towardzero_test_data): Likewise.
821 (asin_downward_test_data): Likewise.
822 (asin_upward_test_data): Likewise.
823 (asinh_test_data): Likewise.
824 (atan_test_data): Likewise.
825 (atanh_test_data): Likewise.
826 (atan2_test_data): Likewise.
827 (cabs_test_data): Likewise.
828 (cacos_test_data): Likewise.
829 (cacosh_test_data): Likewise.
830 (carg_test_data): Likewise.
831 (casin_test_data): Likewise.
832 (casinh_test_data): Likewise.
833 (catan_test_data): Likewise.
834 (catanh_test_data): Likewise.
835 (cbrt_test_data): Likewise.
836 (ccos_test_data): Likewise.
837 (ccosh_test_data): Likewise.
838 (ceil_test_data): Likewise.
839 (cexp_test_data): Likewise.
840 (cimag_test_data): Likewise.
841 (clog_test_data): Likewise.
842 (clog10_test_data): Likewise.
843 (conj_test_data): Likewise.
844 (copysign_test_data): Likewise.
845 (cos_test_data): Likewise.
846 (cos_tonearest_test_data): Likewise.
847 (cos_towardzero_test_data): Likewise.
848 (cos_downward_test_data): Likewise.
849 (cos_upward_test_data): Likewise.
850 (cosh_test_data): Likewise.
851 (cosh_tonearest_test_data): Likewise.
852 (cosh_towardzero_test_data): Likewise.
853 (cosh_downward_test_data): Likewise.
854 (cosh_upward_test_data): Likewise.
855 (cpow_test_data): Likewise.
856 (cproj_test_data): Likewise.
857 (creal_test_data): Likewise.
858 (csin_test_data): Likewise.
859 (csinh_test_data): Likewise.
860 (csqrt_test_data): Likewise.
861 (ctan_test_data): Likewise.
862 (ctan_tonearest_test_data): Likewise.
863 (ctan_towardzero_test_data): Likewise.
864 (ctan_downward_test_data): Likewise.
865 (ctan_upward_test_data): Likewise.
866 (ctanh_test_data): Likewise.
867 (ctanh_tonearest_test_data): Likewise.
868 (ctanh_towardzero_test_data): Likewise.
869 (ctanh_downward_test_data): Likewise.
870 (ctanh_upward_test_data): Likewise.
871 (erf_test_data): Likewise.
872 (erfc_test_data): Likewise.
873 (exp_test_data): Likewise.
874 (exp_tonearest_test_data): Likewise.
875 (exp_towardzero_test_data): Likewise.
876 (exp_downward_test_data): Likewise.
877 (exp_upward_test_data): Likewise.
878 (exp10_test_data): Likewise.
879 (exp2_test_data): Likewise.
880 (expm1_test_data): Likewise.
881 (fabs_test_data): Likewise.
882 (fdim_test_data): Likewise.
883 (finite_test_data): Likewise.
884 (floor_test_data): Likewise.
885 (fma_test_data): Likewise.
886 (fma_towardzero_test_data): Likewise.
887 (fma_downward_test_data): Likewise.
888 (fma_upward_test_data): Likewise.
889 (fmax_test_data): Likewise.
890 (fmin_test_data): Likewise.
891 (fmod_test_data): Likewise.
892 (fpclassify_test_data): Likewise.
893 (frexp_test_data): Likewise.
894 (gamma_test_data): Likewise.
895 (hypot_test_data): Likewise.
896 (ilogb_test_data): Likewise.
897 (isfinite_test_data): Likewise.
898 (isgreater_test_data): Likewise.
899 (isgreaterequal_test_data): Likewise.
900 (isinf_test_data): Likewise.
901 (isless_test_data): Likewise.
902 (islessequal_test_data): Likewise.
903 (islessgreater_test_data): Likewise.
904 (isnan_test_data): Likewise.
905 (isnormal_test_data): Likewise.
906 (issignaling_test_data): Likewise.
907 (isunordered_test_data): Likewise.
908 (j0_test_data): Likewise.
909 (j1_test_data): Likewise.
910 (jn_test_data): Likewise.
911 (ldexp_test_data): Likewise.
912 (lgamma_test_data): Likewise.
913 (lrint_test_data): Likewise.
914 (lrint_tonearest_test_data): Likewise.
915 (lrint_towardzero_test_data): Likewise.
916 (lrint_downward_test_data): Likewise.
917 (lrint_upward_test_data): Likewise.
918 (llrint_test_data): Likewise.
919 (llrint_tonearest_test_data): Likewise.
920 (llrint_towardzero_test_data): Likewise.
921 (llrint_downward_test_data): Likewise.
922 (llrint_upward_test_data): Likewise.
923 (log_test_data): Likewise.
924 (log10_test_data): Likewise.
925 (log1p_test_data): Likewise.
926 (log2_test_data): Likewise.
927 (logb_test_data): Likewise.
928 (logb_downward_test_data): Likewise.
929 (lround_test_data): Likewise.
930 (llround_test_data): Likewise.
931 (modf_test_data): Likewise.
932 (nearbyint_test_data): Likewise.
933 (nextafter_test_data): Likewise.
934 (nexttoward_test_data): Likewise.
935 (pow_test_data): Likewise.
936 (pow_tonearest_test_data): Likewise.
937 (pow_towardzero_test_data): Likewise.
938 (pow_downward_test_data): Likewise.
939 (pow_upward_test_data): Likewise.
940 (remainder_test_data): Likewise.
941 (remainder_tonearest_test_data): Likewise.
942 (remainder_towardzero_test_data): Likewise.
943 (remainder_downward_test_data): Likewise.
944 (remainder_upward_test_data): Likewise.
945 (remquo_test_data): Likewise.
946 (rint_test_data): Likewise.
947 (rint_tonearest_test_data): Likewise.
948 (rint_towardzero_test_data): Likewise.
949 (rint_downward_test_data): Likewise.
950 (rint_upward_test_data): Likewise.
951 (round_test_data): Likewise.
952 (scalb_test_data): Likewise.
953 (scalbn_test_data): Likewise.
954 (scalbln_test_data): Likewise.
955 (signbit_test_data): Likewise.
956 (sin_test_data): Likewise.
957 (sin_tonearest_test_data): Likewise.
958 (sin_towardzero_test_data): Likewise.
959 (sin_downward_test_data): Likewise.
960 (sin_upward_test_data): Likewise.
961 (sincos_test_data): Likewise.
962 (sinh_test_data): Likewise.
963 (sinh_tonearest_test_data): Likewise.
964 (sinh_towardzero_test_data): Likewise.
965 (sinh_downward_test_data): Likewise.
966 (sinh_upward_test_data): Likewise.
967 (sqrt_test_data): Likewise.
968 (tan_test_data): Likewise.
969 (tan_tonearest_test_data): Likewise.
970 (tan_towardzero_test_data): Likewise.
971 (tan_downward_test_data): Likewise.
972 (tan_upward_test_data): Likewise.
973 (tanh_test_data): Likewise.
974 (tgamma_test_data): Likewise.
975 (trunc_test_data): Likewise.
976 (y0_test_data): Likewise.
977 (y1_test_data): Likewise.
978 (yn_test_data): Likewise.
979 (significand_test_data): Likewise.
981 * math/gen-libm-test.pl (@functions): Remove variable.
982 (generate_testfile): Don't handle START and END lines.
983 * math/libm-test.inc (START): New macro.
985 (END_COMPLEX): Likewise.
986 (acos_test): Use END macro without arguments.
987 (acos_test_tonearest): Likewise.
988 (acos_test_towardzero): Likewise.
989 (acos_test_downward): Likewise.
990 (acos_test_upward): Likewise.
991 (acosh_test): Likewise.
992 (asin_test): Likewise.
993 (asin_test_tonearest): Likewise.
994 (asin_test_towardzero): Likewise.
995 (asin_test_downward): Likewise.
996 (asin_test_upward): Likewise.
997 (asinh_test): Likewise.
998 (atan_test): Likewise.
999 (atanh_test): Likewise.
1000 (atan2_test): Likewise.
1001 (cabs_test): Likewise.
1002 (cacos_test): Use END_COMPLEX macro without arguments.
1003 (cacosh_test): Likewise.
1004 (carg_test): Use END macro without arguments.
1005 (casin_test): Use END_COMPLEX macro without arguments.
1006 (casinh_test): Likewise.
1007 (catan_test): Likewise.
1008 (catanh_test): Likewise.
1009 (cbrt_test): Use END macro without arguments.
1010 (ccos_test): Use END_COMPLEX macro without arguments.
1011 (ccosh_test): Likewise.
1012 (ceil_test): Use END macro without arguments.
1013 (cexp_test): Use END_COMPLEX macro without arguments.
1014 (cimag_test): Use END macro without arguments.
1015 (clog_test): Use END_COMPLEX macro without arguments.
1016 (clog10_test): Likewise.
1017 (conj_test): Likewise.
1018 (copysign_test): Use END macro without arguments.
1019 (cos_test): Likewise.
1020 (cos_test_tonearest): Likewise.
1021 (cos_test_towardzero): Likewise.
1022 (cos_test_downward): Likewise.
1023 (cos_test_upward): Likewise.
1024 (cosh_test): Likewise.
1025 (cosh_test_tonearest): Likewise.
1026 (cosh_test_towardzero): Likewise.
1027 (cosh_test_downward): Likewise.
1028 (cosh_test_upward): Likewise.
1029 (cpow_test): Use END_COMPLEX macro without arguments.
1030 (cproj_test): Likewise.
1031 (creal_test): Use END macro without arguments.
1032 (csin_test): Use END_COMPLEX macro without arguments.
1033 (csinh_test): Likewise.
1034 (csqrt_test): Likewise.
1035 (ctan_test): Likewise.
1036 (ctan_test_tonearest): Likewise.
1037 (ctan_test_towardzero): Likewise.
1038 (ctan_test_downward): Likewise.
1039 (ctan_test_upward): Likewise.
1040 (ctanh_test): Likewise.
1041 (ctanh_test_tonearest): Likewise.
1042 (ctanh_test_towardzero): Likewise.
1043 (ctanh_test_downward): Likewise.
1044 (ctanh_test_upward): Likewise.
1045 (erf_test): Use END macro without arguments.
1046 (erfc_test): Likewise.
1047 (exp_test): Likewise.
1048 (exp_test_tonearest): Likewise.
1049 (exp_test_towardzero): Likewise.
1050 (exp_test_downward): Likewise.
1051 (exp_test_upward): Likewise.
1052 (exp10_test): Likewise.
1053 (exp2_test): Likewise.
1054 (expm1_test): Likewise.
1055 (fabs_test): Likewise.
1056 (fdim_test): Likewise.
1057 (finite_test): Likewise.
1058 (floor_test): Likewise.
1059 (fma_test): Likewise.
1060 (fma_test_towardzero): Likewise.
1061 (fma_test_downward): Likewise.
1062 (fma_test_upward): Likewise.
1063 (fmax_test): Likewise.
1064 (fmin_test): Likewise.
1065 (fmod_test): Likewise.
1066 (fpclassify_test): Likewise.
1067 (frexp_test): Likewise.
1068 (gamma_test): Likewise.
1069 (hypot_test): Likewise.
1070 (ilogb_test): Likewise.
1071 (isfinite_test): Likewise.
1072 (isgreater_test): Likewise.
1073 (isgreaterequal_test): Likewise.
1074 (isinf_test): Likewise.
1075 (isless_test): Likewise.
1076 (islessequal_test): Likewise.
1077 (islessgreater_test): Likewise.
1078 (isnan_test): Likewise.
1079 (isnormal_test): Likewise.
1080 (issignaling_test): Likewise.
1081 (isunordered_test): Likewise.
1082 (j0_test): Likewise.
1083 (j1_test): Likewise.
1084 (jn_test): Likewise.
1085 (ldexp_test): Likewise.
1086 (lgamma_test): Likewise.
1087 (lrint_test): Likewise.
1088 (lrint_test_tonearest): Likewise.
1089 (lrint_test_towardzero): Likewise.
1090 (lrint_test_downward): Likewise.
1091 (lrint_test_upward): Likewise.
1092 (llrint_test): Likewise.
1093 (llrint_test_tonearest): Likewise.
1094 (llrint_test_towardzero): Likewise.
1095 (llrint_test_downward): Likewise.
1096 (llrint_test_upward): Likewise.
1097 (log_test): Likewise.
1098 (log10_test): Likewise.
1099 (log1p_test): Likewise.
1100 (log2_test): Likewise.
1101 (logb_test): Likewise.
1102 (logb_test_downward): Likewise.
1103 (lround_test): Likewise.
1104 (llround_test): Likewise.
1105 (modf_test): Likewise.
1106 (nearbyint_test): Likewise.
1107 (nextafter_test): Likewise.
1108 (nexttoward_test): Likewise.
1109 (pow_test): Likewise.
1110 (pow_test_tonearest): Likewise.
1111 (pow_test_towardzero): Likewise.
1112 (pow_test_downward): Likewise.
1113 (pow_test_upward): Likewise.
1114 (remainder_test): Likewise.
1115 (remainder_test_tonearest): Likewise.
1116 (remainder_test_towardzero): Likewise.
1117 (remainder_test_downward): Likewise.
1118 (remainder_test_upward): Likewise.
1119 (remquo_test): Likewise.
1120 (rint_test): Likewise.
1121 (rint_test_tonearest): Likewise.
1122 (rint_test_towardzero): Likewise.
1123 (rint_test_downward): Likewise.
1124 (rint_test_upward): Likewise.
1125 (round_test): Likewise.
1126 (scalb_test): Likewise.
1127 (scalbn_test): Likewise.
1128 (scalbln_test): Likewise.
1129 (signbit_test): Likewise.
1130 (sin_test): Likewise.
1131 (sin_test_tonearest): Likewise.
1132 (sin_test_towardzero): Likewise.
1133 (sin_test_downward): Likewise.
1134 (sin_test_upward): Likewise.
1135 (sincos_test): Likewise.
1136 (sinh_test): Likewise.
1137 (sinh_test_tonearest): Likewise.
1138 (sinh_test_towardzero): Likewise.
1139 (sinh_test_downward): Likewise.
1140 (sinh_test_upward): Likewise.
1141 (sqrt_test): Likewise.
1142 (tan_test): Likewise.
1143 (tan_test_tonearest): Likewise.
1144 (tan_test_towardzero): Likewise.
1145 (tan_test_downward): Likewise.
1146 (tan_test_upward): Likewise.
1147 (tanh_test): Likewise.
1148 (tgamma_test): Likewise.
1149 (trunc_test): Likewise.
1150 (y0_test): Likewise.
1151 (y1_test): Likewise.
1152 (yn_test): Likewise.
1153 (significand_test): Likewise.
1155 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
1158 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1160 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1163 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1164 __ppc_mdoio and __ppc_mdoom.
1165 * manual/platform.texi: Document new functions __ppc_yield,
1166 __ppc_mdoio and __ppc_mdoom.
1168 2013-05-22 Carlos O'Donell <carlos@redhat.com>
1170 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1171 (main): Mention "tls" pseudo-hwcap is legacy.
1172 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1174 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1176 * math/gen-libm-test.pl (parse_args): Output only string of
1177 arguments as text for test name, not full call or descriptions of
1178 tests for extra outputs.
1179 (generate_testfile): Do not pass function name to parse_args.
1180 Generate this_func variable from START.
1181 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1183 (struct test_ff_f_data): Likewise.
1184 (test_ff_f_data_nexttoward): Likewise.
1185 (struct test_fi_f_data): Likewise.
1186 (struct test_fl_f_data): Likewise.
1187 (struct test_if_f_data): Likewise.
1188 (struct test_fff_f_data): Likewise.
1189 (struct test_c_f_data): Likewise.
1190 (struct test_f_f1_data): Likewise. Remove field extra_name.
1191 (struct test_fF_f1_data): Likewise.
1192 (struct test_ffI_f1_data): Likewise.
1193 (struct test_c_c_data): Rename test_name field to arg_str.
1194 (struct test_cc_c_data): Likewise.
1195 (struct test_f_i_data): Likewise.
1196 (struct test_ff_i_data): Likewise.
1197 (struct test_f_l_data): Likewise.
1198 (struct test_f_L_data): Likewise.
1199 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1201 (COMMON_TEST_SETUP): New macro.
1202 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1203 (COMMON_TEST_CLEANUP): Likewise.
1204 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1205 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1207 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1208 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1210 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1211 (RUN_TEST_fff_f): Take argument string. Call new setup and
1213 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1214 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1216 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1217 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1219 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1220 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1222 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1223 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1225 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1226 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1228 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1229 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1231 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1232 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1234 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1235 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1237 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1238 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1240 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1241 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1243 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1244 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1246 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1247 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1249 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1250 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1252 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1253 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1255 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1256 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1258 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1260 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1262 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1263 to _sifields.sigfault.
1264 (si_addr_lsb): Define new macro.
1265 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1266 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1267 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1269 2013-05-03 Carlos O'Donell <carlos at redhat.com>
1272 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1274 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1276 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1279 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1281 * math/gen-libm-test.pl (parse_args): Do not include expected
1282 result in test name.
1283 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1284 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1285 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1286 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1287 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1290 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1292 * benchtests/Makefile: Sort function entries.
1294 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1295 tanh, asinh, acosh, atanh.
1296 * benchtests/acos-inputs: New file.
1297 * benchtests/acosh-inputs: New file.
1298 * benchtests/asin-inputs: New file.
1299 * benchtests/asinh-inputs: New file.
1300 * benchtests/atanh-inputs: New file.
1301 * benchtests/cosh-inputs: New file.
1302 * benchtests/log-inputs: New file.
1303 * benchtests/sinh-inputs: New file.
1304 * benchtests/tanh-inputs: New file.
1306 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1309 * posix/tst-getaddrinfo4.c: New test.
1310 * posix/Makefile (tests): Add it.
1312 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1315 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1316 when no services were used.
1317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1318 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1320 2013-05-21 Andreas Schwab <schwab@suse.de>
1323 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1324 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1326 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1327 redundant variable declarations and reallocation of buffer when
1328 parsing as IPv6 address. Always set NSS status when called from
1329 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1330 buffer too small. Correct computation of needed size.
1331 * nss/Makefile (tests): Add test-digits-dots.
1332 * nss/test-digits-dots.c: New test.
1334 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1336 * benchtests/Makefile: Remove instructions for adding
1338 * benchtests/README: New file to explain how to execute and
1339 enhance the benchmark tests.
1341 2013-05-21 Andreas Schwab <schwab@suse.de>
1344 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1345 * setjmp/tst-sigsetjmp.c: New test.
1347 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1349 * sysdeps/x86_64/memset.S (memset): New implementation.
1350 (__bzero): Likewise.
1351 (__memset_tail): New function.
1353 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1355 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1356 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1357 __memcpy_sse2_unaligned ifunc selection.
1358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1359 Add memcpy-sse2-unaligned.S.
1360 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1361 Add: __memcpy_sse2_unaligned.
1363 2013-05-19 Joseph Myers <joseph@codesourcery.com>
1366 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1367 math_force_eval before restoring floating-point envrionment.
1368 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1369 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1371 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1373 (__nearbyintl): Use math_force_eval before restoring
1374 floating-point environment.
1375 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1377 * math/gen-libm-test.pl (special_functions): Remove.
1378 (parse_args): Don't handle TEST_extra. Handle functions with no
1380 * math/libm-test.inc (struct test_sincos_data): Replace with
1381 struct test_fFF_11_data.
1382 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1383 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1384 (sincos_test_data): Change element type to struct
1385 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1386 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1387 RUN_TEST_LOOP_sincos.
1388 * math/README.libm-test: Don't mention special handling of
1389 individual functions.
1390 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1391 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1392 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1393 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1394 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1397 * math/gen-libm-test.pl (get_variable): Remove function.
1398 (parse_args): Don't show pointer parameters to call in test
1399 names. Use "extra output N" in test names for extra outputs
1400 rather than naming variables.
1402 2013-05-18 Joseph Myers <joseph@codesourcery.com>
1405 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1406 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1407 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1409 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1411 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1414 * math/gen-libm-test.pl (@tests): Remove variable.
1416 (new_test): Remove function.
1417 (show_exceptions): New function.
1418 (special_functions): Use show_exceptions instead of new_test.
1419 (parse_args): Likewise.
1420 (generate_testfile): Pass only function name in generated call to
1421 print_max_error or print_complex_max_error.
1422 (get_ulps): Do not handle complex tests specially.
1423 (output_test): Rename to ...
1424 (get_all_ulps_for_test): ... this. Return a string rather than
1425 printing to a file. Require ulps to be present.
1426 (output_ulps): Generate arrays rather than #defines.
1427 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1428 (struct ulp_data): New type.
1429 (BUILD_COMPLEX_ULP): Remove macro.
1430 (compare_ulp_data): New function.
1431 (find_ulps): Likewise.
1432 (find_test_ulps): Likewise.
1433 (find_function_ulps): Likewise.
1434 (find_complex_function_ulps): Likewise.
1435 (print_max_error): Determine allowed ulps using
1437 (print_complex_max_error): Determine allowed ulps using
1438 find_complex_function_ulps.
1439 (check_float_internal): Determine max ulps using find_test_ulps.
1440 (check_float): Do not take max_ulp parameter. Update call to
1441 check_float_internal.
1442 (check_complex): Likewise.
1443 (check_int): Do not take max_ulp parameter.
1444 (check_long): Likewise.
1445 (check_bool): Likewise.
1446 (check_longlong): Likewise.
1447 (struct test_f_f_data): Remove max_ulp field.
1448 (struct test_ff_f_data): Likewise.
1449 (struct test_ff_f_data_nexttoward): Likewise.
1450 (struct test_fi_f_data): Likewise.
1451 (struct test_fl_f_data): Likewise.
1452 (struct test_if_f_data): Likewise.
1453 (struct test_fff_f_data): Likewise.
1454 (struct test_c_f_data): Likewise.
1455 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1456 (struct test_fF_f1_data): Likewise.
1457 (struct test_ffI_f1_data): Likewise.
1458 (struct test_c_c_data): Remove max_ulp field.
1459 (struct test_cc_c_data): Likewise.
1460 (struct test_f_i_data): Likewise.
1461 (struct test_ff_i_data): Likewise.
1462 (struct test_f_l_data): Likewise.
1463 (struct test_f_L_data): Likewise.
1464 (struct test_sincos_data): Likewise.
1465 (RUN_TEST_f_f): Do not handle ulps.
1466 (RUN_TEST_LOOP_f_f): Likewise.
1467 (RUN_TEST_2_f): Likewise.
1468 (RUN_TEST_LOOP_2_f): Likewise.
1469 (RUN_TEST_fff_f): Likewise.
1470 (RUN_TEST_LOOP_fff_f): Likewise.
1471 (RUN_TEST_c_f): Likewise.
1472 (RUN_TEST_LOOP_c_f): Likewise.
1473 (RUN_TEST_f_f1): Likewise.
1474 (RUN_TEST_LOOP_f_f1): Likewise.
1475 (RUN_TEST_fF_f1): Likewise.
1476 (RUN_TEST_LOOP_fF_f1): Likewise.
1477 (RUN_TEST_fI_f1): Likewise.
1478 (RUN_TEST_LOOP_fI_f1): Likewise.
1479 (RUN_TEST_ffI_f1): Likewise.
1480 (RUN_TEST_LOOP_ffI_f1): Likewise.
1481 (RUN_TEST_c_c): Likewise.
1482 (RUN_TEST_LOOP_c_c): Likewise.
1483 (RUN_TEST_cc_c): Likewise.
1484 (RUN_TEST_LOOP_cc_c): Likewise.
1485 (RUN_TEST_f_i): Likewise.
1486 (RUN_TEST_LOOP_f_i): Likewise.
1487 (RUN_TEST_f_i_tg): Likewise.
1488 (RUN_TEST_LOOP_f_i_tg): Likewise.
1489 (RUN_TEST_ff_i_tg): Likewise.
1490 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1491 (RUN_TEST_f_b): Likewise.
1492 (RUN_TEST_LOOP_f_b): Likewise.
1493 (RUN_TEST_f_b_tg): Likewise.
1494 (RUN_TEST_LOOP_f_b_tg): Likewise.
1495 (RUN_TEST_f_l): Likewise.
1496 (RUN_TEST_LOOP_f_l): Likewise.
1497 (RUN_TEST_f_L): Likewise.
1498 (RUN_TEST_LOOP_f_L): Likewise.
1499 (RUN_TEST_sincos): Likewise.
1500 (RUN_TEST_LOOP_sincos): Likewise.
1502 2013-05-17 Joseph Myers <joseph@codesourcery.com>
1506 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1507 main case of finite arguments, set rounding mode to FE_TONEAREST
1508 and discard exceptions.
1509 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1511 (remainder_tonearest_test_data): New variable.
1512 (remainder_test_tonearest): New function.
1513 (remainder_towardzero_test_data): New variable.
1514 (remainder_test_towardzero): New function.
1515 (remainder_downward_test_data): New variable.
1516 (remainder_test_downward): New function.
1517 (remainder_upward_test_data): New variable.
1518 (remainder_test_upward): New function.
1519 (main): Call the new test functions.
1521 * math/libm-test.inc (struct test_f_f1_data): Remove field
1523 (struct test_fF_f1_data): Likewise.
1524 (struct test_ffI_f1_data): Likewise.
1525 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1526 based on value of EXTRA_EXPECTED.
1527 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1528 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1529 EXTRA_VAR based on value of EXTRA_EXPECTED.
1530 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1531 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1532 EXTRA_VAR based on value of EXTRA_EXPECTED.
1533 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1534 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1535 EXTRA_VAR based on value of EXTRA_EXPECTED.
1536 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1537 * math/gen-libm-test.pl (parse_args): Don't output initializers
1538 for extra output values.
1540 * math/libm-test.inc (check_int): Expect result to be exactly
1541 equal to expected value and do not handle ulps.
1542 (check_long): Likewise.
1543 (check_longlong): Likewise.
1545 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1547 (cimag_test_data): Likewise.
1548 (conj_test_data): Likewise.
1549 (copysign_test_data): Likewise.
1550 (cproj_test_data): Likewise.
1551 (creal_test_data): Likewise.
1552 (fabs_test_data): Likewise.
1553 (fdim_test_data): Likewise.
1554 (finite_test_data): Likewise.
1555 (floor_test_data): Likewise.
1556 (fmax_test_data): Likewise.
1557 (fmin_test_data): Likewise.
1558 (fmod_test_data): Likewise.
1559 (fpclassify_test_data): Likewise.
1560 (frexp_test_data): Likewise.
1561 (ilogb_test_data): Likewise.
1562 (isfinite_test_data): Likewise.
1563 (isgreater_test_data): Likewise.
1564 (isgreaterequal_test_data): Likewise.
1565 (isinf_test_data): Likewise.
1566 (isless_test_data): Likewise.
1567 (islessequal_test_data): Likewise.
1568 (islessgreater_test_data): Likewise.
1569 (isnan_test_data): Likewise.
1570 (isnormal_test_data): Likewise.
1571 (issignaling_test_data): Likewise.
1572 (isunordered_test_data): Likewise.
1573 (ldexp_test_data): Likewise.
1574 (lrint_test_data): Likewise.
1575 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1576 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1577 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1578 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1579 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1580 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1582 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1583 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1584 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1585 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1587 (lrint_downward_test_data): Test for "inexact" exceptions.
1588 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1589 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1590 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1592 (lrint_upward_test_data): Test for "inexact" exceptions.
1593 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1595 (llrint_test_data): Test for "inexact" exceptions.
1596 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1597 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1598 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1599 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1600 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1601 (llrint_downward_test_data): Test for "inexact" exceptions.
1602 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1603 (llrint_upward_test_data): Test for "inexact" exceptions.
1604 (logb_test_data): Likewise.
1605 (logb_downward_test_data): Likewise.
1606 (nextafter_test_data): Likewise.
1607 (nexttoward_test_data): Likewise.
1608 (remainder_test_data): Likewise.
1609 (remquo_test_data): Likewise.
1610 (scalbn_test_data): Likewise.
1611 (scalbln_test_data): Likewise.
1612 (signbit_test_data): Likewise.
1613 (sqrt_test_data): Likewise.
1614 (significand_test_data): Likewise.
1616 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1619 * benchtests/bench-modf.c (struct args): Mark arg0 as
1621 * scripts/bench.pl: Mark members of struct args as volatile.
1623 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1626 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1627 negative infinity on POWER6 or lower.
1628 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1630 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1633 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1634 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1635 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1636 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1637 (_FP_SETQNAN): New macro.
1638 (_FP_SETQNAN_SEMIRAW): Likewise.
1639 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1640 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1641 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1642 (FP_EXTEND): Use _FP_FRAC_SNANP.
1643 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1644 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1646 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1648 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1651 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1653 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1654 with DIVIDE_BY_ZERO_EXCEPTION.
1655 (gamma_test_data): Likewise.
1656 (lgamma_test_data): Likewise.
1657 (log_test_data): Likewise.
1658 (log10_test_data): Likewise.
1659 (log2_test_data): Likewise.
1660 (tgamma_test_data): Likewise.
1662 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1663 (acos_test_tonearest): Likewise.
1664 (acos_test_towardzero): Likewise.
1665 (acos_test_downward): Likewise.
1666 (acos_test_upward): Likewise.
1667 (acosh_test): Likewise.
1668 (asin_test): Likewise.
1669 (asin_test_tonearest): Likewise.
1670 (asin_test_towardzero): Likewise.
1671 (asin_test_downward): Likewise.
1672 (asin_test_upward): Likewise.
1673 (asinh_test): Likewise.
1674 (atan_test): Likewise.
1675 (atanh_test): Likewise.
1676 (atan2_test): Likewise.
1677 (cabs_test): Likewise.
1678 (cacos_test): Likewise.
1679 (cacosh_test): Likewise.
1680 (casin_test): Likewise.
1681 (casinh_test): Likewise.
1682 (catan_test): Likewise.
1683 (catanh_test): Likewise.
1684 (cbrt_test): Likewise.
1685 (ccos_test): Likewise.
1686 (ccosh_test): Likewise.
1687 (cexp_test): Likewise.
1688 (clog_test): Likewise.
1689 (clog10_test): Likewise.
1690 (cos_test): Likewise.
1691 (cos_test_tonearest): Likewise.
1692 (cos_test_towardzero): Likewise.
1693 (cos_test_downward): Likewise.
1694 (cos_test_upward): Likewise.
1695 (cosh_test): Likewise.
1696 (cosh_test_tonearest): Likewise.
1697 (cosh_test_towardzero): Likewise.
1698 (cosh_test_downward): Likewise.
1699 (cosh_test_upward): Likewise.
1700 (cpow_test): Likewise.
1701 (csin_test): Likewise.
1702 (csinh_test): Likewise.
1703 (csqrt_test): Likewise.
1704 (ctan_test): Likewise.
1705 (ctan_test_tonearest): Likewise.
1706 (ctan_test_towardzero): Likewise.
1707 (ctan_test_downward): Likewise.
1708 (ctan_test_upward): Likewise.
1709 (ctanh_test): Likewise.
1710 (ctanh_test_tonearest): Likewise.
1711 (ctanh_test_towardzero): Likewise.
1712 (ctanh_test_downward): Likewise.
1713 (ctanh_test_upward): Likewise.
1714 (erf_test): Likewise.
1715 (erfc_test): Likewise.
1716 (exp_test): Likewise.
1717 (exp_test_tonearest): Likewise.
1718 (exp_test_towardzero): Likewise.
1719 (exp_test_downward): Likewise.
1720 (exp_test_upward): Likewise.
1721 (exp10_test): Likewise.
1722 (exp2_test): Likewise.
1723 (expm1_test): Likewise.
1724 (fmod_test): Likewise.
1725 (gamma_test): Likewise.
1726 (hypot_test): Likewise.
1727 (j0_test): Likewise.
1728 (j1_test): Likewise.
1729 (jn_test): Likewise.
1730 (lgamma_test): Likewise.
1731 (log_test): Likewise.
1732 (log10_test): Likewise.
1733 (log1p_test): Likewise.
1734 (log2_test): Likewise.
1735 (logb_test_downward): Likewise.
1736 (pow_test): Likewise.
1737 (pow_test_tonearest): Likewise.
1738 (pow_test_towardzero): Likewise.
1739 (pow_test_downward): Likewise.
1740 (pow_test_upward): Likewise.
1741 (remainder_test): Likewise.
1742 (remquo_test): Likewise.
1743 (sin_test): Likewise.
1744 (sin_test_tonearest): Likewise.
1745 (sin_test_towardzero): Likewise.
1746 (sin_test_downward): Likewise.
1747 (sin_test_upward): Likewise.
1748 (sincos_test): Likewise.
1749 (sinh_test): Likewise.
1750 (sinh_test_tonearest): Likewise.
1751 (sinh_test_towardzero): Likewise.
1752 (sinh_test_downward): Likewise.
1753 (sinh_test_upward): Likewise.
1754 (sqrt_test): Likewise.
1755 (tan_test): Likewise.
1756 (tan_test_tonearest): Likewise.
1757 (tan_test_towardzero): Likewise.
1758 (tan_test_downward): Likewise.
1759 (tan_test_upward): Likewise.
1760 (tanh_test): Likewise.
1761 (tgamma_test): Likewise.
1762 (y0_test): Likewise.
1763 (y1_test): Likewise.
1764 (yn_test): Likewise.
1766 * math/gen-libm-test.pl (adjust_arg): Remove function.
1767 (special_function): Remove argument $in_func. Only handle
1768 generating output for tables of tests, not inside functions.
1769 (parse_args): Likewise.
1770 (generate_testfile): Remove variable $in_func. Update call to
1772 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1773 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1774 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1775 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1776 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1777 (MAX_VALUE_INIT): Rename macro to max_value.
1778 (MIN_VALUE_INIT): Rename macro to min_value.
1779 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1780 (plus_zero): Remove variable.
1781 (minus_zero): Likewise.
1782 (plus_infty): Likewise.
1783 (minus_infty): Likewise.
1784 (qnan_value): Likewise.
1785 (max_value): Likewise.
1786 (min_value): Likewise.
1787 (min_subnorm_value): Likewise.
1789 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1791 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1792 uint64_t or uint32_t usage.
1793 * crypt/sha256-block.c: Likewise.
1794 * crypt/sha256-crypt.c: Likewise.
1795 * crypt/sha256.c: Likewise.
1796 * crypt/sha512-block.c: Likewise.
1797 * crypt/sha512-crypt.c: Likewise.
1798 * crypt/sha512.c: Likewise.
1799 * debug/backtrace-tst.c: Likewise.
1800 * debug/pcprofiledump.c: Likewise.
1801 * elf/cache.c: Likewise.
1802 * elf/dl-cache.c: Likewise.
1803 * elf/dl-misc.c: Likewise.
1804 * elf/dl-profile.c: Likewise.
1805 * elf/dl-support.c: Likewise.
1806 * elf/ldconfig.c: Likewise.
1807 * elf/sprof.c: Likewise.
1808 * iconv/dummy-repertoire.c: Likewise.
1809 * iconv/iconv_charmap.c: Likewise.
1810 * iconv/skeleton.c: Likewise.
1811 * iconvdata/8bit-generic.c: Likewise.
1812 * iconvdata/cp737.h: Likewise.
1813 * iconvdata/cp775.h: Likewise.
1814 * iconvdata/ibm1008.h: Likewise.
1815 * iconvdata/ibm1025.h: Likewise.
1816 * iconvdata/ibm1046.h: Likewise.
1817 * iconvdata/ibm1097.h: Likewise.
1818 * iconvdata/ibm1112.h: Likewise.
1819 * iconvdata/ibm1122.h: Likewise.
1820 * iconvdata/ibm1123.h: Likewise.
1821 * iconvdata/ibm1124.h: Likewise.
1822 * iconvdata/ibm1129.h: Likewise.
1823 * iconvdata/ibm1130.h: Likewise.
1824 * iconvdata/ibm1132.h: Likewise.
1825 * iconvdata/ibm1133.h: Likewise.
1826 * iconvdata/ibm1137.h: Likewise.
1827 * iconvdata/ibm1140.h: Likewise.
1828 * iconvdata/ibm1141.h: Likewise.
1829 * iconvdata/ibm1142.h: Likewise.
1830 * iconvdata/ibm1143.h: Likewise.
1831 * iconvdata/ibm1144.h: Likewise.
1832 * iconvdata/ibm1145.h: Likewise.
1833 * iconvdata/ibm1146.h: Likewise.
1834 * iconvdata/ibm1147.h: Likewise.
1835 * iconvdata/ibm1148.h: Likewise.
1836 * iconvdata/ibm1149.h: Likewise.
1837 * iconvdata/ibm1153.h: Likewise.
1838 * iconvdata/ibm1154.h: Likewise.
1839 * iconvdata/ibm1155.h: Likewise.
1840 * iconvdata/ibm1156.h: Likewise.
1841 * iconvdata/ibm1157.h: Likewise.
1842 * iconvdata/ibm1158.h: Likewise.
1843 * iconvdata/ibm1160.h: Likewise.
1844 * iconvdata/ibm1161.h: Likewise.
1845 * iconvdata/ibm1162.h: Likewise.
1846 * iconvdata/ibm1163.h: Likewise.
1847 * iconvdata/ibm1164.h: Likewise.
1848 * iconvdata/ibm1166.h: Likewise.
1849 * iconvdata/ibm1167.h: Likewise.
1850 * iconvdata/ibm12712.h: Likewise.
1851 * iconvdata/ibm1390.h: Likewise.
1852 * iconvdata/ibm1399.h: Likewise.
1853 * iconvdata/ibm16804.h: Likewise.
1854 * iconvdata/ibm4517.h: Likewise.
1855 * iconvdata/ibm4899.h: Likewise.
1856 * iconvdata/ibm4909.h: Likewise.
1857 * iconvdata/ibm4971.h: Likewise.
1858 * iconvdata/ibm5347.h: Likewise.
1859 * iconvdata/ibm803.h: Likewise.
1860 * iconvdata/ibm856.h: Likewise.
1861 * iconvdata/ibm901.h: Likewise.
1862 * iconvdata/ibm902.h: Likewise.
1863 * iconvdata/ibm9030.h: Likewise.
1864 * iconvdata/ibm9066.h: Likewise.
1865 * iconvdata/ibm921.h: Likewise.
1866 * iconvdata/ibm922.h: Likewise.
1867 * iconvdata/ibm9448.h: Likewise.
1868 * iconvdata/isiri-3342.h: Likewise.
1869 * iconvdata/jis0201.h: Likewise.
1870 * include/link.h: Likewise.
1871 * include/netdb.h: Likewise.
1872 * inet/check_native.c: Likewise.
1873 * inet/check_pf.c: Likewise.
1874 * inet/getipv4sourcefilter.c: Likewise.
1875 * inet/getnameinfo.c: Likewise.
1876 * inet/getsourcefilter.c: Likewise.
1877 * inet/htonl.c: Likewise.
1878 * inet/setipv4sourcefilter.c: Likewise.
1879 * inet/setsourcefilter.c: Likewise.
1880 * inet/test-inet6_opt.c: Likewise.
1881 * inet/tst-network.c: Likewise.
1882 * locale/C-collate.c: Likewise.
1883 * locale/C-ctype.c: Likewise.
1884 * locale/C-time.c: Likewise.
1885 * locale/C-translit.h: Likewise.
1886 * locale/loadarchive.c: Likewise.
1887 * locale/programs/3level.h: Likewise.
1888 * locale/programs/charmap.c: Likewise.
1889 * locale/programs/charmap.h: Likewise.
1890 * locale/programs/ld-address.c: Likewise.
1891 * locale/programs/ld-collate.c: Likewise.
1892 * locale/programs/ld-ctype.c: Likewise.
1893 * locale/programs/ld-identification.c: Likewise.
1894 * locale/programs/ld-measurement.c: Likewise.
1895 * locale/programs/ld-messages.c: Likewise.
1896 * locale/programs/ld-monetary.c: Likewise.
1897 * locale/programs/ld-name.c: Likewise.
1898 * locale/programs/ld-numeric.c: Likewise.
1899 * locale/programs/ld-paper.c: Likewise.
1900 * locale/programs/ld-telephone.c: Likewise.
1901 * locale/programs/ld-time.c: Likewise.
1902 * locale/programs/linereader.c: Likewise.
1903 * locale/programs/locale.c: Likewise.
1904 * locale/programs/locarchive.c: Likewise.
1905 * locale/programs/locfile.h: Likewise.
1906 * locale/programs/repertoire.c: Likewise.
1907 * locale/programs/simple-hash.c: Likewise.
1908 * locale/programs/simple-hash.h: Likewise.
1909 * malloc/memusage.c: Likewise.
1910 * malloc/memusagestat.c: Likewise.
1911 * nis/nis_defaults.c: Likewise.
1912 * nis/nis_hash.c: Likewise.
1913 * nis/nis_print.c: Likewise.
1914 * nis/nis_xdr.c: Likewise.
1915 * nscd/connections.c: Likewise.
1916 * nscd/hstcache.c: Likewise.
1917 * nscd/nscd_gethst_r.c: Likewise.
1918 * nscd/nscd_getserv_r.c: Likewise.
1919 * nscd/nscd_helper.c: Likewise.
1920 * nscd/servicescache.c: Likewise.
1921 * nss/makedb.c: Likewise.
1922 * nss/nss_db/db-XXX.c: Likewise.
1923 * nss/nss_db/db-initgroups.c: Likewise.
1924 * nss/nss_db/db-netgrp.c: Likewise.
1925 * nss/nss_files/files-network.c: Likewise.
1926 * nss/nss_files/files-parse.c: Likewise.
1927 * posix/bug-regex5.c: Likewise.
1928 * posix/fnmatch_loop.c: Likewise.
1929 * posix/regcomp.c: Likewise.
1930 * posix/regexec.c: Likewise.
1931 * posix/tst-rfc3484-2.c: Likewise.
1932 * posix/tst-rfc3484-3.c: Likewise.
1933 * posix/tst-rfc3484.c: Likewise.
1934 * resolv/nss_dns/dns-canon.c: Likewise.
1935 * resolv/nss_dns/dns-network.c: Likewise.
1936 * resolv/res_init.c: Likewise.
1937 * resolv/res_mkquery.c: Likewise.
1938 * resolv/tst-aton.c: Likewise.
1939 * stdlib/cxa_atexit.c: Likewise.
1940 * stdlib/cxa_finalize.c: Likewise.
1941 * stdlib/gen-fpioconst.c: Likewise.
1942 * stdlib/strtol_l.c: Likewise.
1943 * string/tst-endian.c: Likewise.
1944 * sunrpc/auth_des.c: Likewise.
1945 * sunrpc/clnt_udp.c: Likewise.
1946 * sunrpc/rtime.c: Likewise.
1947 * sunrpc/svcauth_des.c: Likewise.
1948 * sunrpc/xdr.c: Likewise.
1949 * sunrpc/xdr_intXX_t.c: Likewise.
1950 * sunrpc/xdr_rec.c: Likewise.
1951 * sysdeps/generic/ldconfig.h: Likewise.
1952 * sysdeps/generic/ldsodefs.h: Likewise.
1953 * sysdeps/generic/memusage.h: Likewise.
1954 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1955 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1956 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1957 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1958 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1959 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1960 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1961 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1962 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1964 * sysdeps/posix/getaddrinfo.c: Likewise.
1965 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1966 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1967 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1968 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1969 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1970 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1971 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1972 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1973 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1974 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1975 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1976 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1977 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1978 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1979 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1980 * sysdeps/x86_64/dl-tls.h: Likewise.
1981 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1982 * time/alt_digit.c: Likewise.
1983 * time/era.c: Likewise.
1984 * wcsmbs/tst-c16c32-1.c: Likewise.
1986 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1988 * math/libm-test.inc (struct test_sincos_data): New type.
1989 (RUN_TEST_LOOP_sincos): New macro.
1990 (sincos_test_data): New variable.
1991 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1993 2013-05-16 Richard Henderson <rth@redhat.com>
1995 * math/atest-exp2.c (LIMB64): New macro.
1996 (CONSTSZ): New macro.
1997 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1999 (print_mpn_fp): ... to function scope.
2000 (read_mpn_hex): Remove.
2002 (exp2_mpn): Use mp_log2.
2003 (main): Use mp_exp1.
2005 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2007 * math/libm-test.inc: Remove comment about not testing "inexact"
2009 (INEXACT_EXCEPTION): New macro.
2010 (NO_INEXACT_EXCEPTION): Likewise.
2011 (INVALID_EXCEPTION_OK): Update value.
2012 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2013 (OVERFLOW_EXCEPTION_OK): Likewise.
2014 (UNDERFLOW_EXCEPTION_OK): Likewise.
2015 (IGNORE_ZERO_INF_SIGN): Likewise.
2016 (ERRNO_UNCHANGED): Likewise.
2017 (ERRNO_EDOM): Likewise.
2018 (ERRNO_ERANGE): Likewise.
2019 (test_exceptions): Handle testing "inexact" exceptions.
2020 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2021 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2022 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2023 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2025 (rint_towardzero_test_data): Likewise.
2026 (rint_downward_test_data): Likewise.
2027 (rint_upward_test_data): Likewise.
2029 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2030 with OVERFLOW_EXCEPTION.
2031 (exp10_test_data): Likewise.
2032 (exp2_test_data): Likewise.
2033 (expm1_test_data): Likewise.
2034 (lgamma_test_data): Likewise.
2035 (pow_test_data): Likewise.
2036 (tgamma_test_data): Likewise.
2037 (yn_test_data): Remove duplicate test of overflow.
2039 * math/libm-test.inc (struct test_cc_c_data): New type.
2040 (RUN_TEST_LOOP_cc_c): New macro.
2041 (cpow_test_data): New variable.
2042 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2044 * math/libm-test.inc (struct test_f_L_data): New type.
2045 (RUN_TEST_LOOP_f_L): New macro.
2046 (llrint_test_data): New variable.
2047 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2048 (llrint_tonearest_test_data): New variable.
2049 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2050 (llrint_towardzero_test_data): New variable.
2051 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2052 (llrint_downward_test_data): New variable.
2053 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2054 (llrint_upward_test_data): New variable.
2055 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2056 (llround_test_data): New variable.
2057 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2059 2013-05-13 Peter Collingbourne <pcc@google.com>
2061 * math/atest-exp2.c (get_log2): Remove const attribute.
2063 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2065 * math/libm-test.inc (struct test_f_l_data): New type.
2066 (RUN_TEST_LOOP_f_l): New macro.
2067 (lrint_test_data): New variable.
2068 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2069 (lrint_tonearest_test_data): New variable.
2070 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2071 (lrint_towardzero_test_data): New variable.
2072 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2073 (lrint_downward_test_data): New variable.
2074 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2075 (lrint_upward_test_data): New variable.
2076 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2077 (lround_test_data): New variable.
2078 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2080 2013-05-15 Peter Collingbourne <pcc@google.com>
2082 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2083 (EXTRACT_WORDS64) Use where appropriate.
2084 (INSERT_WORDS64) Likewise.
2086 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2087 constraints with x constraints.
2088 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2090 * malloc/obstack.c (_obstack_compat): Add initializer.
2092 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2094 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2095 si_trapno and add si_addr_lsb to _sifields.sigfault.
2096 (si_trapno): Remove macro.
2097 (si_addr_lsb): Define new macro.
2098 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2100 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2102 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2103 instead of TEST_f_l.
2104 (llrint_test_tonearest): Likewise.
2105 (llrint_test_towardzero): Likewise.
2106 (llrint_test_downward): Likewise.
2107 (llrint_test_upward): Likewise.
2108 (llround_test): Likewise.
2110 * math/libm-test.inc (struct test_f_i_data): Add comment.
2111 (RUN_TEST_LOOP_f_b): New macro.
2112 (RUN_TEST_LOOP_f_b_tg): Likewise.
2113 (finite_test_data): New variable.
2114 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2115 (isfinite_test_data): New variable.
2116 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2117 (isinf_test_data): New variable.
2118 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2119 (isnan_test_data): New variable.
2120 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2121 (isnormal_test_data): New variable.
2122 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2123 (issignaling_test_data): New variable.
2124 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2125 (signbit_test_data): New variable.
2126 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2128 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2129 with INVALID_EXCEPTION.
2130 (acosh_test_data): Likewise.
2131 (asin_test_data): Likewise.
2132 (atanh_test_data): Likewise.
2133 (fmod_test_data): Likewise.
2134 (log_test_data): Likewise.
2135 (log10_test_data): Likewise.
2136 (log2_test_data): Likewise.
2137 (pow_test_data): Likewise.
2138 (sqrt_test_data): Likewise.
2139 (y0_test_data): Likewise.
2140 (y1_test_data): Likewise.
2141 (yn_test_data): Likewise.
2143 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2146 * math/libm-test.inc (struct test_ff_i_data): New type.
2147 (RUN_TEST_LOOP_ff_i_tg): New macro.
2148 (isgreater_test_data): New variable.
2149 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2150 (isgreaterequal_test_data): New variable.
2151 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2152 (isless_test_data): New variable.
2153 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2154 (islessequal_test_data): New variable.
2155 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2156 (islessgreater_test_data): New variable.
2157 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2158 (isunordered_test_data): New variable.
2159 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2161 2013-05-14 David S. Miller <davem@davemloft.net>
2163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2165 2013-05-14 Joseph Myers <joseph@codesourcery.com>
2167 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2169 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2171 (struct test_f_i_data): Change type of max_ulp to int.
2173 * math/libm-test.inc (test_ffI_f1_data): New type.
2174 (RUN_TEST_LOOP_ffI_f1): New macro.
2175 (remquo_test_data): New variable.
2176 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2178 * setjmp/tst-setjmp-fp.c: New file.
2179 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2180 (link-libm): New variable.
2181 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2183 * math/libm-test.inc (struct test_f_i_data): New type.
2184 (RUN_TEST_LOOP_f_i): New macro.
2185 (RUN_TEST_LOOP_f_i_tg): Likewise.
2186 (fpclassify_test_data): New variable.
2187 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2188 (ilogb_test_data): New variable.
2189 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2191 * math/libm-test.inc (scalbln_test): Correct function name in END
2194 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2195 (RUN_TEST_LOOP_fI_f1): New macro.
2196 (frexp_test_data): New variable.
2197 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2199 * math/libm-test.inc (struct test_fF_f1_data): New type.
2200 (RUN_TEST_LOOP_fF_f1): New macro.
2201 (modf_test_data): New variable.
2202 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2204 * math/libm-test.inc (struct test_f_f1_data): New type.
2205 (RUN_TEST_LOOP_f_f1): New macro.
2206 (gamma_test_data): New variable.
2207 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2208 (lgamma_test_data): New variable.
2209 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2211 2013-05-13 Carlos O'Donell <carlos@redhat.com>
2213 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2214 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2215 (main): Comment "tls" pseudo-hwcap.
2217 2013-05-13 Joseph Myers <joseph@codesourcery.com>
2219 * math/libm-test.inc (struct test_fl_f_data): New type.
2220 (RUN_TEST_LOOP_fl_f): New variable.
2221 (scalbln_test_data): New variable.
2222 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2224 * math/libm-test.inc (struct test_fi_f_data): New type.
2225 (RUN_TEST_LOOP_fi_f): New macro.
2226 (ldexp_test_data): New variable.
2227 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2228 (scalbn_test_data): New variable.
2229 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2231 * math/libm-test.inc (struct test_c_f_data): New type.
2232 (RUN_TEST_LOOP_c_f): New macro.
2233 (cabs_test_data): New variable.
2234 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2235 (carg_test_data): New variable.
2236 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2237 (cimag_test_data): New variable.
2238 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2239 (creal_test_data): New variable.
2240 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2242 * math/libm-test.inc (struct test_if_f_data): New type.
2243 (RUN_TEST_LOOP_if_f): New macro.
2244 (jn_test_data): New variable.
2245 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2246 (yn_test_data): New variable.
2247 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2249 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2251 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2253 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2254 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2256 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2258 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2259 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2260 (bench-deps): Add bench-timing.h.
2261 * benchtests-bench-skeleton.c: Include bench-timing.h.
2262 (main): Use TIMING_* macros instead of clock_gettime.
2263 * benchtests/bench-timing.h: New file.
2266 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2267 Renamed from _LIB_VERSION.
2268 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2270 2013-05-12 Joseph Myers <joseph@codesourcery.com>
2272 * math/libm-test.inc (struct test_fff_f_data): New type.
2273 (RUN_TEST_LOOP_fff_f): New macro.
2274 (fma_test_data): New variable.
2275 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2276 (fma_towardzero_test_data): New variable.
2277 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2278 (fma_downward_test_data): New variable.
2279 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2280 (fma_upward_test_data): New variable.
2281 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2283 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2284 (struct test_c_c_data): New type.
2285 (RUN_TEST_LOOP_c_c): New macro.
2286 (cacos_test_data): New variable.
2287 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2288 (cacosh_test_data): New variable.
2289 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2290 (casin_test_data): New variable.
2291 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2292 (casinh_test_data): New variable.
2293 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2294 (catan_test_data): New variable.
2295 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2296 (catanh_test_data): New variable.
2297 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2298 (ccos_test_data): New variable.
2299 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2300 (ccosh_test_data): New variable.
2301 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2302 (cexp_test_data): New variable.
2303 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2304 (clog_test_data): New variable.
2305 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2306 (clog10_test_data): New variable.
2307 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2308 (conj_test_data): New variable.
2309 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2310 (cproj_test_data): New variable.
2311 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2312 (csin_test_data): New variable.
2313 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2314 (csinh_test_data): New variable.
2315 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2316 (csqrt_test_data): New variable.
2317 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2318 (ctan_test_data): New variable.
2319 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2320 (ctan_tonearest_test_data): New variable.
2321 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2322 (ctan_towardzero_test_data): New variable.
2323 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2324 (ctan_downward_test_data): New variable.
2325 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2326 (ctan_upward_test_data): New variable.
2327 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2328 (ctanh_test_data): New variable.
2329 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2330 (ctanh_tonearest_test_data): New variable.
2331 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2332 (ctanh_towardzero_test_data): New variable.
2333 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2334 (ctanh_downward_test_data): New variable.
2335 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2336 (ctanh_upward_test_data): New variable.
2337 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2338 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2341 * math/libm-test.inc (struct test_ff_f_data): New type.
2342 (struct test_ff_f_data_nexttoward): Likewise.
2343 (RUN_TEST_LOOP_2_f): New macro.
2344 (RUN_TEST_LOOP_ff_f): Likewise.
2345 (atan2_test_data): New variable.
2346 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2347 (copysign_test_data): New variable.
2348 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2349 (fdim_test_data): New variable.
2350 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2351 (fmax_test_data): New variable.
2352 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2353 (fmin_test_data): New variable.
2354 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2355 (fmod_test_data): New variable.
2356 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2357 (hypot_test_data): New variable.
2358 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2359 (nextafter_test_data): New variable.
2360 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2361 (nexttoward_test_data): New variable.
2362 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2363 (pow_test_data): New variable.
2364 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2365 (pow_tonearest_test_data): New variable.
2366 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2367 (pow_towardzero_test_data): New variable.
2368 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2369 (pow_downward_test_data): New variable.
2370 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2371 (pow_upward_test_data): New variable.
2372 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2373 (remainder_test_data): New variable.
2374 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2375 (scalb_test_data): New variable.
2376 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2377 * sysdeps/i386/fpu/libm-test-ulps: Update.
2379 2013-05-11 Joseph Myers <joseph@codesourcery.com>
2381 * math/libm-test.inc (fma_test): Use max_value instead of local
2383 (nextafter_test): Likewise.
2385 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2386 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2387 (acos_downward_test_data): New variable.
2388 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2389 (acos_upward_test_data): New variable.
2390 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2391 (acosh_test_data): New variable.
2392 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2393 (asin_test_data): New variable.
2394 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2395 (asin_tonearest_test_data): New variable.
2396 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2397 (asin_towardzero_test_data): New variable.
2398 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2399 (asin_downward_test_data): New variable.
2400 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2401 (asin_upward_test_data): New variable.
2402 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2403 (asinh_test_data): New variable.
2404 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2405 (atan_test_data): New variable.
2406 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2407 (atanh_test_data): New variable.
2408 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2409 (cbrt_test_data): New variable.
2410 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2411 (ceil_test_data): New variable.
2412 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2413 (cos_test_data): New variable.
2414 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2415 (cos_tonearest_test_data): New variable.
2416 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2417 (cos_towardzero_test_data): New variable.
2418 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2419 (cos_downward_test_data): New variable.
2420 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2421 (cos_upward_test_data): New variable.
2422 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2423 (cosh_test_data): New variable.
2424 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2425 (cosh_tonearest_test_data): New variable.
2426 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2427 (cosh_towardzero_test_data): New variable.
2428 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2429 (cosh_downward_test_data): New variable.
2430 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2431 (cosh_upward_test_data): New variable.
2432 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2433 (erf_test_data): New variable.
2434 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2435 (erfc_test_data): New variable.
2436 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2437 (exp_test_data): New variable.
2438 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2439 (exp_tonearest_test_data): New variable.
2440 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2441 (exp_towardzero_test_data): New variable.
2442 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2443 (exp_downward_test_data): New variable.
2444 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2445 (exp_upward_test_data): New variable.
2446 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2447 (exp10_test_data): New variable.
2448 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2449 (exp2_test_data): New variable.
2450 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2451 (expm1_test_data): New variable.
2452 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2453 (fabs_test_data): New variable.
2454 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2455 (floor_test_data): New variable.
2456 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2457 (j0_test_data): New variable.
2458 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2459 (j1_test_data): New variable.
2460 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2461 (log_test_data): New variable.
2462 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2463 (log10_test_data): New variable.
2464 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2465 (log1p_test_data): New variable.
2466 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2467 (log2_test_data): New variable.
2468 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2469 (logb_test_data): New variable.
2470 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2471 (logb_downward_test_data): New variable.
2472 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2473 (nearbyint_test_data): New variable.
2474 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2475 (rint_test_data): New variable.
2476 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2477 (rint_tonearest_test_data): New variable.
2478 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2479 (rint_towardzero_test_data): New variable.
2480 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2481 (rint_downward_test_data): New variable.
2482 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2483 (rint_upward_test_data): New variable.
2484 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2485 (round_test_data): New variable.
2486 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2487 (sin_test_data): New variable.
2488 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2489 (sin_tonearest_test_data): New variable.
2490 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2491 (sin_towardzero_test_data): New variable.
2492 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2493 (sin_downward_test_data): New variable.
2494 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2495 (sin_upward_test_data): New variable.
2496 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2497 (sinh_test_data): New variable.
2498 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2499 (sinh_tonearest_test_data): New variable.
2500 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2501 (sinh_towardzero_test_data): New variable.
2502 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2503 (sinh_downward_test_data): New variable.
2504 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2505 (sinh_upward_test_data): New variable.
2506 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2507 (sqrt_test_data): New variable.
2508 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2509 (tan_test_data): New variable.
2510 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2511 (tan_tonearest_test_data): New variable.
2512 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2513 (tan_towardzero_test_data): New variable.
2514 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2515 (tan_downward_test_data): New variable.
2516 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2517 (tan_upward_test_data): New variable.
2518 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2519 (tanh_test_data): New variable.
2520 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2521 (tgamma_test_data): New variable.
2522 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2523 (trunc_test_data): New variable.
2524 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2525 (y0_test_data): New variable.
2526 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2527 (y1_test_data): New variable.
2528 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2529 (significand_test_data): New variable.
2530 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2532 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2535 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2537 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2539 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2541 2013-05-10 Andreas Jaeger <aj@suse.de>
2544 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2545 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2547 2013-05-10 Joseph Myers <joseph@codesourcery.com>
2549 * math/gen-libm-test.pl (adjust_arg): New function.
2550 (special_functions): Handle generating output in both functions
2552 (parse_args): Likewise.
2553 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2554 $in_func argument to parse_args.
2555 * math/libm-test.inc (struct test_f_f_data): New type.
2556 (IF_ROUND_INIT_): New macro.
2557 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2558 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2559 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2560 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2561 (ROUND_RESTORE_): Likewise.
2562 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2563 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2564 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2565 (ROUND_RESTORE_FE_UPWARD): Likewise.
2566 (RUN_TEST_LOOP_f_f): New macro.
2567 (acos_test_data): New variable.
2568 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2569 (acos_tonearest_test_data): New variable.
2570 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2572 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2574 * benchtests/bench-skeleton.c (startup): Fix coding style.
2576 2013-05-10 Joseph Myers <joseph@codesourcery.com>
2579 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2580 negative infinity argument.
2581 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2582 negative infinity argument.
2583 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2584 negative infinity argument.
2585 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2588 2013-05-10 Florian Weimer <fweimer@redhat.com>
2590 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2591 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2592 * iconv/iconv_prog.c (main): Likewise.
2593 * locale/programs/charmap-dir.c (charmap_readdir)
2594 (fopen_uncompressed): Likewise.
2595 * locale/programs/locfile.c (siblings_uncached)
2596 (write_locale_data): Use lstat64 instead of lstat.
2597 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2600 2013-05-10 Andreas Jaeger <aj@suse.de>
2603 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2607 2013-05-09 Carlos O'Donell <carlos@redhat.com>
2609 * elf/dl-close.c (_dl_close_worker): Add comments.
2611 2013-05-09 Joseph Myers <joseph@codesourcery.com>
2614 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2616 (__ieee754_rem_pio2l): Update comments.
2619 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2621 (__ieee754_rem_pio2l): Update comments.
2623 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2624 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2626 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2629 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2630 (M_PI_34_LOG10El): Likewise.
2631 (M_PI2_LOG10El): Likewise.
2632 (M_PI4_LOG10El): Likewise.
2633 (M_PI_LOG10El): Likewise.
2635 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2639 2013-05-08 Joseph Myers <joseph@codesourcery.com>
2641 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2642 (MINUS_ZERO_INIT): Likewise.
2643 (PLUS_INFTY_INIT): Likewise.
2644 (MINUS_INFTY_INIT): Likewise.
2645 (QNAN_VALUE_INIT): Likewise.
2646 (MAX_VALUE_INIT): Likewise.
2647 (MIN_VALUE_INIT): Likewise.
2648 (MIN_SUBNORM_VALUE_INIT): Likewise.
2649 (plus_zero): Initialize with PLUS_ZERO_INIT.
2650 (minus_zero): Initialize with MINUS_ZERO_INIT.
2651 (plus_infty): Initialize with PLUS_INFTY_INIT.
2652 (minus_infty): Initialize with MINUS_INFTY_INIT.
2653 (qnan_value): Initialize with QNAN_VALUE_INIT.
2654 (max_value): Initialize with MAX_VALUE_INIT.
2655 (min_value): Initialize with MIN_VALUE_INIT.
2656 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2658 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2659 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2660 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2661 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2663 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2664 (RUN_TEST_2_f): Likewise.
2665 (RUN_TEST_ff_f): Likewise.
2666 (RUN_TEST_fi_f): Likewise.
2667 (RUN_TEST_fl_f): Likewise.
2668 (RUN_TEST_fff_f): Likewise.
2669 (RUN_TEST_c_f): Likewise.
2670 (RUN_TEST_f_f1): Likewise.
2671 (RUN_TEST_fF_f1): Likewise.
2672 (RUN_TEST_fI_f1): Likewise.
2673 (RUN_TEST_ffI_f1): Likewise.
2674 (RUN_TEST_c_c): Likewise.
2675 (RUN_TEST_cc_c): Likewise.
2676 (RUN_TEST_f_i): Likewise.
2677 (RUN_TEST_f_i_tg): Likewise.
2678 (RUN_TEST_ff_i_tg): Likewise.
2679 (RUN_TEST_f_b): Likewise.
2680 (RUN_TEST_f_b_tg): Likewise.
2681 (RUN_TEST_f_l): Likewise.
2682 (RUN_TEST_f_L): Likewise.
2683 (RUN_TEST_sincos): Likewise.
2684 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2685 whether to show exceptions. Do not include ");\n" in return
2687 (special_functions): Output call to RUN_TEST_sincos instead of
2688 check_float calls. Update calls to new_test.
2689 (parse_args): Output call to single RUN_TEST_* macro instead of
2690 check_* calls and other assignments. Update calls to new_test.
2696 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2697 input to result for tgamma overflow.
2698 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2699 (gamma_coeff): New variable.
2700 (NCOEFF): New macro.
2701 (gamma_positive): New function.
2702 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2703 underflow here. Use gamma_positive instead of exp (lgamma) for
2705 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2706 (gamma_coeff): New variable.
2707 (NCOEFF): New macro.
2708 (gammaf_positive): New function.
2709 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2710 underflow here. Use gamma_positive instead of exp (lgamma) for
2712 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2713 (gamma_coeff): New variable.
2714 (NCOEFF): New macro.
2715 (gammal_positive): New function.
2716 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2717 underflow here. Use gamma_positive instead of exp (lgamma) for
2719 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2720 (gamma_coeff): New variable.
2721 (NCOEFF): New macro.
2722 (gammal_positive): New function.
2723 (__ieee754_gammal_r): Handle positive infinity, overflow and
2724 underflow here. Handle NaN the same as positive infinity. Remove
2725 check x < 0xffffffff for negative integers. Use gamma_positive
2726 instead of exp (lgamma) for other arguments.
2727 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2728 (gamma_coeff): New variable.
2729 (NCOEFF): New macro.
2730 (gammal_positive): New function.
2731 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2732 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2733 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2734 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2735 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2736 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2737 * sysdeps/generic/math_private.h (__gamma_productf): New
2739 (__gamma_product): Likewise.
2740 (__gamma_productl): Likewise.
2741 * math/Makefile (libm-calls): Add gamma_product.
2742 * math/libm-test.inc (tgamma_test): Add more tests.
2743 * sysdeps/i386/fpu/libm-test-ulps: Update.
2744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2746 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
2748 * benchtests/bench-skeleton.c (main): Preheat CPU.
2750 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2752 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2754 2013-05-07 Roland McGrath <roland@hack.frob.com>
2756 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2757 and _dl_skip_args_internal.
2759 2013-05-07 Carlos O'Donell <carlos@redhat.com>
2761 * manual/message.texi (Message Translation): Talk about users.
2762 Message to key mapping impacts design.
2764 2013-05-06 Roland McGrath <roland@hack.frob.com>
2766 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2768 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2770 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2771 * sysdeps/wordsize-64/glob64.c: ... here.
2773 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2774 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2777 * debug/getlogin_r_chk.c: Moved to ...
2778 * login/getlogin_r_chk.c: ... here.
2779 * debug/Makefile (routines): Move getlogin_r_chk to ...
2780 * login/Makefile (routines): ... here.
2781 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2782 * login/Versions (libc: GLIBC_2.4): ... here.
2784 * io/poll.c (__poll): Renamed from poll.
2785 Add libc_hidden_def.
2786 (poll): Define as weak alias.
2788 * debug/ptsname_r_chk.c: Moved to ...
2789 * login/ptsname_r_chk.c: ... here.
2790 * debug/Makefile (routines): Move ptsname_r_chk to ...
2791 * login/Makefile (routines): ... here.
2792 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2793 * login/Versions (libc: GLIBC_2.4): ... here.
2795 * posix/getlogin.c: Moved to ...
2796 * login/getlogin.c: ... here.
2797 * posix/getlogin_r.c: Moved to ...
2798 * login/getlogin_r.c: ... here.
2799 * posix/getlogin_r.c: Moved to ...
2800 * login/getlogin_r.c: ... here.
2801 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2802 * login/Makefile (routines): ... here.
2803 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2804 * login/Versions (libc: GLIBC_2.0): ... here.
2806 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2807 (setrlimit): Define as weak alias.
2809 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2810 Call __ names for open, ftruncate, and close.
2811 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2812 (truncate): Define as weak alias.
2814 2013-05-06 Joseph Myers <joseph@codesourcery.com>
2816 * math/gen-libm-test.pl (parse_args): Initialize x before each
2817 test of frexp, modf and remquo.
2819 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2822 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2826 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2828 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2830 2013-05-06 Roland McGrath <roland@hack.frob.com>
2832 * elf/dl-writev.h: New file.
2833 * elf/dl-misc.c: Include it.
2834 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2835 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2837 2013-05-04 Joseph Myers <joseph@codesourcery.com>
2839 * math/libm-test.inc (noXFails): Remove variable.
2840 (noXPasses): Likewise.
2841 (BUILD_COMPLEX_INT): Remove macro.
2842 (print_screen): Remove xfail argument.
2843 (print_screen_max_error): Likewise.
2844 (update_stats): Likewise.
2845 (print_max_error): Likewise. Update calls to other affected
2847 (print_complex_max_error): Likewise.
2848 (test_single_exception): Update calls to print_screen.
2849 (test_single_errno): Likewise.
2850 (check_float_internal): Remove xfail argument. Update calls to
2851 other affected functions.
2852 (check_float): Likewise.
2853 (check_complex): Likewise.
2854 (check_int): Likewise.
2855 (check_long): Likewise.
2856 (check_bool): Likewise.
2857 (check_longlong): Likewise.
2858 (main): Don't print noXFails and noXPasses.
2859 * math/gen-libm-test.pl (top level): Don't mention expected
2860 failure handling in comment.
2861 (new_test): Don't handle expected failures.
2862 (parse_args): Don't mention expected failure handling in comment.
2863 (generate_testfile): Don't handle expected failures.
2864 (parse_ulps): Likewise.
2865 (print_ulps_file): Likewise.
2866 (get_failure): Remove function.
2867 (output_test): Don't handle expected failures.
2868 * make/README.libm-test: Don't mention expected failure handling.
2870 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2871 (minus_zero): Likewise.
2872 (plus_infty): Likewise.
2873 (minus_infty): Likewise.
2874 (qnan_value): Likewise.
2875 (max_value): Likewise.
2876 (min_value): Likewise.
2877 (min_subnorm_value): Likewise.
2878 (initialize): Do not initialize those variables dynamically.
2880 2013-05-03 Roland McGrath <roland@hack.frob.com>
2882 * io/open.c (__open_2): Moved to ...
2883 * io/open_2.c: ... this new file.
2884 * io/open64.c (__open64_2): Moved to ...
2885 * io/open64_2.c: ... this new file.
2886 * io/openat.c (__openat_2): Moved to ...
2887 * io/openat_2.c: ... this new file.
2888 * io/openat64.c (__openat64_2): Moved to ...
2889 * io/openat64_2.c: ... this new file.
2890 * io/Makefile (routines): Add them.
2891 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2892 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2893 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2894 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2895 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2896 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2897 (__openat64): Add hidden_ver.
2898 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2899 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2901 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2902 Separately conditionalize setting of GLRO(dl_sysinfo) so
2903 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2904 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2906 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2908 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2909 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2911 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2912 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2913 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2914 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2915 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2917 2013-05-03 Joseph Myers <joseph@codesourcery.com>
2919 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2922 * math/libm-test.inc (hypot_test): Do not use
2923 IGNORE_ZERO_INF_SIGN.
2925 2013-05-03 Andreas Jaeger <aj@suse.de>
2927 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2929 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2930 (PF_MAX): Adjust for VSOCK change.
2932 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2936 2013-05-02 Carlos O'Donell <carlos@redhat.com>
2939 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2940 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2941 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2943 2013-05-02 David S. Miller <davem@davemloft.net>
2945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2947 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
2949 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2951 2013-05-01 Roland McGrath <roland@hack.frob.com>
2953 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2955 2013-05-01 Richard Smith <richard@metafoo.co.uk>
2958 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2959 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2960 Use __attribute__ ((__gnu_inline__)).
2961 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2962 Don't use __attribute__ ((__gnu_inline__)).
2964 2013-05-01 Joseph Myers <joseph@codesourcery.com>
2967 * math/s_catan.c (__catan): Handle small real or imaginary part of
2968 input specially to avoid spurious underflow.
2969 * math/s_catanf.c (__catanf): Likewise.
2970 * math/s_catanh.c (__catanh): Likewise.
2971 * math/s_catanhf.c (__catanhf): Likewise.
2972 * math/s_catanhl.c (__catanhl): Likewise.
2973 * math/s_catanl.c (__catanl): Likewise.
2974 * math/libm-test.inc (catan_test): Add more tests.
2975 (catanh_test): Likewise.
2976 * sysdeps/i386/fpu/libm-test-ulps: Update.
2977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2979 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2983 2013-04-30 Joseph Myers <joseph@codesourcery.com>
2986 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2987 accurately for denominator in atan2.
2988 * math/s_catanf.c (__catanf): Likewise.
2989 * math/s_catanh.c (__catanh): Likewise.
2990 * math/s_catanhf.c (__catanhf): Likewise.
2991 * math/s_catanhl.c (__catanhl): Likewise.
2992 * math/s_catanl.c (__catanl): Likewise.
2993 * math/libm-test.inc (catan_test): Add more tests.
2994 (catanh_test): Likewise.
2995 * sysdeps/i386/fpu/libm-test-ulps: Update.
2996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2998 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3000 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3002 * benchtests/Makefile (bench): Remove slow benchmarks.
3003 * benchtests/atan-inputs: Add slow benchmark inputs.
3004 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3005 (BENCH_FUNC): Accept variant offset.
3007 * benchtests/bench-skeleton.c (main): Run benchmark for each
3009 * benchtests/cos-inputs: Add slow benchmark inputs.
3010 * benchtests/exp-inputs: Likewise.
3011 * benchtests/pow-inputs: Likewise.
3012 * benchtests/sin-inputs: Likewise.
3013 * benchtests/slowatan-inputs: Remove.
3014 * benchtests/slowatan.c: Remove.
3015 * benchtests/slowcos-inputs: Remove.
3016 * benchtests/slowcos.c: Remove.
3017 * benchtests/slowexp-inputs: Remove.
3018 * benchtests/slowexp.c: Remove.
3019 * benchtests/slowpow-inputs: Remove.
3020 * benchtests/slowpow.c: Remove.
3021 * benchtests/slowsin-inputs: Remove.
3022 * benchtests/slowsin.c: Remove.
3023 * benchtests/slowtan-inputs: Remove.
3024 * benchtests/slowtan.c: Remove.
3025 * benchtests/tan-inputs: Add slow benchmark inputs.
3026 * scripts/bench.pl: Parse comments and directives.
3028 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3030 ($(objpfx)bench-%.c): Remove *-ITER.
3031 * benchtests/bench-modf.c: Remove definition of ITER.
3032 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3033 (main): Loop for DURATION seconds instead of fixed number of
3035 * scripts/bench.pl: Don't expect iterations in parameters.
3037 2013-04-29 Roland McGrath <roland@hack.frob.com>
3039 * io/fchdir.c (__fchdir): Renamed from fchdir.
3040 (fchdir): Define as weak alias.
3042 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3044 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3045 (ERRNO_EDOM): Likewise.
3046 (ERRNO_ERANGE): Likewise.
3047 (noErrnoTests): New variable.
3048 (init_max_error): Set errno to 0.
3049 (test_single_errno): New function.
3050 (test_errno): Likewise.
3051 (check_float_internal): Call test_errno. Set errno to 0.
3052 (check_complex): Refer to errno tests in comment.
3053 (check_int): Call test_errno. Set errno to 0.
3054 (check_long): Likewise.
3055 (check_bool): Likewise.
3056 (check_longlong): Likewise.
3057 (cos_test): Use ERRNO_* flags for errno tests instead of
3059 (expm1_test): Likewise.
3060 (fmod_test): Likewise.
3061 (ilogb_test): Likewise.
3062 (lgamma_test): Likewise.
3063 (pow_test): Likewise.
3064 (remainder_test): Likewise.
3065 (sin_test): Likewise.
3066 (tan_test): Likewise.
3067 (yn_test): Likewise.
3068 (initialize): Set errno to 0.
3069 (main): Print number of errno tests.
3070 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3072 2013-04-29 Andreas Jaeger <aj@suse.de>
3075 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3079 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3080 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3084 * stdlib/random.c (__initstate): Return NULL if
3088 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3089 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3092 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3096 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3098 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3099 of individual tests.
3100 (casin_test): Likewise.
3101 (casinh_test): Likewise.
3103 2013-04-27 Joseph Myers <joseph@codesourcery.com>
3106 * math/s_catan.c (__catan): Handle arguments with large real or
3107 imaginary part separately without squaring.
3108 * math/s_catanf.c (__catanf): Likewise.
3109 * math/s_catanh.c (__catanh): Likewise.
3110 * math/s_catanhf.c (__catanhf): Likewise.
3111 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3113 (__catanhl): Handle arguments with large real or imaginary part
3114 separately without squaring.
3115 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3117 (__catanl): Handle arguments with large real or imaginary part
3118 separately without squaring.
3119 * math/libm-test.inc (catan_test): Add more tests.
3120 (catanh_test): Likewise.
3121 * sysdeps/i386/fpu/libm-test-ulps: Update.
3122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3124 2013-04-27 Andreas Jaeger <aj@suse.de>
3127 * stdlib/stdlib.h: Update guards for qecvt.
3128 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3131 2013-04-27 Allan McRae <allan@archlinux.org>
3133 * sysdeps/i386/fpu/libm-test-ulps: Update.
3135 2013-04-26 Joseph Myers <joseph@codesourcery.com>
3138 * math/s_catan.c: Include <float.h>.
3139 (__catan): Ensure underflow exception occurs for underflowed
3141 * math/s_catanf.c: Include <float.h>.
3142 (__catanf): Ensure underflow exception occurs for underflowed
3144 * math/s_catanh.c: Include <float.h>.
3145 (__catanh): Ensure underflow exception occurs for underflowed
3147 * math/s_catanhf.c: Include <float.h>.
3148 (__catanhf): Ensure underflow exception occurs for underflowed
3150 * math/s_catanhl.c: Include <float.h>.
3151 (__catanhl): Ensure underflow exception occurs for underflowed
3153 * math/s_catanl.c: Include <float.h>.
3154 (__catanl): Ensure underflow exception occurs for underflowed
3156 * math/libm-test.inc (catan_test): Add more tests.
3157 (catanh_test): Likewise.
3160 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3162 * math/s_ccoshf.c (__ccoshf): Likewise.
3163 * math/s_ccoshl.c (__ccoshl): Likewise.
3164 * math/s_csin.c (__csin): Likewise.
3165 * math/s_csinf.c (__csinf): Likewise.
3166 * math/s_csinh.c (__csinh): Likewise.
3167 * math/s_csinhf.c (__csinhf): Likewise.
3168 * math/s_csinhl.c (__csinhl): Likewise.
3169 * math/s_csinl.c (__csinl): Likewise.
3170 * math/libm-test.inc (ccos_test): Add more tests.
3171 (ccosh_test): Likewise.
3172 (csin_test): Likewise.
3173 (csinh_test): Likewise.
3175 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3177 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3178 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3179 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3180 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3181 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3182 powerpc/power5+/fpu folders.
3183 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3186 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3190 2013-04-25 Joseph Myers <joseph@codesourcery.com>
3192 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3193 additions to variable.
3194 [$(config-machine) = x86_64] (modules-names): Likewise.
3195 ($(objpfx)tst-audit3): Remove dependency.
3196 ($(objpfx)tst-audit3.out): Likewise.
3197 ($(objpfx)tst-audit4): Likewise.
3198 ($(objpfx)tst-audit4.out): Likewise.
3199 ($(objpfx)tst-audit5): Likewise.
3200 ($(objpfx)tst-audit5.out): Likewise.
3201 ($(objpfx)tst-audit6): Likewise.
3202 ($(objpfx)tst-audit6.out): Likewise.
3203 ($(objpfx)tst-audit7): Likewise.
3204 ($(objpfx)tst-audit7.out): Likewise.
3205 (tst-audit3-ENV): Remove variable.
3206 (tst-audit4-ENV): Likewise.
3207 (tst-audit5-ENV): Likewise.
3208 (tst-audit6-ENV): Likewise.
3209 (tst-audit7-ENV): Likewise.
3210 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3211 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3212 addition to variable.
3213 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3214 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3215 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3216 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3217 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3218 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3219 tst-audit3, tst-audit4 and tst-audit5.
3220 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3221 tst-audit6 and tst-audit7.
3222 [$(subdir) = elf] (modules-names): Add audit modules for those
3224 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3225 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3226 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3227 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3228 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3229 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3230 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3231 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3232 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3233 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3234 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3235 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3236 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3237 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3238 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3239 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3241 [$(subdir) = elf && $(config-cflags-avx) = yes]
3242 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3243 [$(subdir) = elf && $(config-cflags-avx) = yes]
3244 (CFLAGS-tst-auditmod4a.c): Likewise.
3245 [$(subdir) = elf && $(config-cflags-avx) = yes]
3246 (CFLAGS-tst-auditmod4b.c): Likewise.
3247 [$(subdir) = elf && $(config-cflags-avx) = yes]
3248 (CFLAGS-tst-auditmod6b.c): Likewise.
3249 [$(subdir) = elf && $(config-cflags-avx) = yes]
3250 (CFLAGS-tst-auditmod6c.c): Likewise.
3251 [$(subdir) = elf && $(config-cflags-avx) = yes]
3252 (CFLAGS-tst-auditmod7b.c): Likewise.
3253 * elf/tst-audit3.c: Move to ...
3254 * sysdeps/x86_64/tst-audit3.c: ... here.
3255 * elf/tst-audit4.c: Move to ...
3256 * sysdeps/x86_64/tst-audit4.c: ... here.
3257 * elf/tst-audit5.c: Move to ...
3258 * sysdeps/x86_64/tst-audit5.c: ... here.
3259 * elf/tst-audit6.c: Move to ...
3260 * sysdeps/x86_64/tst-audit6.c: ... here.
3261 * elf/tst-audit7.c: Move to ...
3262 * sysdeps/x86_64/tst-audit7.c: ... here.
3263 * elf/tst-auditmod3a.c: Move to ...
3264 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3265 * elf/tst-auditmod3b.c: Move to ...
3266 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3267 * elf/tst-auditmod4a.c: Move to ...
3268 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3269 * elf/tst-auditmod4b.c: Move to ...
3270 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3271 * elf/tst-auditmod5a.c: Move to ...
3272 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3273 * elf/tst-auditmod5b.c: Move to ...
3274 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3275 * elf/tst-auditmod6a.c: Move to ...
3276 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3277 * elf/tst-auditmod6b.c: Move to ...
3278 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3279 * elf/tst-auditmod6c.c: Move to ...
3280 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3281 * elf/tst-auditmod7a.c: Move to ...
3282 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3283 * elf/tst-auditmod7b.c: Move to ...
3284 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3286 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3289 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3290 define unconditionally.
3291 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3292 define unconditionally.
3293 (INT8_C, INT16_C, etc.): Likewise.
3295 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3297 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3298 __ehdr_start with hidden visibility.
3300 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3302 2013-04-24 Carlos O'Donell <carlos@redhat.com>
3304 * math/libm-test.inc (cos_test): Use accurate hex constants.
3305 (sincost_test): Likewise.
3307 2013-04-24 Joseph Myers <joseph@codesourcery.com>
3309 * math/libm-test.inc (catan_test): Add more tests.
3310 (catanh_test): Likewise.
3312 * math/s_catanf.c (__catanf): Use suffixed floating-point
3314 * math/s_catanhf.c (__catanhf): Likewise.
3315 * math/s_catanhl.c (__catanhl): Likewise.
3316 * math/s_catanl.c (__catanl): Likewise.
3319 * math/s_catan.c (__catan): Calculate imaginary part of result
3320 with log1p not log unless computing log of number close to 0.
3321 * math/s_catanf.c (__catanf): Likewise.
3322 * math/s_catanl.c (__catanl): Likewise.
3323 * math/s_catanh.c (__catanh): Calculate real part of result with
3324 log1p not log unless computing log of number close to 0.
3325 * math/s_catanhf.c (__catanhf): Likewise.
3326 * math/s_catanhl.c (__catanhl): Likewise.
3327 * math/libm-test.inc (catan_test): Add more tests.
3328 (catanh_test): Likewise.
3329 * sysdeps/i386/fpu/libm-test-ulps: Update.
3330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3332 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3334 * benchtests/Makefile: Mention files in which fast and slow
3335 paths of math functions are implemented.
3337 2013-04-23 Roland McGrath <roland@hack.frob.com>
3339 * sysdeps/posix/timespec_get.c: New file.
3341 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3343 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3345 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3347 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3348 powerpc/power5/fpu folders.
3349 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3350 * benchtests/Makefile: Add modf testcase.
3351 * benchtests/bench-modf.c: New file: Benchmark test for mo
3353 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3356 * time/Makefile (tests): Add tst-strptime-whitespace.
3357 * time/strptime_l.c (get_number): Use ISSPACE.
3358 (__strptime_internal): Likewise.
3359 * time/tst-strptime-whitespace.c: New test case.
3361 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3363 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3365 (_nss_files_init): Set it here.
3367 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3369 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3370 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3373 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3375 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3377 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3379 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3382 2013-04-21 David S. Miller <davem@davemloft.net>
3384 * po/ru.po: Update Russion translation from translation project.
3386 2013-04-17 Adam Conrad <adconrad@0c3.net>
3388 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3391 2013-04-17 Carlos O'Donell <carlos@redhat.com>
3393 * configure.in: Remove i386 configure warning. Remove i386 case.
3394 * configure: Regenerate.
3395 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3396 Add example to error message.
3397 * sysdeps/i386/configure: Regenerate.
3399 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3401 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3403 * benchtests/cos-inputs: New file.
3404 * benchtests/slowcos-inputs: New file.
3405 * benchtests/slowcos.c: New file.
3406 * benchtests/slowtan-inputs: New file.
3407 * benchtests/slowtan.c: New file.
3408 * benchtests/tan-inputs: New file.
3410 2013-04-16 Roland McGrath <roland@hack.frob.com>
3412 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3415 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3417 * benchtests/Makefile: Include cppflags-iterator.mk to add
3418 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3420 * Makefile.in (bench-clean): New target.
3421 * benchtests/Makefile (bench-clean): Likewise.
3423 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3425 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3427 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3429 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3431 2013-04-15 Andreas Schwab <schwab@suse.de>
3433 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3434 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3435 * nscd/pwdcache.c (cache_addpw): Likewise.
3436 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3439 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3441 * benchtests/Makefile (bench): Write all output to
3442 bench-out.tmp together.
3444 2013-04-15 Andreas Schwab <schwab@suse.de>
3446 * nscd/nscd.c (main): Don't fork again after closing files.
3448 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3450 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3452 * benchtests/Rules (bench-deps): Collect dependencies into a
3453 single variable. Add Makefile to dependencies.
3454 ($(objpfx)bench-%.c): Depend on bench-deps.
3456 2013-04-12 Roland McGrath <roland@hack.frob.com>
3457 Xavier Roche <roche+kml2@exalead.com>
3460 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3461 just that it's a file descriptor.
3462 * manual/llio.texi (Synchronizing AIO Operations): Update description
3463 for EBADF error from aio_fsync.
3465 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3467 * Rules (bench): Move target definition...
3468 * benchtests/Makefile: ... here.
3470 2013-04-11 Carlos O'Donell <carlos@redhat.com>
3472 * math/libm-test.inc (cos_test): Fix PI/2 test.
3473 (sincos_test): Likewise.
3474 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3475 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3477 2013-04-11 Andreas Schwab <schwab@suse.de>
3480 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3481 accept exponent character only when digits were seen.
3482 * stdio-common/Makefile (tests): Add bug26.
3483 * stdio-common/bug26.c: New file.
3486 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3489 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3491 * Makeconfig (rtld-prefix): Define built linker prefix.
3492 * Rules (run-bench): Use it.
3493 * math/Makefile (run-regen-ulps): Likewise.
3495 * Rules (bench): Remove eval.
3497 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3498 Roland McGrath <roland@hack.frob.com>
3499 Ondrej Bilka <neleai@seznam.cz>
3502 * time/getdate.c: Include ctype.h and alloca.h.
3503 (__getdate_r): Trim leading and trailing spaces of input.
3504 * time/tst-getdate.c (tests): Add tests with leading and
3507 2013-04-08 Roland McGrath <roland@hack.frob.com>
3510 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3511 when computing value.
3513 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3515 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3516 Use testrun.sh to run libm tests.
3519 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3521 2013-04-06 Marko Myllynen <myllynen@redhat.com>
3524 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3526 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3528 * Makefile.in (regen-ulps): New target.
3529 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3530 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3531 [ifneq (no,$(PERL)] (regen-ulps): New target.
3532 [ifeq (no,$(PERL)] (regen-ulps): New target.
3533 * math/libm-test.inc (ulps_file_name): Define.
3534 (output_dir): New variable.
3535 (options): Add "output-dir" option.
3536 (parse_opt): Handle 'o' case.
3537 (main): If output_dir is non-NULL use it as a prefix
3539 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3541 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3544 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3545 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3546 fail configure if __sync_val_compare_and_swap is not inlined.
3547 * sysdeps/i386/configure: Regenerate.
3548 * configure.in: Build for i686 when configured for i386.
3549 * configure: Regenerate.
3550 * README: Remove i386 reference.
3552 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3554 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3555 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3557 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3559 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3560 (lmsnanval): New variables.
3561 (F): Add conversion tests.
3562 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3563 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3565 * stdio-common/tstdiomisc.c (F): Properly collect individual
3569 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3570 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3571 Instead, use input NaN values or generate a qNaN by arithmetic
3572 operation. Also fix bugs to comply with the standard.
3573 * math/libm-test.inc (remainder_test): Add more tests.
3576 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3577 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3578 input NaN values or generate a qNaN by arithmetic operation.
3580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3583 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3586 2013-04-03 Joseph Myers <joseph@codesourcery.com>
3589 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3591 * math/s_cexpf.c (__cexpf): Likewise.
3592 * math/s_cexpl.c (__cexpl): Likewise.
3593 * math/libm-test.inc (cexp_test): Add more tests.
3595 2013-04-03 Andreas Schwab <schwab@suse.de>
3598 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3599 order arrays from heap if bigger than alloca cutoff.
3601 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3603 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3604 (SNAN_TESTS_double): Refer to GCC PR56831.
3605 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3608 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3610 * Rules (bench): Move bench.out after the run is complete.
3612 * Rules (bench): Echo currently running benchmark.
3614 * benchtests/Makefile (bench): Add atan and slowatan.
3615 * benchtests/atan-inputs: New file.
3616 * benchtests/slowatan-inputs: New file.
3617 * benchtests/slowatan.c: New file.
3619 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3620 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3624 * sysdeps/unix/sysv/linux/kernel-features.h
3625 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3626 __ASSUME_XFS_RESTRICTED_CHOWN.
3627 * sysdeps/unix/sysv/linux/pathconf.c
3628 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3629 Save and restore errno.
3631 2013-04-02 Joseph Myers <joseph@codesourcery.com>
3634 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3635 arguments using __kernel_casinh.
3636 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3637 arguments using __kernel_casinhf.
3638 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3639 arguments using __kernel_casinhl.
3640 * math/libm-test.inc (cacosh_test): Add more tests.
3641 * sysdeps/i386/fpu/libm-test-ulps: Update.
3642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3644 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3646 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3647 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3649 * bench/Makefile (bench): Add sin and slowsin.
3650 * benchtests/sin-inputs: New file.
3651 * benchtests/slowsin-inputs: New file.
3652 * benchtests/slowsin.c: New file.
3654 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3655 (bench): Add slowexp and slowpow.
3656 (exp-ITER): Increase iterations.
3657 (pow-ITER): Likewise.
3658 * benchtests/exp-inputs: Change input.
3659 * benchtests/pow-inputs: Likewise.
3660 * benchtests/slowexp-inputs: New file.
3661 * benchtests/slowexp.c: New file.
3662 * benchtests/slowpow-inputs: New file.
3663 * benchtests/slowpow.c: New file.
3665 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3667 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3669 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3670 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3671 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3672 * benchtests/Makefile: Add rint benchtest.
3673 * benchtests/rint-inputs: Input for rint benchtest.
3675 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3677 * Versions.def (libm): Add GLIBC_2.18.
3678 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3679 hidden libm prototypes.
3680 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3681 * math/Makefile (libm-calls): Add s_issignaling.
3682 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3683 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3684 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3686 * math/math.h [__USE_GNU] (issignaling): New macro.
3687 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3688 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3689 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3690 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3691 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3692 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3693 * manual/arith.texi (issignaling): New section.
3694 * manual/libm-err-tab.pl (@all_functions): Update comment.
3695 * math/gen-libm-test.pl (parse_args): Apply special handling for
3697 * math/libm-test.inc (print_float, issignaling_test): New
3699 (check_float_internal): Add issignaling checks.
3700 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3702 * sysdeps/powerpc/math-tests.h: New file.
3703 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3705 * math/test-snan.c (TEST_FUNC): Likewise.
3707 2013-03-30 David S. Miller <davem@davemloft.net>
3709 * po/de.po: Update from translation team.
3711 2013-03-30 Joseph Myers <joseph@codesourcery.com>
3714 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3715 imaginary part less than 1.0 and real part less than 0.5
3717 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3718 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3719 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3720 (cacos_test): Add more tests.
3721 (casin_test): Likewise.
3722 (casinh_test): Likewise.
3723 * sysdeps/i386/fpu/libm-test-ulps: Update.
3724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3726 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3728 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3731 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3732 (__pow_mp): Replace ONE and MONE with their values.
3733 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3734 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3735 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3736 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3737 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3738 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3740 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3742 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3743 (__pow_mp): Replace ZERO and MZERO with their values.
3744 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3745 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3746 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3747 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3748 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3749 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3752 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3754 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3756 2013-03-28 Roland McGrath <roland@hack.frob.com>
3758 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3759 Declare with __attribute__ ((weak)).
3760 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3761 Call __call_tls_dtors only if it's not NULL.
3763 2013-03-28 Roland McGrath <roland@hack.frob.com>
3765 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3766 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3767 magic __ehdr_start linker symbol if it's defined.
3768 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3769 them up here if it was already done.
3771 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3772 (_dl_aux_init): Use const in cast when setting it.
3773 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3774 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3775 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3777 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3779 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3780 * csu/libc-tls.c: Nor here.
3781 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3783 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3784 (__libc_message): Never call vsyslog.
3786 2013-03-28 Alan Modra <amodra@gmail.com>
3788 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3790 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3793 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3796 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3800 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3803 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3804 Don't add gid passed as argument.
3806 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3808 2013-03-27 Joseph Myers <joseph@codesourcery.com>
3811 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3812 imaginary part between 1.0 and 1.5 and real part less than 0.5
3814 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3815 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3816 * math/libm-test.inc (cacos_test): Add more tests.
3817 (casin_test): Likewise.
3818 (casinh_test): Likewise.
3819 * sysdeps/i386/fpu/libm-test-ulps: Update.
3820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3822 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3824 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3828 (__dbl_mp): Likewise.
3829 (add_magnitudes): Likewise.
3830 (sub_magnitudes): Likewise.
3838 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3840 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3841 (__dubcos): Likewise.
3842 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3843 (__ieee754_acos): Likewise.
3844 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3845 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3847 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3848 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3850 (my_log2): Likewise.
3851 (checkint): Likewise.
3852 * sysdeps/ieee754/dbl-64/e_remainder.c
3853 (__ieee754_remainder): Likewise.
3854 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3855 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3857 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3859 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3860 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3861 MANTISSA_STORE_T to store computations on mantissa. Use
3862 macros for rounding and division.
3864 (__dbl_mp): Likewise.
3865 (add_magnitudes): Likewise.
3866 (sub_magnitudes): Likewise.
3869 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3870 powers of two in terms of TWOPOW macro.
3871 (mp_no): Make type of mantissa as MANTISSA_T.
3872 [!RADIXI]: Define RADIXI.
3873 [!TWO52]: Define TWO52.
3874 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3876 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3878 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3879 llroundl symbol when building for PPC32.
3881 2013-03-24 Mark H Weaver <mhw@netris.org>
3883 * manual/arith.texi (Normalization Functions): Fix prototypes for
3884 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3886 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3889 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3890 high value to check if expl overflow.
3891 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3892 to check for underflow and overflow.
3893 * math/libm-test.inc: Add exp test.
3895 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3898 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3901 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3903 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3906 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3908 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3909 wrap blocks consisting of several statements.
3911 * sysdeps/generic/math-tests.h: New file.
3912 * sysdeps/i386/fpu/math-tests.h: Likewise.
3913 * math/test-snan.c: Include it.
3914 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3916 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3919 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3920 (__ieee754_j0l): Do not improve calculations using cos of twice
3921 input for inputs above LDBL_MAX / 2.0L.
3922 (__ieee754_y0l): Likewise.
3923 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3924 (__ieee754_j1l): Do not improve calculations using cos of twice
3925 input for inputs above LDBL_MAX / 2.0L.
3926 (__ieee754_y1l): Likewise.
3927 * math/libm-test.inc (j0_test): Add another test.
3928 (j1_test): Likewise.
3929 (y0_test): Likewise.
3930 (y1_test): Likewise.
3931 * sysdeps/i386/fpu/libm-test-ulps: Update.
3933 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3935 * Rules ($(objpfx)bench-%.c): Include code from a C source
3938 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3941 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3942 imaginary part 1.0 and real part less than 0.5 specially.
3943 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3944 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3945 * math/libm-test.inc (cacos_test): Add more tests.
3946 (casin_test): Likewise.
3947 (casinh_test): Likewise.
3948 * sysdeps/i386/fpu/libm-test-ulps: Update.
3949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3951 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3953 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3954 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3956 2013-03-20 Joseph Myers <joseph@codesourcery.com>
3958 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3959 * config.make.in (config-cflags-sse4): Remove variable.
3960 (config-cflags-avx): Likewise.
3961 (config-cflags-sse2avx): Likewise.
3962 (config-cflags-novzeroupper): Likewise.
3963 (config-asflags-i686): Likewise.
3964 (have-mfma4): Likewise.
3965 (have-as-vis3): Likewise.
3967 * configure.in (MIG): Do not AC_SUBST.
3968 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3969 (libc_cv_cc_sse4): Do not AC_SUBST.
3970 (libc_cv_cc_avx): Likewise.
3971 (libc_cv_cc_sse2avx): Likewise.
3972 (libc_cv_cc_novzeroupper): Likewise.
3973 (libc_cv_cc_fma4): Likewise.
3974 (libc_cv_as_i686): Likewise.
3975 (libc_cv_sparc_as_vis3): Likewise.
3976 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3978 (config-asflags-i686): Likewise.
3979 (config-cflags-avx): Likewise.
3980 (config-cflags-sse2avx): Likewise.
3981 (have-mfma4): Likewise.
3982 (config-cflags-novzeroupper): Likewise.
3983 * sysdeps/mach/configure.in (MIG): Likewise.
3984 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3985 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3987 (config-cflags-avx): Likewise.
3988 (config-cflags-sse2avx): Likewise.
3989 (have-mfma4): Likewise.
3990 (config-cflags-novzeroupper): Likewise.
3991 * configure: Regenerated.
3992 * sysdeps/i386/configure: Likewise.
3993 * sysdeps/mach/configure: Likewise.
3994 * sysdeps/sparc/configure: Likewise.
3995 * sysdeps/x86_64/configure: Likewise.
3997 2013-03-20 Roland McGrath <roland@hack.frob.com>
4000 * locale/programs/localedef.c (options): Put N_ translation marker
4001 on argument names, not just descriptions.
4003 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4005 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4007 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
4010 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4012 2013-03-19 Roland McGrath <roland@hack.frob.com>
4014 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4015 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4016 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4017 [!BEFORE_ABORT] (before_abort): New function.
4018 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4019 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4020 (writev_for_fatal): New function.
4021 (WRITEV_FOR_FATAL): New macro; call that.
4022 (backtrace_and_maps): New function.
4023 (BEFORE_ABORT): New macro; call that.
4024 (struct str_list): Type removed.
4025 (__libc_message, __libc_fatal): Functions removed.
4026 Include <sysdeps/posix/libc_fatal.c> instead.
4028 2013-03-19 Joseph Myers <joseph@codesourcery.com>
4030 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4032 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4035 2013-03-19 Andreas Schwab <schwab@suse.de>
4037 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4038 * sysdeps/gnu/configure: Regenerate.
4040 * configure.in: Substitute libc_cv_rtlddir.
4041 * configure: Regenerate.
4042 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4043 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4044 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4045 * elf/Makefile (install-others, CFLAGS-interp.c)
4046 (ldso_install, common-ldd-rewrite): Likewise.
4047 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4048 $(inst_slibdir)/$(rtld-installed-name).
4049 * scripts/rellns-sh: Add -p option.
4050 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4053 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4055 * manual/nptl.texi: Renamed to ...
4056 * manual/threads.texi: ... this.
4057 * manual/Makefile (chapters): Update.
4059 2013-03-18 Roland McGrath <roland@hack.frob.com>
4062 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4063 on argument names, not just descriptions.
4064 * malloc/memusagestat.c (options): Likewise.
4065 * nss/getent.c (options): Likewise.
4067 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
4070 * iconv/iconv_prog.c (options): Put N_ translation marker
4071 on argument names, not just descriptions.
4072 * iconv/iconvconfig.c (options): Likewise.
4074 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
4076 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4077 implementation which is faster on all x86_64 architectures.
4078 Tested on AMD, Intel Nehalem, SNB, IVB.
4079 * sysdeps/x86_64/strnlen.S: Likewise.
4081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4082 Remove all multiarch strlen and strnlen versions.
4083 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4084 Remove strlen and strnlen related parts.
4086 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4088 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4090 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4091 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4092 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4093 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4094 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4095 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4097 2013-03-17 Carlos O'Donell <carlos@redhat.com>
4099 * manual/memory.texi (Malloc Tunable Parameters):
4100 Sort parameters alphabetically. Add comments for missing entries.
4102 2013-03-17 David S. Miller <davem@davemloft.net>
4104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4106 2013-03-16 Joseph Myers <joseph@codesourcery.com>
4109 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4110 for arguments at most half maximum finite value.
4111 * math/libm-test.inc (j0_test): Add more tests.
4112 (j1_test): Likewise.
4113 (y0_test): Likewise.
4114 (y1_test): Likewise.
4115 * sysdeps/i386/fpu/libm-test-ulps: Update.
4116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4119 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4120 1 / x and functions P and Q for arguments above 0x1p256L.
4121 (__ieee754_y0l): Likewise.
4122 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4123 (__ieee754_y1l): Likewise.
4124 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4125 (j1_test): Likewise.
4126 (y0_test): Likewise.
4127 (y1_test): Likewise.
4129 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4131 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4134 2013-03-15 Roland McGrath <roland@hack.frob.com>
4136 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4137 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4138 zero since it's initialized to EXEC_PAGESIZE.
4140 * sysdeps/unix/sysv/linux/ldsodefs.h
4141 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4142 * sysdeps/generic/ldsodefs.h: ... here.
4144 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4146 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4148 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4150 * math/test-snan.c: Renamed from
4151 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4152 * math/Makefile (tests): Add test-snan.
4153 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4156 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4157 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4159 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4160 __builtin_nan family of functions.
4161 * math/libm-test.inc (initialize): Initialize qnan_value with
4162 __builtin_nan family of functions.
4163 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4165 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4167 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4168 storage class. Initialize qNaN_var and sNaN_var with
4169 __builtin_nan and __builtin_nans families of functions,
4172 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4173 (sqrt_test): Remove duplicate test with qNaN input.
4174 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4175 (round_test, signbit_test, significand_test): Note missing +/-Inf
4176 as well as qNaN tests.
4178 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4179 qNaN_var. Fix a few strings, too.
4180 * math/libm-test.inc (nan_value): Rename to qnan_value.
4181 * math/gen-libm-test.pl (%beautify): Adjust to that.
4182 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4183 * math/test-misc.c (main): Likewise.
4184 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4185 to __qnan_bytes, and __qnan_union, respectively.
4186 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4188 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4189 and lqnanval, respectively.
4190 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4191 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4192 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4193 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4195 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4196 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4199 * math/test-misc.c (main): Fix copy'n'pastos.
4200 * misc/tst-efgcvt.c (special): Likewise.
4202 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4203 Remove declarations.
4205 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4207 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4208 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4209 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4210 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4212 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4214 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4215 macro to return vdso values correctly in IFUNC implementations.
4216 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4217 Optimization by using IFUNC.
4219 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4220 Richard Henderson <rth@redhat.com>
4221 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4223 * Makefile.in (bench): New target.
4224 * NEWS: Mention the benchmark framework.
4225 * Rules (bench): Likewise.
4226 (binaries-bench): Generate binaries for functions to
4228 * benchtests/Makefile: New makefile for benchmark tests.
4229 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4231 * benchtests/exp-inputs: New input file for EXP function.
4232 * benchtests/pow-inputs: New input file for POW function.
4233 * scripts/bench.pl: New script to generate source files for
4236 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4238 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4239 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4240 computations on mantissa. Use macros for rounding and
4243 (__dbl_mp): Likewise.
4244 (add_magnitudes): Likewise.
4245 (sub_magnitudes): Likewise.
4248 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4249 powers of two in terms of TWOPOW macro.
4250 (mp_no): Make type of mantissa as MANTISSA_T.
4251 [!RADIXI]: Define RADIXI.
4252 [!TWO52]: Define TWO52.
4253 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4255 * manual/nptl.texi (cindex): Modify threads to pthreads.
4257 2013-03-15 Joseph Myers <joseph@codesourcery.com>
4259 * sysdeps/x86_64/preconfigure: Regenerated.
4261 2013-03-14 Joseph Myers <joseph@codesourcery.com>
4264 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4266 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4267 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4269 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4270 * math/libm-test.inc (j0_test): Do not allow one spurious
4271 underflow exception.
4272 (y1_test): Likewise.
4274 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4276 * manual/Makefile (chapters): Add nptl.
4277 * manual/debug.texi (Debugging Support): Add link to Threads
4279 * manual/nptl.texi: New file.
4281 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4283 2013-03-14 Petr Baudis <pasky@ucw.cz>
4285 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4286 for non-NULL pointer before the memory validity test. Pointed
4287 out by Holger Brunck <holger.brunck@keymile.com>.
4289 2013-03-13 Andreas Schwab <schwab@suse.de>
4291 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4294 2013-03-13 Joseph Myers <joseph@codesourcery.com>
4296 * timezone/zic.c: Update from tzcode 2013b.
4298 2013-03-12 Carlos O'Donell <carlos@redhat.com>
4300 * manual/install.texi (Configuring and compiling):
4301 Mention i686 and i586.
4302 * INSTALL: Regenerate.
4304 2013-03-12 Roland McGrath <roland@hack.frob.com>
4306 * sysdeps/init_array/elf-init.c: New file.
4308 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4309 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4311 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4312 __gmon_start__ as global, but as static with a .preinit_array pointer.
4313 * sysdeps/init_array/gmon-start.c: New file. Use that.
4314 * sysdeps/init_array/crti.S: New file, empty except for comments.
4315 * sysdeps/init_array/crtn.S: Likewise.
4317 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
4319 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4322 Remove Prefer_SSE_for_memop.
4323 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4324 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4325 HAS_PREFER_SSE_FOR_MEMOP.
4326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4328 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4329 Remove bzero, memset ifunc support.
4330 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4331 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4332 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4333 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4335 2013-03-11 Andreas Schwab <schwab@suse.de>
4338 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4341 (GLIBC_2.16): Remove pthread_atfork.
4343 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4345 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4346 (ptestcases.h): Likewise.
4348 2013-03-08 Roland McGrath <roland@hack.frob.com>
4350 * Makeconfig ($(common-objpfx)config.status): Depend on
4351 sysdeps/*/preconfigure{,.in} too.
4353 2013-03-08 Joseph Myers <joseph@codesourcery.com>
4355 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4356 (__free_hook): Use void * instead of __malloc_ptr_t.
4357 (__malloc_hook): Likewise.
4358 (__realloc_hook): Likewise.
4359 (__memalign_hook): Likewise.
4360 (__after_morecore_hook): Likewise.
4361 * malloc/arena.c (save_malloc_hook): Likewise.
4362 (save_free_hook): Likewise.
4363 * malloc/hooks.c (malloc_hook_ini): Likewise.
4364 (realloc_hook_ini): Likewise.
4365 (memalign_hook_ini): Likewise.
4366 * malloc/malloc.c (malloc_hook_ini): Likewise.
4367 (realloc_hook_ini): Likewise.
4368 (memalign_hook_ini): Likewise.
4369 (__free_hook): Likewise.
4370 (__malloc_hook): Likewise.
4371 (__realloc_hook): Likewise.
4372 (__memalign_hook): Likewise.
4373 (__libc_malloc): Likewise.
4374 (__libc_free): Likewise.
4375 (__libc_realloc): Likewise.
4376 (__libc_memalign): Likewise.
4377 (__libc_valloc): Likewise.
4378 (__libc_pvalloc): Likewise.
4379 (__libc_calloc): Likewise.
4380 (__posix_memalign): Likewise.
4381 * malloc/morecore.c (__sbrk): Likewise.
4382 (__default_morecore): Likewise.
4384 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4386 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4387 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4390 * malloc/malloc.h (__malloc_size_t): Remove macro.
4391 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4393 (old_memalign_hook): Likewise.
4394 (old_realloc_hook): Likewise.
4395 (struct hdr): Likewise.
4397 (mallochook): Likewise.
4398 (memalignhook): Likewise.
4399 (reallochook): Likewise.
4400 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4401 (tr_old_realloc_hook): Likewise.
4402 (tr_old_memalign_hook): Likewise.
4403 (tr_mallochook): Likewise.
4404 (tr_reallochook): Likewise.
4405 (tr_memalignhook): Likewise.
4407 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4409 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4410 default_ldbl_pack and using as default implementation.
4411 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4413 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4414 redundant definition.
4415 (ldbl_insert_mantissa): Likewise.
4416 (ldbl_canonicalize): Likewise.
4417 (ldbl_nearbyint): Likewise.
4418 (ldbl_pack): Rename to ldbl_pack_ppc.
4419 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4420 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4421 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4423 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4426 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4427 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4428 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4430 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4431 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4432 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4434 2013-03-07 Andreas Jaeger <aj@suse.de>
4436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4439 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4441 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4442 Include mpa.h and declare __MPEXP.
4443 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4444 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4445 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4446 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4447 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4448 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4449 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4451 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4452 (__slowpow): Use long double EXPL and LOGL functions to
4454 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4455 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4456 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4457 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4458 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4459 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4462 intermediate variable to calculate exponent.
4464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4468 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4469 [!NO__SQR]: Define __sqr.
4470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4471 and NO__SQR. Remove all code except __mul and __sqr. Include
4472 sysdeps/ieee754/dbl-64/mpa.c.
4473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4476 * posix/Makefile (tests): Add tst-pathconf.
4477 * posix/tst-pathconf.c: New test case.
4478 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4480 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4482 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
4484 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4486 2013-03-06 Andreas Jaeger <aj@suse.de>
4488 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4489 definition via __MAP_ANONYMOUS.
4491 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4492 it's not part of Linux headers.
4494 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4495 (MAP_HUGE_MASK): Define.
4497 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4499 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4500 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4502 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4503 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4505 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4506 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4508 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4510 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4511 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4512 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4513 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4514 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4515 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4517 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4520 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4521 Handle f2fs and efivarfs.
4523 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4526 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4527 (EFIVARFS_MAGIC): Add.
4528 (F2FS_LINK_MAX): Add.
4530 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4532 * stdio-common/vfprintf.c: Replace __builtin_expect with
4535 2013-03-06 Joseph Myers <joseph@codesourcery.com>
4538 * sysdeps/generic/bp-sym.h: Remove file.
4539 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4540 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4541 <bp-sym.h> and <bp-asm.h>.
4542 (__longjmp): Don't use BP_SYM.
4543 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4545 (memcpy): Don't use BP_SYM.
4546 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4547 <bp-sym.h> and <bp-asm.h>.
4548 (memcpy): Don't use BP_SYM.
4549 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4551 (memcpy): Don't use BP_SYM.
4552 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4554 (memset): Don't use BP_SYM.
4555 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4556 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4557 (__bzero): Don't use BP_SYM.
4558 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4559 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4560 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4561 <bp-sym.h> and <bp-asm.h>.
4562 (memcmp): Don't use BP_SYM. Remove comment about bounded
4564 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4565 <bp-sym.h> and <bp-asm.h>.
4566 (memcpy): Don't use BP_SYM.
4567 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4568 <bp-sym.h> and <bp-asm.h>.
4569 (memset): Don't use BP_SYM.
4570 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4571 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4572 (__bzero): Don't use BP_SYM.
4573 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4574 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4575 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4576 <bp-sym.h> and <bp-asm.h>.
4577 (strncmp): Don't use BP_SYM. Remove comment about bounded
4579 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4580 <bp-sym.h> and <bp-asm.h>.
4581 (memcpy): Don't use BP_SYM.
4582 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4583 <bp-sym.h> and <bp-asm.h>.
4584 (memset): Don't use BP_SYM.
4585 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4586 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4587 (__bzero): Don't use BP_SYM.
4588 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4589 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4590 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4591 <bp-sym.h> and <bp-asm.h>.
4592 (__memchr): Don't use BP_SYM.
4593 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4594 <bp-sym.h> and <bp-asm.h>.
4595 (memcmp): Don't use BP_SYM. Remove comment about bounded
4597 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4598 <bp-sym.h> and <bp-asm.h>.
4599 (memcpy): Don't use BP_SYM.
4600 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4601 <bp-sym.h> and <bp-asm.h>.
4602 (__mempcpy): Don't use BP_SYM.
4603 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4604 <bp-sym.h> and <bp-asm.h>.
4605 (__memrchr): Don't use BP_SYM.
4606 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4607 <bp-sym.h> and <bp-asm.h>.
4608 (memset): Don't use BP_SYM.
4609 (__bzero): Likewise.
4610 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4611 <bp-sym.h> and <bp-asm.h>.
4612 (__rawmemchr): Don't use BP_SYM.
4613 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4614 <bp-sym.h> and <bp-asm.h>.
4615 (__STRCMP): Don't use BP_SYM.
4616 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4617 <bp-sym.h> and <bp-asm.h>.
4618 (strchr): Don't use BP_SYM.
4619 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4620 <bp-sym.h> and <bp-asm.h>.
4621 (__strchrnul): Don't use BP_SYM.
4622 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4623 <bp-sym.h> and <bp-asm.h>.
4624 (strlen): Don't use BP_SYM.
4625 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4626 <bp-sym.h> and <bp-asm.h>.
4627 (strncmp): Don't use BP_SYM. Remove comment about bounded
4629 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4630 <bp-sym.h> and <bp-asm.h>.
4631 (__strnlen): Don't use BP_SYM.
4632 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4633 <bp-sym.h> and <bp-asm.h>.
4634 (__GI__setjmp): Don't use BP_SYM.
4635 (_setjmp): Likewise.
4636 (__sigsetjmp): Likewise.
4637 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4638 (L(start_addresses)): Don't use BP_SYM.
4640 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4642 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4643 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4644 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4645 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4646 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4648 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4649 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4650 about bounded pointers.
4651 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4652 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4653 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4655 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4656 about bounded pointers. Remove GKM FIXME comments.
4657 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4658 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4660 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4661 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4662 Remove GKM FIXME comments.
4663 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4664 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4665 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4667 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4668 about bounded pointers. Remove GKM FIXME comment.
4669 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4671 (strncmp): Don't use BP_SYM. Remove comment about bounded
4673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4674 <bp-sym.h> and <bp-asm.h>.
4675 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4677 <bp-sym.h> and <bp-asm.h>.
4678 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4681 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4683 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4686 2013-03-05 David S. Miller <davem@davemloft.net>
4688 * po/es.po: Update from translation team.
4690 2013-03-05 Andreas Jaeger <aj@suse.de>
4692 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4693 <bits/mman-linux.h>.
4694 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4696 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4697 <bits/mman-linux.h> to end of file.
4698 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4700 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4701 <bits/mman-linux.h> to end of file.
4702 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4704 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4705 <bits/mman-linux.h> to end of file.
4707 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4708 (MCL_CURRENT, MCL_FUTURE): Define here.
4710 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4713 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4715 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4717 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4719 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4720 fourth parameter needed for rt_sigprocmask syscall.
4721 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4722 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4723 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4724 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4725 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4726 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4728 2013-03-04 Joseph Myers <joseph@codesourcery.com>
4731 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4732 comment about bounded pointers.
4733 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4734 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4736 2013-03-04 Andreas Jaeger <aj@suse.de>
4738 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4741 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4742 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4743 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4744 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4745 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4746 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4748 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4751 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4752 __ieee754_sqrl instead of __sqrl.
4754 2013-03-01 Joseph Myers <joseph@codesourcery.com>
4756 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4757 * sysdeps/powerpc/fpu_control.h: ... here.
4758 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4759 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4760 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4761 * sysdeps/powerpc/bits/mathinline.h: ... here.
4763 2013-03-01 Roland McGrath <roland@hack.frob.com>
4765 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4766 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4767 to just [NEED_DL_SYSINFO_DSO].
4768 * elf/dl-support.c: Likewise.
4769 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4770 * elf/rtld.c (dl_main): Likewise.
4771 * elf/setup-vdso.h (setup_vdso): Likewise.
4772 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4773 * sysdeps/unix/sysv/linux/dl-sysdep.c
4774 (_dl_discover_osversion): Likewise.
4776 2013-03-01 Carlos O'Donell <carlos@redhat.com>
4778 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4779 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4781 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4783 * NEWS: Mention libm performance improvements and non-x86 PI
4786 * csu/libc-start.c (__pthread_initialize_minimal): Change
4788 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4790 2013-02-28 Joseph Myers <joseph@codesourcery.com>
4793 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4794 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4795 <bp-sym.h> and <bp-asm.h>.
4796 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4797 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4799 (memcpy): Don't use BP_SYM.
4800 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4802 (__mpn_add_n): Don't use BP_SYM.
4803 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4804 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4806 (__mpn_addmul_1): Don't use BP_SYM.
4807 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4808 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4810 (_setjmp): Don't use BP_SYM.
4811 (__novmx_setjmp): Likewise.
4812 (__GI__setjmp): Likewise.
4813 (__vmx_setjmp): Likewise.
4814 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4816 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4817 (__bzero): Don't use BP_SYM.
4818 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4819 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4820 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4821 <bp-sym.h> and <bp-asm.h>.
4822 (memcpy): Don't use BP_SYM.
4823 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4824 <bp-sym.h> and <bp-asm.h>.
4825 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4826 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4827 <bp-sym.h> and <bp-asm.h>.
4828 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4829 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4831 (__mpn_lshift): Don't use BP_SYM.
4832 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4833 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4835 (memset): Don't use BP_SYM.
4836 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4837 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4838 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4840 (__mpn_mul_1): Don't use BP_SYM.
4841 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4842 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4843 <bp-sym.h> and <bp-asm.h>.
4844 (memcmp): Don't use BP_SYM.
4845 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4846 <bp-sym.h> and <bp-asm.h>.
4847 (memcpy): Don't use BP_SYM.
4848 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4849 <bp-sym.h> and <bp-asm.h>.
4850 (memset): Don't use BP_SYM.
4851 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4852 <bp-sym.h> and <bp-asm.h>.
4853 (strncmp): Don't use BP_SYM.
4854 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4855 <bp-sym.h> and <bp-asm.h>.
4856 (memcpy): Don't use BP_SYM.
4857 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4858 <bp-sym.h> and <bp-asm.h>.
4859 (memset): Don't use BP_SYM.
4860 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4861 <bp-sym.h> and <bp-asm.h>.
4862 (__memchr): Don't use BP_SYM.
4863 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4864 <bp-sym.h> and <bp-asm.h>.
4865 (memcmp): Don't use BP_SYM.
4866 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4867 <bp-sym.h> and <bp-asm.h>.
4868 (memcpy): Don't use BP_SYM.
4869 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4870 <bp-sym.h> and <bp-asm.h>.
4871 (__mempcpy): Don't use BP_SYM.
4872 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4873 <bp-sym.h> and <bp-asm.h>.
4874 (__memrchr): Don't use BP_SYM.
4875 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4876 <bp-sym.h> and <bp-asm.h>.
4877 (memset): Don't use BP_SYM.
4878 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4879 <bp-sym.h> and <bp-asm.h>.
4880 (__rawmemchr): Don't use BP_SYM.
4881 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4882 <bp-sym.h> and <bp-asm.h>.
4883 (__STRCMP): Don't use BP_SYM.
4884 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4885 <bp-sym.h> and <bp-asm.h>.
4886 (strchr): Don't use BP_SYM.
4887 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4888 <bp-sym.h> and <bp-asm.h>.
4889 (__strchrnul): Don't use BP_SYM.
4890 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4891 <bp-sym.h> and <bp-asm.h>.
4892 (strlen): Don't use BP_SYM.
4893 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4894 <bp-sym.h> and <bp-asm.h>.
4895 (strncmp): Don't use BP_SYM.
4896 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4897 <bp-sym.h> and <bp-asm.h>.
4898 (__strnlen): Don't use BP_SYM.
4899 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4901 (__mpn_rshift): Don't use BP_SYM.
4902 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4903 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4904 <bp-sym.h> and <bp-asm.h>.
4905 (__sigsetjmp): Don't use BP_SYM.
4906 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4907 (L(start_addresses)): Don't use BP_SYM.
4909 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4911 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4912 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4913 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4914 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4916 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4917 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4918 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4919 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4921 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4923 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4924 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4926 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4928 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4929 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4930 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4932 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4934 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4936 (strncmp): Don't use BP_SYM,
4937 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4939 (__mpn_sub_n): Don't use BP_SYM.
4940 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4941 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4943 (__mpn_submul_1): Don't use BP_SYM.
4944 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4946 <bp-sym.h> and <bp-asm.h>.
4947 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4949 <bp-sym.h> and <bp-asm.h>.
4950 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4953 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4955 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4956 Use ZK to minimize writes to Z.
4957 (sub_magnitudes): Simplify code a bit.
4958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4959 Use ZK to minimize writes to Z.
4960 (sub_magnitudes): Simplify code a bit.
4962 2013-02-27 Roland McGrath <roland@hack.frob.com>
4964 * csu/gmon-start.c: Add special exception to license text.
4966 2013-02-27 Richard Henderson <rth@redhat.com>
4968 * scripts/config.guess: Update from config.git.
4969 * scripts/config.sub: Likewise.
4971 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4973 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4975 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4977 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4979 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4981 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4983 2013-02-26 Roland McGrath <roland@hack.frob.com>
4985 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4986 [$(build-shared = yes].
4988 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4990 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4991 (__mul): Reduce iterations for calculating mantissa.
4993 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4995 (__mpranred): Likewise.
4998 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4999 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5001 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5003 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5004 Define __attribute__.
5006 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5008 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5010 * posix/regex_internal.h (__attribute): Remove.
5011 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5012 (re_string_context_at): Likewise.
5013 (bitset_not): Use __attribute__ and mark function as possibly
5015 (bitset_merge): Likewise.
5016 (bitset_mask): Likewise.
5017 (re_string_char_size_at): Likewise.
5018 (re_string_wchar_at): Likewise.
5019 (re_string_elem_size_at): Likewise.
5021 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5023 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5027 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5032 (__dbl_mp): Likewise.
5033 (add_magnitudes): Likewise.
5034 (sub_magnitudes): Likewise.
5038 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5041 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5044 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5048 up changes with default code.
5049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5052 2013-02-24 Allan McRae <allan@archlinux.org>
5054 * manual/socket.texi (The Internet Namespace): Order menu items
5055 to match that in the file.
5057 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5058 node listing of the info page menu.
5060 2013-02-21 Joseph Myers <joseph@codesourcery.com>
5063 * sysdeps/i386/bp-asm.h: Remove file.
5064 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5065 (PARMS): Do not use macros from bp-asm.h.
5069 (__mpn_add_n): Do not use BP_SYM
5070 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5072 (PARMS): Do not use macros from bp-asm.h.
5075 (__mpn_addmul_1): Do not use BP_SYM
5076 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5078 (PARMS): Do not use macros from bp-asm.h.
5080 (_setjmp): Likewise. 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/fpu/s_frexp.S: Do not include "bp-sym.h" and
5088 (PARMS): Do not use macros from bp-asm.h.
5089 (__frexp): Do not use BP_SYM.
5091 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5093 (PARMS): Do not use macros from bp-asm.h.
5094 (__frexpf): Do not use BP_SYM.
5096 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5098 (PARMS): Do not use macros from bp-asm.h.
5099 (__frexpl): Do not use BP_SYM.
5101 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5103 (PARMS): Do not use macros from bp-asm.h.
5104 (__remquo): Do not use BP_SYM.
5106 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5108 (PARMS): Do not use macros from bp-asm.h.
5109 (__remquof): Do not use BP_SYM.
5110 (remquof): Likewise.
5111 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5113 (PARMS): Do not use macros from bp-asm.h.
5114 (__remquol): Do not use BP_SYM.
5115 (remquol): Likewise.
5116 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5118 (PARMS): Do not use macros from bp-asm.h.
5121 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5122 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5124 (PARMS): Do not use macros from bp-asm.h.
5125 (strlen): Do not use BP_SYM.
5126 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5128 (PARMS): Do not use macros from bp-asm.h.
5132 (__mpn_add_n): Do not use BP_SYM.
5133 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5135 (PARMS): Do not use macros from bp-asm.h.
5138 (__mpn_addmul_1): Do not use BP_SYM.
5139 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5142 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5144 (PARMS): Do not use macros from bp-asm.h.
5147 (__mpn_lshift): Do not use BP_SYM.
5148 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5150 (PARMS): Do not use macros from bp-asm.h.
5154 (memcpy): Likewise. Do not use BP_SYM.
5155 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5156 libc_hidden_def and weak_alias.
5157 (mempcpy): Do not use BP_SYM in weak_alias.
5158 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5160 (PARMS): Do not use macros from bp-asm.h.
5163 [!BZERO_P] (CHR): Likewise.
5164 (memset): Likewise. Do not use BP_SYM.
5165 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5167 (PARMS): Do not use macros from bp-asm.h.
5170 (__mpn_mul_1): Do not use BP_SYM.
5171 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5173 (PARMS): Do not use macros from bp-asm.h.
5176 (__mpn_rshift): Do not use BP_SYM.
5177 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5179 (PARMS): Do not use macros from bp-asm.h.
5182 (strchr): Likewise. Do not use BP_SYM.
5183 (index): Do not use BP_SYM in weak_alias.
5184 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5186 (PARMS): Do not use macros from bp-asm.h.
5189 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5190 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5192 (PARMS): Do not use macros from bp-asm.h.
5193 (strlen): Do not use BP_SYM.
5194 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5196 (PARMS): Do not use macros from bp-asm.h.
5200 (__mpn_sub_n): Do not use BP_SYM.
5201 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5203 (PARMS): Do not use macros from bp-asm.h.
5206 (__mpn_submul_1): Do not use BP_SYM.
5207 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5209 (PARMS): Do not use macros from bp-asm.h.
5213 (__mpn_add_n): Do not use BP_SYM.
5214 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5217 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5219 (PARMS): Do not use macros from bp-asm.h.
5222 (memcmp): Do not use BP_SYM.
5223 (bcmp): Do not use BP_SYM in weak_alias.
5224 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5226 (PARMS): Do not use macros from bp-asm.h.
5230 (memcpy): Likewise. Do not use BP_SYM.
5231 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5233 (PARMS): Do not use macros from bp-asm.h.
5237 (memmove): Likewise. Do not use BP_SYM.
5238 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5240 (PARMS): Do not use macros from bp-asm.h.
5244 (__mempcpy): Likewise. Do not use BP_SYM.
5245 (mempcpy): Do not use BP_SYM in weak_alias.
5246 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5248 (PARMS): Do not use macros from bp-asm.h.
5251 [!BZERO_P] (CHR): Likewise.
5252 (memset): Likewise. Do not use BP_SYM.
5253 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5255 (PARMS): Do not use macros from bp-asm.h.
5257 (strcmp): Do not use BP_SYM.
5258 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5260 (PARMS): Do not use macros from bp-asm.h.
5263 [USE_AS_STRTOK_R] (SAVE): Likewise.
5264 (FUNCTION): Likewise. Do not use BP_SYM.
5265 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5267 (strtok_r): Likewise.
5268 (__GI___strtok_r): Likewise.
5269 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5270 (PARMS): Do not use macros from bp-asm.h.
5273 (__mpn_lshift): Do not use BP_SYM.
5274 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5275 (PARMS): Do not use macros from bp-asm.h.
5278 (__memchr): Do not use BP_SYM.
5279 (memchr): Do not use BP_SYM in weak_alias.
5280 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5281 (PARMS): Do not use macros from bp-asm.h.
5284 (memcmp): Do not use BP_SYM.
5285 (bcmp): Do not use BP_SYM in weak_alias.
5286 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5287 (PARMS): Do not use macros from bp-asm.h.
5290 (__mpn_mul_1): Do not use BP_SYM.
5291 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5293 (PARMS): Do not use macros from bp-asm.h.
5296 (__rawmemchr): Do not use BP_SYM.
5297 (rawmemchr): Do not use BP_SYM in weak_alias.
5298 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5299 (PARMS): Do not use macros from bp-asm.h.
5302 (__mpn_rshift): Do not use BP_SYM.
5303 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5304 (PARMS): Do not use macros from bp-asm.h.
5306 (__sigsetjmp): Likewise. Do not use BP_SYM.
5307 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5308 (_start): Do not use BP_SYM.
5309 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5310 (PARMS): Do not use macros from bp-asm.h.
5313 (__stpcpy): Likewise. Do not use BP_SYM.
5314 (stpcpy): Do not use BP_SYM in weak_alias.
5315 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5317 (PARMS): Do not use macros from bp-asm.h.
5321 (__stpncpy): Likewise. Do not use BP_SYM.
5322 (stpncpy): Do not use BP_SYM in weak_alias.
5323 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5324 (PARMS): Do not use macros from bp-asm.h.
5327 (strchr): Likewise. Do not use BP_SYM.
5328 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5330 (PARMS): Do not use macros from bp-asm.h.
5333 (__strchrnul): Likewise. Do not use BP_SYM.
5334 (strchrnul): Do not use BP_SYM in weak_alias.
5335 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5337 (PARMS): Do not use macros from bp-asm.h.
5339 (strcspn): Do not use BP_SYM.
5340 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5342 (PARMS): Do not use macros from bp-asm.h.
5345 (strpbrk): Likewise. Do not use BP_SYM.
5346 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5348 (PARMS): Do not use macros from bp-asm.h.
5351 (strrchr): Likewise. Do not use BP_SYM.
5352 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5353 (PARMS): Do not use macros from bp-asm.h.
5355 (strspn): Do not use BP_SYM.
5356 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5357 (PARMS): Do not use macros from bp-asm.h.
5361 (FUNCTION): Likewise. Do not use BP_SYM.
5362 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5364 (strtok_r): Likewise.
5365 (__GI___strtok_r): Likewise.
5366 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5367 (PARMS): Do not use macros from bp-asm.h.
5371 (__mpn_sub_n): Do not use BP_SYM.
5372 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5374 (PARMS): Do not use macros from bp-asm.h.
5377 (__mpn_submul_1): Do not use BP_SYM.
5378 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5380 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5382 (PARMS): Do not use macros from bp-asm.h.
5387 (__clone): Do not use BP_SYM.
5388 (clone): Do not use BP_SYM in weak_alias.
5389 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5391 (PARMS): Do not use macros from bp-asm.h.
5393 (__mmap64): Do not use BP_SYM.
5394 (mmap64): Do not use BP_SYM in weak_alias.
5395 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5396 <bp-sym.h> and <bp-asm.h>.
5397 (PARMS): Do not use macros from bp-asm.h.
5398 (__posix_fadvise64_l64): Do not use BP_SYM.
5399 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5400 (PARMS): Do not use macros from bp-asm.h.
5402 (semtimedop): Do not use BP_SYM.
5403 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5406 2013-02-21 Allan McRae <allan@archlinux.org>
5408 * manual/message.texi (Charset conversion in gettext):
5409 Move @end statement to beginning of line.
5411 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5418 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5423 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5425 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5426 tail-call to the resolved function if pltexit isn't needed.
5428 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5431 or Y being zero as being unlikely.
5432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5435 2013-02-20 Carlos O'Donell <carlos@redhat.com>
5437 * manual/nss.texi (System Databases and Name Service Switch):
5438 Remove frobnicate @pxref.
5440 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5442 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5443 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5445 2013-02-20 Petr Machata <pmachata@redhat.com>
5447 * elf/elf.h (R_ARM_TARGET1): New macro.
5448 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5449 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5450 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5451 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5452 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5453 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5454 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5455 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5456 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5457 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5458 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5459 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5460 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5461 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5462 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5463 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5464 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5465 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5466 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5467 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5468 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5469 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5470 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5471 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5472 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5473 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5474 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5475 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5476 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5477 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5478 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5479 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5480 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5481 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5482 (R_ARM_THM_GOT_BREL12): Likewise.
5483 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5484 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5485 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5486 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5487 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5488 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5489 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5490 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5491 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5493 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5495 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5496 __attribute_used__ to __attribute__ ((unused)).
5498 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5500 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5506 2013-02-19 Joseph Myers <joseph@codesourcery.com>
5509 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5511 (ENTER): Remove both macro definitions.
5513 (CHECK_BOUNDS_LOW): Likewise.
5514 (CHECK_BOUNDS_HIGH): Likewise.
5515 (CHECK_BOUNDS_BOTH): Likewise.
5516 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5517 (RETURN_BOUNDED_POINTER): Likewise.
5518 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5519 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5520 (POP_ERRNO_LOCATION_RETURN): Likewise.
5521 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5522 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5523 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5525 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5526 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5527 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5528 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5529 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5530 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5531 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5532 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5533 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5534 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5535 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5536 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5537 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5538 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5540 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5541 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5543 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5544 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5545 * sysdeps/i386/i586/memset.S (memset): Likewise.
5546 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5547 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5548 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5550 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5551 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5552 Change uses of L(2) to L(out).
5553 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5554 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5555 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5556 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5557 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5559 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5560 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5562 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5563 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5564 (RETURN): Do not use macro LEAVE.
5565 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5566 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5567 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5568 * sysdeps/i386/i686/memset.S (memset): Likewise.
5569 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5570 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5571 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5572 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5574 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5575 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5576 L(1_2) and L(1_3) into L(1).
5577 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5578 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5579 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5580 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5581 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5582 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5583 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5584 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5585 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5587 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5588 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5589 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5590 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5591 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5592 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5593 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5594 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5595 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5596 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5597 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5598 * sysdeps/i386/strspn.S (strspn): Likewise.
5599 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5601 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5602 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5603 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5604 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5606 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5607 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5608 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5610 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5612 2013-02-19 Jakub Jelinek <jakub@redhat.com>
5614 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5617 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5619 * math/atest-exp.c (exp_mpn): Remove ROUND.
5620 * math/atest-exp2.c (exp_mpn): Likewise.
5621 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5623 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5624 * stdlib/tst-tls-atexit-lib.c: Likewise.
5625 * stdlib/tst-tls-atexit.c: Likewise.
5627 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5629 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5630 and __attribute_alloc_size__.
5632 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5634 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5635 __attribute_alloc_size__.
5636 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5637 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5639 2013-02-18 Mike Frysinger <vapier@gentoo.org>
5641 * include/programs/xmalloc.h: New file.
5642 * catgets/gencat.c: Include it.
5643 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5644 * elf/pldd.c: Likewise.
5645 * iconv/iconv_charmap.c: Likewise.
5646 * iconv/iconvconfig.c: Likewise.
5647 * iconv/strtab.c: Likewise.
5648 * locale/programs/locale.c: Likewise.
5649 * locale/programs/localedef.h: Likewise.
5650 * locale/programs/simple-hash.c: Likewise.
5651 * nscd/nscd.h: Likewise.
5652 * nss/makedb.c: Likewise.
5653 * sysdeps/generic/ldconfig.h: Likewise.
5655 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5657 * Versions.def: Add GLIBC_2.18.
5658 * include/link.h (struct link_map): New member l_tls_dtor_count.
5659 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5660 (__call_tls_dtors): Likewise.
5661 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5662 __cxa_thread_atexit_impl.
5663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5671 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5679 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5680 (tests): Add test case tst-tls-atexit.
5681 (modules-names): Add shared library for tst-tls-atexit.
5682 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5683 (GLIBC_PRIVATE): Add __call_tls_dtors.
5684 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5686 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5687 * stdlib/tst-tls-atexit.c: New test case.
5688 * stdlib/tst-tls-atexit-lib.c: New test case.
5690 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
5692 * elf/Versions (ld): Add _dl_find_dso_for_object.
5693 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5694 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5695 (dl_open_worker): Use _dl_find_dso_for_object.
5696 * elf/dl-sym.c (do_sym): Likewise.
5697 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5699 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5701 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5702 Syntactic changes only.
5703 (_dl_runtime_profile): Do a tail-call to the resolved function.
5705 2013-02-17 Joseph Myers <joseph@codesourcery.com>
5708 * sysdeps/x86_64/bp-asm.h: Remove file.
5709 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5710 <bp-sym.h> and <bp-asm.h>.
5711 (__clone): Do not use BP_SYM.
5712 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5713 <bp-sym.h> and <bp-asm.h>.
5714 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5715 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5717 (_setjmp): Do not use BP_SYM.
5718 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5720 (setjmp): Do not use BP_SYM.
5721 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5723 (mempcpy): Do not use BP_SYM in weak_alias.
5724 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5726 (strchr): Do not use BP_SYM.
5727 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5729 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5730 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5731 (_start): Do not use BP_SYM.
5732 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5734 (strcat): Do not use BP_SYM.
5735 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5737 (STRCMP): Do not use BP_SYM.
5738 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5740 (STRCPY): Do not use BP_SYM.
5741 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5743 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5745 (FUNCTION): Do not use BP_SYM.
5746 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5748 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5750 2013-02-17 Andreas Jaeger <aj@suse.de>
5752 * time/Versions: Sort entries.
5753 * string/Versions: Likewise.
5754 * resolv/Versions: Likewise.
5755 * posix/Versions: Likewise.
5756 * iconv/Versions: Likewise.
5757 * elf/Versions: Likewise.
5758 * wcsmbs/Versions: Likewise.
5760 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5762 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5763 loop termination condition.
5765 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5766 variable to calculate EZ.
5769 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5770 the lower precision input.
5772 2013-02-15 Joseph Myers <joseph@codesourcery.com>
5775 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5776 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5777 (run-via-rtld-prefix): Do not handle %-bp tests.
5778 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5779 (all-object-suffixes): Remove .ob.
5780 (bppfx): Remove variable.
5781 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5782 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5783 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5784 [$(build-bounded) = yes] (libtype.ob): Likewise.
5785 * Makerules (elide-routines.ob): Remove variable.
5786 (do-tests-clean): Do not handle *-bp.out.
5787 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5788 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5789 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5790 (tests): Do not include $(tests-bp.out).
5791 (xtests): Do not include $(xtests-bp.out).
5792 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5793 [$(build-bounded) = yes] ($(addprefix
5794 $(objpfx),$(binaries-bounded))): Remove rule.
5795 ($(objpfx)%-bp.out): Remove rule.
5796 * config.make.in (build-bounded): Remove variable.
5797 * crypt/Makefile [$(build-bounded) = yes]
5798 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5799 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5801 [$(build-bounded) = yes] (install-lib): Likewise.
5802 [$(build-bounded) = yes] (generated): Likewise.
5803 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5805 * intl/Makefile [$(build-bounded) = yes]
5806 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5807 * math/Makefile [$(build-bounded) = yes]
5808 ($(tests:%=$(objpfx)%-bp): Likewise.
5809 * misc/Makefile [$(build-bounded) = yes]
5810 ($(objpfx)tst-tsearch-bp): Likewise.
5811 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5812 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5814 * string/Makefile (o-objects.ob): Remove variable.
5815 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5816 (CFLAGS-.ob): Remove variable.
5817 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5818 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5819 both definitions of variable.
5820 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5821 (ASFLAGS-.ob): Remove variable.
5823 2013-02-14 Joseph Myers <joseph@codesourcery.com>
5826 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5827 Remove __BOUNDED_POINTERS__ from condition.
5828 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5829 * string/bits/string2.h [!__NO_STRING_INLINES &&
5830 !__BOUNDED_POINTERS__]: Likewise.
5831 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5833 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5834 Remove conditional code.
5835 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5836 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5837 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5841 * csu/libc-start.c: Do not include <bp-sym.h>.
5842 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5843 * elf/dl-open.c: Do not include <bp-sym.h>.
5844 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5845 * math/fegetenv.c: Do not include <bp-sym.h>.
5846 (fegetenv): Do not use BP_SYM in versioned symbols.
5847 * nptl/sysdeps/pthread/bits/libc-lockP.h
5848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5851 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5853 (__pthread_mutex_destroy): Likewise.
5854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5855 (__pthread_mutex_lock): Likewise.
5856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5857 (__pthread_mutex_trylock): Likewise.
5858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5859 (__pthread_mutex_unlock): Likewise.
5860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5861 (__pthread_mutexattr_init): Likewise.
5862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5863 (__pthread_mutexattr_destroy): Likewise.
5864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5865 (__pthread_mutexattr_settype): Likewise.
5866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5867 (__pthread_rwlock_init): Likewise.
5868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5869 (__pthread_rwlock_destroy): Likewise.
5870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5871 (__pthread_rwlock_rdlock): Likewise.
5872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5873 (__pthread_rwlock_tryrdlock): Likewise.
5874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5875 (__pthread_rwlock_wrlock): Likewise.
5876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5877 (__pthread_rwlock_trywrlock): Likewise.
5878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5879 (__pthread_rwlock_unlock): Likewise.
5880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5881 (__pthread_key_create): Likewise.
5882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5883 (__pthread_setspecific): Likewise.
5884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5885 (__pthread_getspecific): Likewise.
5886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5889 (_pthread_cleanup_push_defer): Likewise.
5890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5891 (_pthread_cleanup_pop_restore): Likewise.
5892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5893 (pthread_setcancelstate): Likewise.
5894 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5896 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5897 (memchr): Do not use BP_SYM in weak_alias.
5898 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5899 (fegetenv): Do not use BP_SYM in versioned symbols.
5900 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5901 (fesetenv): Do not use BP_SYM in versioned symbols.
5902 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5903 (feupdateenv): Do not use BP_SYM in versioned symbols.
5904 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5905 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5906 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5907 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5908 (open64): Do not use BP_SYM in weak_alias.
5909 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5910 (fegetenv): Do not use BP_SYM in versioned symbols.
5911 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5912 (fesetenv): Do not use BP_SYM in versioned symbols.
5913 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5914 (feupdateenv): Do not use BP_SYM in versioned symbols.
5915 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5916 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5917 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5918 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5919 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5920 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5921 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5923 (__libc_start_main): Do not use BP_SYM.
5925 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5928 redundant return line.
5932 (sub_magnitudes): Likewise.
5938 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5942 (sub_magnitudes): Likewise.
5949 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5951 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5952 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5955 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5956 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5957 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5958 of __mul for squares.
5959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5963 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5964 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5966 2013-02-13 Joseph Myers <joseph@codesourcery.com>
5969 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5971 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5972 prototype or function definition. Rename ubp_* variables and
5973 parameters. Remove argv definitions conditional on
5974 [__BOUNDED_POINTERS__].
5975 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5976 * elf/dl-runtime.c (_dl_fixup): Likewise.
5977 * include/set-hooks.h (RUN_HOOK): Likewise.
5978 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5980 * string/strcpy.c (strcpy): Do not use __unbounded.
5981 * sysdeps/generic/frame.h (struct layout): Likewise.
5982 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5983 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5984 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5985 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5986 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5987 (__backtrace): Likewise.
5988 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5990 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5991 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5992 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5994 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5995 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5996 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5997 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5998 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5999 Do not use __unbounded.
6000 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6001 Rename __unboundedrlimits parameter to rlimits in prototype.
6002 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6003 Do not use __unbounded.
6004 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6006 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6007 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6008 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6009 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6010 __ptrvalue or __unbounded.
6011 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6012 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6014 (__new_msgctl): Do not use __ptrvalue.
6015 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6017 (__libc_msgrcv): Do not use __ptrvalue.
6018 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6019 startup_info): Do not use __unbounded.
6020 (__libc_start_main): Likewise. Rename ubp_* variables and
6021 parameters. Remove argv definitions conditional on
6022 [__BOUNDED_POINTERS__].
6023 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6025 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6027 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6029 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6031 (__new_shmctl): Do not use __ptrvalue.
6032 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6033 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6035 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6036 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6037 (__libc_sigaction): Likewise.
6038 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6039 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6041 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6043 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
6045 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6047 * string/mempcpy.c: Implement by calling memcpy.
6049 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6051 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6053 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6056 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6057 values in the mantissa.
6059 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6060 minimize writes to Z.
6061 (sub_magnitudes): Simplify code a bit.
6063 2013-02-12 Roland McGrath <roland@hack.frob.com>
6065 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6066 from the message. The linker prefixes all warnings with that already.
6068 2013-02-12 Andreas Schwab <schwab@suse.de>
6071 * posix/regexec.c (extend_buffers): Add parameter min_len.
6072 (check_matching): Pass minimum needed length.
6073 (clean_state_log_if_needed): Likewise.
6074 (get_subexp): Likewise.
6075 * posix/Makefile (tests): Add bug-regex34.
6076 (bug-regex34-ENV): Define.
6077 * posix/bug-regex34.c: New file.
6080 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6081 elements compare against the byte sequence of it, not its name.
6082 * posix/Makefile (tests): Add bug-regex35.
6083 (bug-regex35-ENV): Define.
6084 * posix/bug-regex35.c: New file.
6086 2013-02-11 Tom de Vries <tom@codesourcery.com>
6088 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6090 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6091 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6092 (CHECK_EOL): Add undef.
6094 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
6096 * bits/stdlib-bsearch.h: New file.
6097 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6098 * stdlib/stdlib.h: Likewise.
6100 2013-02-11 Roland McGrath <roland@hack.frob.com>
6102 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6103 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6105 * manual/search.texi (Array Search Function): Add missing const in
6107 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6108 declaration to use rlim_t.
6109 (Basic Scheduling Functions): Remove erroneous const from
6110 sched_getparam prototype. Remove erroneous * from
6111 sched_get_priority_max and sched_get_priority_min prototypes.
6112 (Resource Usage): Fix summary @comment on vtimes to refer to
6113 sys/vtimes.h rather than vtimes.h.
6114 Add missing *s in vtimes prototype.
6115 (Limits on Resources): Fix ulimit prototype to return long int.
6116 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6117 prototypes to use long int rather than double.
6118 (BSD Random): Fix initstate and setstate to use char *, not void *.
6119 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6120 prototype to make second argument 'struct aiocb64 *const[]'.
6121 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6122 (Status of AIO Operations): Remove erroneous const in aio_return and
6123 aio_return64 prototypes.
6124 (Synchronizing I/O): Fix sync prototype to return void.
6125 * manual/startup.texi (Suboptions): Remove an erroneous const in
6126 getsubopt prototype.
6127 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6128 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6129 use size_t rather than int.
6130 (Scanning All Users): Likewise for getpwent_r.
6131 (Setting Groups): Add missing const to setgroups prototype.
6132 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6133 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6134 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6135 'const void *' rather than 'const char *'.
6136 (Host Address Functions): Likewise for inet_ntop.
6137 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6138 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6139 ssize_t for return value.
6140 (Sending Data): Likewise for send, sendto, sendmsg.
6141 (Socket Option Functions): Add a missing const in setsockopt prototype.
6142 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6143 use wchar_t for the argument.
6144 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6145 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6147 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6148 double/float/long double for second argument.
6149 Fix return types of significand, significandf, significandl.
6150 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6151 argument in fchmod prototype.
6152 (File Owner): Use uid_t and gid_t in fchown prototype.
6153 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6154 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6155 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6156 use 'const struct dirent **' as argument types to CMP function pointer
6158 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6159 (File Times): Fix summary magic @comment for struct utimbuf and utime
6160 to refer to utime.h, not time.h.
6161 * manual/string.texi (Argz Functions): Add missing const in
6162 argz_extract and argz_next prototypes.
6163 (Finding Tokens in a String): Likewise for basename.
6164 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6165 (Copying and Concatenation): Fix typo in wmemmove prototype.
6166 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6167 (Signal Stack): Remove erroneous const in sigstack prototype.
6168 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6170 (Simple Calendar Time): Likewise for stime.
6171 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6173 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6174 say sys/sysctl.h instead.
6175 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6176 and vsyslog prototypes.
6178 2013-02-11 Tom de Vries <tom@codesourcery.com>
6180 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6183 2013-02-11 Roland McGrath <roland@hack.frob.com>
6185 * misc/sys/mman.h: Fix typo in mremap comment.
6187 2013-02-08 Roland McGrath <roland@hack.frob.com>
6189 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6190 the '\0' terminator.
6192 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6195 * debug/segfault.c: Don't include <bp-checks.h>.
6196 * sysdeps/generic/bp-checks.h: Remove file.
6197 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6198 (__GETDENTS): Don't use CHECK_N.
6199 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6200 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6201 (__getgroups): Don't use CHECK_N.
6202 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6203 (setgroups): Don't use CHECK_N.
6204 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6205 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6206 (__libc_msgrcv): Don't use CHECK_N.
6207 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6208 (__libc_msgsnd): Don't use CHECK_N.
6209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6211 (__libc_pread): Don't use CHECK_N.
6212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6213 include <bp-checks.h>.
6214 (__libc_pread64): Don't use CHECK_N.
6215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6216 include <bp-checks.h>.
6217 (__libc_pwrite): Don't use CHECK_N.
6218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6219 include <bp-checks.h>.
6220 (__libc_pwrite64): Don't use CHECK_N.
6221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6223 (__libc_pread): Don't use CHECK_N.
6224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6225 include <bp-checks.h>.
6226 (__libc_pread64): Don't use CHECK_N.
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6228 include <bp-checks.h>.
6229 (__libc_pwrite): Don't use CHECK_N.
6230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6231 include <bp-checks.h>.
6232 (__libc_pwrite64): Don't use CHECK_N.
6233 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6234 (do_pread): Don't use CHECK_N.
6235 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6236 (do_pread64): Don't use CHECK_N.
6237 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6238 (do_pwrite): Don't use CHECK_N.
6239 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6240 (do_pwrite64): Don't use CHECK_N.
6241 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6242 (__libc_readv): Don't use CHECK_N.
6243 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6244 (semop): Don't use CHECK_N.
6245 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6247 (semtimedop): Don't use CHECK_N.
6248 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6249 (__libc_pread): Don't use CHECK_N.
6250 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6252 (__libc_pread64): Don't use CHECK_N.
6253 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6255 (__libc_pwrite): Don't use CHECK_N.
6256 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6258 (__libc_pwrite64): Don't use CHECK_N.
6259 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6261 (__libc_msgrcv): Don't use CHECK_N.
6262 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6263 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6264 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6265 (__libc_writev): Don't use CHECK_N.
6267 2013-02-08 Roland McGrath <roland@hack.frob.com>
6269 * string/strcpy.c: Removed unused variable.
6271 * Makeconfig (+sysdep-includes): Define with := rather than =.
6272 Use an existing include/ subdir of each sysdeps dir before it.
6274 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6276 * nscd/connection.c (register_traced_file): Comment function.
6277 [HAVE_INOTIFY] (union __inev): Define.
6278 [HAVE_INOTIFY] (inotify_check_files): New function.
6279 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6280 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6282 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6284 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6286 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6287 loaded if not already and that a failure is permanent.
6289 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6292 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6293 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6295 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6298 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6299 (CHECK_1_NULL_OK): Likewise.
6300 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6301 (__fxstat): Do not use CHECK_1.
6302 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6304 (___fxstat64): Do not use CHECK_1.
6305 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6307 (__fxstatat): Do not use CHECK_1.
6308 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6310 (__fxstatat64): Do not use CHECK_1.
6311 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6313 (__fxstat): Do not use CHECK_1.
6314 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6316 (__fxstatat): Do not use CHECK_1.
6317 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6319 (__getresgid): Do not use CHECK_1.
6320 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6322 (__getresuid): Do not use CHECK_1.
6323 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6325 (__lxstat): Do not use CHECK_1.
6326 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6328 (__old_msgctl): Do not use CHECK_1.
6329 (__new_msgctl): Likewise.
6330 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6332 (__new_setrlimit): Do not use CHECK_1.
6333 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6335 (__old_shmctl): Do not use CHECK_1.
6336 (__new_shmctl): Likewise.
6337 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6339 (__xstat): Do not use CHECK_1.
6340 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6341 (__lxstat): Do not use CHECK_1.
6342 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6344 (___lxstat64): Do not use CHECK_1.
6345 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6346 (__old_msgctl): Do not use CHECK_1.
6347 (__new_msgctl): Likewise.
6348 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6350 (__gettimeofday): Do not use CHECK_1.
6351 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6352 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6353 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6355 (__gettimeofday): Do not use CHECK_1.
6356 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6357 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6358 (__new_shmctl): Do not use CHECK_1.
6359 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6361 (do_sigtimedwait): Do not use CHECK_1.
6362 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6364 (do_sigwaitinfo): Do not use CHECK_1.
6365 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6367 (msgctl): Do not use CHECK_1.
6368 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6370 (shmctl): Do not use CHECK_1.
6371 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6372 (ustat): Do not use CHECK_1.
6373 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6375 (__fxstat): Do not use CHECK_1.
6376 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6378 (__fxstatat): Do not use CHECK_1.
6379 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6381 (__lxstat): Do not use CHECK_1.
6382 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6384 (__xstat): Do not use CHECK_1.
6385 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6386 (__xstat): Do not use CHECK_1.
6387 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6388 (___xstat64): Do not use CHECK_1.
6391 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6393 (CHECK_BOUNDS_HIGH): Likewise.
6394 * string/strcpy.c: Do not include <bp-checks.h>.
6395 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6397 2013-02-07 Roland McGrath <roland@hack.frob.com>
6399 * nscd/nscd-client.h (__nscd_drop_map_ref):
6400 Add __attribute__ ((unused)).
6401 * nis/nss-nisplus.h (niserr2nss): Likewise.
6403 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6404 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6406 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6407 Remove inline keyword.
6408 * include/rounding-mode.h (round_away): Likewise.
6409 * libio/wfileops.c (adjust_wide_data): Likewise.
6410 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6411 (__m128i_strloadu_tolower): Likewise.
6412 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6413 (__m128i_strloadu_tolower): Likewise.
6414 * time/mktime.c (ydhms_diff): Likewise.
6415 * locale/elem-hash.h (elem_hash): Likewise.
6416 * locale/setlocale.c (setdata): Likewise.
6417 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6418 (re_string_wchar_at): Likewise.
6419 (bitset_not, bitset_merge, bitset_mask): Likewise.
6420 [!(__GNUC__ > 3)] (inline): Remove macro.
6421 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6422 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6423 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6424 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6425 * string/memcmp.c (memcmp_bytes): Likewise.
6426 * locale/programs/locarchive.c (compute_hashval): Likewise.
6427 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6428 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6429 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6430 * nss/getent.c (print_rpc, print_protocols): Likewise.
6431 (print_passwd, print_group, print_aliases): Likewise.
6432 * nis/nss-nisplus.h (niserr2nss): Likewise.
6433 * nscd/connections.c (restart_p): Likewise.
6434 Change return type to bool.
6436 2013-02-05 Roland McGrath <roland@hack.frob.com>
6438 * Makeconfig (all-Depend-files): Add existing
6439 $(sorted-subdirs:=/Depend) files.
6440 (all-subdirs): Remove nss.
6441 * sysdeps/unix/inet/Subdirs: Add it here instead.
6442 * hesiod/Depend: New file.
6444 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6445 instead of calling alloca.
6447 * io/lseek.c (__lseek): Rename to __libc_lseek.
6448 Define __lseek as an alias.
6450 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6452 2013-02-04 Carlos O'Donell <carlos@redhat.com>
6454 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6455 else clause and remove check for non-standard endianness.
6457 2013-02-04 David S. Miller <davem@davemloft.net>
6459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6461 2013-02-04 Joseph Myers <joseph@codesourcery.com>
6464 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6465 (__ubp_memchr): Remove prototype.
6466 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6467 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6468 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6469 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6470 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6472 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6473 (__ubp_memchr): Likewise.
6474 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6475 (__ubp_memchr): Likewise.
6476 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6477 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6478 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6479 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6481 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6482 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6483 (__getcwd): Do not use CHECK_STRING.
6484 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6486 (__real_chown): Do not use CHECK_STRING.
6487 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6489 (fchownat): Do not use CHECK_STRING.
6490 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6492 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6494 (__lchown): Do not use CHECK_STRING.
6495 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6496 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6497 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6498 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6500 include <bp-checks.h>.
6501 (truncate64): Do not use CHECK_STRING.
6502 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6504 (__real_chown): Do not use CHECK_STRING.
6505 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6507 (__lchown): Do not use CHECK_STRING.
6508 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6510 (__chown): Do not use CHECK_STRING.
6511 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6513 (truncate64): Do not use CHECK_STRING.
6514 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6516 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6517 (__xmknod): Do not use CHECK_STRING.
6518 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6520 (__xmknodat): Do not use CHECK_STRING.
6521 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6522 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6524 2013-02-04 Andreas Schwab <schwab@suse.de>
6527 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6528 * include/netdb.h: Likewise for h_errno.
6529 * elf/tst-stackguard1.c: Include <tls.h>.
6531 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6533 * elf/link.h (struct link_map): Extend the l_addr comment.
6534 * include/link.h (struct link_map): Likewise.
6536 2013-02-01 Joseph Myers <joseph@codesourcery.com>
6539 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6540 (BOUNDED_1): Remove macro.
6541 * debug/backtrace.c: Don't include <bp-checks.h>.
6542 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6543 (__backtrace): Likewise.
6544 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6546 (__backtrace): Don't use BOUNDED_1.
6547 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6549 (__backtrace): Don't use BOUNDED_1.
6550 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6551 (__backtrace): Don't use BOUNDED_1.
6552 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6553 (shmat): Don't use BOUNDED_N.
6555 2013-01-31 Joseph Myers <joseph@codesourcery.com>
6558 * sysdeps/generic/bp-start.h: Remove file.
6559 * csu/libc-start.c: Don't include <bp-start.h>.
6560 (LIBC_START_MAIN): Set up __environ directly instead of using
6561 INIT_ARGV_and_ENVIRON.
6562 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6566 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6568 (CHECK_FCNTL): Likewise.
6569 (CHECK_N_PAGES): Likewise.
6572 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6574 (CHECK_SIGSET_NULL_OK): Likewise.
6575 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6577 (sigpending): Don't use CHECK_SIGSET.
6578 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6580 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6581 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6583 (do_sigsuspend): Don't use CHECK_SIGSET.
6584 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6586 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6587 (do_sigwait): Don't use CHECK_SIGSET.
6588 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6590 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6591 include <bp-checks.h>.
6592 (sigpending): Don't use CHECK_SIGSET.
6593 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6594 include <bp-checks.h>.
6595 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6596 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6598 (sigpending): Don't use CHECK_SIGSET.
6599 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6601 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6604 * sysdeps/generic/bp-semctl.h: Remove file.
6605 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6606 <bp-checks.h> and <bp-semctl.h>.
6607 (__old_semctl): Don't use CHECK_SEMCTL.
6608 (__new_semctl): Likewise.
6609 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6611 (__old_semctl): Don't use CHECK_SEMCTL.
6612 (__new_semctl): Likewise.
6613 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6614 <bp-checks.h> and <bp-semctl.h>.
6615 (__old_semctl): Don't use CHECK_SEMCTL.
6616 (__new_semctl): Likewise.
6617 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6618 <bp-checks.h> and <bp-semctl.h>.
6619 (semctl): Don't use CHECK_SEMCTL.
6622 * Makerules (elide-bp-thunks): Remove variable.
6623 (elide-routines.oS): Don't use $(elide-bp-thunks).
6624 (elide-routines.os): Likewise.
6625 (elide-routines.o): Likewise.
6626 (elide-routines.op): Likewise.
6627 (elide-routines.og): Likewise.
6628 (objects): Don't use $(bp-thunks).
6629 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6631 (common-generated): Do not add s-proto-bp.d.
6632 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6635 Do not generate makefile rules for bounded-pointer thunks.
6636 * sysdeps/generic/bp-thunks.h: Remove file.
6637 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6638 * sysdeps/unix/s-proto-bp.S: Likewise.
6641 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6642 parts of result separately when argument is not close to line from
6643 -i to i and one part of argument is small.
6644 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6645 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6646 * math/libm-test.inc (cacos_test): Add more tests.
6647 (casin_test): Likewise.
6648 (casinh_test): Likewise.
6649 * sysdeps/i386/fpu/libm-test-ulps: Update.
6650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6652 2013-01-31 David S. Miller <davem@davemloft.net>
6654 * po/de.po: Update from translation team.
6656 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6658 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6660 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6662 * configure.in (_AC_PROG_CC_C89): New definition.
6663 * configure: Regenerate.
6665 * configure.in (AC_PROG_CPP): New definition.
6666 * configure: Regenerate.
6668 2013-01-23 Joseph Myers <joseph@codesourcery.com>
6670 * debug/tst-backtrace.h: New file.
6671 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6672 (ret): Remove variable.
6674 (FAIL): Remove macro.
6675 (NO_INLINE): Likewise.
6676 (fn1): Use match function instead of strstr.
6677 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6678 (ret): Remove variable.
6680 (FAIL): Remove macro.
6681 (NO_INLINE): Likewise.
6682 (fn): Use match function instead of strstr.
6683 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6684 (ret): Remove variable.
6686 (FAIL): Remove macro.
6687 (NO_INLINE): Likewise.
6688 (handle_signal): Use match function instead of strstr.
6689 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6690 (ret): Remove variable.
6692 (FAIL): Remove macro.
6693 (NO_INLINE): Likewise.
6694 (handle_signal): Use match function instead of strstr.
6696 2013-01-23 Roland McGrath <roland@hack.frob.com>
6698 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6700 2013-01-23 David S. Miller <davem@davemloft.net>
6702 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6703 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6704 argument of CAS if possible.
6705 * sysdeps/sparc/sparc64/bits/atomic.h
6706 (__arch_compare_and_exchange_val_32_acq): Likewise.
6707 (__arch_compare_and_exchange_val_64_acq): Likewise.
6709 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6711 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6712 * sysdeps/posix/ulimit.c: ... this.
6714 * sysdeps/unix/bsd/ulimit.c: Remove file.
6716 2013-01-23 Adam Conrad <adconrad@0c3.net>
6718 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6719 (LDFLAGS-tst-array5): Likewise.
6721 2013-01-23 Joseph Myers <joseph@codesourcery.com>
6724 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6725 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6726 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6727 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6729 2013-01-21 David S. Miller <davem@davemloft.net>
6731 * sysdeps/sparc/backtrace.c: New file.
6732 * sysdeps/sparc/sparc32/backtrace.h: New file.
6733 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6734 * sysdeps/sparc/sparc64/backtrace.h: New file.
6735 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6736 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6739 2013-01-21 Andreas Schwab <schwab@suse.de>
6742 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6745 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6747 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6751 2013-01-18 Joseph Myers <joseph@codesourcery.com>
6752 Mark Mitchell <mark@codesourcery.com>
6753 Tom de Vries <tom@codesourcery.com>
6754 Paul Pluzhnikov <ppluzhnikov@google.com>
6756 * debug/tst-backtrace2.c: New file.
6757 * debug/tst-backtrace3.c: Likewise.
6758 * debug/tst-backtrace4.c: Likewise.
6759 * debug/tst-backtrace5.c: Likewise.
6760 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6761 (CFLAGS-tst-backtrace3.c): Likewise.
6762 (CFLAGS-tst-backtrace4.c): Likewise.
6763 (CFLAGS-tst-backtrace5.c): Likewise.
6764 (LDFLAGS-tst-backtrace2): Likewise.
6765 (LDFLAGS-tst-backtrace3): Likewise.
6766 (LDFLAGS-tst-backtrace4): Likewise.
6767 (LDFLAGS-tst-backtrace5): Likewise.
6768 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6769 tst-backtrace4 and tst-backtrace5.
6771 2013-01-18 Anton Blanchard <anton@samba.org>
6772 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6774 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6775 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6776 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6777 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6779 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6780 "+r" and remove output regs list as redundant. Add explicit inline
6781 asm to specify register of return val to work around compiler codegen
6782 bug. Remove (int) cast on return value. Add return type parameter to
6783 use in macro so that this macro does not truncate return value for
6785 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6786 pass to INTERNAL_VSYSCALL_NCS.
6787 (INLINE_VSYSCALL): Add 'long int' as return type to
6788 INTERNAL_VSYSCALL_NCS macro invocation.
6789 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6790 INTERNAL_VSYSCALL_NCS macro invocation.
6791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6793 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6796 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6797 Fix application of SIMD FP exception mask.
6799 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6800 mp_no from a power of two.
6801 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6802 __mpexp_twomm1. Use __pow_mp.
6804 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6807 2013-01-17 David S. Miller <davem@davemloft.net>
6809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6811 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6814 * include/complex.h: Condition contents on [!_COMPLEX_H].
6815 (__kernel_casinhf): New prototype.
6816 (__kernel_casinh): Likewise.
6817 (__kernel_casinhl): Likewise.
6818 * math/Makefile (libm_calls): Add k_casinh.
6819 * math/k_casinh.c: New file.
6820 * math/k_casinhf.c: Likewise.
6821 * math/k_casinhl.c: Likewise.
6822 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6823 finite nonzero arguments.
6824 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6825 finite nonzero arguments.
6826 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6827 finite nonzero arguments.
6828 * math/s_casinh.c: Do not include <float.h>.
6829 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6830 * math/s_casinhf.c: Do not include <float.h>.
6831 (__casinhf): Move code for finite nonzero arguments to
6833 * math/s_casinhl.c: Do not include <float.h>.
6834 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6836 (__casinhl): Move code for finite nonzero arguments to
6838 * math/libm-test.inc (cacos_test): Add more tests.
6839 * sysdeps/i386/fpu/libm-test-ulps: Update.
6840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6842 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6844 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6845 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6846 [!HAVE_MREMAP]: Remove [defined linux] case.
6847 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6849 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6851 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6853 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
6855 * elf/elf.h (R_386_SIZE32): New relocation.
6856 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6858 (elf_machine_rela): Likewise.
6859 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6860 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6862 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6864 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6865 (FP_FAST_FMA): Do not define.
6866 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6867 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6868 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6869 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6870 !_SOFT_FLOAT]: Likewise.
6871 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6872 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6874 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6875 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6876 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6877 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6878 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6879 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6882 2013-01-16 Andreas Schwab <schwab@suse.de>
6885 * include/stdlib.h (__mktemp): Add declaration.
6886 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6887 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6889 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6891 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6893 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6894 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6895 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6897 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6898 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6900 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6902 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6903 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6904 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6906 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6907 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6909 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6911 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6913 2013-01-15 David S. Miller <davem@davemloft.net>
6915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6916 trunc{,f} to libm-sysdep_routes.
6917 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6927 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6928 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6929 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6930 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6931 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6932 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6935 nearbyint{,f} to libm-sysdep_routes.
6936 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6947 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6949 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6950 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6952 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6953 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6954 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6956 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6957 libc_feholdexcept and libc_fesetenv.
6959 2013-01-15 Mike Frysinger <vapier@gentoo.org>
6961 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6963 2013-01-14 David S. Miller <davem@davemloft.net>
6965 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6966 (SPARC_ASM_VIS2_IFUNC): Likewise.
6967 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6969 use of 'siam' instruction.
6970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6998 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6999 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7003 routines to libm-sysdep_routines.
7004 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7007 fdim/fdimf to libm-sysdep_routines.
7008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7016 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7017 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7018 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7019 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7021 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7023 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7026 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7027 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7031 local variable MPTWO.
7032 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7035 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7037 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7040 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7042 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7044 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7046 * manual/pattern.texi (glob_t): Document gl_flags.
7047 (glob64_t): Likewise.
7049 2013-01-11 David S. Miller <davem@davemloft.net>
7051 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7052 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7053 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
7054 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7055 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7056 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7057 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7058 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7059 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7060 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7061 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7062 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7063 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7065 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7066 sparc V9 rather than using V8 code.
7067 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7068 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7070 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7072 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7075 2013-01-11 Roland McGrath <roland@hack.frob.com>
7077 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7078 not in the main loop.
7079 * configure: Regenerated.
7081 2013-01-11 Joseph Myers <joseph@codesourcery.com>
7083 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7084 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7086 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7087 [!__GLIBC_HAVE_LONG_LONG] case.
7088 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7089 condition to just #else.
7090 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7091 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7092 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7093 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7095 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7096 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7097 #elif condition to just #else.
7098 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7099 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7100 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7101 #elif condition to just #else.
7103 2013-01-11 Steve Ellcey <sellcey@mips.com>
7105 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7106 (EF_MIPS_ARCH_64): Fix value.
7107 (EF_MIPS_ARCH_32R2): New.
7108 (EF_MIPS_ARCH_64R2): New.
7110 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7112 * Makeconfig (+link-pie-before-libc): New.
7113 (+link-pie-after-libc): Likewise.
7114 (+link-pie-tests): Likewise.
7115 (+link-pie): Rewritten.
7116 (link-before-libc): Remove $(config-LDFLAGS).
7117 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7118 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7119 (config-LDFLAGS): Renamed to ...
7120 (rtld-LDFLAGS): This.
7121 (rtld-tests-LDFLAGS): New macro.
7122 (link-libc-rpath-link): Likewise.
7123 (link-libc-tests-rpath-link): Likewise.
7124 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7125 (link-libc): Prepand $(link-libc-rpath-link).
7126 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7127 (test-program-prefix): New macro.
7128 (test-via-rtld-prefix): Likewise.
7129 (test-program-cmd): Likewise.
7130 (host-test-program-cmd): Likewise.
7131 * Makefile ($(common-objpfx)testrun.sh): Replace
7132 $(run-program-prefix) with $(test-program-prefix).
7133 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7135 ($(common-objpfx)shlib.lds): Likewise.
7136 (build-module-helper): Likewise.
7137 ($(common-objpfx)format.lds): Likewise.
7138 * Rules (binaries-pie-tests): New.
7139 (binaries-pie-notests): Likewise.
7140 (binaries-pie): Rewritten.
7141 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7142 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7143 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7144 (make-test-out): Replace $(host-built-program-cmd) with
7145 $(host-test-program-cmd).
7146 * config.make.in (build-hardcoded-path-in-tests): New variable.
7147 * configure.in (--enable-hardcoded-path-in-tests): New configure
7149 (hardcoded_path_in_tests): New AC_SUBST.
7150 * configure: Regenerated.
7151 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7152 $(built-program-cmd) with $(test-program-cmd).
7153 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7154 (test_program_cmd): This.
7155 * elf/Makefile ($(objpfx)order.out): Run test with
7156 $(test-program-prefix).
7157 ($(objpfx)order2.out): Likewise.
7158 ($(objpfx)tst-initorder.out): Likewise.
7159 ($(objpfx)tst-initorder2.out): Likewise.
7160 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7161 $(test-program-cmd).
7162 ($(objpfx)tst-array1-static.out): Likewise.
7163 ($(objpfx)tst-array2.out): Likewise.
7164 ($(objpfx)tst-array3.out): Likewise.
7165 ($(objpfx)tst-array4.out): Likewise.
7166 ($(objpfx)tst-array5.out): Likewise.
7167 ($(objpfx)tst-array5-static.out): Likewise.
7168 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7169 $(test-program-cmd).
7170 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7171 $(run-program-prefix) with $(test-program-prefix).
7172 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7173 (test_program_prefix): This.
7174 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7175 $(run-program-prefix) with $(test-program-prefix).
7176 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7177 (test_program_prefix): This.
7178 * iconvdata/tst-tables.sh: Likewise.
7179 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7180 $(run-program-prefix) with $(test-program-prefix).
7181 ($(objpfx)tst-translit.out): Likewise.
7182 ($(objpfx)tst-gettext2.out): Likewise.
7183 ($(objpfx)tst-gettext4.out): Likewise.
7184 ($(objpfx)tst-gettext6.out): Likewise.
7185 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7186 (test_program_prefix): This.
7187 * intl/tst-gettext2.sh: Likewise.
7188 * intl/tst-gettext4.sh Likewise.
7189 * intl/tst-gettext6.sh: Likewise.
7190 * intl/tst-translit.sh: Likewise.
7191 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7192 with $(test-program-cmd).
7193 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7194 $(run-program-prefix) with $(test-program-prefix).
7195 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7196 (test_program_prefix): This.
7197 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7198 $(run-program-prefix) with $(test-program-prefix).
7199 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7200 (test_program_prefix): This.
7201 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7202 * posix/Makefile ($(objpfx)globtest.out): Replace
7203 $(run-via-rtld-prefix) and $(test-wrapper) with
7204 $(test-program-prefix) and $(test-via-rtld-prefix).
7205 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7206 $(test-program-prefix).
7207 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7208 $(host-test-program-cmd).
7209 (tst-spawn-ARGS): Likewise.
7210 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7211 $(test-program-prefix).
7212 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7213 (test_via_rtld_prefix): This.
7214 (test_wrapper): Renamed to ...
7215 (test_program_prefix): This.
7216 (run_program_prefix): Replaced by test_program_prefix.
7217 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7218 (test_program_prefix): This.
7219 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7220 with $(host-test-program-cmd).
7221 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7222 $(run-program-prefix) with $(test-program-prefix).
7223 ($(objpfx)tst-printf.out): Likewise.
7224 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7225 $(test-program-cmd).
7226 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7227 (test_program_prefix): This.
7228 * stdio-common/tst-unbputc.sh: Likewise.
7229 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7230 $(run-program-prefix) with $(test-program-prefix).
7231 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7232 (test_program_prefix): This.
7233 * string/Makefile ($(objpfx)tst-svc.out): Replace
7234 $(built-program-cmd) with $(test-program-cmd).
7236 2013-01-11 Andreas Jaeger <aj@suse.de>
7239 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7240 value. Sync with Linux 3.7.
7242 2013-01-10 David S. Miller <davem@davemloft.net>
7244 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7245 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7246 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7248 2013-01-10 Roland McGrath <roland@hack.frob.com>
7250 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7252 * configure: Regenerated.
7254 2013-01-10 David S. Miller <davem@davemloft.net>
7256 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7257 sparc V9 rather than using V8 code.
7258 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7259 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7261 2013-01-10 Roland McGrath <roland@hack.frob.com>
7263 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7264 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7265 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7266 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7267 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7268 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7269 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7270 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7271 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7272 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7273 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7274 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7275 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7276 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7277 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7278 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7279 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7280 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7281 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7282 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7283 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7284 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7285 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7286 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7287 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7288 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7289 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7291 2013-01-10 David S. Miller <davem@davemloft.net>
7293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7295 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7297 * posix/Makefile (tests-static): New variable.
7298 (tests): Add $(tests-static).
7299 (tst-exec-static-ARGS): New variable.
7300 (tst-spawn-static-ARGS): Likewise.
7301 * posix/tst-exec-static.c: New file.
7302 * posix/tst-spawn-static.c: Likewise.
7303 * posix/tst-exec.c: Support run directly.
7304 * posix/tst-spawn.c: Likewise.
7306 2013-01-10 Joseph Myers <joseph@codesourcery.com>
7308 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7310 * math/bits/mathcalls.h (llrint): Likewise.
7311 (llround): Likewise.
7312 * stdlib/stdlib.h (struct drand48_data): Likewise.
7313 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7314 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7315 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7317 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7319 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7320 (elf_greg_t): Likewise.
7321 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7322 (__jmp_buf): Likewise.
7323 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7325 (llrint): Likewise, for all definitions.
7326 (llrintl): Likewise.
7328 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7329 Remove [__GNUC__] condition.
7330 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7331 condition to just [__USE_ISOC99].
7332 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7334 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7337 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7338 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7340 (_POSIX_V6_ILP32_OFF32): Likewise.
7341 (_XBS5_ILP32_OFF32): Likewise.
7342 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7343 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7345 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7347 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7349 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7350 doubles __mpexp_twomm1. Adjust usage.
7351 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7354 2013-01-10 Andreas Schwab <schwab@suse.de>
7357 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7358 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7360 2013-01-09 David S. Miller <davem@davemloft.net>
7363 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7364 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7365 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7366 TCP_FASTOPEN): Define.
7367 (tcp_repair_opt): New structure.
7368 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7370 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7371 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7372 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7373 (tcp_cookie_transactions): New structure.
7375 2013-01-09 Anton Blanchard <anton@samba.org>
7377 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7378 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7379 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7380 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7382 2013-01-09 Joseph Myers <joseph@codesourcery.com>
7384 * include/features.h (__USE_ANSI): Remove.
7386 2013-01-09 Roland McGrath <roland@hack.frob.com>
7388 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7390 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7392 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7394 * sysdeps/s390/fpu/libm-test-ulps: Update.
7396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7398 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7403 (__mp_dbl): Likewise.
7404 (__dbl_mp): Likewise.
7405 (add_magnitudes): Likewise.
7406 (sub_magnitudes): Likewise.
7412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7417 (__mp_dbl): Likewise.
7418 (__dbl_mp): Likewise.
7419 (add_magnitudes): Likewise.
7420 (sub_magnitudes): Likewise.
7426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7431 (__mp_dbl): Likewise.
7432 (__dbl_mp): Likewise.
7433 (add_magnitudes): Likewise.
7434 (sub_magnitudes): Likewise.
7441 2013-01-08 Joseph Myers <joseph@codesourcery.com>
7443 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7444 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7445 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7446 2 && __USE_EXTERN_INLINES]: Likewise.
7448 2013-01-08 Andreas Jaeger <aj@suse.de>
7451 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7453 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7454 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7456 2013-01-07 Anton Blanchard <anton@samba.org>
7458 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7459 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7460 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7461 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7462 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7463 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7464 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7465 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7467 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7468 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7469 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7470 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7471 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7472 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7473 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7474 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7475 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7476 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7477 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7478 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7479 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7480 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7481 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7482 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7483 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7484 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7485 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7486 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7487 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7488 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7490 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7491 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7492 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7493 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7494 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7495 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7496 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7497 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7498 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7499 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7500 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7502 2013-01-07 Joseph Myers <joseph@codesourcery.com>
7504 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7505 (__MALLOC_PMT): Likewise.
7506 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7507 [__GNUC__], only on [_LIBC].
7508 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7509 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7510 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7511 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7512 forward declaration.
7513 (realloc_hook_ini): Likewise.
7514 (memalign_hook_ini): Likewise.
7515 (__libc_memalign): Do not use __MALLOC_PMT in variable
7517 (__libc_valloc): Likewise.
7518 (__libc_pvalloc): Likewise.
7519 (__libc_calloc): Likewise.
7520 (__posix_memalign): Likewise.
7523 * math/s_casinh.c: Include <float.h>.
7524 (__casinh): Do not do computation with squaring and square root
7525 for large arguments.
7526 * math/s_casinhf.c: Include <float.h>.
7527 (__casinhf): Do not do computation with squaring and square root
7528 for large arguments.
7529 * math/s_casinhl.c: Include <float.h>.
7530 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7531 (__casinhl): Do not do computation with squaring and square root
7532 for large arguments.
7533 * math/libm-test.inc (casin_test): Add more tests.
7534 (casinh_test): Likewise.
7535 * sysdeps/i386/fpu/libm-test-ulps: Update.
7536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7538 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7540 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7541 (__x86_64_raw_data_cache_size): Likewise.
7542 (__x86_64_data_cache_size_half): Likewise.
7543 (__x86_64_raw_data_cache_size_half): Likewise.
7544 (__x86_64_shared_cache_size): Likewise.
7545 (__x86_64_raw_shared_cache_size): Likewise.
7546 (__x86_64_shared_cache_size_half): Likewise.
7547 (__x86_64_raw_shared_cache_size_half): Likewise.
7548 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7550 (__x86_data_cache_size): This.
7551 (__x86_64_raw_data_cache_size): Renamed to ...
7552 (__x86_raw_data_cache_size): This.
7553 (__x86_64_data_cache_size_half): Renamed to ...
7554 (__x86_data_cache_size_half): This.
7555 (__x86_64_raw_data_cache_size_half): Renamed to ...
7556 (__x86_raw_data_cache_size_half): This.
7557 (__x86_64_shared_cache_size): Renamed to ...
7558 (__x86_shared_cache_size): This.
7559 (__x86_64_raw_shared_cache_size): Renamed to ...
7560 (__x86_raw_shared_cache_size): This.
7561 (__x86_64_shared_cache_size_half): Renamed to ...
7562 (__x86_shared_cache_size_half): This.
7563 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7564 (__x86_raw_shared_cache_size_half): This.
7565 * sysdeps/x86_64/memcpy.S: Updated.
7566 * sysdeps/x86_64/memset.S: Likewise.
7567 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7568 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7569 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7571 2013-01-04 David S. Miller <davem@davemloft.net>
7573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7575 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7577 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7578 1 to avoid redefinition warning.
7579 (__USE_GNU): Don't define.
7580 (init_signaling_nan): Protoize.
7582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7584 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7586 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7587 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7588 (__cpymn): Likewise.
7589 (norm): Remove commented code.
7591 (__mp_dbl): Likewise.
7593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7594 (__cpymn): Likewise.
7595 (norm): Remove commented code.
7597 (__mp_dbl): Likewise.
7600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7601 mp_no value for 1.0 and 2.0.
7602 (norm): Use RADIXI instead of radixi.d.
7604 (__mul): Use 0.0 instead of zero.d.
7605 * sysdeps/powerpc/powerpc64/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.
7611 2013-01-04 Joseph Myers <joseph@codesourcery.com>
7614 * math/s_casinh.c (__casinh): Reduce finite argument to first
7615 quadrant then set signs of results at the end.
7616 * math/s_casinhf.c (__casinhf): Likewise.
7617 * math/s_casinhl.c (__casinhl): Likewise.
7618 * math/libm-test.inc (casin_test): Add more tests.
7619 (casinh_test): Likewise.
7620 * sysdeps/i386/fpu/libm-test-ulps: Update.
7621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7623 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7625 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7627 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7629 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7632 (__mp_dbl): Likewise.
7635 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7636 and adjust the header comment.
7638 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7639 variable name from declaration.
7641 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7644 Initialize COMMON_CPUID_INDEX_7 element.
7645 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7646 (CPUID_RTM): Likewise.
7647 (HAS_RTM): Likewise.
7648 (COMMON_CPUID_INDEX_7): New enum.
7650 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7653 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7654 size is zero, record memory as freed.
7656 2013-01-03 Andreas Jaeger <aj@suse.de>
7658 * po/ia.po: Add new Interlingua translation.
7660 2012-01-03 Allan McRae <allan@archlinux.org>
7662 * locale/programs/localedef.c: Fix description of '--posix' flag.
7664 2013-01-02 Joseph Myers <joseph@codesourcery.com>
7666 * NEWS: Update dates in second copyright notice.
7667 * README: Update copyright dates in example.
7668 * manual/libc.texinfo: Update copyright dates.
7669 * scripts/test-installation.pl: Update copyright date in --version
7672 * hurd/ctty-input.c: Fix copyright notice formatting.
7673 * hurd/ctty-output.c: Likewise.
7674 * hurd/dtable.c: Likewise.
7675 * hurd/hurd-raise.c: Likewise.
7676 * hurd/hurdprio.c: Likewise.
7677 * hurd/msgportdemux.c: Likewise.
7678 * misc/sys/file.h: Likewise.
7679 * misc/sys/ioctl.h: Likewise.
7680 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7681 * sysdeps/mach/hurd/chdir.c: Likewise.
7682 * sysdeps/mach/hurd/fchdir.c: Likewise.
7683 * sysdeps/mach/hurd/rename.c: Likewise.
7684 * sysdeps/mach/hurd/rmdir.c: Likewise.
7685 * sysdeps/mach/hurd/seekdir.c: Likewise.
7686 * sysdeps/mach/hurd/setsid.c: Likewise.
7687 * sysdeps/posix/wait3.c: Likewise.
7689 * All files with FSF copyright notices: Update copyright dates
7690 using scripts/update-copyrights.
7691 * intl/plural.c: Regenerated.
7692 * locale/programs/charmap-kw.h: Likewise.
7693 * locale/programs/locfile-kw.h: Likewise.
7695 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7697 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7700 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7701 calculation loop and add branch prediction.
7703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7704 check access beyond bounds of m1np.
7706 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7708 (__inv): Remove local variable MPTWO to use the global
7710 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7711 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7713 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7714 MP3HALFS static const.
7716 2013-01-01 David S. Miller <davem@davemloft.net>
7718 * po/ca.po: Update from translation team.
7720 2013-01-01 Joseph Myers <joseph@codesourcery.com>
7722 * scripts/update-copyrights: New file.
7723 * Makeconfig: Reformat copyright notice.
7724 * ctype/ctype.h: Likewise.
7725 * debug/swprintf_chk.c: Likewise.
7726 * elf/dl-cache.c: Likewise.
7727 * elf/dl-debug.c: Likewise.
7728 * elf/dl-object.c: Likewise.
7729 * grp/initgroups.c: Likewise.
7730 * hurd/Makefile: Likewise.
7731 * hurd/hurd/signal.h: Likewise.
7732 * hurd/hurdfault.c: Likewise.
7733 * hurd/hurdioctl.c: Likewise.
7734 * hurd/hurdlookup.c: Likewise.
7735 * hurd/intr-msg.c: Likewise.
7736 * iconv/gconv_open.c: Likewise.
7737 * libio/swprintf.c: Likewise.
7738 * locale/lc-ctype.c: Likewise.
7739 * locale/nl_langinfo.c: Likewise.
7740 * mach/Machrules: Likewise.
7741 * mach/Makefile: Likewise.
7742 * malloc/obstack.h: Likewise.
7743 * manual/Makefile: Likewise.
7744 * manual/tsort.awk: Likewise.
7745 * misc/bits/stab.def: Likewise.
7746 * nis/nis_print_group_entry.c: Likewise.
7747 * nis/nis_table.c: Likewise.
7748 * nis/nss_compat/compat-pwd.c: Likewise.
7749 * nis/nss_compat/compat-spwd.c: Likewise.
7750 * po/Makefile: Likewise.
7751 * posix/fnmatch.c: Likewise.
7752 * posix/regex.h: Likewise.
7753 * resolv/Makefile: Likewise.
7754 * resolv/nss_dns/dns-network.c: Likewise.
7755 * resolv/res_hconf.c: Likewise.
7756 * scripts/gen-sorted.awk: Likewise.
7757 * soft-fp/soft-fp.h: Likewise.
7758 * stdio-common/printf.h: Likewise.
7759 * stdlib/monetary.h: Likewise.
7760 * stdlib/random.c: Likewise.
7761 * stdlib/random_r.c: Likewise.
7762 * sysdeps/generic/Makefile: Likewise.
7763 * sysdeps/gnu/Makefile: Likewise.
7764 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7765 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7766 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7768 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7770 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7771 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7772 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7774 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7775 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7776 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7777 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7778 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7779 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7780 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7781 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7782 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7783 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7784 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7785 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7786 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7787 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7788 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7789 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7790 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7791 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7792 * sysdeps/mach/hurd/errnos.awk: Likewise.
7793 * sysdeps/mach/hurd/fork.c: Likewise.
7794 * sysdeps/mach/hurd/getcwd.c: Likewise.
7795 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7796 * sysdeps/mach/hurd/mmap.c: Likewise.
7797 * sysdeps/mach/hurd/utimes.c: Likewise.
7798 * sysdeps/mach/hurd/xmknod.c: Likewise.
7799 * sysdeps/posix/profil.c: Likewise.
7800 * sysdeps/posix/readdir_r.c: Likewise.
7801 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7802 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7803 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7804 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7806 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7807 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7808 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7810 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7811 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7812 * sysdeps/pthread/lio_listio.c: Likewise.
7813 * sysdeps/sparc/dl-procinfo.h: Likewise.
7814 * sysdeps/unix/i386/sysdep.S: Likewise.
7815 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7816 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7817 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7818 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7820 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7821 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7822 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7823 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7824 * sysdeps/wordsize-32/divdi3.c: Likewise.
7825 * time/sys/time.h: Likewise.
7826 * wcsmbs/Makefile: Likewise.
7828 2013-01-01 David S. Miller <davem@davemloft.net>
7830 * po/fr.po: Update from translation team.
7832 * catgets/gencat.c: Update copyright year.
7833 * csu/version.c: Likewise.
7834 * debug/catchsegv.sh: Likewise.
7835 * debug/pcprofiledump.c: Likewise.
7836 * debug/xtrace.sh: Likewise.
7837 * elf/ldconfig.c: Likewise.
7838 * elf/ldd.bash.in: Likewise.
7839 * elf/pldd.c: Likewise.
7840 * elf/sotruss.ksh: Likewise.
7841 * elf/sprof.c: Likewise.
7842 * iconv/iconv_prog.c: Likewise.
7843 * iconv/iconvconfig.c: Likewise.
7844 * locale/programs/locale.c: Likewise.
7845 * locale/programs/localedef.c: Likewise.
7846 * login/programs/pt_chown.c: Likewise.
7847 * malloc/memusage.sh: Likewise.
7848 * malloc/memusagestat.c: Likewise.
7849 * malloc/mtrace.pl: Likewise.
7850 * nscd/nscd.c: Likewise.
7851 * nss/getent.c: Likewise.
7852 * nss/makedb.c: Likewise.
7853 * posix/getconf.c: Likewise.
7855 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7857 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7860 2012-12-30 Mike Frysinger <vapier@gentoo.org>
7862 * math/bits/mathcalls.h (modf): Use __nonnull.
7864 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7866 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7867 (split): Use macro CN instead of the bare value.
7868 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7870 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7871 instead of the bare value.
7874 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7876 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7878 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7880 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7882 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7883 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7884 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7885 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7887 2012-12-28 Andreas Jaeger <aj@suse.de>
7889 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7890 values are from Linux 3.7.
7892 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7893 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7895 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7897 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7900 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7902 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7903 variables with preprocessor constants.
7904 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7905 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7906 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7908 2012-12-27 Bruno Haible <bruno@clisp.org>
7911 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7914 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7916 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7917 and use variable directly.
7918 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7920 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7922 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7923 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7925 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7926 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7927 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7928 include directive. Remove local variable MPONE.
7929 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7930 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7931 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7933 2012-12-25 David S. Miller <davem@davemloft.net>
7935 * version.h (RELEASE): Set to "development".
7936 (VERSION): Set to "2.17.90".
7937 * NEWS: Add 2.18 section.
7939 2012-12-21 David S. Miller <davem@davemloft.net>
7941 * po/hr.po: Update from translation team.
7943 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7945 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7947 2012-12-19 Steve Ellcey <sellcey@mips.com>
7949 * NEWS: Mention new memcpy for MIPS.
7951 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7953 * manual/contrib.texi (Contributors): Spelling correction.
7955 2012-12-15 David S. Miller <davem@davemloft.net>
7957 * po/ru.po: Update from translation team.
7959 2012-12-13 David S. Miller <davem@davemloft.net>
7961 * NEWS: Mention IFUNC testsuite enhancements.
7963 * po/pl.po: Update from translation team.
7964 * po/bg.po: Likewise.
7966 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7967 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7969 2012-12-11 David S. Miller <davem@davemloft.net>
7971 * po/sv.po: Update from translation team.
7973 * po/vi.po: Update from translation team.
7975 * po/cs.po: Update from translation team.
7977 * po/de.po: Update from translation team.
7978 * po/eo.po: Likewise.
7979 * po/nl.po: Likewise.
7981 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7984 * manual/argp.texi (Argp Helper Functions): Move node to follow
7988 * manual/conf.texi (Limits on File System Capacity): Mention if
7989 terminating null is included in the max size.
7991 2012-12-10 Andreas Jaeger <aj@suse.de>
7993 * po/cs.po: Update from translation team.
7995 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7997 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7998 void pointer and cast to uintptr_t.
7999 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8001 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8002 * sysdeps/s390/s390-64/memset.S: Likewise.
8004 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
8007 * menual/message.texi (Message Translation): Fix typos.
8008 (Helper programs for gettext): Likewise.
8010 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8013 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8016 2012-12-07 David S. Miller <davem@davemloft.net>
8018 * po/libc.pot: Update.
8020 2012-12-07 Richard Henderson <rth@redhat.com>
8023 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8024 normal/normal case to before the switch.
8025 (_FP_DIV): Likewise.
8027 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8028 Mike Frysinger <vapier@gentoo.org>
8030 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8031 check for __NR_fadvise64_64.
8033 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8035 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8036 0, not just to plain "0" as a statement.
8037 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8040 2012-12-06 Joseph Myers <joseph@codesourcery.com>
8042 * NEWS: Use sourceware.org in Bugzilla URL.
8044 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8047 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8049 * stdio-common/tst-put-error.c (do_test): Add newline to the
8050 padded test to ensure flush.
8052 2012-12-05 Jeff Law <law@redhat.com>
8054 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8056 2012-12-05 Joseph Myers <joseph@codesourcery.com>
8058 * README: Don't refer to ports add-on as distributed separately.
8059 Mention AArch64 in list of systems supported in the ports add-on.
8061 * LICENSES: Add more non-FSF copyright and license notices.
8063 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8066 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8068 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8069 10000 as width of padded output.
8071 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8073 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8075 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8076 variable LX with __attribute__ ((unused)).
8077 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8079 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8080 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8081 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8082 with __attribute__ ((unused)).
8084 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
8086 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8088 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8090 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8091 (CFLAGS-nldbl-acos.c): New variable.
8092 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8093 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8094 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8095 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8096 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8097 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8098 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8099 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8100 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8101 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8102 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8103 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8104 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8105 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8106 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8107 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8108 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8109 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8110 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8111 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8112 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8113 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8114 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8115 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8116 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8117 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8118 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8119 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8120 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8121 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8122 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8123 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8124 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8125 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8126 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8127 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8128 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8129 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8130 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8131 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8132 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8133 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8134 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8135 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8136 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8137 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8138 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8139 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8140 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8141 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8142 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8143 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8144 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8145 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8146 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8147 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8148 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8149 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8150 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8151 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8152 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8153 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8154 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8155 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8156 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8157 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8158 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8159 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8160 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8161 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8162 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8163 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8164 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8165 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8166 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8167 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8168 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8169 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8170 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8171 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8172 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8173 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8174 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8175 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8176 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8177 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8178 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8179 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8180 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8181 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8182 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8183 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8184 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8185 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8186 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8187 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8188 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8191 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8194 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8195 whole low double instead of just low 47 bits when splitting values
8198 2012-12-03 Allan McRae <allan@archlinux.org>
8200 * manual/stdio.texi (Predefined Printf Handlers): Remove
8201 @hsep and @vsep usage.
8203 2012-12-03 Mike Frysinger <vapier@gentoo.org>
8205 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8206 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8208 2012-12-03 Jeff Law <law@redhat.com>
8210 * time/sys/time.h (settimeofday): Do not mark TV argument
8213 2012-12-01 Mike Frysinger <vapier@gentoo.org>
8215 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8216 when currently writing and seek to current position when not.
8217 * libio/Makefile (tests): Remove bug-fclose1.
8218 * libio/bug-fclose1.c: Delete.
8220 2012-12-01 Joseph Myers <joseph@codesourcery.com>
8222 * manual/arith.texi (feenableexcept): Fix typo.
8223 (fedisableexcept): Likewise.
8225 2012-11-30 Roland McGrath <roland@hack.frob.com>
8227 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8228 second, differently-typed declaration, rather than a cast.
8230 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8232 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8233 * include/rpc/svc.h: ... here.
8235 2012-11-30 Aurelien Jarno <aurel32@debian.org>
8238 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8239 depending n and resplen2 to catch cases where answer
8242 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8244 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8245 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8247 2012-11-29 Mike Frysinger <vapier@gentoo.org>
8249 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8251 2012-11-29 Roland McGrath <roland@hack.frob.com>
8253 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8255 2012-11-28 Jeff Law <law@redhat.com>
8258 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8259 dataset_temporary. Track alloca usage into alloca_used.
8260 If dataset is large allocate and release it via malloc/free.
8262 2012-06-04 Florian Weimer <fweimer@redhat.com>
8265 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8267 2012-11-28 David S. Miller <davem@davemloft.net>
8269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8271 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8274 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8275 of pi/2 rounded to nearest to 64 bits.
8276 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8278 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8281 2012-11-28 Jeff Law <law@redhat.com>
8282 Martin Osvald <mosvald@redhat.com>
8285 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8286 * sunrpc/svc.c: Include time.h.
8287 (__svc_accept_failed): New function.
8288 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8289 any reason other than EINTR, call __svc_accept_failed.
8290 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8291 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8293 2012-11-28 Andreas Schwab <schwab@suse.de>
8295 * scripts/abilist.awk: Also handle indirect functions in .opd
8298 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8301 * sysdeps/x86/fpu/powl_helper.c: New file.
8302 * sysdeps/x86/fpu/Makefile: Likewise.
8303 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8305 (__ieee754_powl): Use __powl_helper for finite arguments except
8306 integer exponents below 8.
8307 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8309 (__ieee754_powl): Use __powl_helper for finite arguments except
8310 integer exponents below 8.
8311 * math/libm-test.inc (pow_test): Add more tests and enable some
8312 previously disabled tests.
8313 * sysdeps/i386/fpu/libm-test-ulps: Update.
8314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8316 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8317 Carlos O'Donell <carlos_odonell@mentor.com>
8319 * nss/makedb.c (is_prime): Assert that input is odd and greater
8320 than 4. Note that fact in a comment too.
8321 (next_prime): Add 4 to input.
8323 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8326 * libio/Makefile (tests): Add test case tst-fwrite-error.
8327 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8328 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8329 * libio/tst-fwrite-error.c: New test case.
8331 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8333 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8334 before casting to void *.
8335 * include/libc-internal.h (__pointer_type): New macro.
8336 (__integer_if_pointer_type_sub): Likewise.
8337 (__integer_if_pointer_type): Likewise.
8338 (cast_to_integer): Likewise.
8339 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8340 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8341 before casting to atomic64_t.
8342 (atomic_exchange_acq): Likewise.
8343 (__arch_exchange_and_add_body): Likewise.
8344 (__arch_add_body): Likewise.
8345 (atomic_add_negative): Likewise.
8346 (atomic_add_zero): Likewise.
8348 2012-11-26 Joseph Myers <joseph@codesourcery.com>
8350 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8351 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8352 (add_fdes): Likewise.
8353 (linear_search_fdes): Likewise.
8354 (binary_search_unencoded_fdes): Likewise.
8356 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8358 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8360 2012-11-24 Adam Conrad <adconrad@0c3.net>
8362 * configure.in: Autodetect C++ header directories.
8363 * configure: Regenerated.
8365 2012-11-23 Mike Frysinger <vapier@gentoo.org>
8367 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8369 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8373 2012-11-22 Joseph Myers <joseph@codesourcery.com>
8375 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8376 LDBL_MANT_DIG == 106]: Disable some tests.
8377 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8379 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8383 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8384 input for small inputs. Return +/- pi/2 for large inputs.
8385 * math/libm-test.inc (atan_test): Add more tests.
8387 * sysdeps/generic/unwind-dw2-fde-glibc.c
8388 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8389 __attribute__ ((unused)).
8392 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8393 x * y if x and y are nonzero and z is zero.
8396 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8397 nonzero exponents with absolute value below 0x1p-117 to +/-
8401 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8402 up arguments below 2**-450, not just those below 2**-500.
8403 * math/libm-test.inc (hypot_test): Add another test.
8406 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8407 Return a+b for ratio over 2**120, not 2**60.
8408 * math/libm-test.inc (hypot_test): Add another test.
8410 * math/libm-test.inc (clog_test): Use
8411 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8412 (clog10_test): Likewise.
8415 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8417 2012-11-22 Andreas Schwab <schwab@suse.de>
8419 * sysdeps/i386/fpu/libm-test-ulps: Update.
8421 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8423 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8424 printf output with newline.
8426 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8429 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8430 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8431 -z nodlopen, -z initfirst and -z execstack support.
8432 * configure: Regenerated.
8434 * elf/elf.h (DF_1_NODIRECT): New macro.
8435 (DF_1_IGNMULDEF): Likewise.
8436 (DF_1_NOKSYMS): Likewise.
8437 (DF_1_NOHDR): Likewise.
8438 (DF_1_EDITED): Likewise.
8439 (DF_1_NORELOC): Likewise.
8440 (DF_1_SYMINTPOSE): Likewise.
8441 (DF_1_GLOBAUDIT): Likewise.
8442 (DF_1_SINGLETON): Likewise.
8443 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8444 DT_1_SUPPORTED_MASK bits.
8445 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8447 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8449 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8451 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8453 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8456 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8457 (sendmmsg): Move declarations...
8458 * socket/sys/socket.h: ... here.
8459 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8460 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8462 * socket/recvmmsg.c: ... this new file.
8463 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8464 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8465 definition of __sendmmsg hidden.
8466 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8467 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8468 Move ENOSYS stub into and include it from...
8469 * socket/sendmmsg.c: ... this new file.
8470 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8471 (sysdep_routines): Move recvmmsg and sendmmsg...
8472 * socket/Makefile (routines): ... here.
8473 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8474 (GLIBC_PRIVATE): Add __sendmmsg.
8475 * include/sys/socket.h (__sendmmsg): Add declarations.
8476 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8479 2012-11-20 Joseph Myers <joseph@codesourcery.com>
8481 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8482 variable I1 with __attribute__ ((unused)).
8483 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8485 2012-11-19 Joseph Myers <joseph@codesourcery.com>
8487 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8488 DUMMY variables with __attribute__ ((unused)).
8490 * bits/byteswap.h: Include <bits/types.h>.
8491 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8493 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8495 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8496 string_t. Do not manually set errno.
8497 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8498 length with __strnlen. Make sure to both set errno and return it on
8501 2012-11-19 David S. Miller <davem@davemloft.net>
8503 With help from Joseph Myers.
8504 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8505 very large arguments properly.
8506 * math/libm-test.inc (atan_test): New tests.
8507 (atan2_test): New tests.
8508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8511 2012-11-19 Joseph Myers <joseph@codesourcery.com>
8514 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8517 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8518 [POSIX] (EADDRNOTAVAIL): Likewise.
8519 [POSIX] (EAFNOSUPPORT): Likewise.
8520 [POSIX] (EALREADY): Likewise.
8521 [POSIX] (ECONNABORTED): Likewise.
8522 [POSIX] (ECONNREFUSED): Likewise.
8523 [POSIX] (ECONNRESET): Likewise.
8524 [POSIX] (EDESTADDRREQ): Likewise.
8525 [POSIX] (EDQUOT): Likewise.
8526 [POSIX] (EHOSTUNREACH): Likewise.
8527 [POSIX] (EIDRM): Likewise.
8528 [POSIX] (EISCONN): Likewise.
8529 [POSIX] (ELOOP): Likewise.
8530 [POSIX] (EMULTIHOP): Likewise.
8531 [POSIX] (ENETDOWN): Likewise.
8532 [POSIX] (ENETUNREACH): Likewise.
8533 [POSIX] (ENOBUFS): Likewise.
8534 [POSIX] (ENODATA): Likewise.
8535 [POSIX] (ENOLINK): Likewise.
8536 [POSIX] (ENOMSG): Likewise.
8537 [POSIX] (ENOPROTOOPT): Likewise.
8538 [POSIX] (ENOSR): Likewise.
8539 [POSIX] (ENOSTR): Likewise.
8540 [POSIX] (ENOTCONN): Likewise.
8541 [POSIX] (ENOTSOCK): Likewise.
8542 [POSIX] (EOPNOTSUPP): Likewise.
8543 [POSIX] (EOVERFLOW): Likewise.
8544 [POSIX] (EPROTO): Likewise.
8545 [POSIX] (EPROTONOSUPPORT): Likewise.
8546 [POSIX] (EPROTOTYPE): Likewise.
8547 [POSIX] (ESTALE): Likewise.
8548 [POSIX] (ETIME): Likewise.
8549 [POSIX] (ETXTBSY): Likewise.
8550 [POSIX] (EWOULDBLOCK): Likewise.
8551 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8552 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8553 [POSIX] (SEEK_CUR): Likewise.
8554 [POSIX] (SEEK_END): Likewise.
8555 [POSIX || UNIX98] (mode_t): Do not require.
8556 [POSIX] (off_t): Likewise.
8557 [POSIX] (pid_t): Likewise.
8558 [POSIX] (sys/stat.h): Do not allow header.
8559 [POSIX] (unistd.h): Likewise.
8560 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8561 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8562 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8563 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8565 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8566 sigevent): Specify elements.
8567 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8569 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8570 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8572 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8573 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8574 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8575 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8576 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8577 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8578 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8579 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8580 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8581 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8582 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8583 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8584 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8585 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8587 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8589 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8591 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8593 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8594 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8595 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8596 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8597 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8598 Specify lower bound on value.
8599 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8600 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8601 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8602 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8603 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8604 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8605 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8606 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8608 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8610 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8611 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8612 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8613 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8614 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8615 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8616 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8617 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8618 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8619 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8620 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8621 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8622 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8623 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8624 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8625 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8627 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8629 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8630 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8631 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8632 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8633 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8634 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8636 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8637 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8638 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8639 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8640 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8641 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8642 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8644 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8645 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8646 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8647 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8648 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8649 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8650 specify as optional.
8651 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8652 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8653 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8654 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8655 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8656 [XPG3] (NL_LANGMAX): Likewise.
8657 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8658 [POSIX || XPG3] (NL_NMAX): Likewise.
8659 [POSIX || XPG3] (NL_SETMAX): Likewise.
8660 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8661 [XPG3] (NZERO): Likewise.
8662 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8663 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8664 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8665 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8666 (REG_ERANGE): Expect.
8667 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8669 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8670 Use (void) in prototype.
8671 [POSIX] (*_t): Allow.
8672 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8673 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8674 (WRDE_BADVAL): Expect.
8676 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8678 [XPG3 || XPG4] (O_RSYNC): Likewise.
8679 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8681 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8682 [XPG3 || XPG4] (sigqueue): Likewise.
8683 [XPG3 || XPG4] (sigtimedwait): Likewise.
8684 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8685 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8686 [XPG3 || XPG4] (vsnprintf): Likewise.
8687 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8689 [XPG3 || XPG4] (blksize_t): Likewise.
8690 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8692 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8693 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8694 [XPG3 || XPG4] (struct itimerspec): Likewise.
8695 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8696 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8697 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8698 [XPG3 || XPG4] (clockid_t): Likewise.
8699 [XPG3 || XPG4] (timer_t): Likewise.
8700 [XPG3 || XPG4] (clock_getres): Likewise.
8701 [XPG3 || XPG4] (clock_gettime): Likewise.
8702 [XPG3 || XPG4] (clock_settime): Likewise.
8703 [XPG3 || XPG4] (nanosleep): Likewise.
8704 [XPG3 || XPG4] (timer_create): Likewise.
8705 [XPG3 || XPG4] (timer_delete): Likewise.
8706 [XPG3 || XPG4] (timer_gettime): Likewise.
8707 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8708 [XPG3 || XPG4] (timer_settime): Likewise.
8709 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8710 [XPG3 || XPG4] (getlogin_r): Likewise.
8711 [XPG3 || XPG4] (pread): Likewise.
8712 [XPG3 || XPG4] (pthread_atfork): Likewise.
8713 [XPG3 || XPG4] (pwrite): Likewise.
8716 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8719 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8721 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8722 finalizing MALLSTREAM.
8724 * sysdeps/mach/hurd/syncfs.c: New file.
8726 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8729 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8730 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8731 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8732 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8733 (_nss_dns_gethostbyname4_r): Likewise.
8734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8735 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8737 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8740 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8742 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8744 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8745 * elf/cache.c (print_entry): Print ",AArch64" for
8748 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8749 * elf/cache.c (print_entry): Print ",hard-float" for
8752 2012-11-18 David S. Miller <davem@davemloft.net>
8754 With help from Joseph Myers.
8755 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8757 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8759 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8760 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8762 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8763 * math/libm-test.inc (y0_test): New tests.
8764 (y1_test): New tests.
8765 * sysdeps/i386/fpu/libm-test-ulps: Update.
8766 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8769 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8771 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8773 * configure: Regenerated.
8775 2012-11-17 David S. Miller <davem@davemloft.net>
8778 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8779 nonzero exponents with absolute value below 0x1p-128 to +/-
8782 2012-11-17 Joseph Myers <joseph@codesourcery.com>
8784 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8786 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8788 * posix/getconf-speclist.c: New file.
8789 * posix/posix-envs.def: Likewise.
8790 * posix/confstr.c (START_ENV_GROUP): New macro.
8791 (END_ENV_GROUP): Likewise.
8792 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8793 (KNOWN_PRESENT_ENV_STRING): Likewise.
8794 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8795 (UNKNOWN_ENVIRONMENT): Likewise.
8796 (confstr): Include posix-envs.def instead of handling
8797 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8798 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8799 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8800 (END_ENV_GROUP): Likewise.
8801 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8802 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8803 (UNKNOWN_ENVIRONMENT): Likewise.
8804 (__sysconf): Include posix-envs.def instead of handling associated
8805 cases directly here.
8806 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8807 preprocessing getconf-speclist.c rather than running getconf or
8808 generating empty file.
8810 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8812 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8814 2012-11-16 Andrej Lajovic <natrij@gmail.com>
8817 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8819 2012-11-16 David S. Miller <davem@davemloft.net>
8821 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8822 smaller than LDBL_EPSILON/2.0L, just return xm1.
8824 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8826 * elf/tst-array1.c (init): Set constructor priority to 1000.
8827 (fini): Set destructor priority to 1000.
8828 * elf/tst-array2dep.c: Likewise.
8830 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8833 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8834 (_IO_new_file_xsputn): Also return EOF if none of the input
8835 data was written when overflow failed.
8836 * libio/iopadn.c (_IO_padn): Likewise.
8837 * libio/iowpadn.c (_IO_wpadn): Likewise.
8838 * stdio-common/tst-put-error.c: Add copyright notice.
8839 (do_test): Add case for printing padded string.
8840 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8841 _IO_padn returned error.
8842 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8843 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8846 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8848 * libio/libioP.h: Add comment note that the references to C++
8849 bits are now obsolete.
8851 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8853 * math/libm-test.inc (check_complex): Use asprintf.
8855 2012-11-14 Joseph Myers <joseph@codesourcery.com>
8857 * debug/pcprofiledump.c (print_version): Update copyright year.
8858 * malloc/memusagestat.c (print_version): Likewise.
8860 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8863 * elf/Makefile (tests): Add tst-audit8.
8864 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8865 ($(objpfx)tst-audit8.out): New target.
8866 (tst-audit8-ENV): New variable.
8867 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8868 audit if l_reloc_result is NULL.
8869 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8870 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8871 * elf/tst-audit8.c: New file.
8873 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8875 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8876 * misc/Makefile (CFLAGS-select.c): Define.
8877 * posix/Makefile (CFLAGS-pause.c): Define.
8879 2012-11-13 David S. Miller <davem@davemloft.net>
8881 * crypt/Makefile: Move test targets after toplevel Rules
8882 inclusion. Grab any necessary sysdep routines when linking.
8883 * crypt/md5.c (md5_process_block): Remove define, we will always
8884 name it __md5_process_block.
8885 (md5_finish_ctx): Update md5_process_block call.
8886 (md5_stream): Likewise.
8887 (md5_process_bytes): Likewise.
8888 (md5_process_block): Rename to __md5_process_block and move to ...
8889 * crypt/md5-block.c: ... here.
8890 * crypt/sha256.c (sha256_process_block): Move to ...
8891 * crypt/sha256-block.c: ... here.
8892 * crypt/sha512.c (sha512_process_block): Move to ...
8893 * crypt/sha512-block.c: ... here.
8894 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8896 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8897 * sysdeps/sparc/sparc64/multiarch/Makefile
8898 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8900 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8901 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8903 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8904 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8905 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8906 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8907 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8908 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8909 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8910 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8911 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8913 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8914 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8916 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8918 2012-11-13 Joseph Myers <joseph@codesourcery.com>
8920 * timezone/tzselect.ksh: Update from tzcode git revision
8921 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8922 * timezone/zdump.c: Likewise.
8923 * timezone/zic.c: Likewise.
8924 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8925 in TZVERSION setting, not $(PKGVERSION).
8926 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8927 REPORT_BUGS_TO settings.
8930 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8933 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8935 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8936 detection to immediately after _FP_ROUND().
8937 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8940 2012-11-11 David S. Miller <davem@davemloft.net>
8942 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8944 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8945 __close rather than their public counterparts.
8947 2012-11-10 Joseph Myers <joseph@codesourcery.com>
8949 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8951 [UNIX98] (sem_timedwait): Do not expect.
8952 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8953 [XPG4 || UNIX98] (sockatmark): Do not expect.
8954 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8955 (clock_getcpuclockid): Do not expect.
8956 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8957 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8959 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8960 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8961 [UNIX98] (vwscanf): Likewise.
8962 [UNIX98] (vswscanf): Likewise.
8964 2012-11-09 Joseph Myers <joseph@codesourcery.com>
8966 * timezone/version.h: Remove file.
8967 * timezone/README: Do not refer to version.h.
8968 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8970 ($(objpfx)zdump.o): Likewise.
8971 ($(objpfx)version.h): New target.
8973 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8975 * timezone/README: Don't mention modification to tzselect.ksh.
8976 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8977 work on unmodified tzselect.ksh. Substitute version numbers in
8980 * Makefile (format-me): Remove.
8981 (INSTALL): Adjust indentation. Use commands directly instead of
8984 * aclocal.m4 (ACX_PKGVERSION): New macro.
8985 (ACX_BUGURL): Likewise.
8986 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8987 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8988 (REPORT_BUGS_TO): Likewise.
8989 * configure: Regenerated.
8990 * config.h.in (PKGVERSION): New macro.
8991 (REPORT_BUGS_TO): Likewise.
8992 * config.make.in (PKGVERSION): New variable.
8993 (PKGVERSION_TEXI): Likewise.
8994 (REPORT_BUGS_TO): Likewise.
8995 (REPORT_BUGS_TEXI): Likewise.
8996 * Makefile (format-me): Use -I$(common-objpfx)manual.
8997 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8998 ($(common-objpfx)manual/%): New target.
8999 (manual/%): Remove target.
9000 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9001 (print_version): Use PKGVERSION.
9002 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9003 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9005 ($(objpfx)xtrace): Likewise.
9006 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9007 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9008 (print_version): Use PKGVERSION.
9009 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9010 (do_version): Use PKGVERSION.
9011 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9013 (common-ldd-rewrite): Likewise.
9014 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9015 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9016 (print_version): Use PKGVERSION.
9017 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9018 * elf/pldd.c (argp_program_bug_address): Remove variable.
9019 (more_help): New function.
9020 (argp): Use more_help.
9021 (print_version): Use PKGVERSION.
9022 * elf/sln.c (main): Use PKGVERSION.
9023 (usage): Use REPORT_BUGS_TO.
9024 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9025 (top level): Use PKGVERSION.
9026 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9027 (print_version): Use PKGVERSION.
9028 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9029 (print_version): Use PKGVERSION.
9030 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9031 (print_version): Use PKGVERSION.
9032 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9033 (print_version): Use PKGVERSION.
9034 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9035 (print_version): Use PKGVERSION.
9036 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9037 (print_version): Use PKGVERSION.
9038 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9040 ($(objpfx)memusage): Likewise.
9041 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9042 (do_version): Use PKGVERSION.
9043 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9044 (print_version): Use PKGVERSION.
9045 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9046 ($PKGVERSION): New variable.
9047 ($REPORT_BUGS_TO): Likewise.
9048 (usage): Use $REPORT_BUGS_TO.
9049 (top level): Use $PKGVERSION.
9050 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9051 ($(objpfx)pkgvers.texi): New rule.
9052 ($(objpfx)stamp-pkgvers): Likewise.
9053 * manual/install.texi: Include pkgvers.texi.
9054 (--with-pkgversion): Document new configure option.
9055 (--with-bugurl): Likewise.
9056 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9057 than necessarily for this particular distribution. Use
9058 REPORT_BUGS_TO for where to report bugs.
9059 * INSTALL: Regenerated.
9060 * manual/libc.texinfo: Include pkgvers.texi.
9061 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9062 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9063 (print_version): Use PKGVERSION.
9064 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9065 (print_version): Use PKGVERSION.
9066 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9067 (print_version): Use PKGVERSION.
9068 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9069 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9071 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9072 (print_version): Use PKGVERSION.
9073 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9074 (print_version): Use PKGVERSION.
9075 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9078 * timezone/checktab.awk: Update from tzcode 2012i.
9079 * timezone/ialloc.c: Likewise.
9080 * timezone/private.h: Likewise.
9081 * timezone/scheck.c: Likewise.
9082 * timezone/tzfile.h: Likewise.
9083 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9084 (TZVERSION): Hardcode tzcode version number.
9085 * timezone/zdump.c: Update from tzcode 2012i.
9086 * timezone/zic.c: Likewise.
9087 * timezone/version.h: New file.
9088 * timezone/README: Describe version.h. Update upstream location.
9091 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9092 (mktemp): Enable declaration.
9093 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9094 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9095 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9096 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9102 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9104 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9110 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9111 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9112 for copies of such integer values.
9113 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9114 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9116 2012-11-09 Andreas Jaeger <aj@suse.de>
9118 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9119 definitions and declarations that are provided by
9120 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9122 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9124 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9125 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9126 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9129 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9131 * elf/elf.h: Update comment before AArch64 relocations.
9133 2012-11-07 David S. Miller <davem@davemloft.net>
9135 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9136 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9137 (__start_context): Declare.
9138 (__makecontext_ret): Delete.
9139 (__makecontext): Hook up __start_context instead of
9141 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9142 (sysdep_routines): Add __start_context when in stdlib.
9144 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9146 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9147 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9148 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9150 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9151 (READELF): New variable. Use it instead of hardcoded "readelf".
9153 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9155 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9156 * sysdeps/x86/Makefile: Here.
9157 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9158 * sysdeps/x86/tst-xmmymm.sh: This.
9160 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9162 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9164 [UNIX98] (pthread_barrier_t): Do not expect.
9165 [UNIX98] (pthread_barrierattr_t): Likewise.
9166 [UNIX98] (pthread_spinlock_t): Likewise.
9167 [UNIX98] (pthread_barrier_destroy): Likewise.
9168 [UNIX98] (pthread_barrier_init): Likewise.
9169 [UNIX98] (pthread_barrier_wait): Likewise.
9170 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9171 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9172 [UNIX98] (pthread_barrierattr_init): Likewise.
9173 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9174 [UNIX98] (pthread_getcpuclockid): Likewise.
9175 [UNIX98] (pthread_mutex_timedlock): Likewise.
9176 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9177 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9178 [UNIX98] (pthread_sigmask): Likewise.
9179 [UNIX98] (pthread_spin_destroy): Likewise.
9180 [UNIX98] (pthread_spin_init): Likewise.
9181 [UNIX98] (pthread_spin_lock): Likewise.
9182 [UNIX98] (pthread_spin_trylock): Likewise.
9183 [UNIX98] (pthread_spin_unlock): Likewise.
9184 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9186 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9187 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9188 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9189 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9190 [XPG3 || XPG4] (pthread_key_t): Likewise.
9191 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9192 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9193 [XPG3 || XPG4] (pthread_once_t): Likewise.
9194 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9195 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9196 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9197 [XPG3 || XPG4] (pthread_t): Likewise.
9199 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9201 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9203 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9204 Change function return type to int.
9206 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9207 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9208 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9209 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9210 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9211 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9212 [!POSIX] (posix_madvise): Likewise.
9213 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9215 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9216 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9218 (posix_mem_offset): Likewise.
9219 (posix_typed_mem_get_info): Likewise.
9220 (posix_typed_mem_open): Likewise.
9222 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9223 Change condition to [XOPEN2K8].
9225 * conform/conformtest.pl: Preprocess allow-header data with -x c
9226 instead of from stdin.
9227 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9228 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9229 [C99-based standards] (cerfc): Likewise.
9230 [C99-based standards] (cexp2): Likewise.
9231 [C99-based standards] (cexpm1): Likewise.
9232 [C99-based standards] (clog10): Likewise.
9233 [C99-based standards] (clog1p): Likewise.
9234 [C99-based standards] (clog2): Likewise.
9235 [C99-based standards] (clgamma): Likewise.
9236 [C99-based standards] (ctgamma): Likewise.
9237 [C99-based standards] (cerff): Likewise.
9238 [C99-based standards] (cerfcf): Likewise.
9239 [C99-based standards] (cexp2f): Likewise.
9240 [C99-based standards] (cexpm1f): Likewise.
9241 [C99-based standards] (clog10f): Likewise.
9242 [C99-based standards] (clog1pf): Likewise.
9243 [C99-based standards] (clog2f): Likewise.
9244 [C99-based standards] (clgammaf): Likewise.
9245 [C99-based standards] (ctgammaf): Likewise.
9246 [C99-based standards] (cerfl): Likewise.
9247 [C99-based standards] (cerfcl): Likewise.
9248 [C99-based standards] (cexp2l): Likewise.
9249 [C99-based standards] (cexpm1l): Likewise.
9250 [C99-based standards] (clog10l): Likewise.
9251 [C99-based standards] (clog1pl): Likewise.
9252 [C99-based standards] (clog2l): Likewise.
9253 [C99-based standards] (clgammal): Likewise.
9254 [C99-based standards] (ctgammal): Likewise.
9255 * conform/data/inttypes.h-data [C99-based standards]: Include
9256 stdint.h-data. Remove all expectations for stdint.h contents.
9257 [C99-based standards] (PRI*): Do not allow.
9258 [C99-based standards] (SCN*): Likewise.
9259 [C99-based standards] (*_t): Likewise.
9260 [C99-based-standards] (PRId8): Expect macro.
9261 [C99-based-standards] (PRIi8): Likewise.
9262 [C99-based-standards] (PRIo8): Likewise.
9263 [C99-based-standards] (PRIu8): Likewise.
9264 [C99-based-standards] (PRIx8): Likewise.
9265 [C99-based-standards] (PRIX8): Likewise.
9266 [C99-based-standards] (SCNd8): Likewise.
9267 [C99-based-standards] (SCNi8): Likewise.
9268 [C99-based-standards] (SCNo8): Likewise.
9269 [C99-based-standards] (SCNu8): Likewise.
9270 [C99-based-standards] (SCNx8): Likewise.
9271 [C99-based-standards] (PRIdLEAST8): Likewise.
9272 [C99-based-standards] (PRIiLEAST8): Likewise.
9273 [C99-based-standards] (PRIoLEAST8): Likewise.
9274 [C99-based-standards] (PRIuLEAST8): Likewise.
9275 [C99-based-standards] (PRIxLEAST8): Likewise.
9276 [C99-based-standards] (PRIXLEAST8): Likewise.
9277 [C99-based-standards] (SCNdLEAST8): Likewise.
9278 [C99-based-standards] (SCNiLEAST8): Likewise.
9279 [C99-based-standards] (SCNoLEAST8): Likewise.
9280 [C99-based-standards] (SCNuLEAST8): Likewise.
9281 [C99-based-standards] (SCNxLEAST8): Likewise.
9282 [C99-based-standards] (PRIdFAST8): Likewise.
9283 [C99-based-standards] (PRIiFAST8): Likewise.
9284 [C99-based-standards] (PRIoFAST8): Likewise.
9285 [C99-based-standards] (PRIuFAST8): Likewise.
9286 [C99-based-standards] (PRIxFAST8): Likewise.
9287 [C99-based-standards] (PRIXFAST8): Likewise.
9288 [C99-based-standards] (SCNdFAST8): Likewise.
9289 [C99-based-standards] (SCNiFAST8): Likewise.
9290 [C99-based-standards] (SCNoFAST8): Likewise.
9291 [C99-based-standards] (SCNuFAST8): Likewise.
9292 [C99-based-standards] (SCNxFAST8): Likewise.
9293 [C99-based-standards] (PRId16): Likewise.
9294 [C99-based-standards] (PRIi16): Likewise.
9295 [C99-based-standards] (PRIo16): Likewise.
9296 [C99-based-standards] (PRIu16): Likewise.
9297 [C99-based-standards] (PRIx16): Likewise.
9298 [C99-based-standards] (PRIX16): Likewise.
9299 [C99-based-standards] (SCNd16): Likewise.
9300 [C99-based-standards] (SCNi16): Likewise.
9301 [C99-based-standards] (SCNo16): Likewise.
9302 [C99-based-standards] (SCNu16): Likewise.
9303 [C99-based-standards] (SCNx16): Likewise.
9304 [C99-based-standards] (PRIdLEAST16): Likewise.
9305 [C99-based-standards] (PRIiLEAST16): Likewise.
9306 [C99-based-standards] (PRIoLEAST16): Likewise.
9307 [C99-based-standards] (PRIuLEAST16): Likewise.
9308 [C99-based-standards] (PRIxLEAST16): Likewise.
9309 [C99-based-standards] (PRIXLEAST16): Likewise.
9310 [C99-based-standards] (SCNdLEAST16): Likewise.
9311 [C99-based-standards] (SCNiLEAST16): Likewise.
9312 [C99-based-standards] (SCNoLEAST16): Likewise.
9313 [C99-based-standards] (SCNuLEAST16): Likewise.
9314 [C99-based-standards] (SCNxLEAST16): Likewise.
9315 [C99-based-standards] (PRIdFAST16): Likewise.
9316 [C99-based-standards] (PRIiFAST16): Likewise.
9317 [C99-based-standards] (PRIoFAST16): Likewise.
9318 [C99-based-standards] (PRIuFAST16): Likewise.
9319 [C99-based-standards] (PRIxFAST16): Likewise.
9320 [C99-based-standards] (PRIXFAST16): Likewise.
9321 [C99-based-standards] (SCNdFAST16): Likewise.
9322 [C99-based-standards] (SCNiFAST16): Likewise.
9323 [C99-based-standards] (SCNoFAST16): Likewise.
9324 [C99-based-standards] (SCNuFAST16): Likewise.
9325 [C99-based-standards] (SCNxFAST16): Likewise.
9326 [C99-based-standards] (PRId32): Likewise.
9327 [C99-based-standards] (PRIi32): Likewise.
9328 [C99-based-standards] (PRIo32): Likewise.
9329 [C99-based-standards] (PRIu32): Likewise.
9330 [C99-based-standards] (PRIx32): Likewise.
9331 [C99-based-standards] (PRIX32): Likewise.
9332 [C99-based-standards] (SCNd32): Likewise.
9333 [C99-based-standards] (SCNi32): Likewise.
9334 [C99-based-standards] (SCNo32): Likewise.
9335 [C99-based-standards] (SCNu32): Likewise.
9336 [C99-based-standards] (SCNx32): Likewise.
9337 [C99-based-standards] (PRIdLEAST32): Likewise.
9338 [C99-based-standards] (PRIiLEAST32): Likewise.
9339 [C99-based-standards] (PRIoLEAST32): Likewise.
9340 [C99-based-standards] (PRIuLEAST32): Likewise.
9341 [C99-based-standards] (PRIxLEAST32): Likewise.
9342 [C99-based-standards] (PRIXLEAST32): Likewise.
9343 [C99-based-standards] (SCNdLEAST32): Likewise.
9344 [C99-based-standards] (SCNiLEAST32): Likewise.
9345 [C99-based-standards] (SCNoLEAST32): Likewise.
9346 [C99-based-standards] (SCNuLEAST32): Likewise.
9347 [C99-based-standards] (SCNxLEAST32): Likewise.
9348 [C99-based-standards] (PRIdFAST32): Likewise.
9349 [C99-based-standards] (PRIiFAST32): Likewise.
9350 [C99-based-standards] (PRIoFAST32): Likewise.
9351 [C99-based-standards] (PRIuFAST32): Likewise.
9352 [C99-based-standards] (PRIxFAST32): Likewise.
9353 [C99-based-standards] (PRIXFAST32): Likewise.
9354 [C99-based-standards] (SCNdFAST32): Likewise.
9355 [C99-based-standards] (SCNiFAST32): Likewise.
9356 [C99-based-standards] (SCNoFAST32): Likewise.
9357 [C99-based-standards] (SCNuFAST32): Likewise.
9358 [C99-based-standards] (SCNxFAST32): Likewise.
9359 [C99-based-standards] (PRId64): Likewise.
9360 [C99-based-standards] (PRIi64): Likewise.
9361 [C99-based-standards] (PRIo64): Likewise.
9362 [C99-based-standards] (PRIu64): Likewise.
9363 [C99-based-standards] (PRIx64): Likewise.
9364 [C99-based-standards] (PRIX64): Likewise.
9365 [C99-based-standards] (SCNd64): Likewise.
9366 [C99-based-standards] (SCNi64): Likewise.
9367 [C99-based-standards] (SCNo64): Likewise.
9368 [C99-based-standards] (SCNu64): Likewise.
9369 [C99-based-standards] (SCNx64): Likewise.
9370 [C99-based-standards] (PRIdLEAST64): Likewise.
9371 [C99-based-standards] (PRIiLEAST64): Likewise.
9372 [C99-based-standards] (PRIoLEAST64): Likewise.
9373 [C99-based-standards] (PRIuLEAST64): Likewise.
9374 [C99-based-standards] (PRIxLEAST64): Likewise.
9375 [C99-based-standards] (PRIXLEAST64): Likewise.
9376 [C99-based-standards] (SCNdLEAST64): Likewise.
9377 [C99-based-standards] (SCNiLEAST64): Likewise.
9378 [C99-based-standards] (SCNoLEAST64): Likewise.
9379 [C99-based-standards] (SCNuLEAST64): Likewise.
9380 [C99-based-standards] (SCNxLEAST64): Likewise.
9381 [C99-based-standards] (PRIdFAST64): Likewise.
9382 [C99-based-standards] (PRIiFAST64): Likewise.
9383 [C99-based-standards] (PRIoFAST64): Likewise.
9384 [C99-based-standards] (PRIuFAST64): Likewise.
9385 [C99-based-standards] (PRIxFAST64): Likewise.
9386 [C99-based-standards] (PRIXFAST64): Likewise.
9387 [C99-based-standards] (SCNdFAST64): Likewise.
9388 [C99-based-standards] (SCNiFAST64): Likewise.
9389 [C99-based-standards] (SCNoFAST64): Likewise.
9390 [C99-based-standards] (SCNuFAST64): Likewise.
9391 [C99-based-standards] (SCNxFAST64): Likewise.
9392 [C99-based-standards] (PRIdMAX): Likewise.
9393 [C99-based-standards] (PRIiMAX): Likewise.
9394 [C99-based-standards] (PRIoMAX): Likewise.
9395 [C99-based-standards] (PRIuMAX): Likewise.
9396 [C99-based-standards] (PRIxMAX): Likewise.
9397 [C99-based-standards] (PRIXMAX): Likewise.
9398 [C99-based-standards] (SCNdMAX): Likewise.
9399 [C99-based-standards] (SCNiMAX): Likewise.
9400 [C99-based-standards] (SCNoMAX): Likewise.
9401 [C99-based-standards] (SCNuMAX): Likewise.
9402 [C99-based-standards] (SCNxMAX): Likewise.
9403 [C99-based-standards] (PRIdPTR): Likewise.
9404 [C99-based-standards] (PRIiPTR): Likewise.
9405 [C99-based-standards] (PRIoPTR): Likewise.
9406 [C99-based-standards] (PRIuPTR): Likewise.
9407 [C99-based-standards] (PRIxPTR): Likewise.
9408 [C99-based-standards] (PRIXPTR): Likewise.
9409 [C99-based-standards] (SCNdPTR): Likewise.
9410 [C99-based-standards] (SCNiPTR): Likewise.
9411 [C99-based-standards] (SCNoPTR): Likewise.
9412 [C99-based-standards] (SCNuPTR): Likewise.
9413 [C99-based-standards] (SCNxPTR): Likewise.
9414 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9416 * conform/data/stdint.h-data: Update comments to clarify
9418 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9420 [C99-based standards] (INT8_MAX): Likewise.
9421 [C99-based standards] (INT16_MIN): Likewise.
9422 [C99-based standards] (INT16_MAX): Likewise.
9423 [C99-based standards] (INT32_MIN): Likewise.
9424 [C99-based standards] (INT32_MAX): Likewise.
9425 [C99-based standards] (INT64_MIN): Likewise.
9426 [C99-based standards] (INT64_MAX): Likewise.
9427 [C99-based standards] (UINT8_MAX): Likewise.
9428 [C99-based standards] (UINT16_MAX): Likewise.
9429 [C99-based standards] (UINT32_MAX): Likewise.
9430 [C99-based standards] (UINT64_MAX): Likewise.
9431 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9432 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9433 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9434 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9435 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9436 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9437 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9438 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9439 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9440 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9441 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9442 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9443 [C99-based standards] (INT_FAST8_MIN): Likewise.
9444 [C99-based standards] (INT_FAST8_MAX): Likewise.
9445 [C99-based standards] (INT_FAST16_MIN): Likewise.
9446 [C99-based standards] (INT_FAST16_MAX): Likewise.
9447 [C99-based standards] (INT_FAST32_MIN): Likewise.
9448 [C99-based standards] (INT_FAST32_MAX): Likewise.
9449 [C99-based standards] (INT_FAST64_MIN): Likewise.
9450 [C99-based standards] (INT_FAST64_MAX): Likewise.
9451 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9452 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9453 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9454 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9455 [C99-based standards] (INTPTR_MIN): Likewise.
9456 [C99-based standards] (INTPTR_MAX): Likewise.
9457 [C99-based standards] (UINTPTR_MAX): Likewise.
9458 [C99-based standards] (INTMAX_MIN): Likewise.
9459 [C99-based standards] (INTMAX_MAX): Likewise.
9460 [C99-based standards] (UINTMAX_MAX): Likewise.
9461 [C99-based standards] (PTRDIFF_MIN): Likewise.
9462 [C99-based standards] (PTRDIFF_MAX): Likewise.
9463 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9464 [C99-based standards] (SIZE_MAX): Likewise.
9465 [C99-based standards] (WCHAR_MAX): Likewise.
9466 [C99-based standards] (WINT_MAX): Likewise.
9467 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9468 constraint on value.
9469 [C99-based standards] (WCHAR_MIN): Likewise.
9470 [C99-based standards] (WINT_MIN): Likewise.
9471 [C99-based standards] (*_t): Allow.
9472 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9473 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9474 Include math.h-data and complex.h-data. Remove all expectations
9475 of math.h and complex.h contents.
9476 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9478 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9479 (struct tm): Expect tag.
9480 [C99-based-standards] (wcstof): Expect function.
9481 [C99-based-standards] (wcstold): Likewise.
9482 [C99-based-standards] (wcstoll): Likewise.
9483 [C99-based-standards] (wcstoull): Likewise.
9484 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9485 macro-int-constant. Specify type.
9486 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9487 constraint on value.
9488 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9490 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9492 [ISO C standards]: Do not allow headers.
9493 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9494 wcs[abcdefghijklmnopqrstuvwxyz]*.
9495 [ISO C standards] (*_t): Do not allow.
9496 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9498 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9499 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9501 [ISO C standards]: Do not allow headers.
9502 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9503 is[abcdefghijklmnopqrstuvwxyz]*.
9504 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9505 to[abcdefghijklmnopqrstuvwxyz]*.
9506 [ISO C standards] (*_t): Do not allow.
9507 * conform/data/stdalign.h-data: New file.
9508 * conform/data/stdbool.h-data: Likewise.
9509 * conform/data/stdnoreturn.h-data: Likewise.
9511 2012-11-07 Roland McGrath <roland@hack.frob.com>
9514 * manual/filesys.texi (Directory Entries): Typo fix.
9515 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9517 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9519 * elf/elf.h (EM_AARCH64): New macro.
9520 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9521 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9522 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9523 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9524 (R_AARCH64_TLSDESC): Likewise.
9525 (NT_ARM_TLS): Likewise.
9526 (NT_ARM_HW_BREAK): Likewise.
9527 (NT_ARM_HW_WATCH): Likewise.
9529 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9532 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9533 (__ieee754_powl): Saturate nonzero exponents with absolute value
9534 below 0x1p-79 to +/- 0x1p-79.
9535 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9536 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9537 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9538 nonzero exponents with absolute value below 0x1p-32 to +/-
9540 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9541 (__ieee754_powl): Saturate nonzero exponents with absolute value
9542 below 0x1p-79 to +/- 0x1p-79.
9543 * math/libm-test.inc (pow_test): Add more tests.
9545 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9547 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9548 _dl_s390_cap_flags with kernel. Increase string length.
9549 (_dl_s390_platforms): Add z196 and zEC12.
9551 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9553 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9554 Change XOPEN21K to XOPEN2K.
9556 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9558 * string/memmove.c: Use memcpy when possible.
9560 2012-11-06 Andreas Jaeger <aj@suse.de>
9562 * po/eo.po: Update from translation team.
9564 2012-11-06 Joseph Myers <joseph@codesourcery.com>
9567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9568 exponent and small x and y exponents, scale x or y up. Increase
9569 by 2 the exponent used in scaling up.
9570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9571 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9572 * math/libm-test.inc (fma_test): Add more tests.
9573 (fma_test_towardzero): Likewise.
9574 (fma_test_downward): Likewise.
9575 (fma_test_upward): Likewise.
9577 2012-11-05 Joseph Myers <joseph@codesourcery.com>
9580 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9584 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9585 namespace for names of struct fields.
9586 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9588 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9589 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9591 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9594 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9596 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9598 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9602 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9605 2012-11-04 Joseph Myers <joseph@codesourcery.com>
9608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9609 definitely overflow as x * y not x * y + z.
9610 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9611 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9612 * math/libm-test.inc (fma_test): Add more tests.
9613 (fma_test_towardzero): Likewise.
9614 (fma_test_downward): Likewise.
9615 (fma_test_upward): Likewise.
9617 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9621 * include/stub-tag.h: Remove file.
9622 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9624 * manual/maint.texi (Porting): Don't reference it.
9625 * Makerules ($(objpfx)stubs): Likewise.
9626 * dirent/closedir.c: Don't include <stub-tag.h>.
9627 * dirent/dirfd.c: Likewise.
9628 * dirent/fdopendir.c: Likewise.
9629 * dirent/getdents.c: Likewise.
9630 * dirent/getdents64.c: Likewise.
9631 * dirent/opendir.c: Likewise.
9632 * dirent/readdir.c: Likewise.
9633 * dirent/readdir64.c: Likewise.
9634 * dirent/readdir64_r.c: Likewise.
9635 * dirent/readdir_r.c: Likewise.
9636 * dirent/rewinddir.c: Likewise.
9637 * dirent/seekdir.c: Likewise.
9638 * dirent/telldir.c: Likewise.
9639 * gmon/profil.c: Likewise.
9640 * grp/setgroups.c: Likewise.
9641 * inet/if_index.c: Likewise.
9642 * io/access.c: Likewise.
9643 * io/chdir.c: Likewise.
9644 * io/chmod.c: Likewise.
9645 * io/chown.c: Likewise.
9646 * io/close.c: Likewise.
9647 * io/dup.c: Likewise.
9648 * io/dup2.c: Likewise.
9649 * io/dup3.c: Likewise.
9650 * io/euidaccess.c: Likewise.
9651 * io/faccessat.c: Likewise.
9652 * io/fchdir.c: Likewise.
9653 * io/fchmod.c: Likewise.
9654 * io/fchmodat.c: Likewise.
9655 * io/fchown.c: Likewise.
9656 * io/fchownat.c: Likewise.
9657 * io/fcntl.c: Likewise.
9658 * io/flock.c: Likewise.
9659 * io/fstatfs.c: Likewise.
9660 * io/fstatfs64.c: Likewise.
9661 * io/fstatvfs.c: Likewise.
9662 * io/fstatvfs64.c: Likewise.
9663 * io/futimens.c: Likewise.
9664 * io/fxstat.c: Likewise.
9665 * io/fxstat64.c: Likewise.
9666 * io/fxstatat.c: Likewise.
9667 * io/fxstatat64.c: Likewise.
9668 * io/getcwd.c: Likewise.
9669 * io/isatty.c: Likewise.
9670 * io/lchmod.c: Likewise.
9671 * io/lchown.c: Likewise.
9672 * io/link.c: Likewise.
9673 * io/linkat.c: Likewise.
9674 * io/lseek.c: Likewise.
9675 * io/lseek64.c: Likewise.
9676 * io/lxstat64.c: Likewise.
9677 * io/mkdir.c: Likewise.
9678 * io/mkdirat.c: Likewise.
9679 * io/mkfifo.c: Likewise.
9680 * io/mkfifoat.c: Likewise.
9681 * io/open.c: Likewise.
9682 * io/open64.c: Likewise.
9683 * io/openat.c: Likewise.
9684 * io/openat64.c: Likewise.
9685 * io/pipe.c: Likewise.
9686 * io/pipe2.c: Likewise.
9687 * io/poll.c: Likewise.
9688 * io/posix_fadvise.c: Likewise.
9689 * io/posix_fadvise64.c: Likewise.
9690 * io/posix_fallocate.c: Likewise.
9691 * io/posix_fallocate64.c: Likewise.
9692 * io/read.c: Likewise.
9693 * io/readlink.c: Likewise.
9694 * io/readlinkat.c: Likewise.
9695 * io/rmdir.c: Likewise.
9696 * io/sendfile.c: Likewise.
9697 * io/sendfile64.c: Likewise.
9698 * io/statfs.c: Likewise.
9699 * io/statfs64.c: Likewise.
9700 * io/statvfs.c: Likewise.
9701 * io/statvfs64.c: Likewise.
9702 * io/symlink.c: Likewise.
9703 * io/symlinkat.c: Likewise.
9704 * io/ttyname.c: Likewise.
9705 * io/ttyname_r.c: Likewise.
9706 * io/umask.c: Likewise.
9707 * io/unlink.c: Likewise.
9708 * io/unlinkat.c: Likewise.
9709 * io/utime.c: Likewise.
9710 * io/utimensat.c: Likewise.
9711 * io/write.c: Likewise.
9712 * io/xmknod.c: Likewise.
9713 * io/xmknodat.c: Likewise.
9714 * io/xstat.c: Likewise.
9715 * io/xstat64.c: Likewise.
9716 * login/getpt.c: Likewise.
9717 * login/grantpt.c: Likewise.
9718 * login/unlockpt.c: Likewise.
9719 * math/e_acoshl.c: Likewise.
9720 * math/e_acosl.c: Likewise.
9721 * math/e_asinl.c: Likewise.
9722 * math/e_atan2l.c: Likewise.
9723 * math/e_atanhl.c: Likewise.
9724 * math/e_coshl.c: Likewise.
9725 * math/e_expl.c: Likewise.
9726 * math/e_fmodl.c: Likewise.
9727 * math/e_gammal_r.c: Likewise.
9728 * math/e_hypotl.c: Likewise.
9729 * math/e_j0l.c: Likewise.
9730 * math/e_j1l.c: Likewise.
9731 * math/e_jnl.c: Likewise.
9732 * math/e_lgammal_r.c: Likewise.
9733 * math/e_log10l.c: Likewise.
9734 * math/e_log2l.c: Likewise.
9735 * math/e_logl.c: Likewise.
9736 * math/e_powl.c: Likewise.
9737 * math/e_rem_pio2l.c: Likewise.
9738 * math/e_sinhl.c: Likewise.
9739 * math/e_sqrtl.c: Likewise.
9740 * math/fclrexcpt.c: Likewise.
9741 * math/fedisblxcpt.c: Likewise.
9742 * math/feenablxcpt.c: Likewise.
9743 * math/fegetenv.c: Likewise.
9744 * math/fegetexcept.c: Likewise.
9745 * math/fegetround.c: Likewise.
9746 * math/feholdexcpt.c: Likewise.
9747 * math/fesetenv.c: Likewise.
9748 * math/fesetround.c: Likewise.
9749 * math/feupdateenv.c: Likewise.
9750 * math/fgetexcptflg.c: Likewise.
9751 * math/fraiseexcpt.c: Likewise.
9752 * math/fsetexcptflg.c: Likewise.
9753 * math/ftestexcept.c: Likewise.
9754 * math/k_cosl.c: Likewise.
9755 * math/k_rem_pio2l.c: Likewise.
9756 * math/k_sinl.c: Likewise.
9757 * math/k_tanl.c: Likewise.
9758 * math/s_asinhl.c: Likewise.
9759 * math/s_atanl.c: Likewise.
9760 * math/s_cbrtl.c: Likewise.
9761 * math/s_erfl.c: Likewise.
9762 * math/s_expm1l.c: Likewise.
9763 * math/s_log1pl.c: Likewise.
9764 * math/s_tanhl.c: Likewise.
9765 * misc/acct.c: Likewise.
9766 * misc/brk.c: Likewise.
9767 * misc/chflags.c: Likewise.
9768 * misc/chroot.c: Likewise.
9769 * misc/fchflags.c: Likewise.
9770 * misc/fgetxattr.c: Likewise.
9771 * misc/flistxattr.c: Likewise.
9772 * misc/fremovexattr.c: Likewise.
9773 * misc/fsetxattr.c: Likewise.
9774 * misc/fsync.c: Likewise.
9775 * misc/ftruncate.c: Likewise.
9776 * misc/futimes.c: Likewise.
9777 * misc/futimesat.c: Likewise.
9778 * misc/getdomain.c: Likewise.
9779 * misc/getdtsz.c: Likewise.
9780 * misc/gethostid.c: Likewise.
9781 * misc/gethostname.c: Likewise.
9782 * misc/getloadavg.c: Likewise.
9783 * misc/getpagesize.c: Likewise.
9784 * misc/getsysstats.c: Likewise.
9785 * misc/getxattr.c: Likewise.
9786 * misc/gtty.c: Likewise.
9787 * misc/ioctl.c: Likewise.
9788 * misc/lgetxattr.c: Likewise.
9789 * misc/listxattr.c: Likewise.
9790 * misc/llistxattr.c: Likewise.
9791 * misc/lremovexattr.c: Likewise.
9792 * misc/lsetxattr.c: Likewise.
9793 * misc/lutimes.c: Likewise.
9794 * misc/madvise.c: Likewise.
9795 * misc/mincore.c: Likewise.
9796 * misc/mlock.c: Likewise.
9797 * misc/mlockall.c: Likewise.
9798 * misc/mmap.c: Likewise.
9799 * misc/mprotect.c: Likewise.
9800 * misc/msync.c: Likewise.
9801 * misc/munlock.c: Likewise.
9802 * misc/munlockall.c: Likewise.
9803 * misc/munmap.c: Likewise.
9804 * misc/preadv.c: Likewise.
9805 * misc/preadv64.c: Likewise.
9806 * misc/ptrace.c: Likewise.
9807 * misc/pwritev.c: Likewise.
9808 * misc/pwritev64.c: Likewise.
9809 * misc/readv.c: Likewise.
9810 * misc/reboot.c: Likewise.
9811 * misc/remap_file_pages.c: Likewise.
9812 * misc/removexattr.c: Likewise.
9813 * misc/revoke.c: Likewise.
9814 * misc/select.c: Likewise.
9815 * misc/setdomain.c: Likewise.
9816 * misc/setegid.c: Likewise.
9817 * misc/seteuid.c: Likewise.
9818 * misc/sethostid.c: Likewise.
9819 * misc/sethostname.c: Likewise.
9820 * misc/setregid.c: Likewise.
9821 * misc/setreuid.c: Likewise.
9822 * misc/setxattr.c: Likewise.
9823 * misc/sstk.c: Likewise.
9824 * misc/stty.c: Likewise.
9825 * misc/swapoff.c: Likewise.
9826 * misc/swapon.c: Likewise.
9827 * misc/sync.c: Likewise.
9828 * misc/syncfs.c: Likewise.
9829 * misc/syscall.c: Likewise.
9830 * misc/truncate.c: Likewise.
9831 * misc/ualarm.c: Likewise.
9832 * misc/usleep.c: Likewise.
9833 * misc/ustat.c: Likewise.
9834 * misc/utimes.c: Likewise.
9835 * misc/vhangup.c: Likewise.
9836 * misc/writev.c: Likewise.
9837 * posix/_exit.c: Likewise.
9838 * posix/alarm.c: Likewise.
9839 * posix/execve.c: Likewise.
9840 * posix/fexecve.c: Likewise.
9841 * posix/fork.c: Likewise.
9842 * posix/fpathconf.c: Likewise.
9843 * posix/getaddrinfo.c: Likewise.
9844 * posix/getegid.c: Likewise.
9845 * posix/geteuid.c: Likewise.
9846 * posix/getgid.c: Likewise.
9847 * posix/getgroups.c: Likewise.
9848 * posix/getlogin.c: Likewise.
9849 * posix/getlogin_r.c: Likewise.
9850 * posix/getpgid.c: Likewise.
9851 * posix/getpid.c: Likewise.
9852 * posix/getppid.c: Likewise.
9853 * posix/getresgid.c: Likewise.
9854 * posix/getresuid.c: Likewise.
9855 * posix/getsid.c: Likewise.
9856 * posix/getuid.c: Likewise.
9857 * posix/glob64.c: Likewise.
9858 * posix/nanosleep.c: Likewise.
9859 * posix/pathconf.c: Likewise.
9860 * posix/pause.c: Likewise.
9861 * posix/posix_madvise.c: Likewise.
9862 * posix/pread.c: Likewise.
9863 * posix/pread64.c: Likewise.
9864 * posix/pwrite.c: Likewise.
9865 * posix/pwrite64.c: Likewise.
9866 * posix/sched_getaffinity.c: Likewise.
9867 * posix/sched_getp.c: Likewise.
9868 * posix/sched_gets.c: Likewise.
9869 * posix/sched_primax.c: Likewise.
9870 * posix/sched_primin.c: Likewise.
9871 * posix/sched_rr_gi.c: Likewise.
9872 * posix/sched_setaffinity.c: Likewise.
9873 * posix/sched_setp.c: Likewise.
9874 * posix/sched_sets.c: Likewise.
9875 * posix/sched_yield.c: Likewise.
9876 * posix/setgid.c: Likewise.
9877 * posix/setlogin.c: Likewise.
9878 * posix/setpgid.c: Likewise.
9879 * posix/setresgid.c: Likewise.
9880 * posix/setresuid.c: Likewise.
9881 * posix/setsid.c: Likewise.
9882 * posix/setuid.c: Likewise.
9883 * posix/sleep.c: Likewise.
9884 * posix/spawni.c: Likewise.
9885 * posix/sysconf.c: Likewise.
9886 * posix/times.c: Likewise.
9887 * posix/wait.c: Likewise.
9888 * posix/wait3.c: Likewise.
9889 * posix/wait4.c: Likewise.
9890 * posix/waitpid.c: Likewise.
9891 * resolv/gai_sigqueue.c: Likewise.
9892 * resource/getpriority.c: Likewise.
9893 * resource/getrlimit.c: Likewise.
9894 * resource/getrusage.c: Likewise.
9895 * resource/nice.c: Likewise.
9896 * resource/setpriority.c: Likewise.
9897 * resource/setrlimit.c: Likewise.
9898 * resource/ulimit.c: Likewise.
9899 * rt/aio_cancel.c: Likewise.
9900 * rt/aio_fsync.c: Likewise.
9901 * rt/aio_read.c: Likewise.
9902 * rt/aio_sigqueue.c: Likewise.
9903 * rt/aio_suspend.c: Likewise.
9904 * rt/aio_write.c: Likewise.
9905 * rt/clock_getres.c: Likewise.
9906 * rt/clock_gettime.c: Likewise.
9907 * rt/clock_nanosleep.c: Likewise.
9908 * rt/clock_settime.c: Likewise.
9909 * rt/lio_listio.c: Likewise.
9910 * rt/mq_close.c: Likewise.
9911 * rt/mq_getattr.c: Likewise.
9912 * rt/mq_notify.c: Likewise.
9913 * rt/mq_open.c: Likewise.
9914 * rt/mq_receive.c: Likewise.
9915 * rt/mq_send.c: Likewise.
9916 * rt/mq_setattr.c: Likewise.
9917 * rt/mq_timedreceive.c: Likewise.
9918 * rt/mq_timedsend.c: Likewise.
9919 * rt/mq_unlink.c: Likewise.
9920 * rt/shm_open.c: Likewise.
9921 * rt/shm_unlink.c: Likewise.
9922 * rt/timer_create.c: Likewise.
9923 * rt/timer_delete.c: Likewise.
9924 * rt/timer_getoverr.c: Likewise.
9925 * rt/timer_gettime.c: Likewise.
9926 * rt/timer_settime.c: Likewise.
9927 * setjmp/__longjmp.c: Likewise.
9928 * setjmp/setjmp.c: Likewise.
9929 * signal/kill.c: Likewise.
9930 * signal/killpg.c: Likewise.
9931 * signal/raise.c: Likewise.
9932 * signal/sigaction.c: Likewise.
9933 * signal/sigaltstack.c: Likewise.
9934 * signal/sigblock.c: Likewise.
9935 * signal/sigignore.c: Likewise.
9936 * signal/sigintr.c: Likewise.
9937 * signal/signal.c: Likewise.
9938 * signal/sigpause.c: Likewise.
9939 * signal/sigpending.c: Likewise.
9940 * signal/sigqueue.c: Likewise.
9941 * signal/sigreturn.c: Likewise.
9942 * signal/sigset.c: Likewise.
9943 * signal/sigsetmask.c: Likewise.
9944 * signal/sigstack.c: Likewise.
9945 * signal/sigsuspend.c: Likewise.
9946 * signal/sigtimedwait.c: Likewise.
9947 * signal/sigvec.c: Likewise.
9948 * signal/sigwait.c: Likewise.
9949 * signal/sigwaitinfo.c: Likewise.
9950 * signal/sysv_signal.c: Likewise.
9951 * socket/accept.c: Likewise.
9952 * socket/accept4.c: Likewise.
9953 * socket/bind.c: Likewise.
9954 * socket/connect.c: Likewise.
9955 * socket/getpeername.c: Likewise.
9956 * socket/getsockname.c: Likewise.
9957 * socket/getsockopt.c: Likewise.
9958 * socket/isfdtype.c: Likewise.
9959 * socket/listen.c: Likewise.
9960 * socket/recv.c: Likewise.
9961 * socket/recvfrom.c: Likewise.
9962 * socket/recvmsg.c: Likewise.
9963 * socket/send.c: Likewise.
9964 * socket/sendmsg.c: Likewise.
9965 * socket/sendto.c: Likewise.
9966 * socket/setsockopt.c: Likewise.
9967 * socket/shutdown.c: Likewise.
9968 * socket/sockatmark.c: Likewise.
9969 * socket/socket.c: Likewise.
9970 * socket/socketpair.c: Likewise.
9971 * stdio-common/ctermid.c: Likewise.
9972 * stdio-common/cuserid.c: Likewise.
9973 * stdio-common/remove.c: Likewise.
9974 * stdio-common/rename.c: Likewise.
9975 * stdio-common/renameat.c: Likewise.
9976 * stdio-common/tempname.c: Likewise.
9977 * stdlib/getcontext.c: Likewise.
9978 * stdlib/makecontext.c: Likewise.
9979 * stdlib/setcontext.c: Likewise.
9980 * stdlib/swapcontext.c: Likewise.
9981 * stdlib/system.c: Likewise.
9982 * streams/fattach.c: Likewise.
9983 * streams/fdetach.c: Likewise.
9984 * streams/getmsg.c: Likewise.
9985 * streams/getpmsg.c: Likewise.
9986 * streams/putmsg.c: Likewise.
9987 * streams/putpmsg.c: Likewise.
9988 * sysdeps/unix/bsd/getpt.c: Likewise.
9989 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9990 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9991 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9994 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9995 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9996 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9997 * sysvipc/msgctl.c: Likewise.
9998 * sysvipc/msgget.c: Likewise.
9999 * sysvipc/msgrcv.c: Likewise.
10000 * sysvipc/msgsnd.c: Likewise.
10001 * sysvipc/semctl.c: Likewise.
10002 * sysvipc/semget.c: Likewise.
10003 * sysvipc/semop.c: Likewise.
10004 * sysvipc/semtimedop.c: Likewise.
10005 * sysvipc/shmat.c: Likewise.
10006 * sysvipc/shmctl.c: Likewise.
10007 * sysvipc/shmdt.c: Likewise.
10008 * sysvipc/shmget.c: Likewise.
10009 * termios/tcdrain.c: Likewise.
10010 * termios/tcflow.c: Likewise.
10011 * termios/tcflush.c: Likewise.
10012 * termios/tcgetattr.c: Likewise.
10013 * termios/tcgetpgrp.c: Likewise.
10014 * termios/tcsendbrk.c: Likewise.
10015 * termios/tcsetattr.c: Likewise.
10016 * termios/tcsetpgrp.c: Likewise.
10017 * time/adjtime.c: Likewise.
10018 * time/clock.c: Likewise.
10019 * time/getitimer.c: Likewise.
10020 * time/gettimeofday.c: Likewise.
10021 * time/setitimer.c: Likewise.
10022 * time/settimeofday.c: Likewise.
10023 * time/stime.c: Likewise.
10024 * time/time.c: Likewise.
10026 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
10028 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10031 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10033 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10035 2012-11-03 Joseph Myers <joseph@codesourcery.com>
10038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10039 FE_TONEAREST before applying Dekker multiplication and Knuth
10040 addition. Clear inexact exceptions and check for exact zero
10041 results afterwards.
10042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10043 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10044 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10045 * math/libm-test.inc (fma_test): Add more tests.
10046 (fma_test_towardzero): Likewise.
10047 (fma_test_downward): Likewise.
10048 (fma_test_upward): Likewise.
10049 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10051 (libc_fesetround): New macro.
10052 (libc_fesetroundf): Likewise.
10053 (libc_fesetroundl): Likewise.
10054 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10056 (libc_fesetround_387): Likewise.
10057 (libc_fesetroundf): New macro.
10058 (libc_fesetround): Likewise.
10059 (libc_fesetroundl): Likewise.
10060 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10062 (libc_fesetroundf): New macro.
10063 (libc_fesetround): Likewise.
10064 (libc_fesetroundl): Likewise.
10065 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10066 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10067 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10069 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10070 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10072 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10073 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10075 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10079 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10080 integer constant usable in #if and use that to give value to enum
10082 (FE_DIVBYZERO): Likewise.
10083 (FE_UNDERFLOW): Likewise.
10084 (FE_OVERFLOW): Likewise.
10085 (FE_INVALID): Likewise.
10086 (FE_INVALID_SNAN): Likewise.
10087 (FE_INVALID_ISI): Likewise.
10088 (FE_INVALID_IDI): Likewise.
10089 (FE_INVALID_ZDZ): Likewise.
10090 (FE_INVALID_IMZ): Likewise.
10091 (FE_INVALID_COMPARE): Likewise.
10092 (FE_INVALID_SOFTWARE): Likewise.
10093 (FE_INVALID_SQRT): Likewise.
10094 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10095 (FE_TONEAREST): Likewise.
10096 (FE_TOWARDZERO): Likewise.
10097 (FE_UPWARD): Likewise.
10098 (FE_DOWNWARD): Likewise.
10099 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10100 (FE_DIVBYZERO): Likewise.
10101 (FE_OVERFLOW): Likewise.
10102 (FE_UNDERFLOW): Likewise.
10103 (FE_INEXACT): Likewise.
10104 (FE_TONEAREST): Likewise.
10105 (FE_DOWNWARD): Likewise.
10106 (FE_UPWARD): Likewise.
10107 (FE_TOWARDZERO): Likewise.
10108 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10109 (FE_UNDERFLOW): Likewise.
10110 (FE_OVERFLOW): Likewise.
10111 (FE_DIVBYZERO): Likewise.
10112 (FE_INVALID): Likewise.
10113 (FE_TONEAREST): Likewise.
10114 (FE_TOWARDZERO): Likewise.
10115 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10116 (FE_OVERFLOW): Likewise.
10117 (FE_UNDERFLOW): Likewise.
10118 (FE_DIVBYZERO): Likewise.
10119 (FE_INEXACT): Likewise.
10120 (FE_TONEAREST): Likewise.
10121 (FE_TOWARDZERO): Likewise.
10122 (FE_UPWARD): Likewise.
10123 (FE_DOWNWARD): Likewise.
10124 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10125 (FE_DIVBYZERO): Likewise.
10126 (FE_OVERFLOW): Likewise.
10127 (FE_UNDERFLOW): Likewise.
10128 (FE_INEXACT): Likewise.
10129 (FE_TONEAREST): Likewise.
10130 (FE_DOWNWARD): Likewise.
10131 (FE_UPWARD): Likewise.
10132 (FE_TOWARDZERO): Likewise.
10134 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10136 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10138 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10140 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10141 commands. Quote $PWD.
10142 (blacklist_exports): Don't use remove_newlines. Replace "declare
10144 (remove_newlines): Remove.
10146 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10148 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10149 * stdlib/stdlib.h (atof): Moved to ...
10150 * include/bits/stdlib-float.h: Here. New file.
10151 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10152 * stdlib/bits/stdlib-float.h: New file.
10153 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10155 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10158 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10160 * conform/conformtest.pl (@headers): Add fenv.h.
10161 * conform/data/fenv.h-data: New file.
10162 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10163 include of <math/fenv.h>.
10165 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10166 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10167 && !UNIX98]. Enables tests for XOPEN2K8.
10168 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10169 POSIX2008]: Likewise.
10171 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10172 (struct rusage): Do not expect type or its members.
10175 * math/math.h (FP_NAN): Define macro to integer constant usable in
10176 #if and use that to give value to enum constant.
10177 (FP_INFINITE): Likewise.
10178 (FP_ZERO): Likewise.
10179 (FP_SUBNORMAL): Likewise.
10180 (FP_NORMAL): Likewise.
10182 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10184 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10185 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10188 2012-11-02 Roland McGrath <roland@hack.frob.com>
10190 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10191 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10192 autoconf-time if not.
10193 * configure.in: Remove AC_PREREQ.
10195 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10197 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10198 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10199 of the internal implementation.
10201 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10203 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10204 except include of <misc/sys/syslog.h>.
10206 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10209 function returns with a NULL context exit with zero.
10211 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10213 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10215 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10217 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10218 (run_program_cmd): This.
10219 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10220 (tst_langinfo): New variable. Use it.
10222 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10224 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10225 floating point opcodes.
10227 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10229 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10232 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10234 * sysdeps/mach/hurd/powerpc: Remove directory.
10235 * sysdeps/mach/powerpc: Likewise.
10237 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10239 * scripts/check-local-headers.sh: Ignore c++ headers.
10241 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10243 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10244 __libc_cleanup_region_start argument.
10246 2012-11-01 Joseph Myers <joseph@codesourcery.com>
10250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10251 x * y using scaling, not as x * y + z.
10252 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10253 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10254 * math/libm-test.inc (fma_test): Add more tests.
10255 (fma_test_towardzero): Likewise.
10256 (fma_test_downward): Likewise.
10257 (fma_test_upward): Likewise.
10259 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10261 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10263 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10265 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10268 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10270 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10272 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10279 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10282 Fix the order of the list for glibc 2.17.
10283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10286 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10290 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10293 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10294 for low part of x being zero before using __atanl (y).
10295 * math/libm-test.inc (atan2_test): Add another test.
10297 * manual/install.texi (Configuring and compiling): Document
10298 general use of test-wrapper and test-wrapper-env.
10299 * INSTALL: Regenerated.
10301 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10302 (__fma): Do not extract and scale down low bits on after-rounding
10303 systems when result rounded to normal precision would have normal
10305 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10306 (__fmal): Do not extract and scale down low bits on after-rounding
10307 systems when result rounded to normal precision would have normal
10309 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10310 (__fmal): Do not extract and scale down low bits on after-rounding
10311 systems when result rounded to normal precision would have normal
10313 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10315 (fma_test): Add more tests.
10316 (fma_test_towardzero): Likewise.
10317 (fma_test_downward): Likewise.
10318 (fma_test_upward): Likewise.
10320 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10322 * sysdeps/i386/tininess.h: Renamed to ...
10323 * sysdeps/x86/tininess.h: This.
10324 * sysdeps/x86_64/tininess.h: Removed.
10326 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10328 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10329 input. Use $(build-program-cmd).
10330 ($(objpfx)tst-array1-static.out): Likewise.
10331 ($(objpfx)tst-array2.out): Likewise.
10332 ($(objpfx)tst-array3.out): Likewise.
10333 ($(objpfx)tst-array4.out): Likewise.
10334 ($(objpfx)tst-array5.out): Likewise.
10335 ($(objpfx)tst-array5-static.out): Likewise.
10337 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10339 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10342 * nss/nsswitch.h (nss_interface_function): Provide new
10343 macro for use with NSS functions.
10344 * grp/initgroups.c: Use new macro.
10345 * nss/getXXbyYY.c: Likewise.
10346 * nss/getXXbyYY_r.c: Likewise.
10347 * nss/getXXent.c: Likewise.
10348 * nss/getXXent_r.c: Likewise.
10349 * sysdeps/posix/getaddrinfo.c: Likewise.
10351 2012-10-30 Andreas Jaeger <aj@suse.de>
10353 * po/ru.po: Update Russion translation from translation project.
10355 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10360 result and shift together with sticky bit instead of replicating
10361 round-to-nearest rounding.
10362 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10363 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10364 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10365 missing underflow exceptions.
10366 (fma_test_towardzero): Add more tests.
10367 (fma_test_downward): Likewise.
10368 (fma_test_upward): Likewise.
10371 * sysdeps/generic/tininess.h: New file.
10372 * sysdeps/i386/tininess.h: Likewise.
10373 * sysdeps/sh/tininess.h: Likewise.
10374 * sysdeps/x86_64/tininess.h: Likewise.
10375 * stdlib/tst-strtod-underflow.c: Likewise.
10376 * stdlib/tst-tininess.c: Likewise.
10377 * stdlib/strtod_l.c: Include <tininess.h>.
10378 (round_and_return): Do not set errno for exact underflow cases.
10379 Force an underflow exception when setting errno for underflow.
10380 Determine underflow based on rounding to normal precision if
10381 TININESS_AFTER_ROUNDING.
10382 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10383 ERANGE for exact underflow cases.
10384 * stdlib/Makefile (tests): Add tst-tininess and
10385 tst-strtod-underflow.
10386 ($(objpfx)tst-tininess): Use $(link-libm).
10387 ($(objpfx)tst-strtod-underflow): Likewise.
10389 2012-10-30 Andreas Jaeger <aj@suse.de>
10392 * elf/Makefile (tests): Remove conditional for have-initfini-array
10393 since this is now always required and the variable does not exist
10395 (tests-static): Likewise.
10396 (modules-names): Likewise.
10398 * po/eo.po: Add Esperanto translation from translation project.
10400 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10401 merged with constructor/destructor.
10402 (init_array): Likewise.
10403 * elf/tst-array2dep.c (fini_array): Likewise.
10404 (init_array): Likewise.
10406 2012-10-29 Mike Frysinger <vapier@gentoo.org>
10408 * manual/message.texi: Delete @cartouche tags.
10410 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10412 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10414 * sysdeps/mach/hurd/fsync.c: Likewise.
10416 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10417 [_POSIX_REALTIME_SIGNALS]: Change condition to
10418 [_POSIX_REALTIME_SIGNALS > 0].
10420 2012-10-27 Andreas Jaeger <aj@suse.de>
10422 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10423 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10424 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10425 [__WORDSIZE != 64]: Likewise.
10427 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10429 * iconvdata/tst-table.sh: Remove ${SHELL}.
10430 * iconvdata/tst-tables.sh: Likewise.
10432 2012-10-25 David S. Miller <davem@davemloft.net>
10434 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10435 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10440 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10441 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10442 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10445 2012-10-25 Roland McGrath <roland@hack.frob.com>
10447 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10448 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10451 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10452 Jim Blandy <jimb@codesourcery.com>
10454 * scripts/cross-test-ssh.sh: New file.
10455 * manual/install.texi (Configuring and compiling): Document use of
10457 * INSTALL: Regenerated.
10459 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10461 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10464 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10466 * Makeconfig (run-program-prefix): Fix comment.
10468 2012-10-24 Joseph Myers <joseph@codesourcery.com>
10469 Jim Blandy <jimb@codesourcery.com>
10471 * Makeconfig (test-wrapper): New variable,
10472 (test-wrapper-env): Likewise.
10473 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10474 (run-built-tests): Define to yes.
10475 (run-program-prefix): Use $(test-wrapper).
10476 (built-program-cmd): Likewise.
10477 * Rules (make-test-out): Use $(test-wrapper-env) and
10478 $(host-built-program-cmd).
10479 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10480 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10482 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10483 $(test-wrapper-env) to tst-rtld-load-self.sh.
10484 ($(objpfx)order2.out): Use $(test-wrapper).
10485 ($(objpfx)tst-initorder.out): Likewise.
10486 ($(objpfx)tst-initorder2.out): Likewise.
10487 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10488 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10489 (test_wrapper_env): New variable. Use it to run ld.so.
10490 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10491 Use it to run ld.so.
10492 (test_wrapper_env): Likewise.
10493 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10494 $(test-wrapper) to run-iconv-test.sh.
10495 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10496 (ICONV): Use $test_wrapper.
10497 * posix/Makefile ($(objpfx)globtest.out): Pass
10498 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10499 globtest.sh, not $(run-program-prefix).
10500 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10501 (test_wrapper): Likewise.
10502 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10503 set together with run_via_rtld_prefix.
10504 (run_program_prefix): Define in terms of test_wrapper and
10505 run_via_rtld_prefix.
10507 2012-10-24 Roland McGrath <roland@hack.frob.com>
10509 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10510 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10514 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10515 Declare __clock_getres, __clock_gettime, __clock_settime,
10516 __clock_nanosleep, and __clock_getcpuclockid.
10517 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10518 Remove librt_hidden_def (clock_gettime).
10519 * sysdeps/unix/clock_gettime.c: Likewise.
10520 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10521 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10522 * rt/clock_getres.c: Define __clock_getres as an alias.
10523 * sysdeps/posix/clock_getres.c: Likewise.
10524 * rt/clock_settime.c: Define __clock_settime as an alias.
10525 * sysdeps/unix/clock_settime.c: Likewise.
10526 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10527 * sysdeps/unix/clock_nanosleep.c: Likewise.
10528 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10529 * rt/clock-compat.c: New file.
10530 * rt/Makefile (librt-routines): Add clock-compat and move
10531 $(clock-routines) to ...
10532 (routines): ... here, new variable.
10533 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10534 Don't add get_clockfreq here.
10535 * rt/Versions (libc: GLIBC_2.17): New version set.
10536 Add clock_* symbols here.
10537 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10538 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10539 (GLIBC_2.17): Add clock_* symbols.
10540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10542 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10551 * NEWS: Mention the move.
10553 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10554 Use __open, __read, __close rather than their public counterparts.
10555 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10556 (__get_clockfreq_via_cpuinfo): Likewise.
10557 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10558 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10560 * config.h.in (HAVE_IFUNC): New #undef.
10561 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10563 * configure: Regenerated.
10565 2012-10-24 Mike Frysinger <vapier@gentoo.org>
10567 * configure.in: Move READELF check to start of file.
10568 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10569 libc_cv_asm_gnu_indirect_function in the process.
10570 * configure: Regenerated.
10572 2012-10-24 Mike Frysinger <vapier@gentoo.org>
10574 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10575 send the output to /dev/null.
10576 (libc_cv_cc_with_libunwind): Likewise.
10577 (libc_cv_as_noexecstack): Likewise.
10578 * configure: Regenerate.
10580 2012-10-24 Joseph Myers <joseph@codesourcery.com>
10582 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10584 * posix/globtest.sh (TMPDIR): Do not set.
10585 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10586 (testout): Likewise.
10588 2012-10-24 Andreas Jaeger <aj@suse.de>
10590 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10591 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10592 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10593 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10594 posix_fadvise64, posix_fallocate64.
10596 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10597 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10598 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10600 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10602 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10604 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10605 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10606 <bits/fcntl-linux.h>.
10607 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10610 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10611 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10612 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10613 [__WORDSIZE != 64]: Likewise.
10615 2012-10-23 Joseph Myers <joseph@codesourcery.com>
10617 * Makeconfig (run-built-tests): New variable.
10618 * Rules [$(cross-compiling) = yes]: Change condition to
10619 [$(run-built-tests) = no].
10620 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10621 to [$(run-built-tests) = yes].
10622 * elf/Makefile [$(cross-compiling) = no]: Likewise
10623 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10624 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10625 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10626 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10627 * io/Makefile [$(cross-compiling) = no]: Likewise.
10628 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10629 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10630 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10631 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10632 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10633 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10634 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10635 * string/Makefile [$(cross-compiling) = no]: Likewise.
10637 * posix/Makefile ($(objpfx)globtest.out): Pass
10638 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10639 $(rtld-installed-name).
10640 * posix/globtest.sh (elf_objpfx): Remove variable.
10641 (rtld_installed_name): Likewise.
10642 (library_path): Likewise.
10643 (run_program_prefix): New variable. Use for running globtest
10646 2012-10-23 Jim Blandy <jimb@codesourcery.com>
10647 Joseph Myers <joseph@codesourcery.com>
10649 * Makeconfig (host-built-program-cmd): New variable.
10650 * elf/Makefile (tst-stackguard1-ARGS): Use
10651 $(host-built-program-cmd).
10652 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10653 (tst-spawn-ARGS): Likewise.
10654 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10656 2012-10-23 Joseph Myers <joseph@codesourcery.com>
10657 Jim Blandy <jimb@codesourcery.com>
10659 * Makeconfig (run-via-rtld-prefix): New variable.
10660 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10661 (built-program-cmd): Likewise.
10663 2012-10-22 Andreas Jaeger <aj@suse.de>
10665 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10666 __O_RSYNC if it exists, otherwise to O_SYNC.
10668 2012-10-22 Jim Blandy <jimb@codesourcery.com>
10669 Joseph Myers <joseph@codesourcery.com>
10671 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10673 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10675 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10678 2012-10-22 Andreas Jaeger <aj@suse.de>
10680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10685 bits/fcntl-linux.h.
10687 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10688 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10695 2012-10-21 Jim Blandy <jimb@codesourcery.com>
10696 Joseph Myers <joseph@codesourcery.com>
10698 * config.make.in (NM): New variable.
10700 2012-10-21 Andreas Jaeger <aj@suse.de>
10702 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10703 definitions and declarations that are provided by
10704 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10706 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10709 * elf/Makefile (tests-static): Add tst-leaks1-static.
10710 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10711 ($(objpfx)tst-leaks1-static): New rule.
10712 ($(objpfx)tst-leaks1-static-mem): Likewise.
10713 (tst-leaks1-static-ENV): New macro.
10714 * elf/dl-open.c (dl_open_worker): Check the main application
10715 only if SHARED is defined.
10716 * elf/tst-leaks1-static.c: New file.
10718 2012-10-20 Andreas Jaeger <aj@suse.de>
10720 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10721 generic values for Linux.
10722 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10723 and declarations that are provided by <bits/fcntl-linux.h> and
10724 include <bits/fcntl-linux.h>.
10725 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10726 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10728 2012-10-20 Roland McGrath <roland@hack.frob.com>
10730 * io/fcntl.h: Move include of <bits/types.h> to the top and
10731 include it unconditionally.
10733 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10735 * wcsmbs/Makefile (tests-ifunc): New variable.
10736 (tests): Add $(tests-ifunc).
10737 * wcsmbs/test-wcschr-ifunc.c: New file.
10738 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10739 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10740 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10741 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10742 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10744 * string/Makefile (tests-ifunc): New variable.
10745 (tests): Add $(tests-ifunc).
10746 * string/test-memccpy.c (TEST_NAME): New macro.
10747 * string/test-memchr.c (TEST_NAME): Likewise.
10748 * string/test-memcmp.c (TEST_NAME): Likewise.
10749 * string/test-memcpy.c (TEST_NAME): Likewise.
10750 * string/test-memmem.c (TEST_NAME): Likewise.
10751 * string/test-memmove.c (TEST_NAME): Likewise.
10752 * string/test-memset.c (TEST_NAME): Likewise.
10753 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10754 * string/test-stpcpy.c (TEST_NAME): Likewise.
10755 * string/test-stpncpy.c (TEST_NAME): Likewise.
10756 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10757 * string/test-strcasestr.c (TEST_NAME): Likewise.
10758 * string/test-strcat.c (TEST_NAME): Likewise.
10759 * string/test-strchr.c (TEST_NAME): Likewise.
10760 * string/test-strcmp.c(TEST_NAME): Likewise.
10761 * string/test-strcpy.c (TEST_NAME): Likewise.
10762 * string/test-strcspn.c (TEST_NAME): Likewise.
10763 * string/test-strlen.c (TEST_NAME): Likewise.
10764 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10765 * string/test-strncmp.c (TEST_NAME): Likewise.
10766 * string/test-strncpy.c (TEST_NAME): Likewise.
10767 * string/test-strnlen.c (TEST_NAME): Likewise.
10768 * string/test-strpbrk.c (TEST_NAME): Likewise.
10769 * string/test-strrchr.c (TEST_NAME): Likewise.
10770 * string/test-strspn.c (TEST_NAME): Likewise.
10771 * string/test-strstr.c (TEST_NAME): Likewise.
10772 * string/test-bcopy-ifunc.c: New file.
10773 * string/test-bzero-ifunc.c: Likewise.
10774 * string/test-memccpy-ifunc.c: Likewise.
10775 * string/test-memchr-ifunc.c: Likewise.
10776 * string/test-memcmp-ifunc.c: Likewise.
10777 * string/test-memcpy-ifunc.c: Likewise.
10778 * string/test-memmem-ifunc.c: Likewise.
10779 * string/test-memmove-ifunc.c: Likewise.
10780 * string/test-mempcpy-ifunc.c: Likewise.
10781 * string/test-memset-ifunc.c: Likewise.
10782 * string/test-rawmemchr-ifunc.c: Likewise.
10783 * string/test-stpcpy-ifunc.c: Likewise.
10784 * string/test-stpncpy-ifunc.c: Likewise.
10785 * string/test-strcasecmp-ifunc.c: Likewise.
10786 * string/test-strcasestr-ifunc.c: Likewise.
10787 * string/test-strcat-ifunc.c: Likewise.
10788 * string/test-strchr-ifunc.c: Likewise.
10789 * string/test-strchrnul-ifunc.c: Likewise.
10790 * string/test-strcmp-ifunc.c: Likewise.
10791 * string/test-strcpy-ifunc.c: Likewise.
10792 * string/test-strcspn-ifunc.c: Likewise.
10793 * string/test-strlen-ifunc.c: Likewise.
10794 * string/test-strncasecmp-ifunc.c: Likewise.
10795 * string/test-strncat-ifunc.c: Likewise.
10796 * string/test-strncmp-ifunc.c: Likewise.
10797 * string/test-strncpy-ifunc.c: Likewise.
10798 * string/test-strnlen-ifunc.c: Likewise.
10799 * string/test-strpbrk-ifunc.c: Likewise.
10800 * string/test-strrchr-ifunc.c: Likewise.
10801 * string/test-strspn-ifunc.c: Likewise.
10802 * string/test-strstr-ifunc.c: Likewise.
10804 * debug/Makefile (tests-ifunc): New variable.
10805 (tests): Add $(tests-ifunc).
10806 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10807 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10808 * debug/test-stpcpy_chk-ifunc.c: New file.
10809 * debug/test-strcpy_chk-ifunc.c: Likewise.
10811 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10814 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10815 header is not read in.
10817 2012-10-19 Joseph Myers <joseph@codesourcery.com>
10819 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10820 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10821 directly. Pass built executable to script as
10822 $(built-program-cmd).
10823 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10824 $testprogram without using LD_LIBRARY_PATH and $ldso.
10826 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10827 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10828 $(rtld-installed-name).
10829 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10830 (rtld_installed_name): Likewise.
10831 (library_path): Likewise.
10832 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10833 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10834 $(run-program-prefix) to tst-tables.sh.
10835 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10836 it to run tst-table-from and tst-table-to.
10837 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10838 Pass it to tst-table.sh.
10839 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10840 $(run-program-prefix) to tst-gettext.sh.
10841 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10843 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10845 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10846 to run tst-gettext.
10847 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10848 to run tst-gettext2.
10849 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10850 to run tst-translit.
10851 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10852 $(run-program-prefix) to tst-mtrace.sh.
10853 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10855 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10856 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10857 $(rtld-installed-name).
10858 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10859 (rtld_installed_name): Likewise.
10860 (run_program_prefix): New variable. Use it to run wordexp-test.
10862 * Makeconfig (ARCH): Remove all definitions.
10863 (machine): Likewise.
10864 [ARCH]: Remove conditional code.
10865 [!objdir]: Give error.
10866 [!objdir] (objpfx): Remove.
10867 [!objdir] (common-objpfx): Likewise.
10868 [!objdir] (common-objdir): Likewise.
10869 * configure.in (config_makefile): Remove. Hardcode Makefile in
10870 AC_CONFIG_FILES call.
10871 * configure: Regenerated.
10874 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10876 (testout): Likewise.
10878 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10879 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10880 $(rtld-installed-name).
10881 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10882 (rtld_installed_name): Likwise.
10883 (runit): Remove function.
10884 (run_getconf): New variable, Use it for running getconf binary.
10886 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10889 * string/test-memmem.c (check_result): New function.
10890 (do_one_test): Use it.
10891 (check1): New function.
10892 (test_main): Use it.
10894 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10896 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10898 2012-10-18 Joseph Myers <joseph@codesourcery.com>
10900 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10901 (_G_LSEEK64): Likewise.
10902 (_G_MMAP64): Likewise.
10903 (_G_FSTAT64): Likewise.
10904 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10905 (_G_LSEEK64): Likewise.
10906 (_G_MMAP64): Likewise.
10907 (_G_FSTAT64): Likewise.
10908 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10909 unconditional. Call __mmap64 directly.
10910 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10911 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10912 __lseek64 directly.
10913 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10914 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10916 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10917 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10918 __lseek64 directly.
10919 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10920 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10921 __lseek64 directly.
10922 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10923 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10924 __lseek64 directly.
10925 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10926 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10927 __fxstat64 directly.
10928 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10929 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10931 (freopen64) [!_G_OPEN64]: Remove conditional code.
10932 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10934 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10935 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10937 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10938 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10940 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10941 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10943 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10944 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10946 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10947 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10949 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10950 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10952 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10954 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10957 * manual/memory.texi (Malloc Tunable Parameters): Add note
10958 about free list pointers overwriting some perturb bytes.
10959 Wording suggested by Roland McGrath.
10961 2012-10-17 Joseph Myers <joseph@codesourcery.com>
10963 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10964 (lgamma_test): Likewise.
10965 (tgamma_test): Likewise.
10967 2012-10-16 Florian Weimer <fweimer@redhat.com>
10970 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10971 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10973 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10975 * NEWS: Mention BZ #14716.
10976 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10977 when removing AVAILABLE1_USES_J macro.
10979 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10981 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10982 (__bswap_64): __uint64_t for unsigned 64-bit int.
10984 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10986 * include/string.h (memmem): Declare libc hidden alias.
10987 * string/memmem.c (memmem): Define libc hidden alias.
10988 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10989 __read, __close instead of open, read, close.
10991 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10993 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10994 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10996 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10997 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10998 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11000 (__rawmemchr_sse2): Likewise.
11001 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11002 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11003 (__strchr_sse2): Likewise.
11004 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11005 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11006 (__strcasecmp_sse2): Likewise.
11007 (__strncasecmp_sse2): Likewise.
11008 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11009 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11010 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11011 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11012 (__strrchr_sse2): Likewise.
11013 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11015 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11016 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11017 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11018 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11019 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11020 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11021 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11022 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11023 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11024 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11025 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11026 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11027 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11028 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11029 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11030 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11031 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11032 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11033 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11034 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11035 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11036 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11037 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11038 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11039 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11040 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11041 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11042 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11043 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11044 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11046 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11048 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11049 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11050 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11051 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11053 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11055 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11056 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11057 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11058 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11060 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11061 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11062 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11063 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11064 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11065 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11066 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11067 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11068 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11069 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11070 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11071 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11072 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11073 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11074 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11075 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11076 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11077 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11078 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11079 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11080 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11081 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11082 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11083 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11084 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11085 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11086 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11087 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11088 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11089 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11090 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11091 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11092 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11093 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11094 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11095 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11096 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11097 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11098 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11099 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11100 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11102 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11103 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11104 * include/ifunc-impl-list.h: New file.
11105 * misc/ifunc-impl-list.c: Likewise.
11106 * misc/Makefile (routines): Add ifunc-impl-list.
11107 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11108 * string/test-string.h: Include <ifunc-impl-list.h>.
11109 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11110 impl_array): New variables.
11111 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11113 (test_init): Call __libc_ifunc_impl_list to initialize
11114 func_list if TEST_IFUNC and TEST_NAME are defined.
11116 * string/Makefile (strop-tests): Add bcopy and bzero.
11117 * string/test-bcopy.c: New file.
11118 * string/test-bzero.c: Likewise.
11119 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11121 * string/test-memset.c: Support bzero test if TEST_BZERO is
11123 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11125 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11127 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11130 2012-10-10 Joseph Myers <joseph@codesourcery.com>
11132 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11133 * configure: Regenerated.
11135 * Makeconfig (+link-static-before-libc): Don't include
11136 $(link-static-libc).
11138 * libio/libio.h (_IO_pos_t): Remove.
11140 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11142 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11145 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11147 * crypt/crypt-entry.c: Include fips-private.h.
11148 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11149 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11150 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11151 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11153 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11155 * crypt/crypt-private.h: Include stdbool.h.
11156 (_ufc_setup_salt_r): Return bool.
11157 * crypt/crypt-entry.c: Include errno.h.
11158 (__crypt_r): Return NULL with EINVAL for bad salt.
11159 * crypt/crypt_util.c (bad_for_salt): New.
11160 (_ufc_setup_salt_r): Check that salt is long enough and within
11161 the specified alphabet.
11162 * crypt/badsalttest.c: New file.
11163 * crypt/Makefile (tests): Add it.
11164 ($(objpfx)badsalttest): New.
11166 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11168 * NEWS: Add entry for BZ #14602.
11170 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11172 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11174 * math/libm-test.inc: Update comment listing what functions and
11176 (isgreater_test): New function.
11177 (isgreaterequal_test): Likewise.
11178 (isless_test): Likewise.
11179 (islessequal_test): Likewise.
11180 (islessgreater_test): Likewise.
11181 (isunordered_test): Likewise.
11182 (main): Call the new functions.
11184 2012-10-09 Roland McGrath <roland@hack.frob.com>
11186 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11187 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11188 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11189 * sysdeps/i386/configure: Regenerated.
11190 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11191 * sysdeps/mach/configure: Regenerated.
11192 * sysdeps/mach/hurd/configure: Regenerated.
11193 * sysdeps/powerpc/configure: Regenerated.
11194 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11195 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11196 * sysdeps/s390/s390-32/configure: Regenerated.
11197 * sysdeps/s390/s390-64/configure: Regenerated.
11198 * sysdeps/sh/configure: Regenerated.
11199 * sysdeps/sparc/configure: Regenerated.
11200 * sysdeps/unix/sysv/linux/configure: Regenerated.
11201 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11202 * sysdeps/x86_64/configure: Regenerated.
11204 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11205 defined. Don't check if MAP is NULL.
11207 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11209 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11210 (_G_stat64): Likewise.
11211 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11212 (_G_stat64): Likewise.
11213 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11214 instead of struct _G_stat64.
11215 * libio/fileops.c (mmap_remap_check): Likewise.
11216 (decide_maybe_mmap): Likewise.
11217 (_IO_new_file_seekoff): Likewise.
11218 (_IO_file_stat): Likewise.
11219 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11221 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11222 instead of struct _G_stat64.
11223 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11225 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11228 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11230 (CHECK_EOL): New macro.
11231 (two_way_short_needle): Check beginning of haystack for EOL. Use
11233 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11234 Replace with CHECK_EOL.
11235 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11236 Replace with CHECK_EOL.
11238 2012-10-08 Joseph Myers <joseph@codesourcery.com>
11240 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11242 * math/libm-test.inc: Update comment listing what functions and
11244 (finite_test): New function.
11245 (isinf_test): Likewise.
11246 (isnan_test): Likewise.
11247 (fpclassify_test): Test subnormal input.
11248 (isfinite_test): Likewise.
11249 (isnormal_test): Likewise.
11250 (main): Call the new functions.
11252 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11255 * Makerules (%.dynsym): Force C locale when running
11256 $(OBJDUMP) --dynamic-syms.
11258 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11260 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11263 2012-10-06 David S. Miller <davem@davemloft.net>
11265 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11266 upper 32-bits of the length value in %o2 since we use branch-on-register
11267 tests which consider the entire 64-bit register.
11269 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11271 * string/test-strstr.c (check2): Add a test for page boundary.
11273 2012-10-05 David S. Miller <davem@davemloft.net>
11275 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11276 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11278 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11280 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11281 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11282 and bzero when HWCAP_SPARC_CRYPTO is present.
11284 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11287 * string/test-strstr.c (check2): New function.
11288 (test_main): Call check2.
11290 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11292 * string/bug-strcasestr1.c (do_test): Moved to ...
11293 * string/test-strcasestr.c (check1): Here. New function.
11294 (do_one_test): Break out result checking code into ...
11295 (check_result): This. New function.
11296 (do_one_test): Call check_result.
11297 (test_main): Call check1.
11298 * string/bug-strchr1.c (do_test): Moved to ...
11299 * string/test-strchr.c (check1): Here. New function.
11300 (do_one_test): Break out result checking code into ...
11301 (check_result): This. New function.
11302 (do_one_test): Call check_result.
11303 (test_main): Call check1.
11304 * string/bug-strstr1.c (main): Moved to ...
11305 * string/test-strstr.c (check1): Here. New function.
11306 (do_one_test): Break out result checking code into ...
11307 (check_result): This. New function.
11308 (do_one_test): Call check_result.
11309 (test_main): Call check1.
11310 * string/bug-strcasestr1.c: Removed.
11311 * string/bug-strchr1.c: Likewise.
11312 * string/bug-strstr1.c: Likewise.
11314 * elf/Makefile (dl-routines): Add hwcaps.
11315 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11316 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11317 (_dl_important_hwcaps): Moved to ...
11318 * elf/dl-hwcaps.c: Here. New file.
11319 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11322 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11323 if IS_IN_rtld isn't defined.
11325 * elf/dl-support.c (_dl_sysinfo_map): New.
11326 Include "get-dynamic-info.h" and "setup-vdso.h".
11327 (_dl_non_dynamic_init): Call setup_vdso.
11328 * elf/dynamic-link.h: Don't include <assert.h>.
11329 (elf_get_dynamic_info): Moved to ...
11330 * elf/get-dynamic-info.h: Here. New file.
11331 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11332 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11333 * elf/setup-vdso.h: Here. New file.
11334 * elf/rtld.c: Include "setup-vdso.h".
11335 (dl_main): Call setup_vdso.
11337 2012-10-05 Joseph Myers <joseph@codesourcery.com>
11339 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11340 creal in comment listing functions tested. List finite, isinf,
11341 isnan, isless, islessequal, isgreater, isgreaterequal,
11342 islessgreater, isunordered, lgamma_r and pow10 as functions and
11343 macros not tested. Mention which functions not tested are aliases
11344 for other functions. Fix typo. Note that signs of NaNs are not
11347 * scripts/config.guess: Update from config.git.
11348 * scripts/config.sub: Likewise.
11350 2012-10-04 Roland McGrath <roland@hack.frob.com>
11352 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11353 * misc/madvise.c (madvise): Renamed to __madvise.
11354 Make madvise a weak alias.
11355 * include/sys/mman.h: Declare __madvise.
11356 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11357 * sysdeps/unix/syscalls.list
11358 (madvise): Make __madvise the strong name, and madvise a weak alias.
11359 * sysdeps/unix/sysv/linux/syscalls.list
11360 (madvise, mmap): Remove redundant entries.
11361 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11362 * malloc/malloc.c (mtrim): Likewise.
11363 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11365 2012-10-03 Roland McGrath <roland@hack.frob.com>
11367 * sysdeps/mach/hurd/dl-cache.c: File removed.
11368 * config.h.in (USE_LDCONFIG): New #undef.
11369 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11370 * configure: Regenerated.
11371 * elf/Makefile (dl-routines): Add dl-cache only under
11372 [$(use-ldconfig) = yes].
11373 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11374 cache on [USE_LDCONFIG].
11375 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11377 * elf/rtld.c (dl_main): Likewise.
11379 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11381 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11382 _SC_LEVEL4_CACHE_LINESIZE.
11384 2012-10-03 Roland McGrath <roland@hack.frob.com>
11386 * sysdeps/unix/bsd/confstr.h: File removed.
11388 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
11390 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11393 2012-10-02 Roland McGrath <roland@hack.frob.com>
11395 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11396 Make 'mapoff' field ElfW(Off) rather than off_t.
11398 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11400 * nscd/Makefile: Remove nscd-cflags and all its users.
11401 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11402 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11405 * malloc.c (malloc_printerr): Clarify error message.
11407 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11411 Set bit_FMA_Usable if FMA is supported.
11412 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11414 (bit_FMA4_Usable): Updated.
11415 (index_FMA_Usable): New macro.
11416 (CPUID_FMA): Likewise
11417 (HAS_FMA): Defined with bit_FMA_Usable.
11419 2012-10-01 Roland McGrath <roland@hack.frob.com>
11421 * bits/types.h (__swblk_t): Type removed.
11422 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11423 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11425 (__SWBLK_T_TYPE): Likewise.
11426 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11427 (__SWBLK_T_TYPE): Likewise.
11428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11429 (__SWBLK_T_TYPE): Likewise.
11430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11431 (__SWBLK_T_TYPE): Likewise.
11433 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
11434 Honza Horak <hhorak@redhat.com>
11436 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11437 (xdr_mapname): Use YPMAXMAP as maxsize.
11438 (xdr_peername): Use YPMAXPEER as maxsize.
11439 (xdr_keydat): Use YPAXRECORD as maxsize.
11440 (xdr_valdat): Use YPMAXRECORD as maxsize.
11442 2012-10-01 Roland McGrath <roland@hack.frob.com>
11444 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11446 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11447 * csu/init-first.c: ... here.
11448 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11449 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11450 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11451 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11452 * sysdeps/i386/init-first.c: File removed.
11453 * sysdeps/sh/init-first.c: File removed.
11455 2012-10-01 Joseph Myers <joseph@codesourcery.com>
11458 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11459 if x * y might underflow to zero and z is zero.
11460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11461 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11462 * math/libm-test.inc (min_subnorm_value): New variable.
11463 (fma_test): Add more tests.
11464 (fma_test_towardzero): Likewise.
11465 (fma_test_downward): Likewise
11466 (fma_test_upward): Likewise.
11467 (initialize): Set min_subnorm_value.
11469 2012-09-29 Joseph Myers <joseph@codesourcery.com>
11472 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11474 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11475 mode for addition resulting in exact zero.
11476 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11479 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11480 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11481 * math/libm-test.inc (fma_test): Add more tests.
11482 (fma_test_towardzero): New function.
11483 (fma_test_downward): Likewise.
11484 (fma_test_upward): Likewise.
11485 (main): Call the new functions.
11487 2012-09-28 David S. Miller <davem@davemloft.net>
11489 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11491 2012-09-28 Roland McGrath <roland@hack.frob.com>
11493 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11494 instead of SIGALRM.
11496 * sysdeps/gnu/_G_config.h: Moved to ...
11497 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11498 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11499 * sysdeps/generic/_G_config.h: ... here.
11501 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11503 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11505 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11506 Conditionalize target on [libnss_test1.so-version].
11508 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11510 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11511 (elfobjdir): Move out of conditionals.
11513 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11514 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11515 (__nss_lookup_function): Conditionalize label remove_from_tree on
11516 [!DO_STATIC_NSS || SHARED], matching its only use.
11518 2012-09-28 David S. Miller <davem@davemloft.net>
11520 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11521 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11523 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11525 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11527 when HWCAP_SPARC_CRYPTO is present.
11529 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11531 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11533 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11536 * stdio-common/vfprintf.c (process_string_arg): Revert
11539 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11541 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11543 * stdio-common/tst-sprintf.c: Include <locale.h>
11544 (main): Test sprintf's handling of incomplete multibyte
11547 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11549 * elf/dl-runtime.c (VERSYMIDX): Removed.
11550 * elf/dl-version.c (VERSYMIDX): Likewise.
11551 * elf/do-rel.h (VERSYMIDX): Likewise.
11552 (VALIDX): Likewise.
11553 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11554 * elf/rtld.c (VALIDX): Likewise.
11555 (ADDRIDX): Likewise.
11556 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11557 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11558 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
11559 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11560 (VALIDX): Likewise.
11561 (ADDRIDX): Likewise.
11563 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11565 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11567 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11570 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11572 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11573 addresses are in the same scope as 192.0.2/24.
11574 * posix/gai.conf: Document new scope table defaults.
11576 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11579 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11580 for ftell. Compute offsets from write pointers instead.
11581 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11583 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11586 * libio/Makefile (tests): New test case tst-fseek.
11587 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11588 combination works in wide mode.
11589 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11590 state when the external buffer state changes.
11592 2012-09-27 David S. Miller <davem@davemloft.net>
11595 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11596 pass reloc->r_addend in as the 'high' argument to
11597 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11601 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11603 * rt/tst-aio2.c: Include <pthread.h>.
11604 * rt/tst-aio3.c: Likewise.
11606 2012-09-27 Steve Ellcey <sellcey@mips.com>
11608 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11610 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11612 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11613 contents on [SHARED].
11615 2012-09-26 Marek Polacek <polacek@redhat.com>
11619 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11620 for C++ and GCC <4.3 as well as for non GCC compilers.
11622 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11626 2012-09-25 Roland McGrath <roland@hack.frob.com>
11628 * Makefile.in (all, install): Declare with .PHONY.
11629 Reported by Michael Hope <michael.hope@linaro.org>.
11631 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11633 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11634 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11636 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11638 (sydep_routines): Add the new and the internal functions.
11639 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11640 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11642 (GLIBC_2.17): Add the new function.
11643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11644 (GLIBC_2.17): Likewise.
11645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11646 (GLIBC_2.17): Likewise.
11647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11648 (GLIBC_2.17): Likewise.
11649 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11651 2012-09-25 Alan Modra <amodra@gmail.com>
11653 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11654 Add release barrier before setting once_control to say
11655 initialisation is done. Add hints on lwarx. Use macro in
11657 (clear_once_control): Add release barrier.
11659 2012-09-25 Joseph Myers <joseph@codesourcery.com>
11662 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11664 * math/s_clog10.c (__clog10): Likewise.
11665 * math/s_clog10f.c (__clog10f): Likewise.
11666 * math/s_clog10l.c (__clog10l): Likewise.
11667 * math/s_clogf.c (__clogf): Likewise.
11668 * math/s_clogl.c (__clogl): Likewise.
11669 * math/Makefile (libm-calls): Add x2y2m1.
11670 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11671 (__x2y2m1): Likewise.
11672 (__x2y2m1l): Likewise.
11673 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11674 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11675 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11676 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11677 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11678 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11679 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11680 * sysdeps/i386/fpu/libm-test-ulps: Update.
11681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11684 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11685 int as type of variable DEPTH.
11686 (glob): Use size_t instead of int as type of variables NEWCOUNT
11689 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11691 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11692 Add s_sincosf-sse2.
11693 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11694 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11695 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11696 macros for using routine as __sincosf_ia32.
11697 Use macro for function declaration and weak_alias.
11698 * sysdeps/i386/fpu/libm-test-ulps: Update.
11700 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11703 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
11704 subnormal argument.
11705 * math/s_cexpf.c (__cexpf): Likewise.
11706 * math/s_csinf.c (__csinf): Likewise.
11707 * math/s_csinhf.c (__csinhf): Likewise.
11708 * math/s_ctanf.c (__ctanf): Likewise.
11709 * math/s_ctanhf.c (__ctanhf): Likewise.
11710 * math/s_ccosh.c (__ccoshf): Likewise.
11711 * math/s_cexp.c (__cexpl): Likewise.
11712 * math/s_csin.c (__csin): Likewise.
11713 * math/s_csinh.c (__csinh): Likewise.
11714 * math/s_ctan.c (__ctan): Likewise.
11715 * math/s_ctanh.c (ctanh): Likewise.
11716 * math/s_ccoshl.c (__ccoshl): Likewise.
11717 * math/s_cexpl.c (__cexpl): Likewise.
11718 * math/s_csinl.c (__csinl): Likewise.
11719 * math/s_csinhl.c (__csinhl): Likewise.
11720 * math/s_ctanl.c (__ctanl): Likewise.
11721 * math/s_ctanhl.c (__ctanhl): Likewise.
11723 2012-09-25 Joseph Myers <joseph@codesourcery.com>
11725 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11726 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11727 (_IO_off_t): Define to __off_t, not _G_off_t.
11728 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11729 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11730 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11731 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11732 type of __dummy and __dummy2 fields.
11733 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11734 (_G_ssize_t): Likewise.
11735 (_G_off_t): Likewise.
11736 (_G_pid_t): Likewise.
11737 (_G_uid_t): Likewise.
11738 (_G_wchar_t): Likewise.
11739 (_G_wint_t): Likewise.
11740 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11741 (_G_ssize_t): Likewise.
11742 (_G_off_t): Likewise.
11743 (_G_pid_t): Likewise.
11744 (_G_uid_t): Likewise.
11745 (_G_wchar_t): Likewise.
11746 (_G_wint_t): Likewise.
11747 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11748 (_G_ssize_t): Likewise.
11749 (_G_off_t): Likewise.
11750 (_G_pid_t): Likewise.
11751 (_G_uid_t): Likewise.
11752 (_G_wchar_t): Likewise.
11753 (_G_wint_t): Likewise.
11755 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11757 * malloc/arena.c: Include malloc-sysdep.h.
11758 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11759 is sufficient to shrink the heap or an unmap is needed.
11760 * sysdeps/generic/malloc-sysdep.h: New file. Define
11761 new function check_may_shrink_heap.
11762 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11763 new function check_may_shrink_heap.
11765 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11767 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11770 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11772 * catgets/test-gencat.sh: Add "set -e".
11773 * elf/tst-pathopt.sh: Likewise.
11774 * grp/tst_fgetgrent.sh: Likewise.
11775 * iconvdata/run-iconv-test.sh: Likewise.
11776 * intl/tst-gettext.sh: Likewise.
11777 * intl/tst-gettext2.sh: Likewise.
11778 * intl/tst-gettext4.sh: Likewise.
11779 * intl/tst-gettext6.sh: Likewise.
11780 * intl/tst-translit.sh: Likewise.
11781 * io/ftwtest-sh: Likewise.
11782 * libio/test-freopen.sh: Likewise.
11783 * malloc/tst-mtrace.sh: Likewise.
11784 * posix/globtest.sh: Likewise.
11785 * posix/tst-getconf.sh: Likewise.
11786 * posix/wordexp-tst.sh: Likewise.
11787 * stdio-common/tst-printf.sh: Likewise.
11788 * stdio-common/tst-unbputc.sh: Likewise.
11789 * stdlib/tst-fmtmsg.sh: Likewise.
11790 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11791 * catgets/Makefile: Do not specify -e option when running
11792 testsuite shell scripts.
11793 * elf/Makefile: Likewise.
11794 * grp/Makefile: Likewise.
11795 * iconvdata/Makefile: Likewise.
11796 * intl/Makefile: Likewise.
11797 * io/Makefile: Likewise.
11798 * libio/Makefile: Likewise.
11799 * malloc/Makefile: Likewise.
11800 * posix/Makefile: Likewise.
11801 * stdio-common/Makefile: Likewise.
11802 * stdlib/Makefile: Likewise.
11803 * sysdeps/x86_64/Makefile: Likewise.
11805 * io/ftwtest-sh: Add copyright header.
11806 * posix/globtest.sh: Likewise.
11807 * posix/tst-getconf.sh: Likewise.
11808 * posix/wordexp-tst.sh: Likewise.
11809 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11811 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11814 * Makeconfig (+link): Defined as $(+link-static) if
11815 $(build-shared) isn't yes.
11816 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11818 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11820 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11823 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11824 new chunk size with MALLOC_ALIGN_MASK.
11826 2012-09-24 Joseph Myers <joseph@codesourcery.com>
11829 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11831 (__printf_fphex): Determine rounding using get_rounding_mode and
11833 * stdio-common/tst-printf-round.c (struct hex_test): New
11835 (hex_tests): New variable.
11836 (test_hex_in_one_mode): New function.
11837 (do_test): Also run tests for hex float output.
11839 2012-09-21 Joseph Myers <joseph@codesourcery.com>
11841 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11842 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11843 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11844 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11845 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11846 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11847 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11848 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11850 2012-09-20 Joseph Myers <joseph@codesourcery.com>
11852 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11853 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11854 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11855 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11857 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11860 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11862 * elf/tst-rtld-load-self.sh: New test.
11863 * elf/Makefile: Run it.
11865 2012-09-18 Joseph Myers <joseph@codesourcery.com>
11867 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11868 (tst-writev-ENV): Remove.
11869 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11871 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11873 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11875 2012-09-17 Joseph Myers <joseph@codesourcery.com>
11877 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11879 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11881 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11882 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11883 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11886 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11889 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11890 * config.make.in (have-cpp-asm-debuginfo): Removed.
11891 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11892 * configure: Regenerated.
11894 2012-09-14 Joseph Myers <joseph@codesourcery.com>
11897 * stdio-common/printf_fp.c: Include <stdbool.h> and
11899 (___printf_fp): Determine rounding using get_rounding_mode and
11901 * stdio-common/tst-printf-round.c: New file.
11902 * stdio-common/Makefile (tests): Add tst-printf-round.
11903 (link-libm): New variable.
11904 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11906 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11909 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11910 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11912 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11915 2012-09-13 Joseph Myers <joseph@codesourcery.com>
11917 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11918 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11919 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11920 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11922 2012-09-12 Joseph Myers <joseph@codesourcery.com>
11925 * include/rounding-mode.h: New file.
11926 * sysdeps/generic/get-rounding-mode.h: Likewise.
11927 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11928 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11929 (MAX_VALUE): New macro.
11930 (MIN_VALUE): Likewise.
11931 (overflow_value): New function.
11932 (underflow_value): Likewise.
11933 (round_and_return): Use overflow_value and underflow_value to
11934 determine return values in overflow and underflow cases. Use
11935 round_away to determine rounding depending on rounding mode.
11936 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11937 determine return values in overflow and underflow cases.
11938 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11939 (struct test_results): New structure.
11940 (struct test): Use struct test_results to store expected results
11941 for all rounding modes.
11942 (TEST): Include expected results for all rounding modes.
11943 (test_in_one_mode): New function.
11944 (do_test): Use test_in_one_mode to compute and check results.
11945 Check results for all rounding modes.
11946 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11949 2012-12-09 Allan McRae <allan@archlinux.org>
11951 * sysdeps/i386/fpu/libm-test-ulps: Update
11953 2012-09-11 Joseph Myers <joseph@codesourcery.com>
11955 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11956 (_G_int32_t): Likewise.
11957 (_G_uint16_t): Likewise.
11958 (_G_uint32_t): Likewise.
11959 (_G_HAVE_BOOL): Likewise.
11960 (_G_HAVE_ATEXIT): Likewise.
11961 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11962 (_G_HAVE_IO_FILE_OPEN): Likewise.
11963 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11964 (_G_int32_t): Likewise.
11965 (_G_uint16_t): Likewise.
11966 (_G_uint32_t): Likewise.
11967 (_G_HAVE_BOOL): Likewise.
11968 (_G_HAVE_ATEXIT): Likewise.
11969 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11970 (_G_HAVE_IO_FILE_OPEN): Likewise.
11971 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11972 (_G_int32_t): Likewise.
11973 (_G_uint16_t): Likewise.
11974 (_G_uint32_t): Likewise.
11975 (_G_HAVE_BOOL): Likewise.
11976 (_G_HAVE_ATEXIT): Likewise.
11977 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11978 (_G_HAVE_IO_FILE_OPEN): Likewise.
11980 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11982 * csu/libc-tls.c: Update copyright years.
11984 2012-09-10 Joseph Myers <joseph@codesourcery.com>
11986 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11987 [!_G_USING_THUNKS]: Remove conditional code.
11988 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11989 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11991 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11992 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11993 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11994 (_G_VTABLE_LABEL_PREFIX): Likewise.
11995 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11996 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11997 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11998 (_G_VTABLE_LABEL_PREFIX): Likewise.
11999 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12000 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12001 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12002 (_G_VTABLE_LABEL_PREFIX): Likewise.
12003 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12005 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12007 * libio/Makefile: Include ../Makeconfig before tests.
12008 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12009 only if $(build-shared) is yes.
12011 * iconv/gconv_db.c: Update copyright years.
12013 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12015 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12016 unwind info if defined PIC. Fix special cases description.
12017 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12019 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12021 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12023 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12025 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12027 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12030 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12031 (LDLIBS-tst-chk4): This.
12032 (LDFLAGS-tst-chk5): Renamed to ...
12033 (LDLIBS-tst-chk5): This.
12034 (LDFLAGS-tst-chk6): Renamed to ...
12035 (LDLIBS-tst-chk6): This.
12036 (LDFLAGS-tst-lfschk4): Renamed to ...
12037 (LDLIBS-tst-lfschk4): This.
12038 (LDFLAGS-tst-lfschk5): Renamed to ...
12039 (LDLIBS-tst-lfschk5): This.
12040 (LDFLAGS-tst-lfschk6): Renamed to ...
12041 (LDLIBS-tst-lfschk6): This.
12043 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12044 on $(common-objpfx)soversions.mk.
12046 2012-09-07 Joseph Myers <joseph@codesourcery.com>
12049 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12052 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12054 * malloc/arena.c (arena_get_retry): New function that gets
12055 another arena for the caller to try its request on.
12056 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12057 current arena cannot fulfill the request.
12058 (__libc_memalign): Likewise.
12059 (__libc_memalign): Likewise.
12060 (__libc_pvalloc): Likewise.
12061 (__libc_calloc): Likewise.
12063 2012-09-05 John Tobey <john.tobey@gmail.com>
12066 * manual/arith.texi (Operations on Complex): Fix description
12067 of carg branch cut.
12069 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12072 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12076 * manual/memory.texi (Memory): Make order of menu items match
12079 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12081 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12082 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12083 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12085 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12087 * csu/libc-tls.c (static_dtv): Renamed to ...
12088 (_dl_static_dtv): This. Make it global.
12089 (_dl_initial_dtv): Removed.
12090 (__libc_setup_tls): Updated.
12091 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12092 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12095 2012-09-06 Petr Machata <pmachata@redhat.com>
12097 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12098 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12099 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12100 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12102 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12105 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12106 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12109 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12112 * Makeconfig (link-static-before-libc): Replace $(+prector)
12114 (link-static-after-libc): Replace $(+postctor) with
12116 (link-bounded): Replace $(+prector)/$(+postctor) with
12117 $(+prectorT)/$(+postctorT).
12118 (+prectorT): New macro.
12119 (+postctorT): Likewise.
12121 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12123 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12124 (round_str): Handle values above the maximum for IBM long double
12126 * stdlib/tst-strtod-round.c (tests): Regenerated.
12128 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12130 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12132 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12133 zarch_nohighgprs around the zarch optimized routines.
12134 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12135 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12136 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12139 2012-09-05 David S. Miller <davem@davemloft.net>
12141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12143 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12144 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12145 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12146 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12149 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12151 * malloc/arena.c: Fold copyright years.
12152 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12154 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12156 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12158 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12160 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12162 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12164 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12165 change internal state upon failure.
12167 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12169 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12170 * malloc/memusage.c (mmap): Likewise.
12171 (mmap64, mremap): Likewise. Adjust name in comment.
12173 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12175 * libio/fileops.c: Fix typos in comments.
12176 * libio/oldfileops.c: Likewise.
12177 * libio/wfileops.c: Likewise.
12179 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12182 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12183 (tst-malloc-usable-ENV): Set environment for test case.
12184 * malloc/hooks.c (malloc_check_get_size): New function to get
12186 * malloc/malloc.c (musable): Use malloc_check_get_size.
12187 * malloc/tst-malloc-usable.c: New test case.
12189 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12191 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12193 2012-09-05 Allan McRae <allan@archlinux.org>
12196 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12197 determine header location.
12198 * configure: Regenerated.
12200 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12202 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12204 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12205 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12207 (test): Regenerate.
12209 2012-09-04 David S. Miller <davem@davemloft.net>
12211 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12212 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12213 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12215 2012-09-04 Florian Weimer <fweimer@redhat.com>
12217 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12220 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12222 2012-09-04 Joseph Myers <joseph@codesourcery.com>
12225 * libio/iogetdelim.c: Include <limits.h>.
12226 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12227 + len + 1 would overflow.
12229 2012-09-03 Andreas Jaeger <aj@suse.de>
12231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12232 * sysdeps/i386/fpu/libm-test-ulps: Update.
12234 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12236 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12237 Add s_sinf-sse2, s_conf-sse2.
12239 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12240 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12241 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12242 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12244 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12245 for using routine as __sinf_ia32.
12246 Use macro for function declaration and weak_alias.
12247 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12248 for using routine as __cosf_ia32.
12249 Use macro for function declaration and weak_alias.
12251 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12252 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12254 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12255 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12258 * math/libm-test.inc (cos_test): Add more test cases.
12259 (sin_test): Likewise.
12260 (sincos_test): Likewise.
12262 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12264 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12265 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12267 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12269 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12272 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12273 first element of the GOT.
12274 (elf_machine_load_address): Return the difference between
12275 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12277 2012-09-01 Allan McRae <allan@archlinux.org>
12280 * configure.in (AWK): Require gawk version 3.0 or later.
12281 * configure: Regenerated.
12283 2012-09-01 Joseph Myers <joseph@codesourcery.com>
12285 * sysdeps/unix/sysv/linux/kernel-features.h
12286 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12287 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12288 [__NR_clock_getres]: Make code unconditional.
12289 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12290 (clock_getcpuclockid): Remove code left unreachable by removal of
12292 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12293 code unconditional.
12294 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12295 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12296 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12297 Make code unconditional.
12298 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12299 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12300 * sysdeps/unix/sysv/linux/clock_settime.c
12301 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12303 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12304 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12306 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12309 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12310 scripts/test-installation.pl.
12312 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12313 and $ld_so_version if it is set.
12315 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12318 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12319 failure if reading from procfs failed.
12320 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12322 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12324 * sysdeps/unix/sysv/linux/kernel-features.h
12325 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12326 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12327 Remove conditional code.
12328 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12329 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12330 Remove conditional code.
12331 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12332 * sysdeps/unix/sysv/linux/i386/fxstat.c
12333 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12335 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12336 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12338 * sysdeps/unix/sysv/linux/i386/lxstat.c
12339 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12341 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12342 Remove conditional code.
12343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12344 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12345 Remove conditional code.
12346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12347 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12348 <kernel-features.h>.
12349 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12351 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12352 Remove conditional code.
12353 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12354 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12355 Remove conditional.
12357 2012-08-27 Mike Frysinger <vapier@gentoo.org>
12360 * NEWS: Add fixed bug number.
12362 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12365 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12366 underflowing exponent in case of negative sign.
12367 * stdlib/tst-strtod-round-data: Add more tests.
12368 * stdlib/tst-strtod-round.c (tests): Regenerated.
12371 * stdlib/strtod_l.c (NDIG): Remove.
12372 (HEXNDIG): Likewise.
12373 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12374 smallest representable value.
12375 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12376 lie within an exact representation of 1/2 ulp of the result.
12377 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12379 (TENS_P9_IDX): Define unconditionally.
12380 (TENS_P9_SIZE): Likewise.
12381 (TENS_P10_IDX): Likewise.
12382 (TENS_P10_SIZE): Likewise.
12383 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12384 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12385 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12386 entries for 10^2^13 and 10^2^14.
12387 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12388 (TENS_P13_IDX): Define.
12389 (TENS_P13_SIZE): Likewise.
12390 (TENS_P14_IDX): Likewise.
12391 (TENS_P14_SIZE): Likewise.
12392 (_fpioconst_pow10): Change array size to
12393 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12395 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12396 1024]: Add entries for 10^2^13 and 10^2^14.
12397 [LAST_POW10 > _LAST_POW10]: Remove #error.
12398 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12399 (_fpioconst_pow10): Change array size to
12400 FPIOCONST_POW10_ARRAY_SIZE.
12401 * stdlib/gen-fpioconst.c: New file.
12402 * stdlib/gen-tst-strtod-round.c: Likewise.
12403 * stdlib/tst-strtod-round-data: Likewise.
12404 * stdlib/tst-strtod-round.c: Likewise.
12405 * stdlib/Makefile (tests): Add tst-strtod-round.
12408 * stdlib/strtod_l.c: Include <stdint.h>.
12409 (NDEBUG): Do not define.
12410 (round_and_return): Change EXPONENT parameter to type intmax_t.
12411 Rearrange calculations to avoid internal overflow possibilities.
12412 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12413 Rearrange calculations to avoid internal overflow possibilities.
12414 Assert that number fits inside MPNSIZE limbs.
12415 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12416 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12417 calculations and add assertions to avoid internal overflow
12418 possibilities. Add casts to avoid signed/unsigned operations.
12419 * stdlib/tst-strtod-overflow.c: New file.
12420 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12422 2012-08-25 Marek Polacek <polacek@redhat.com>
12424 * time/time.h: Fix some typos in comments.
12426 2012-08-23 Roland McGrath <roland@hack.frob.com>
12428 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12429 * posix/tst-rfc3484-2.c: Likewise.
12430 * posix/tst-rfc3484-3.c: Likewise.
12432 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12434 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12435 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12437 2012-08-23 Joseph Myers <joseph@codesourcery.com>
12439 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12440 #include of fxstatat64.c.
12442 2012-08-22 Roland McGrath <roland@hack.frob.com>
12444 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12445 * shadow/getspent_r.c: Likewise.
12446 * shadow/getspnam.c: Likewise.
12447 * shadow/getspnam_r.c: Likewise.
12448 * gshadow/getsgent.c: Likewise.
12449 * gshadow/getsgent_r.c: Likewise.
12450 * gshadow/getsgnam.c: Likewise.
12451 * gshadow/getsgnam_r.c: Likewise.
12452 * inet/getnetbyad.c: Likewise.
12453 * inet/getnetbyad_r.c: Likewise.
12454 * inet/getnetbynm.c: Likewise.
12455 * inet/getnetbynm_r.c: Likewise.
12456 * inet/getnetent.c: Likewise.
12457 * inet/getnetent_r.c: Likewise.
12458 * inet/getproto.c: Likewise.
12459 * inet/getproto_r.c: Likewise.
12460 * inet/getprtent.c: Likewise.
12461 * inet/getprtent_r.c: Likewise.
12462 * inet/getprtname.c: Likewise.
12463 * inet/getprtname_r.c: Likewise.
12464 * inet/getrpcbyname.c: Likewise.
12465 * inet/getrpcbyname_r.c: Likewise.
12466 * inet/getrpcbynumber.c: Likewise.
12467 * inet/getrpcbynumber_r.c: Likewise.
12468 * inet/getrpcent.c: Likewise.
12469 * inet/getrpcent_r.c: Likewise.
12470 * inet/getaliasent.c: Likewise.
12471 * inet/getaliasent_r.c: Likewise.
12472 * inet/getaliasname.c: Likewise.
12473 * inet/getaliasname_r.c: Likewise.
12474 * nscd/getgrgid_r.c: Likewise.
12475 * nscd/getgrnam_r.c: Likewise.
12476 * nscd/gethstbyad_r.c: Likewise.
12477 * nscd/gethstbynm3_r.c: Likewise.
12478 * nscd/getpwnam_r.c: Likewise.
12479 * nscd/getpwuid_r.c: Likewise.
12480 * nscd/getsrvbynm_r.c: Likewise.
12481 * nscd/getsrvbypt_r.c: Likewise.
12482 * nscd/gai.c: Likewise.
12484 * configure.in (build_nscd): New substituted variable, set
12485 by --disable-build-nscd and defaults to $use_nscd.
12486 * configure: Regenerated.
12487 * config.make.in (build-nscd): New substituted variable.
12488 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12489 Change conditional to require [$(build-nscd) = yes] as well.
12490 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12493 * configure.in (use_nscd): New substituted variable, set by
12494 --disable-nscd. If enabled, define USE_NSCD.
12495 * configure: Regenerated.
12496 * config.h.in: Add USE_NSCD.
12497 * config.make.in (use-nscd): New substituted variable.
12498 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12499 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12500 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12501 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12502 (CFLAGS-getgrnam_r.c): Likewise.
12503 (CFLAGS-initgroups.c): Likewise.
12504 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12505 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12507 * inet/getnetgrent_r.c
12508 (nscd_setnetgrent): New function, broken out of ...
12509 (setnetgrent): ... here. Call it.
12510 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12511 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12512 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12513 * nscd/Makefile (routines, aux): Move definitions after include of
12514 Makeconfig. Conditionalize on [$(use-nscd) != no].
12515 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12516 Conditionalize on [USE_NSCD].
12517 (is_nscd, nscd_init_cb): Likewise.
12518 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12519 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12520 * nss/nss_db/db-init.c: Likewise.
12521 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12523 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12524 (make_request): Use it.
12525 (cache_valid_p): New function.
12526 (__check_pf): Use it.
12527 * NEWS: Add item for --disable-nscd.
12529 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12531 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12532 to support sed >= 4.2.1-20-ga9bf076.
12533 * configure: Regenerated.
12535 2012-08-22 Roland McGrath <roland@hack.frob.com>
12537 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12538 Conditionalize whole body on [IREL].
12540 2012-08-22 Jeff Law <law@redhat.com>
12543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12544 if the family is PF_UNSPEC.
12546 2012-08-22 Mike Frysinger <vapier@gentoo.org>
12548 * Makerules (lib-version): Rename from V.
12549 (install-lib-nosubdir): Change V to lib-version.
12551 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12554 * powerpc32/power6/wcschr.c: New file.
12555 * powerpc32/power6/wcscpy.c: New file.
12556 * powerpc32/power6/wcsrchr.c: New file.
12557 * powerpc64/power6/wcschr.c: New file.
12558 * powerpc64/power6/wcscpy.c: New file.
12559 * powerpc64/power6/wcsrchr.c: New file.
12561 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12563 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12564 (two_way_short_needle): Use it.
12565 * string/strstr.c (AVAILABLE1_USES_J): Define.
12566 * string/strcasestr.c: Likewise.
12568 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12570 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12573 * NEWS: Add an entry.
12574 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12575 define their defaults.
12576 (two_way_short_needle): Detect end-of-string on-the-fly.
12577 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12578 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12579 * string/bug-strcasestr1.c: New test.
12580 * string/Makefile: Run it.
12582 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12585 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12586 the first character.
12588 2012-08-21 Roland McGrath <roland@hack.frob.com>
12590 * csu/elf-init.c (__libc_csu_irel): Function removed.
12591 * csu/libc-start.c (apply_irel): New function.
12592 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12594 2012-08-21 Joseph Myers <joseph@codesourcery.com>
12596 * sysdeps/unix/sysv/linux/kernel-features.h
12597 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12598 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12599 <kernel-features.h>.
12600 [__NR_fadvise64_64]: Make code unconditional.
12601 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12602 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12603 !__NR_fadvise64_64)]: Likewise.
12604 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12605 !__NR_fadvise64_64))]: Likewise.
12606 [__NR_fadvise64]: Make code unconditional.
12607 [!__NR_fadvise64]: Remove conditional code.
12608 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12609 <kernel-features.h>.
12610 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12612 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12615 not include <kernel-features.h>.
12616 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12618 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12620 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12621 include <kernel-features.h>.
12622 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12624 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12627 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12629 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12630 slight instruction rearrangements per scrollpipe analysis.
12631 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12633 2012-08-20 Roland McGrath <roland@hack.frob.com>
12635 * manual/syslog.texi (syslog; vsyslog, closelog):
12636 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12637 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12639 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12640 DSOCAPS to match condition on defining it.
12642 2012-08-20 Joseph Myers <joseph@codesourcery.com>
12644 * sysdeps/unix/sysv/linux/kernel-features.h
12645 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12647 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12648 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12650 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12651 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12653 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12654 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12656 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12657 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12659 * sysdeps/unix/sysv/linux/kernel-features.h
12660 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12661 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12663 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12664 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12665 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12666 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12667 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12668 Make code unconditional.
12669 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12670 (__mmap64) [!__NR_mmap2]: Likewise.
12671 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12672 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12673 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12674 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12675 [__NR_mmap2]: Make code unconditional.
12676 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12677 (__mmap64) [!__NR_mmap2]: Likewise.
12679 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12681 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12683 2012-08-18 Andreas Jaeger <aj@suse.de>
12685 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12687 2012-08-18 Mike Frysinger <vapier@gentoo.org>
12689 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12690 * include/unistd.h (__have_sock_cloexec): Likewise.
12691 (__have_pipe2): Likewise.
12692 (__have_dup3): Likewise.
12694 2012-08-18 Mike Frysinger <vapier@gentoo.org>
12697 * include/unistd.h (__have_pipe2): Change define into an extern int.
12698 (__have_dup3): Likewise.
12699 * socket/have_sock_cloexec.c: Include fcntl.h.
12700 (__have_pipe2): New variable.
12701 (__have_dup3): Likewise.
12703 2012-08-17 Mike Frysinger <vapier@gentoo.org>
12705 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12707 2012-08-17 Marek Polacek <polacek@redhat.com>
12709 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12710 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12712 2012-08-17 Roland McGrath <roland@hack.frob.com>
12714 * configure.in: Add AC_SUBST for sysheaders.
12715 * configure: Regenerated.
12716 * config.make.in (sysheaders): New substituted variable.
12718 * sysdeps/unix/mkfifo.c: Moved ...
12719 * sysdeps/posix/mkfifo.c: ... here.
12720 * sysdeps/unix/mkfifoat.c: Moved ...
12721 * sysdeps/posix/mkfifoat.c: ... here.
12723 * sysdeps/unix/utime.c: Moved ...
12724 * sysdeps/posix/utime.c: ... here.
12726 * sysdeps/unix/time.c: Moved ...
12727 * sysdeps/posix/time.c: ... here.
12728 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12729 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
12731 * sysdeps/unix/nice.c: Moved ...
12732 * sysdeps/posix/nice.c: ... here.
12734 * sysdeps/unix/alarm.c: Moved ...
12735 * sysdeps/posix/alarm.c: ... here.
12737 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12739 2012-08-17 Jeff Law <law@redhat.com>
12741 * intl/Makefile (codeset_mo): New variable.
12742 ($(codeset_mo)): New target.
12743 (tst-codeset.out): Depend on that. Remove explicit rule.
12744 (tst-gettext3.out, tst-gettext5.out): Likewise.
12745 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12746 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12747 * intl/tst-codeset.sh: Remove.
12748 * intl/tst-gettext3.sh: Likewise.
12749 * intl/tst-gettext5.sh: Likewise.
12751 2012-08-17 Roland McGrath <roland@hack.frob.com>
12753 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12754 * sysdeps/unix/syscalls.list: ... here.
12756 * sysdeps/posix/getaddrinfo.c
12757 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12758 (gaiconf_init, gaiconf_reload): Use them.
12759 [!_STATBUF_ST_NSEC]
12760 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12761 Define using time_t rather than struct timespec.
12763 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12764 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12766 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12768 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12769 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12772 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12773 __libc_cleanup_push argument.
12775 * bits/param.h: New file.
12776 * misc/sys/param.h: New file.
12777 * include/sys/param.h: New file.
12778 * misc/Makefile (headers): Add bits/param.h.
12779 * sysdeps/generic/sys/param.h: File removed.
12780 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12781 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12782 * sysdeps/mach/hurd/bits/param.h: New file.
12783 * sysdeps/mach/hurd/sys/param.h: File removed.
12785 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12788 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12790 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12791 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12794 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12795 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12796 rather than -D_IO_MTSAFE_IO conditionally.
12797 * stdio-common/Makefile (CPPFLAGS): Likewise.
12798 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12799 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12800 Use $(libio-mtsafe).
12801 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12802 of -D_IO_MTSAFE_IO.
12803 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12804 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12805 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12806 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12807 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12808 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12809 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12810 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12811 (CFLAGS-fread_u_chk.c): Likewise.
12812 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12813 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12814 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12815 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12816 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12817 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12818 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12819 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12820 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12822 * libio/Makefile: Test [$(libc-reentrant) = yes]
12823 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12826 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12827 * sysdeps/pthread/configure: File removed.
12828 * sysdeps/pthread/Makeconfig: New file.
12829 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12830 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12832 2012-08-16 Gary Benson <gbenson@redhat.com>
12834 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12835 unmapping the first object in a namespace.
12837 2012-08-16 Roland McGrath <roland@hack.frob.com>
12839 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12840 (__internal_setnetgrent): ... this. Add internal_function to
12841 definition. Add libc_hidden_def.
12842 (setnetgrent): Update caller.
12843 (internal_endnetgrent): Renamed to ...
12844 (__internal_endnetgrent): ... this. Add internal_function to
12845 definition. Add libc_hidden_def.
12846 (endnetgrent): Update caller.
12847 (internal_getnetgrent_r): Renamed to ...
12848 (__internal_getnetgrent_r): ... this. Add internal_function to
12849 definition. Add libc_hidden_def.
12850 (__getnetgrent_r): Update caller.
12851 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12853 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12855 * stdlib/longlong.h: Update from GCC.
12857 2012-08-16 Roland McGrath <roland@hack.frob.com>
12859 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12860 on _QL, which is set by umul_ppmm but never used.
12861 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12862 variables, which are set by GMP macros but never used.
12863 * stdio-common/_itowa.c (_itowa): Likewise.
12864 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12865 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12867 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12869 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12870 struct La_sh_regs is not constant.
12871 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12872 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12873 and struct La_sparc64_regs are not constant.
12875 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12877 * sysdeps/unix/sysv/linux/kernel-features.h
12878 (__ASSUME_POSIX_TIMERS): Remove.
12879 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12880 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12881 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12882 Make code unconditional.
12883 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12884 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12885 Make code unconditional.
12886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12887 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12888 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12889 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12890 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12891 Make code unconditional.
12892 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12893 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12894 (__libc_missing_posix_timers): Remove.
12896 2012-08-15 Roland McGrath <roland@hack.frob.com>
12898 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12899 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12901 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12903 * elf/dl-sym.c: Include <stdlib.h>.
12905 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12906 constants, which avoids warnings in 32-bit builds.
12908 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12909 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12911 * misc/lseek.c: File moved to ...
12912 * io/lseek.c: ... here.
12914 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12916 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12917 shifting LEN more than 31 bits at once.
12919 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12922 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12923 segmentation fault for a case of two empty input strings.
12924 * string/test-strncasecmp.c (check1): Renamed to...
12925 (bz12205): ...this.
12926 (bz14195): Add new testcase for two empty input strings and N > 0.
12927 (test_main): Call new testcase, adapt for renamed function.
12929 2012-08-15 Andreas Jaeger <aj@suse.de>
12932 * crypt/md5test2.c: New test, based on test supplied by Serge
12933 Belyshev <belyshev@depni.sinp.msu.ru>.
12934 * crypt/Makefile (xtests): Add md5test-giant..
12935 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12937 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12940 * crypt/md5.c (md5_process_block): Don't assume the buffer
12941 length is less than 2**32.
12942 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12943 length is less than 2**64.
12945 2012-08-15 Roland McGrath <roland@hack.frob.com>
12947 * string/str-two-way.h: Include <sys/param.h>.
12948 (MAX): Macro removed.
12950 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12951 Move #define and #undef of memmove to just before and after
12952 including <string.h>.
12954 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12955 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12956 and after including <string.h>. Move declarations of
12957 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12958 to before #include "string/memmove.c".
12960 * include/dirent.h: Declare __getdirentries.
12962 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12963 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12965 2012-08-14 Mike Frysinger <vapier@gentoo.org>
12967 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12968 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12969 * sysdeps/i386/configure: Regenerated.
12970 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12971 STABS_CURRENT_FILE, and STABS_FUN.
12972 (END): Remove call to STABS_FUN_END.
12973 (STABS_CURRENT_FILE1): Delete.
12974 (STABS_CURRENT_FILE): Likewise.
12975 (STABS_FUN): Likewise.
12976 (STABS_FUN_END): Likewise.
12977 (STABS_FUN2): Likewise.
12978 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12979 * sysdeps/x86_64/configure: Regenerated.
12981 2012-08-14 Roland McGrath <roland@hack.frob.com>
12983 * elf/dl-open.c: Include <atomic.h>.
12984 * elf/dl-lookup.c: Likewise.
12986 2012-08-14 Joseph Myers <joseph@codesourcery.com>
12988 * sysdeps/unix/sysv/linux/kernel-features.h
12989 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12990 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12992 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12994 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12995 condition on __ASSUME_CLONE_THREAD_FLAGS.
12997 2012-08-14 Andreas Jaeger <aj@suse.de>
12999 * sysdeps/i386/fpu/libm-test-ulps: Update.
13001 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13003 * include/atomic.h (atomic_exchange_and_add): Split into ...
13004 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13007 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13011 2012-08-13 Jeff Law <law@redhat.com>
13013 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13014 null byte in the output string.
13016 2012-08-10 Joseph Myers <joseph@codesourcery.com>
13018 * sysdeps/unix/sysv/linux/kernel-features.h
13019 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13020 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13021 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13022 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13023 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13024 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13025 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13027 2012-08-09 Jeff Law <law@redhat.com>
13030 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13031 When avoid_arena is set, don't retry in the that arena. Pick the
13032 next one, whatever it might be.
13033 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13034 (arena_lock): Pass in new parameter to arena_get2.
13035 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13037 (__libc_malloc): Unify retrying after main arena failure with
13038 __libc_memalign version.
13039 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13041 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13044 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13045 to __redirect_strstr.
13046 (__strstr_sse42): Use typeof __redirect_strstr.
13047 (__strstr_ia32): Likewise.
13048 (__libc_strstr): New prototype.
13049 (strstr): Renamed to ...
13050 (__libc_strstr): This.
13051 (strstr): New strong alias of __libc_strstr.
13052 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13053 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13056 (__libc_time): New prototype.
13057 (time_ifunc): Replace time with __libc_time.
13058 (time): New strong alias and hidden definition of __libc_time.
13059 (__GI_time): Remove strong alias.
13060 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13061 Include <stddef.h>.
13062 (memmove): Redefined to __redirect_memmove.
13063 (__memmove_sse2): Use typeof __redirect_memmove.
13064 (__memmove_ssse3): Likewise.
13065 (__memmove_ssse3_back): Likewise.
13066 (__libc_memmove): New prototype.
13067 (memmove): Renamed to ...
13068 (__libc_memmove): This.
13069 (memmove): New strong alias of __libc_memmove.
13071 2012-08-08 Mark Salter <msalter@redhat.com>
13074 (R_MN10300_TLS_GD): Define.
13075 (R_MN10300_TLS_LD): Likewise.
13076 (R_MN10300_TLS_LDO): Likewise.
13077 (R_MN10300_TLS_GOTIE): Likewise.
13078 (R_MN10300_TLS_IE): Likewise.
13079 (R_MN10300_TLS_LE): Likewise.
13080 (R_MN10300_TLS_DTPMOD): Likewise.
13081 (R_MN10300_TLS_DTPOFF): Likewise.
13082 (R_MN10300_TLS_TPOFF): Likewise.
13083 (R_MN10300_SYM_DIFF): Likewise.
13084 (R_MN10300_ALIGN): Likewise.
13085 (R_MN10300_NUM): Update.
13087 2012-08-08 Joseph Myers <joseph@codesourcery.com>
13089 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13092 2012-08-08 Roland McGrath <roland@hack.frob.com>
13094 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13096 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13097 sysdeps/unix -> sysdeps/posix move.
13098 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13100 2012-08-07 Allan McRae <allan@archlinux.org>
13103 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13104 (SUNOS_CPP): Likewise.
13105 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13107 (open_input): Call CPP using execvp.
13109 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13111 * sysdeps/unix/sysv/linux/kernel-features.h
13112 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13113 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13114 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13115 (__ASSUME_WAITID_SYSCALL): Likewise.
13116 * sysdeps/unix/sysv/linux/dl-execstack.c
13117 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13118 code unconditional.
13119 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13121 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13122 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13123 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13125 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13127 [__ASSUME_WAITID_SYSCALL]: Likewise.
13128 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13130 2012-08-07 Roland McGrath <roland@hack.frob.com>
13132 * sysdeps/unix/closedir.c: Renamed to ...
13133 * sysdeps/posix/closedir.c: ... here.
13134 * sysdeps/unix/dirfd.c: Renamed to ...
13135 * sysdeps/posix/dirfd.c: ... here.
13136 * sysdeps/unix/dirstream.h: Renamed to ...
13137 * sysdeps/posix/dirstream.h: ... here.
13138 * sysdeps/unix/fdopendir.c: Renamed to ...
13139 * sysdeps/posix/fdopendir.c: ... here.
13140 * sysdeps/unix/opendir.c: Renamed to ...
13141 * sysdeps/posix/opendir.c: ... here.
13142 * sysdeps/unix/readdir.c: Renamed to ...
13143 * sysdeps/posix/readdir.c: ... here.
13144 * sysdeps/unix/readdir_r.c: Renamed to ...
13145 * sysdeps/posix/readdir_r.c: ... here.
13146 * sysdeps/unix/rewinddir.c: Renamed to ...
13147 * sysdeps/posix/rewinddir.c: ... here.
13148 * sysdeps/unix/seekdir.c: Renamed to ...
13149 * sysdeps/posix/seekdir.c: ... here.
13150 * sysdeps/unix/telldir.c: Renamed to ...
13151 * sysdeps/posix/telldir.c: ... here.
13152 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13153 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13154 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13155 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13157 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13158 * bits/fcntl.h: ... here.
13160 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13162 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13163 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13164 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13165 (struct flock): Move l_start, l_len to the beginning.
13166 Use __pid_t for l_pid.
13167 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13168 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13169 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13170 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13171 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13172 [__USE_LARGEFILE64] (struct flock64): New type.
13173 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13175 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13176 * bits/dirent.h: ... here.
13178 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13179 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13181 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13183 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13184 Change from 2.6.0 to 2.6.16.
13185 * sysdeps/unix/sysv/linux/configure: Regenerated.
13186 * sysdeps/unix/sysv/linux/kernel-features.h
13187 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13188 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13190 (__ASSUME_UTIMES): Likewise.
13191 (__ASSUME_CLONE_STOPPED): Remove.
13192 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13193 architectures, not kernel version.
13194 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13195 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13196 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13197 (__ASSUME_WAITID_SYSCALL): Likewise.
13198 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13199 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13200 * README: State 2.6.16 as minimum Linux kernel version. Do not
13201 refer to older versions.
13203 2012-08-06 Roland McGrath <roland@hack.frob.com>
13205 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13206 Define alphasort64 as an alias.
13207 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13208 Define versionsort64 as an alias.
13209 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13210 Define scandir64 as an alias.
13211 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13212 Define scandirat64 as an alias.
13213 * dirent/alphasort64.c (alphasort64):
13214 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13215 * dirent/versionsort64.c: Likewise.
13216 * dirent/scandir64.c: Likewise.
13217 * dirent/scandirat64.c: Likewise.
13218 * sysdeps/wordsize-64/alphasort.c: File removed.
13219 * sysdeps/wordsize-64/alphasort64.c: File removed.
13220 * sysdeps/wordsize-64/scandir.c: File removed.
13221 * sysdeps/wordsize-64/scandir64.c: File removed.
13222 * sysdeps/wordsize-64/scandirat.c: File removed.
13223 * sysdeps/wordsize-64/scandirat64.c: File removed.
13224 * sysdeps/wordsize-64/versionsort.c: File removed.
13225 * sysdeps/wordsize-64/versionsort64.c: File removed.
13226 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13227 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13228 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13229 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13230 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13231 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13232 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13233 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13235 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13236 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13237 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13238 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13239 [defined __arch64__ || defined __sparcv9]
13240 (__INO_T_MATCHES_INO64_T): New macro.
13241 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13242 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13243 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13244 * sysdeps/unix/sysv/linux/bits/dirent.h
13245 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13246 (_DIRENT_MATCHES_DIRENT64): New macro.
13248 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13249 Define lockf64 as an alias.
13250 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13251 Define fseeko64 as an alias.
13252 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13253 Define ftello64 as an alias.
13254 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13255 Define _IO_fgetpos64 and fgetpos64 as aliases.
13256 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13257 Define _IO_fsetpos64 and fsetpos64 as aliases.
13258 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13259 Conditionalize body on this.
13260 * libio/fseeko64.c: Likewise.
13261 * libio/ftello64.c: Likewise.
13262 * libio/iofgetpos64.c: Likewise.
13263 * libio/iofsetpos64.c: Likewise.
13264 * sysdeps/wordsize-64/lockf.c: File removed.
13265 * sysdeps/wordsize-64/lockf64.c: File removed.
13266 * sysdeps/wordsize-64/fseeko.c: File removed.
13267 * sysdeps/wordsize-64/fseeko64.c: File removed.
13268 * sysdeps/wordsize-64/ftello.c: File removed.
13269 * sysdeps/wordsize-64/ftello64.c: File removed.
13270 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13271 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13272 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13273 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13274 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13275 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13276 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13277 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13278 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13279 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13280 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13281 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13282 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13283 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13285 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13287 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13289 [defined __arch64__ || defined __sparcv9]
13290 (__OFF_T_MATCHES_OFF64_T): New macro.
13291 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13292 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13293 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13294 (__OFF_T_MATCHES_OFF64_T): New macro.
13296 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13298 * stdlib/secure-getenv.c (__secure_getenv): Replace
13299 GLIBC_2_16 with GLIBC_2_17.
13301 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13303 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13304 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13306 2012-08-03 David S. Miller <davem@davemloft.net>
13308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13310 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13312 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13314 (__ASSUME_CORRECT_SI_PID): Likewise.
13315 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13316 (__ASSUME_TMPFS_NAME): Likewise.
13317 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13318 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13319 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13320 (HAVE_AUX_SECURE): Make definition unconditional.
13321 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13322 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13324 2012-08-03 Roland McGrath <roland@hack.frob.com>
13326 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13327 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13328 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13329 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13330 __eloop_threshold instead of SYMLOOP_MAX.
13332 * sysdeps/generic/eloop-threshold.h: New file.
13333 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13335 * elf/chroot_canon.c (chroot_canon): Likewise.
13337 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13340 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13341 Change to 2.6.0 everywhere.
13342 * sysdeps/unix/sysv/linux/configure: Regenerated.
13343 * sysdeps/unix/sysv/linux/kernel-features.h
13344 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13345 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13347 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13348 (__ASSUME_FUTEX_REQUEUE): Remove.
13349 (__ASSUME_STATFS64): Define unconditionally.
13350 (__ASSUME_AT_SECURE): Likewise.
13351 (__ASSUME_CORRECT_SI_PID): Likewise.
13352 (__ASSUME_TGKILL): Define without depending on kernel version for
13354 (__ASSUME_UTIMES): Likewise.
13355 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13357 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13358 (__ASSUME_TMPFS_NAME): Likewise.
13359 * README: Update reference to Linux kernel versions.
13361 2012-08-02 Marek Polacek <polacek@redhat.com>
13364 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13365 libc_cv_asm_type_prefix with %.
13366 * configure: Regenerated.
13367 * include/libc-symbols.h: Remove comment about
13368 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13369 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13370 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13371 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13372 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13373 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13374 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13375 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13376 * elf/tst-unique2mod1.c: Likewise.
13377 * elf/tst-unique1mod2.c: Likewise.
13378 * elf/tst-unique1mod1.c: Likewise.
13379 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13380 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13381 Replace ASM_TYPE_DIRECTIVE with .type.
13382 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13383 * sysdeps/i386/sysdep.h: Likewise.
13384 * sysdeps/x86_64/sysdep.h: Likewise.
13385 * sysdeps/sh/sysdep.h: Likewise.
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13387 Do not define ASM_TYPE_DIRECTIVE.
13388 * sysdeps/powerpc/sysdep.h: Likewise.
13389 * sysdeps/powerpc/powerpc32/sysdep.h:
13390 Replace ASM_TYPE_DIRECTIVE with .type.
13391 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13392 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13393 * sysdeps/i386/fpu/e_powf.S: Likewise.
13394 * sysdeps/i386/fpu/e_expl.S: Likewise.
13395 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13396 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13397 * sysdeps/i386/fpu/e_pow.S: Likewise.
13398 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13399 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13400 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13401 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13402 * sysdeps/i386/fpu/e_log2.S: Likewise.
13403 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13404 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13405 * sysdeps/i386/fpu/e_powl.S: Likewise.
13406 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13407 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13408 * sysdeps/i386/fpu/e_logl.S: Likewise.
13409 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13410 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13411 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13412 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13413 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13414 * sysdeps/i386/fpu/e_log.S: Likewise.
13415 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13416 * sysdeps/i386/fpu/e_logf.S: Likewise.
13417 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13418 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13419 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13420 * sysdeps/i386/fpu/e_log10.S: Likewise.
13421 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13422 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13423 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13424 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13425 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13426 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13427 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13428 * sysdeps/i386/i686/strtok.S: Likewise.
13429 * sysdeps/i386/i386-mcount.S: Likewise.
13430 * sysdeps/i386/strtok.S: Likewise.
13431 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13432 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13434 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13435 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13436 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13437 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13438 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13439 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13440 * sysdeps/x86_64/_mcount.S: Likewise.
13441 * sysdeps/x86_64/strtok.S: Likewise.
13442 * sysdeps/sh/_mcount.S: Likewise.
13444 2012-08-01 Roland McGrath <roland@hack.frob.com>
13446 * libio/iofopen.c: Include <fcntl.h>.
13447 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13448 (_IO_fopen64, fopen64): Define as aliases.
13449 * libio/iofopen64.c: Include <fcntl.h>.
13450 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13451 Conditionalize body on this.
13452 * sysdeps/wordsize-64/iofopen.c: File removed.
13453 * sysdeps/wordsize-64/iofopen64.c: File removed.
13455 2012-08-01 Marek Polacek <polacek@redhat.com>
13457 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13458 Use dlfcn directly instead of a variable.
13459 (binfmt-subdir): Do not define.
13462 2012-08-01 Joseph Myers <joseph@codesourcery.com>
13464 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13465 Remove all definitions.
13466 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13467 <kernel-features.h>.
13468 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13469 (miss_F_GETOWN_EX): Remove all definitions.
13470 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13472 [!__ASSUME_FCNTL64]: Remove conditional code.
13473 [__ASSUME_FCNTL64]: Make code unconditional.
13474 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13475 <kernel-features.h>.
13476 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13477 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13478 (lockf64) [__NR_fcntl64]: Make code unconditional.
13479 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13481 * sysdeps/unix/sysv/linux/kernel-features.h
13482 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13483 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13484 Make code unconditional.
13485 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13486 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13488 [__NR_vfork]: Make code unconditional.
13489 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13490 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13492 [__NR_vfork]: Make code unconditional.
13493 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13494 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13496 2012-08-01 Roland McGrath <roland@hack.frob.com>
13498 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13499 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13501 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13502 Define mkstemp64 as an alias.
13503 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13504 Define mkstemps64 as an alias.
13505 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13506 Define mkostemp64 as an alias.
13507 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13508 Define mkostemps64 as an alias.
13509 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13510 Conditionalize body on this.
13511 * misc/mkostemp64.c: Likewise.
13512 * misc/mkostemps64.c: Likewise.
13513 * misc/mkstemps64.c: Likewise.
13514 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13515 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13516 * sysdeps/wordsize-64/mkostemp.c: File removed.
13517 * sysdeps/wordsize-64/mkstemp.c: File removed.
13518 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13519 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13520 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13521 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13524 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13525 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13526 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13527 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13529 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13530 compat_symbol macros from <shlib-compat.h> rather than the underlying
13531 default_symbol_version and symbol_version macros, so that DEFAULT
13532 lines in shlib-versions are respected.
13533 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13535 2012-08-01 Florian Weimer <fweimer@redhat.com>
13537 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13538 Declare with warn_unused_result.
13539 (setgid, setregid, setegid, setresgid): Likewise.
13540 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13542 * WUR-REPORT: Remove set*id functions.
13544 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13546 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13548 2012-07-31 Roland McGrath <roland@hack.frob.com>
13551 * include/sys/socket.h (__libc_accept, __libc_accept4):
13552 Add attribute_hidden.
13553 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13555 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13557 * inet/getnetgrent_r.c (setup): Likewise.
13559 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13561 2012-07-31 David S. Miller <davem@davemloft.net>
13563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13565 2012-07-31 Joseph Myers <joseph@codesourcery.com>
13568 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13569 value between 1.0 and 2.0 and smaller part has absolute value less
13571 * math/s_clog10.c (__clog10): Likewise.
13572 * math/s_clog10f.c (__clog10f): Likewise.
13573 * math/s_clog10l.c (__clog10l): Likewise.
13574 * math/s_clogf.c (__clogf): Likewise.
13575 * math/s_clogl.c (__clogl): Likewise.
13576 * math/libm-test.inc (clog_test): Add more tests.
13577 (clog10_test): Likewise.
13578 * sysdeps/i386/fpu/libm-test-ulps: Update.
13579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13581 2012-07-31 Florian Weimer <fweimer@redhat.com>
13583 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13584 Exit with zero in case no suitable GID is found, and write a
13585 message to standard error.
13587 2012-07-30 Roland McGrath <roland@hack.frob.com>
13589 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13591 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13592 (MAXPATHLEN): Removed.
13593 (NOGROUP, NODEV): New macros.
13594 (setbit, clrbit, isset, isclr): New macros.
13595 (howmany, roundup, powerof2): New macros.
13596 (DEV_BSIZE): New macro.
13598 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13599 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13601 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13602 definition on [!__NO_LONG_DOUBLE_MATH].
13604 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13605 PTR_MANGLE and PTR_DEMANGLE.
13607 * socket/accept4.c (accept4): Rename to __libc_accept4.
13608 Define accept4 as a weak alias.
13610 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13611 on [_DIRENT_HAVE_D_TYPE].
13612 * io/ftw.c (ftw_dir): Likewise.
13614 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13616 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13618 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13619 Use the BSD numbers rather than the arbitrary ones we had.
13620 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13621 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13622 (SIGXCPU, SIGXFSZ): New macros.
13625 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13626 initializer on [_LIBC_REENTRANT].
13628 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13629 definitions inside [_POSIX_MAPPED_FILES].
13631 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13633 * dirent/opendir.c: Include <fcntl.h>.
13635 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13636 (__libc_getspecific): Likewise.
13637 (__libc_key_create): Likewise.
13639 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13640 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13641 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13642 (tmpfile64): Define as alias.
13643 * sysdeps/wordsize-64/tmpfile.c: File removed.
13644 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13645 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13646 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13648 * stdio-common/vfscanf.c: Include <stdbool.h>.
13649 * nss/makedb.c: Likewise.
13650 * stdio-common/_i18n_number.h: Likewise.
13651 * argp/argp-help.c: Likewise.
13652 * posix/wordexp.c: Likewise.
13653 * sysdeps/posix/spawni.c: Likewise.
13654 * nss/nss_files/files-initgroups.c: Likewise.
13655 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13656 * nss/nss_files/files-initgroups.c: Likewise.
13657 * nss/nss_db/db-netgrp.c: Likewise.
13658 * nss/nss_db/db-initgroups.c: Likewise.
13659 * io/fchmodat.c: Include <sys/stat.h>.
13661 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13662 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13664 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13667 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13668 Add multiple inclusion protection.
13670 2012-07-27 David S. Miller <davem@davemloft.net>
13672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13674 2012-07-27 Gary Benson <gbenson@redhat.com>
13677 * elf/rtld.c: Include <stap-probe.h>.
13678 (dl_main): Added static probes "init_start" and "init_complete".
13679 * elf/dl-load.c: Include <stap-probe.h>.
13680 (lose): Take new parameter "nsid".
13681 Added static probe "map_failed".
13682 (_dl_map_object_from_fd): Pass namespace id to lose.
13683 Added static probe "map_start".
13684 (open_verify): Pass namespace id to lose.
13685 * elf/dl-open.c: Include <stap-probe.h>.
13686 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13687 and "reloc_complete".
13688 * elf/dl-close.c: Include <stap-probe.h>.
13689 (_dl_close_worker): Added static probes "unmap_start" and
13691 * elf/rtld-debugger-interface.txt: New file documenting the above.
13693 2012-07-26 Roland McGrath <roland@hack.frob.com>
13695 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13696 rather than a string variable.
13697 * sunrpc/rpc_main.c (h_output): Likewise.
13698 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13700 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13702 * inet/check_native.c: New file.
13704 2012-07-26 Joseph Myers <joseph@codesourcery.com>
13707 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13708 if larger part has absolute value 1.0.
13709 * math/s_clog10.c (__clog10): Likewise.
13710 * math/s_clog10f.c (__clog10f): Likewise.
13711 * math/s_clog10l.c (__clog10l): Likewise.
13712 * math/s_clogf.c (__clogf): Likewise.
13713 * math/s_clogl.c (__clogl): Likewise.
13714 * math/libm-test.inc (clog_test): Add more tests.
13715 (clog10_test): Likewise.
13716 * sysdeps/i386/fpu/libm-test-ulps: Update.
13717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13719 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13720 (pltexit): Likewise.
13721 (La_regs): Likewise.
13722 (La_retval): Likewise.
13723 (int_retval): Likewise.
13724 Update #error for removed macros to refer only to definitions in
13726 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13728 (pltexit): Likewise.
13729 (La_regs): Likewise.
13730 (La_retval): Likewise.
13731 (int_retval): Likewise.
13732 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13734 (pltexit): Likewise.
13735 (La_regs): Likewise.
13736 (La_retval): Likewise.
13737 (int_retval): Likewise.
13738 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13740 (pltexit): Likewise.
13741 (La_regs): Likewise.
13742 (La_retval): Likewise.
13743 (int_retval): Likewise.
13744 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13746 (pltexit): Likewise.
13747 (La_regs): Likewise.
13748 (La_retval): Likewise.
13749 (int_retval): Likewise.
13750 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13752 (pltexit): Likewise.
13753 (La_regs): Likewise.
13754 (La_retval): Likewise.
13755 (int_retval): Likewise.
13756 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13758 (pltexit): Likewise.
13759 (La_regs): Likewise.
13760 (La_retval): Likewise.
13761 (int_retval): Likewise.
13762 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13763 macro definitions in tst-audit.h.
13764 * sysdeps/i386/tst-audit.h: New file.
13765 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13766 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13767 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13768 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13769 * sysdeps/sh/tst-audit.h: Likewise.
13770 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13771 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13772 * sysdeps/x86_64/tst-audit.h: Likewise.
13774 2012-07-26 Andreas Jaeger <aj@suse.de>
13776 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13779 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13780 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13781 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13783 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13784 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13785 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13787 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13790 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13792 (si_call_addr, si_syscall, si_arch): Define new macro.
13793 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13795 (si_call_addr, si_syscall, si_arch): Define new marcro.
13796 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13798 (si_call_addr, si_syscall, si_arch): Define new macro.
13799 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13801 (si_call_addr, si_syscall, si_arch): Define new macro.
13803 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13806 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13807 Change to 2.4.21 where previously 2.4.1.
13808 * sysdeps/unix/sysv/linux/configure: Regenerated.
13809 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13810 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13811 Linux kernel version.
13812 (__ASSUME_STD_AUXV): Remove.
13813 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13815 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13816 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13817 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13818 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13819 (__ASSUME_NETLINK_SUPPORT): Likewise.
13820 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13821 (__no_netlink_support): Remove conditional definition.
13822 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13824 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13825 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13826 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13827 (if_nameindex_ioctl): Remove.
13828 (if_nameindex_netlink): Do not handle __no_netlink_support.
13829 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13831 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13832 Remove conditional code.
13833 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13835 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13837 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13838 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13839 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13841 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13842 [!__ASSUME_STD_AUXV]: Remove conditional code.
13843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13844 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13845 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13847 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13848 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13850 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13852 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13853 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13855 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13857 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13860 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13863 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13864 code unconditional.
13865 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13867 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13869 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13872 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13874 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13877 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13878 code unconditional.
13879 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13881 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13883 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13886 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13887 code unconditional.
13888 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13890 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13892 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13895 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13897 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13898 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13899 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13900 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13901 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13902 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13903 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13904 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13905 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13906 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13907 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13908 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13909 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13910 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13911 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13912 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13913 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13914 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13915 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13917 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13918 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13919 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13921 2012-07-25 Florian Weimer <fweimer@redhat.com>
13923 * Versions.def: Add GLIBC_2.17.
13924 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13925 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13926 Introduce __libc_secure_getenv.
13927 * stdlib/Versions (2.17): Add secure_getenv
13928 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13929 * stdlib/secure-getenv.c: Rename __secure_getenv to
13930 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13931 symbol __secure_getenv for GLIBC_2.0.
13932 * stdlib/tst-secure-getenv.c: New.
13933 * stdlib/Makefile (tests): Add testcase.
13934 * manual/startup.texi (Environment Access): Document
13936 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13937 __libc_secure_getenv.
13938 * inet/ruserpass.c (ruserpass): Likewise.
13939 * malloc/mtrace.c (mtrace): Likewise.
13940 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13941 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13942 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13943 * sysdeps/posix/tempname.c: Likewise. Evaluate
13944 HAVE_SECURE_GETENV.
13945 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13946 __secure_getenv to __libc_secure_getenv.
13947 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13960 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13962 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13963 (struct La_i86_retval): Likewise.
13964 (struct La_x86_64_regs): Likewise.
13965 (struct La_x86_64_retval): Likewise.
13966 (struct La_x32_regs): Likewise.
13967 (struct La_x32_retval): Likewise.
13968 (struct La_ppc32_regs): Likewise.
13969 (struct La_ppc32_retval): Likewise.
13970 (struct La_ppc64_regs): Likewise.
13971 (struct La_ppc64_retval): Likewise.
13972 (struct La_sh_regs): Likewise.
13973 (struct La_sh_retval): Likewise.
13974 (struct La_s390_32_regs): Likewise.
13975 (struct La_s390_32_retval): Likewise.
13976 (struct La_s390_64_regs): Likewise.
13977 (struct La_s390_64_retval): Likewise.
13978 (struct La_sparc32_regs): Likewise.
13979 (struct La_sparc32_retval): Likewise.
13980 (struct La_sparc64_regs): Likewise.
13981 (struct La_sparc64_retval): Likewise.
13982 (struct audit_ifaces): Remove architecture-specific pltenter and
13984 * sysdeps/i386/ldsodefs.h: New file.
13985 * sysdeps/powerpc/ldsodefs.h: Likewise.
13986 * sysdeps/s390/ldsodefs.h: Likewise.
13987 * sysdeps/sh/ldsodefs.h: Likewise.
13988 * sysdeps/sparc/ldsodefs.h: Likewise.
13989 * sysdeps/x86_64/ldsodefs.h: Likewise.
13991 2012-07-25 Marek Polacek <polacek@redhat.com>
13994 * math/libm-test.inc (yn_test): Add another test.
13995 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13996 to ERANGE when the result is +-Inf.
13997 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13998 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13999 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14000 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14002 2012-07-24 Joseph Myers <joseph@codesourcery.com>
14004 * conform/data/time.h-data (NULL): Use macro-constant. Require
14006 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14008 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14010 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14012 * configure.in <sysdeps resolving>: Correct printing
14014 * configure: Regenerate.
14016 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14018 * math/w_ilogb.c: Include <limits.h>.
14019 * math/w_ilogbl.c: Likewise.
14021 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14023 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14024 va_copy. Document allowing for unavailable va_copy only as
14025 pre-C99 compatibility.
14026 * manual/string.texi (Copying and Concatenation): Use va_copy
14027 instead of __va_copy in concat example.
14029 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14031 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14032 (__sendto): Use create_address_port. Initialize APORT and deallocate
14035 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14036 with O_NOLINK passed to __file_name_lookup.
14038 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14039 with O_NOLINK passed to __file_name_lookup.
14041 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14042 negative N or less than NGIDS.
14044 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14045 type to string_t. Set ERANGE as errno and return it if NAME is not big
14046 enough. Use memcpy instead of strncpy.
14048 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14050 * elf/Makefile (check-data): Remove.
14051 (localplt.data): New vpath directive.
14052 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14053 instead of $(check-data).
14054 * scripts/data/localplt-generic.data: Move to ...
14055 * sysdeps/generic/localplt.data: ... here.
14056 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14057 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14058 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14061 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14064 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14067 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14070 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14073 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14077 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14079 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14080 PPC32 and PPC64 files.
14081 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14082 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14084 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14086 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14087 __makecontext_ret to ...
14088 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14089 ... here and call exit if uc_link is NULL. New file.
14090 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14091 __makecontext_ret.S.
14092 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14093 __makecontext_ret to ...
14094 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14095 ... here and call exit if uc_link is NULL. New file.
14096 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14097 __makecontext_ret.S.
14099 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14101 * elf/elf.h (R_390_IRELATIVE): New definition.
14102 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14103 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14104 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14105 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14106 (elf_machine_lazy_rel): Likewise.
14107 * sysdeps/s390/dl-irel.h: New file.
14108 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14109 * sysdeps/s390/s390-64/memset.S: New asm code.
14110 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14111 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14112 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14113 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14114 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14115 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14116 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14117 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14118 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14119 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14120 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14121 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14122 * sysdeps/s390/s390-32/memset.S: New asm code.
14123 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14125 2012-07-17 Marek Polacek <polacek@redhat.com>
14128 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14129 * sysdeps/s390/s390-64/configure.in: Likewise.
14130 * sysdeps/sparc/configure.in: Likewise.
14131 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14132 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14133 * sysdeps/i386/configure.in: Likewise.
14134 * sysdeps/x86_64/configure.in: Likewise.
14135 * sysdeps/sh/configure.in: Likewise.
14136 * sysdeps/s390/s390-32/configure: Regenerated.
14137 * sysdeps/s390/s390-64/configure: Likewise.
14138 * sysdeps/x86_64/configure: Likewise.
14139 * sysdeps/sh/configure: Likewise.
14140 * sysdeps/powerpc/powerpc64/configure: Likewise.
14141 * sysdeps/powerpc/powerpc32/configure: Likewise.
14142 * sysdeps/sparc/configure: Likwise.
14143 * sysdeps/i386/configure: Likewise.
14145 * elf/dl-open.c: Comment fixes.
14147 2012-07-17 Joseph Myers <joseph@codesourcery.com>
14149 * Makefile [CXX] (check-data): Remove.
14150 [CXX] (c++-types.data): New vpath directive.
14151 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14152 vpath. Do not allow for C++ type data being missing.
14153 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14154 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14155 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14156 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14157 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14158 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14159 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14162 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14165 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14168 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14171 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14174 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14177 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14180 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14183 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14184 definitions to architecture-specific files.
14185 (TLS_IE): Likewise.
14186 (TLS_LD): Likewise.
14187 (TLS_GD): Likewise.
14188 * sysdeps/i386/tls-macros.h: New file.
14189 * sysdeps/powerpc/tls-macros.h: Likewise.
14190 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14191 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14192 * sysdeps/sh/tls-macros.h: Likewise.
14193 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14194 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14195 * sysdeps/x86_64/tls-macros.h: Likewise.
14197 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14199 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14200 zero value for regular exit case.
14202 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14203 (__start_context): Preserve zero value for regular exit case.
14205 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14206 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14208 * manual/setjmp.texi (setcontext): Clarify normal process
14209 termination when uc_link is the null pointer.
14210 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14213 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14215 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14216 preprocessor. Test for each exception mask separately.
14218 2012-07-16 Andreas Jaeger <aj@suse.de>
14220 * po/ru.po: Update from translation team.
14222 2012-07-15 Joseph Myers <joseph@codesourcery.com>
14224 * conform/data/string.h-data (NULL): Use macro-constant. Require
14226 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14227 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14228 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14229 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14230 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14232 2012-07-13 Andreas Jaeger <aj@suse.de>
14234 * po/fr.po: Update from translation team.
14236 2012-07-12 Marek Polacek <polacek@redhat.com>
14239 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14240 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14243 2012-07-12 Joseph Myers <joseph@codesourcery.com>
14246 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14247 Change to 2.4.1 where previously 2.4.0.
14248 * sysdeps/unix/sysv/linux/configure: Regenerated.
14249 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14250 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14252 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14253 (__ASSUME_AT_CLKTCK): Remove.
14254 (__ASSUME_AT_PAGESIZE): Likewise.
14255 (__ASSUME_AT_XID): Likewise.
14256 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14257 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14258 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14260 (HAVE_AUX_PAGESIZE): Likewise.
14261 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14262 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14263 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14265 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14269 the temporary buffer used to invoke __gethostbyname2_r,
14270 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14271 host_data / struct gaih_addrtuple.
14272 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14273 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14274 header file nss/nsswitch.h.
14275 * nss/nsswitch.h (global scope): Add definition of implementation
14276 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14277 resolv/nss_dns/dns-host.c).
14279 2012-07-11 Andreas Jaeger <aj@suse.de>
14281 * po/fr.po: Update from translation team.
14283 * po/sv.po: Update from translation team
14284 * po/fr.po: Another update from translation team.
14286 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14288 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14289 for subnormals or multiply small sinh result by itself.
14290 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14293 2012-07-11 David S. Miller <davem@davemloft.net>
14295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14297 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14300 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14301 (INTERNAL_MARK): Shift it here.
14303 2012-07-10 Marek Polacek <polacek@redhat.com>
14306 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14307 libc_cv_asm_global_directive with .globl.
14308 * configure: Regenerated.
14309 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14311 * sysdeps/i386/configure: Regenerated.
14312 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14314 * sysdeps/x86_64/configure: Regenerated.
14315 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14316 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14317 * elf/tst-unique2mod2.c: Likewise.
14318 * elf/tst-unique2mod1.c: Likewise.
14319 * elf/tst-unique1mod2.c: Likewise.
14320 * elf/tst-unique1mod1.c: Likewise.
14321 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14322 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14323 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14324 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14325 * sysdeps/mach/sysdep.h: Likewise.
14326 * sysdeps/i386/sysdep.h: Likewise.
14327 * sysdeps/i386/i386-mcount.S: Likewise.
14328 * sysdeps/x86_64/_mcount.S: Likewise.
14329 * sysdeps/x86_64/sysdep.h: Likewise.
14330 * sysdeps/sh/_mcount.S: Likewise.
14331 * sysdeps/sh/sysdep.h: Likewise.
14332 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14333 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14334 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14335 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14336 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14337 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14338 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14339 * locale/localeinfo.h: Likewise.
14340 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14341 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14343 2012-07-09 Roland McGrath <roland@hack.frob.com>
14346 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14348 * manual/message.texi (The Uniforum approach): Likewise.
14349 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14350 (glibc iconv Implementation): Likewise.
14352 2012-07-09 Joseph Myers <joseph@codesourcery.com>
14355 * math/s_clog.c (__clog): Avoid scaling a value down where that
14356 could result in underflow.
14357 * math/s_clog10.c (__clog10): Likewise.
14358 * math/s_clog10f.c (__clog10f): Likewise.
14359 * math/s_clog10l.c (__clog10l): Likewise.
14360 * math/s_clogf.c (__clogf): Likewise.
14361 * math/s_clogl.c (__clogl): Likewise.
14362 * math/libm-test.inc (clog_test): Add more tests.
14363 (clog10_test): Likewise.
14364 * sysdeps/i386/fpu/libm-test-ulps: Update.
14365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14367 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14370 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14371 by 7 not 8 to examine high bit of fractional part.
14374 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14375 for call to __mcount_internal.
14376 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14377 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14378 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14380 2012-07-06 Joseph Myers <joseph@codesourcery.com>
14383 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14384 approximation for values within 0x1p-13f of an odd multiple of
14386 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14387 exception. Add more tests.
14388 * sysdeps/i386/fpu/libm-test-ulps: Update.
14391 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14392 inputs and return -1 for them. Do not check for +Inf in case not
14393 reachable for +Inf.
14394 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14395 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14396 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14397 and return -1 for them. Do not check for +Inf in case not
14398 reachable for +Inf.
14399 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14405 spurious underflow.
14406 * sysdeps/i386/fpu/libm-test-ulps: Update.
14407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14409 2012-07-06 Mike Frysinger <vapier@gentoo.org>
14411 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14413 2012-07-05 Joseph Myers <joseph@codesourcery.com>
14417 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14418 could result in spurious underflow. Scale down values above
14419 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14420 * math/s_csqrtf.c (__csqrtf): Likewise.
14421 * math/s_csqrtl.c (__csqrtl): Likewise.
14422 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14423 spurious underflow.
14424 * sysdeps/i386/fpu/libm-test-ulps: Update.
14425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14427 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14429 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14431 * catgets/xopen-msg.awk: New file.
14432 * catgets/xopen-msg.sed: Removed.
14434 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14436 * intl/po2test.awk: New file.
14437 * intl/po2test.sed: Removed.
14439 2012-07-04 Joseph Myers <joseph@codesourcery.com>
14442 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14443 or multiply small sinh result by itself.
14444 * math/s_ctanf.c (__ctanf): Likewise.
14445 * math/s_ctanh.c (__ctanh): Likewise.
14446 * math/s_ctanhf.c (__ctanhf): Likewise.
14447 * math/s_ctanhl.c (__ctanhl): Likewise.
14448 * math/s_ctanl.c (__ctanl): Likewise.
14449 * math/libm-test.inc (ctan_test_tonearest): New function.
14450 (ctan_test_towardzero): Likewise.
14451 (ctan_test_downward): Likewise.
14452 (ctan_test_upward): Likewise.
14453 (ctanh_test_tonearest): Likewise.
14454 (ctanh_test_towardzero): Likewise.
14455 (ctanh_test_downward): Likewise.
14456 (ctanh_test_upward): Likewise.
14457 (main): Call these new functions.
14458 * sysdeps/i386/fpu/libm-test-ulps: Update.
14459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14461 2012-07-03 Mike Frysinger <vapier@gentoo.org>
14463 * .gitignore: Delete /ports entry.
14465 2012-07-03 Andreas Jaeger <aj@suse.de>
14467 * po/bg.po: Update from translation team.
14468 * po/cs.po: Likewise.
14469 * po/de.po: Likewise.
14470 * po/hr.po: Likewise.
14471 * po/nl.pl: Likewise.
14472 * po/pl.po: Likewise.
14473 * po/vi.po: Likewise.
14475 2012-07-03 Joseph Myers <joseph@codesourcery.com>
14477 * Makeconfig [!+link] (+link-before-libc): New variable.
14478 [!+link] (+link-after-libc): Likewise.
14479 [!+link] (+link-tests): Likewise.
14480 [!+link] (+link): Define in terms of $(+link-before-libc) and
14481 $(+link-after-libc).
14482 [!+link-static] (+link-static-before-libc): New variable.
14483 [!+link-static] (+link-static-after-libc): Likewise.
14484 [!+link-static] (+link-static-tests): Likewise.
14485 [!+link-static] (+link-static): Define in terms of
14486 $(+link-static-before-libc) and $(+link-static-after-libc).
14487 [build-shared] (link-libc-before-gnulib): New variable.
14488 [build-shared] (link-libc-tests): Likewise.
14489 [build-shared] (link-libc): Define in terms of
14490 $(link-libc-before-gnulib).
14491 [!build-shared] (link-libc-tests): New variable.
14492 (link-libc-static-tests): New variable.
14493 [!gnulib] (gnulib-arch): New variable.
14494 [!gnulib] (gnulib-tests): Likewise.
14495 [!gnulib] (static-gnulib-arch): Likewise.
14496 [!gnulib] (static-gnulib-tests): Likewise.
14497 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14498 Define with "=" instead of ":=".
14499 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14500 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14501 * Rules (binaries-all-notests): New variable.
14502 (binaries-all-tests): Likewise.
14503 (binaries-static-notests): Likewise.
14504 (binaries-static-tests): Likewise.
14505 (binaries-all): Define using $(binaries-all-notests) and
14506 $(binaries-all-tests).
14507 (binaries-static): Define using $(binaries-static-notests) and
14508 $(binaries-static-tests).
14509 (binaries-shared-tests): New variable.
14510 (binaries-shared-notests): Likewise.
14511 (binaries-shared): Remove variable.
14512 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14513 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14514 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14515 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14516 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14517 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14518 * elf/Makefile (sln-modules): New variable.
14519 (extra-objs): Add $(sln-modules:=.o).
14520 (ldconfig-modules): Add static-stubs.
14521 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14522 * elf/static-stubs.c: New file.
14525 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14526 by 7 not 8 to examine high bit of fractional part. Use volatile
14527 variables when splitting into final array of floats if
14528 __FLT_EVAL_METHOD__ != 0.
14529 * math/libm-test.inc (cos_test): Add another test.
14530 (sin_test): Likewise.
14531 * sysdeps/i386/fpu/libm-test-ulps: Update.
14534 * math/libm-test.inc (cosh_test): Add more tests.
14536 * version.h (RELEASE): Set to "development".
14537 (VERSION): Set to "2.16.90".
14539 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14541 * NEWS: Update copyright. Remove last-updated date.
14542 Mention math library bug fixes and timezone data changes.
14543 * README: Mention GNU/Hurd, x32, and HPPA support status.
14545 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14547 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14549 2012-06-27 Andreas Jaeger <aj@suse.de>
14551 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14553 2012-06-25 Andreas Jaeger <aj@suse.de>
14555 * sysdeps/s390/fpu/libm-test-ulps: Update.
14557 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14558 Thomas Schwinge <thomas@codesourcery.com>
14560 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14561 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14562 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14565 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14567 * sysdeps/mach/start.c: Remove file.
14568 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14569 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14570 * sysdeps/sh/init-first.c: Likewise.
14572 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14573 registers for frame unwinding purposes, add CFI directives.
14574 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14575 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14576 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14579 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14580 __fortify_fail returning.
14581 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14583 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14584 sysdeps/sh/____longjmp_chk.S.
14585 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14586 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14587 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14588 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14590 * sysdeps/sh/abort-instr.h: New file.
14591 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14592 process in case exit returns.
14594 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14595 initialize the GOT register before use.
14597 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14598 calculation of ARGC > 4.
14600 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14601 meaningful names to some local labels.
14603 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14604 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14606 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14607 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14608 (__arch_compare_and_exchange_val_16_acq): Likewise.
14609 (__arch_compare_and_exchange_val_32_acq): Likewise.
14610 (atomic_exchange_and_add): Fix gUSA sequence.
14611 (atomic_add): Likewise.
14612 (atomic_add_negative): Likewise.
14613 (atomic_add_zero): Likewise.
14614 (atomic_bit_test_set): Likewise.
14616 2012-06-22 Andreas Schwab <schwab@redhat.com>
14619 * include/link.h (struct link_map): Add l_free_initfini.
14620 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14622 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14623 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14624 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14627 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14629 * configure.in: Use AC_LANG_SOURCE.
14630 * configure: Regenerate.
14632 2012-06-22 Roland McGrath <roland@hack.frob.com>
14634 * configure.in (libc_cv_localstatedir): New substituted variable.
14635 * configure: Regenerated.
14636 * config.make.in (localstatedir): New variable, substituted from
14637 libc_cv_localstatedir.
14638 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14639 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14640 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14641 * sysdeps/gnu/configure: Regenerated.
14643 2012-06-21 Jeff Law <law@redhat.com>
14646 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14647 free. Simplify list management for _LIBC case.
14649 2012-06-21 Joseph Myers <joseph@codesourcery.com>
14652 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14653 Clear sign bit of 64-bit integer value before comparing against
14656 * sysdeps/mach/configure: Regenerated.
14658 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14661 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14663 2012-06-21 Jeff Law <law@redhat.com>
14666 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14667 uint16_t for elements in the "seen" array to avoid char overflows.
14668 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14669 * elf/dl-open.c (dl_open_worker): Likewise.
14671 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14673 * scripts/list-sources.sh: Scan PORTS for translations.
14674 * po/libc.pot: Regenerated.
14676 2012-06-21 Andreas Jaeger <aj@suse.de>
14679 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14681 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14682 * bits/byteswap-16.h (__bswap_16): Likewise.
14683 * bits/byteswap.h (__bswap_constant_16): Likewise.
14685 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14688 * sysdeps/i386/fpu_control.h: Removed.
14689 * sysdeps/x86_64/fpu_control.h: Moved to ...
14690 * sysdeps/x86/fpu_control.h: Here.
14692 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14693 (_FPU_SETCW): Likewise.
14695 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14698 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14699 * sysdeps/x86/fpu/bits/mathinline.h: This.
14700 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14704 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14705 functions if __x86_64__ is defined.
14707 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14709 * string/endian.h: Add !__ASSEMBLER__ condition for including
14710 conversion interfaces.
14712 2012-06-15 Joseph Myers <joseph@codesourcery.com>
14715 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14716 of ABS(x) in calculating zero to negative powers other than odd
14718 * math/libm-test.inc (pow_test): Add more tests.
14720 2012-06-15 Andreas Jaeger <aj@suse.de>
14722 * manual/contrib.texi (Contributors): Update entry of Liubov
14723 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14726 2012-06-15 Cyril Hrubis <metan@ucw.cz>
14728 * string/string.h: Add __wur to GNU version of strerror_r.
14730 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14733 * string/Makefile (tests): Add tst-strtok_r.
14734 * string/tst-strtok_r.c: New file.
14735 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14736 RAX_LP/RDX_LP on SAVE_PTR.
14738 2012-06-14 Roland McGrath <roland@hack.frob.com>
14740 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14742 2012-06-14 Joseph Myers <joseph@codesourcery.com>
14744 * libm_test.inc (csqrt_test): Allow more spurious underflow
14746 (j0_test): Likewise.
14747 (j1_test): Likewise.
14748 (y0_test): Likewise.
14749 (y1_test): Likewise.
14751 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14753 * po/Makefile (libc.pot): Use UTF-8 charset.
14755 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14758 Suppress sign-conversion warning from FD_SET.
14759 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14760 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14761 not unsigned long int.
14762 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14764 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14768 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14769 __extern_always_inline instead of __extern_inline.
14770 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14771 (__signbit): Likewise.
14772 (__signbitl): Support C++ namespace.
14773 (lrintf): New inline function.
14775 (llrintf): Likewise.
14776 (llrint): Likewise.
14786 (floorf): Likewise.
14787 (nearbyint): Likewise.
14788 (nearbyintf): Likewise.
14790 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14792 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14793 non-default versions.
14795 2012-06-11 Roland McGrath <roland@hack.frob.com>
14798 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14800 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14802 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14803 (FE_UPWARD, FE_DOWNWARD): Don't define.
14804 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14805 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14807 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14809 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14810 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14812 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14814 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14815 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14816 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14817 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14819 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14822 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14823 * sysdeps/i386/fpu/Implies: New file.
14824 * sysdeps/x86_64/fpu/Implies: Likewise.
14825 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14826 * sysdeps/x86/fpu/bits/fenv.h: This.
14828 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14831 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14834 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14835 character 0xffff that matches the last element of the
14838 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14840 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14843 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14845 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14846 values higher than 25.6283.
14848 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14850 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14851 subnormal exponent extraction and add some __builtin_expect.
14852 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14853 Fix for subnormal mantissa calculation.
14855 2012-06-04 Mike Frysinger <vapier@gentoo.org>
14857 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14858 cpu2 is -1 and errno is not ENOSYS.
14860 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14863 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14864 * sysdeps/x86/bits/string.h: This.
14865 * sysdeps/x86_64/bits/string.h: Removed.
14867 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14868 if not compiling for x86-64, but compiling for >= i486.
14870 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14871 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14873 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14874 New macro from Linux kernel 3.4.0.
14875 (FP_XSTATE_MAGIC2): Likewise.
14876 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14877 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14878 (struct _fpx_sw_bytes): New struct.
14879 (struct _xsave_hdr): Likewise.
14880 (struct _ymmh_state): Likewise.
14881 (struct _xstate): Likewise.
14883 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14884 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14885 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14886 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14887 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14888 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14890 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14891 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14892 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14893 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14894 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14895 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14897 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14900 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14901 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14902 (sysdep_headers): Include sys/platform/ppc.h.
14903 * sysdeps/powerpc/test-gettimebase.c: Test for
14904 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14905 * manual/Makefile (appendices): Include platform.texi.
14906 * manual/contrib.texi (Contributors): Update @node pointers.
14907 * manual/maint.texi (Maintenance): Likewise.
14908 (Platform): New node.
14909 * manual/platform.texi: New file. Document the new features.
14911 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14912 Jakub Jelinek <jakub@redhat.com>
14915 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14916 where __builtin_expect is unavailable.
14918 2012-06-03 David S. Miller <davem@davemloft.net>
14920 * stdlib/longlong.h: Updated from GCC.
14922 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14925 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14926 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14929 (GLIBC_2.16): Likewise.
14931 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14933 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14935 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14938 (default-abi): New variable.
14939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14940 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14942 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14944 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14946 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14949 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14950 definition. Document in comment.
14952 2012-06-01 David S. Miller <davem@davemloft.net>
14954 * stdlib/longlong.h: Updated from GCC.
14956 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14959 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14960 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14961 sys/debugreg.h sys/io.h here.
14962 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14963 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14965 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14966 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14967 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14968 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14969 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14970 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14972 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14973 Define only if __x86_64__ is defined.
14975 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14978 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14979 Use int64_t for variable i.
14980 * math/libm-test.inc (fmod_test): Add more tests.
14982 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14983 z computation is not scheduled after fetestexcept.
14984 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14985 Use math_force_eval instead of asm to ensure calculation scheduled
14986 before exception test.
14987 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14988 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14990 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14992 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14993 computation is not scheduled after fetestexcept.
14995 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14998 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14999 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15001 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15003 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15004 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15006 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15009 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15011 (__WCHAR_MIN): Support __WORDSIZE == 64.
15012 (__WCHAR_MAX): Likewise.
15014 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15015 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15018 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15019 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15022 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15023 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15025 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15026 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15028 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15029 Defined to 1 if __x86_64__ isn't defined.
15030 (_STAT_VER_LINUX_OLD): New.
15031 (st_atime): Remove duplicate.
15032 (st_mtime): Likewise.
15033 (st_ctime): Likewise.
15035 2012-05-31 David S. Miller <davem@davemloft.net>
15037 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15040 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15042 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15046 * elf/dl-reloc.c: Include <_itoa.h>.
15047 (_dl_reloc_bad_type): Remove use of INTUSE.
15048 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15049 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15050 * stdio-common/psiginfo.c (psiginfo): Likewise.
15051 * stdio-common/psignal.c (psignal): Likewise.
15052 * string/strsignal.c (strsignal): Likewise.
15053 * include/signal.h (_sys_siglist): Declare hidden proto.
15054 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15055 INTVARDEF with libc_hidden_data_def.
15056 * stdio-common/itoa-udigits.c: Likewise.
15057 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15058 (_itoa_lower_digits_internal): Remove declaration.
15059 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15060 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15061 (_sys_sigabbrev_internal): Remove aliases.
15062 (_sys_siglist): Define hidden alias.
15064 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15069 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15072 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15073 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15075 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15076 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15077 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15078 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15079 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15080 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15082 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15083 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15084 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15086 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15094 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15095 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15096 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15098 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15099 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15100 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15101 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15102 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15103 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15105 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15106 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15108 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15109 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15111 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15112 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15113 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15115 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15116 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15118 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15120 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15121 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15122 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15124 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15126 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15128 2012-05-31 Joseph Myers <joseph@codesourcery.com>
15130 * math/math.h (M_El): Use two more decimal places.
15131 (M_LOG2El): Likewise.
15132 (M_LOG10El): Likewise.
15133 (M_LN2l): Likewise.
15134 (M_LN10l): Likewise.
15136 (M_PI_2l): Likewise.
15137 (M_PI_4l): Likewise.
15138 (M_1_PIl): Likewise.
15139 (M_2_PIl): Likewise.
15140 (M_2_SQRTPIl): Likewise.
15141 (M_SQRT2l): Likewise.
15142 (M_SQRT1_2l): Likewise.
15144 2012-05-31 David S. Miller <davem@davemloft.net>
15146 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15147 values between float registers.
15148 * sysdeps/sparc/sparc64/memset.S: Likewise.
15149 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15151 2012-05-31 Mike Frysinger <vapier@gentoo.org>
15153 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15154 -D_FORTIFY_SOURCE=1.
15155 (CPPFLAGS-tst-longjmp_chk.c): Define.
15156 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15157 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15158 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15159 CFLAGS-tst-wchar-h.c.
15161 2012-05-31 Marek Polacek <polacek@redhat.com>
15164 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15165 __endmntent_internal): Remove declaration.
15166 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15167 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15168 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15170 2012-05-30 David S. Miller <davem@davemloft.net>
15172 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15173 (___Q_simulate_exceptions): Use real FP ops rather than writing
15175 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15178 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15181 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15182 * sysdeps/x86/bits/xtitypes.h: This.
15184 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15185 * sysdeps/x86/bits/wordsize.h: This.
15187 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15188 * sysdeps/x86/bits/huge_vall.h: This.
15190 * sysdeps/i386/bits/select.h: Removed.
15191 * sysdeps/x86_64/bits/select.h: Renamed to ...
15192 * sysdeps/x86/bits/select.h: This.
15194 * sysdeps/i386/bits/setjmp.h: Removed.
15195 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15196 * sysdeps/x86/bits/setjmp.h: This.
15198 * sysdeps/i386/bits/mathdef.h: Removed.
15199 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15200 * sysdeps/x86/bits/mathdef.h: This.
15202 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15205 * include/sys/socket.h (__connect_internal)
15206 (__libc_sa_len_internal): Remove declaration.
15207 (__connect, __libc_sa_len): Declare hidden_proto.
15208 (SA_LEN): Remove use of INTUSE.
15209 * socket/connect.c: Add libc_hidden_def.
15210 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15211 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15212 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15214 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15215 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15216 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15217 of adding _internal alias.
15219 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15222 * sysdeps/i386/bits/link.h: Removed.
15223 * sysdeps/i386/bits/linkmap.h: Likewise.
15224 * sysdeps/x86_64/bits/link.h: Renamed to ...
15225 * sysdeps/x86/bits/link.h: This.
15226 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15227 * sysdeps/x86/bits/linkmap.h: This.
15229 * sysdeps/i386/bits/endian.h: Removed.
15230 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15231 * sysdeps/x86/bits/endian.h: This.
15233 * sysdeps/i386/bits/byteswap.h: Removed.
15234 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15235 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15236 * sysdeps/x86/bits/byteswap.h: This.
15237 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15238 * sysdeps/x86/bits/byteswap-16.h: This.
15239 * sysdeps/i386/Implies: Add x86.
15240 * sysdeps/x86_64/Implies: Likewise.
15242 2012-05-30 David S. Miller <davem@davemloft.net>
15244 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15245 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15246 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15247 (FP_TRAPPING_EXCEPTIONS): Define.
15248 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15249 (FP_TRAPPING_EXCEPTIONS): Define.
15250 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15251 subnormals only when inexact has been signalled or underflow
15252 exceptions are enabled.
15253 (_FP_PACK_CANONICAL): Likewise.
15255 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15258 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15259 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15261 2012-05-30 Richard Henderson <rth@twiddle.net>
15263 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15264 with #ifndef NOT_IN_libc.
15266 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15267 marked to avoid plt entry.
15269 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15272 * Makeconfig (default-abi): New macro.
15273 (abi-includes): Likewise.
15274 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15275 $(abi-$(default-abi)-lib-soname) for soname if defined.
15276 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15278 * Makefile (installed-stubs): Likewise.
15279 * include/stubs-biarch.h: Removed.
15280 * scripts/lib-names.awk: Only handle one library at a time.
15281 * scripts/soversions.awk: Remove WORDSIZE support.
15282 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15284 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15286 (syscall-list-default-condition): Likewise.
15287 (syscall-list-default-condition): Likewise.
15288 (syscall-list-includes): Likewise.
15289 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15290 syscall-list-* with abi-*. Handle undefined abi-variants.
15291 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15292 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15293 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15294 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15295 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15296 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15298 (syscall-list-32-options): Likewise.
15299 (syscall-list-32-condition): Likewise.
15300 (syscall-list-64-options): Likewise.
15301 (syscall-list-64-condition): Likewise.
15302 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15304 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15307 (abi-64-ld-soname): New macro.
15308 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15309 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15312 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15313 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15315 2012-05-30 Joseph Myers <joseph@codesourcery.com>
15317 * sysdeps/unix/sysv/linux/kernel-features.h
15318 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15319 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15320 include <kernel-features.h>.
15321 [!__NR_ftruncate64]: Remove conditional code.
15322 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15323 [__NR_ftruncate64]: Make code unconditional.
15324 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15325 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15326 include <kernel-features.h>.
15327 [!__NR_ftruncate64]: Remove conditional code.
15328 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15329 [__NR_ftruncate64]: Make code unconditional.
15330 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15332 include <kernel-features.h>.
15333 [!__NR_ftruncate64]: Remove conditional code.
15334 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15335 [__NR_ftruncate64]: Make code unconditional.
15336 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15338 include <kernel-features.h>.
15339 [!__NR_ftruncate64]: Remove conditional code.
15340 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15341 [__NR_ftruncate64]: Make code unconditional.
15342 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15344 * configure.in (libc_cv_fpie): Weaken to a compile test using
15345 LIBC_TRY_CC_OPTION.
15346 * configure: Regenerated.
15348 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15363 2012-05-27 David S. Miller <davem@davemloft.net>
15365 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15367 (__Q_simulate_exceptions): Return void. Change to simulate
15368 exceptions by writing into the %fsr.
15369 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15370 (__Qp_handle_exceptions): Likewise.
15372 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15373 __Qp_handle_exceptions.
15374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15375 __Qp_handle_exceptions.
15376 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15377 as unused and give dummy FP_RND_NEAREST initializer.
15378 (FP_INHIBIT_RESULTS): Define.
15379 (___Q_simulate_exceptions): Update declaration.
15380 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15382 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15383 as unused and give dummy FP_RND_NEAREST initializer.
15384 (__Qp_handle_exceptions): Update declaration.
15385 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15388 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15390 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15391 the temporary FPU control word.
15392 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15393 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15394 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15395 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15396 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15397 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15398 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15399 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15400 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15401 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15402 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15404 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15406 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15409 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15411 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15412 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15413 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15414 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15416 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15417 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15420 2012-05-27 Ulrich Drepper <drepper@gmail.com>
15422 * po/h.po: Update from translation team.
15424 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15426 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15428 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15429 handling of denormals.
15430 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15431 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15432 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15433 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15434 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15436 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15439 2012-05-26 Marek Polacek <polacek@redhat.com>
15442 * math/libm-test.inc (fma_test): Don't always expect underflow
15445 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15448 * elf/tst-execstack.c: Include stackinfo.h.
15449 (do_test): Adjust test case to ensure that pthread_getattr_np
15450 behaviour remains the same after marking stack executable.
15452 2012-05-25 Joseph Myers <joseph@codesourcery.com>
15454 * sysdeps/unix/sysv/linux/kernel-features.h
15455 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15456 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15458 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15459 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15460 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15462 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15463 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15465 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15467 * configure.in: Define the default includes to being none.
15468 * configure: Regenerated.
15470 2012-05-25 Roland McGrath <roland@hack.frob.com>
15472 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15473 * sysdeps/x86_64/setjmp.S: Likewise.
15474 * sysdeps/i386/bsd-setjmp.S: Likewise.
15475 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15476 * sysdeps/i386/setjmp.S: Likewise.
15477 * sysdeps/i386/__longjmp.S: Likewise.
15478 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15479 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15481 * include/stap-probe.h: New file.
15482 * configure.in: Handle --enable-systemtap.
15483 * configure: Regenerated.
15484 * config.h.in (USE_STAP_PROBE): New #undef.
15485 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15486 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15487 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15489 2012-05-25 Joseph Myers <joseph@codesourcery.com>
15492 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15493 to 2.4.0 where earlier.
15494 * sysdeps/unix/sysv/linux/configure: Regenerated.
15495 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15496 <kernel-features.h>.
15497 [__ASSUME_32BITUIDS]: Make code unconditional.
15498 [!__ASSUME_32BITUIDS]: Remove conditional code.
15499 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15500 <kernel-features.h>.
15501 [__ASSUME_32BITUIDS]: Make code unconditional.
15502 [!__ASSUME_32BITUIDS]: Remove conditional code.
15503 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15504 [__ASSUME_32BITUIDS]: Make code unconditional.
15505 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15506 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15507 <kernel-features.h>.
15508 [__ASSUME_32BITUIDS]: Make code unconditional.
15509 [!__ASSUME_32BITUIDS]: Remove conditional code.
15510 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15511 <kernel-features.h>.
15512 [__ASSUME_32BITUIDS]: Make code unconditional.
15513 [!__ASSUME_32BITUIDS]: Remove conditional code.
15514 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15515 <kernel-features.h>.
15516 [__ASSUME_32BITUIDS]: Make code unconditional.
15517 [!__ASSUME_32BITUIDS]: Remove conditional code.
15518 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15519 <kernel-features.h>.
15520 [__ASSUME_32BITUIDS]: Make code unconditional.
15521 [!__ASSUME_32BITUIDS]: Remove conditional code.
15522 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15523 <kernel-features.h>.
15524 [__ASSUME_32BITUIDS]: Make code unconditional.
15525 [!__ASSUME_32BITUIDS]: Remove conditional code.
15526 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15527 <kernel-features.h>.
15528 [__ASSUME_32BITUIDS]: Make code unconditional.
15529 [!__ASSUME_32BITUIDS]: Remove conditional code.
15530 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15531 <kernel-features.h>.
15532 [__ASSUME_32BITUIDS]: Make code unconditional.
15533 [!__ASSUME_32BITUIDS]: Remove conditional code.
15534 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15535 <kernel-features.h>.
15536 [__ASSUME_32BITUIDS]: Make code unconditional.
15537 [!__ASSUME_32BITUIDS]: Remove conditional code.
15538 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15539 <kernel-features.h>.
15540 [__ASSUME_32BITUIDS]: Make code unconditional.
15541 [!__ASSUME_32BITUIDS]: Remove conditional code.
15542 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15543 <kernel-features.h>.
15544 [__ASSUME_32BITUIDS]: Make code unconditional.
15545 [!__ASSUME_32BITUIDS]: Remove conditional code.
15546 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15547 <kernel-features.h>.
15548 [__NR_setresgid] (__setresgid): Do not declare.
15549 [__ASSUME_32BITUIDS]: Make code unconditional.
15550 [!__ASSUME_32BITUIDS]: Remove conditional code.
15551 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15552 <kernel-features.h>.
15553 [__NR_setresuid] (__setresuid): Do not declare.
15554 [__ASSUME_32BITUIDS]: Make code unconditional.
15555 [!__ASSUME_32BITUIDS]: Remove conditional code.
15556 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15557 <kernel-features.h>.
15558 [__ASSUME_32BITUIDS]: Make code unconditional.
15559 [!__ASSUME_32BITUIDS]: Remove conditional code.
15560 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15561 <kernel-features.h>.
15562 [__ASSUME_32BITUIDS]: Make code unconditional.
15563 [!__ASSUME_32BITUIDS]: Remove conditional code.
15564 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15565 <kernel-features.h>.
15566 [__ASSUME_32BITUIDS]: Make code unconditional.
15567 [!__ASSUME_32BITUIDS]: Remove conditional code.
15568 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15569 <kernel-features.h>.
15570 [__ASSUME_32BITUIDS]: Make code unconditional.
15571 [!__ASSUME_32BITUIDS]: Remove conditional code.
15572 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15573 <kernel-features.h>.
15574 [__ASSUME_32BITUIDS]: Make code unconditional.
15575 [!__ASSUME_32BITUIDS]: Remove conditional code.
15576 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15577 <kernel-features.h>.
15578 [__ASSUME_32BITUIDS]: Make code unconditional.
15579 [!__ASSUME_32BITUIDS]: Remove conditional code.
15580 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15581 <kernel-features.h>.
15582 [__ASSUME_32BITUIDS]: Make code unconditional.
15583 [!__ASSUME_32BITUIDS]: Remove conditional code.
15584 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15585 <kernel-features.h>.
15586 [__ASSUME_32BITUIDS]: Make code unconditional.
15587 [!__ASSUME_32BITUIDS]: Remove conditional code.
15588 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15589 <kernel-features.h>.
15590 [__ASSUME_32BITUIDS]: Make code unconditional.
15591 [!__ASSUME_32BITUIDS]: Remove conditional code.
15592 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15593 <kernel-features.h>.
15594 [__ASSUME_32BITUIDS]: Make code unconditional.
15595 [!__ASSUME_32BITUIDS]: Remove conditional code.
15596 * sysdeps/unix/sysv/linux/kernel-features.h
15597 (__ASSUME_SETRESUID_SYSCALL): Remove.
15598 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15599 (__ASSUME_32BITUIDS): Likewise.
15600 (__ASSUME_LDT_WORKS): Likewise.
15601 (__ASSUME_O_DIRECTORY): Likewise.
15602 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15603 architecture but not kernel version.
15604 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15605 (__ASSUME_MMAP2_SYSCALL): Likewise.
15606 (__ASSUME_STAT64_SYSCALL): Likewise.
15607 (__ASSUME_IPC64): Likewise.
15608 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15609 <kernel-features.h>.
15610 [__ASSUME_32BITUIDS]: Make code unconditional.
15611 [!__ASSUME_32BITUIDS]: Remove conditional code.
15612 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15613 <kernel-features.h>.
15614 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15615 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15616 132096]: Remove conditional code.
15617 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15618 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15619 <kernel-features.h>.
15620 [__ASSUME_32BITUIDS]: Make code unconditional.
15621 [!__ASSUME_32BITUIDS]: Remove conditional code.
15622 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15623 <kernel-features.h>.
15624 [__ASSUME_32BITUIDS]: Make code unconditional.
15625 [!__ASSUME_32BITUIDS]: Remove conditional code.
15626 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15627 <kernel-features.h>.
15628 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15630 (__setresgid): Do not declare.
15631 [__ASSUME_32BITUIDS]: Make code unconditional.
15632 [!__ASSUME_32BITUIDS]: Remove conditional code.
15633 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15634 <kernel-features.h>.
15635 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15637 (__setresuid): Do not declare.
15638 [__ASSUME_32BITUIDS]: Make code unconditional.
15639 [!__ASSUME_32BITUIDS]: Remove conditional code.
15640 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15641 <kernel-features.h>.
15642 [__ASSUME_32BITUIDS]: Make code unconditional.
15643 [!__ASSUME_32BITUIDS]: Remove conditional code.
15644 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15645 <kernel-features.h>.
15646 [__ASSUME_32BITUIDS]: Make code unconditional.
15647 [!__ASSUME_32BITUIDS]: Remove conditional code.
15649 2012-05-25 Richard Henderson <rth@twiddle.net>
15651 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15652 dl_hwcap to ifunc resolver.
15653 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15655 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15656 dl_hwcap to ifunc resolver.
15657 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15659 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15662 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15663 for |x| <= 2**-26, not 2**-57.
15664 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15667 2012-05-24 Jeff Law <law@redhat.com>
15669 * stdio-common/Makefile (tests): Add bug25.
15670 * stdio-common/bug25.c: New test.
15672 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15675 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15676 multiple of MALLOC_ALIGNMENT in size.
15677 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15679 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15681 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15683 (FILENAME_MAX): Use macro-int-constant.
15684 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15685 (_IOFBF): Use macro-int-constant.
15686 (_IOLBF): Likewise.
15687 (_IONBF): Likewise.
15688 (SEEK_CUR): Likewise.
15689 (SEEK_END): Likewise.
15690 (SEEK_SET): Likewise.
15691 (TMP_MAX): Likewise.
15692 (EOF): Use macro-int-constant. Require < 0.
15693 (NULL): Use macro-constant. Require == 0.
15694 (stdin): Require type to be FILE *.
15695 (stdout): Likewise.
15696 (stderr): Likewise.
15697 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15698 macro-int-constant.
15699 (EXIT_SUCCESS): Likewise.
15700 (NULL): Use macro-constant. Require == 0.
15701 (RAND_MAX): Use macro-int-constant.
15702 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15703 [C99-based standards] (strtof): Require function.
15704 [C99-based standards] (strtold): Likewise.
15705 [C99-based standards] (strtoll): Likewise.
15706 [C99-based standards] (strtoull): Likewise.
15707 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15708 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15709 [ISO || ISO99 || ISO11] (math.h): Likewise.
15710 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15711 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15712 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15714 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15717 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15718 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15719 * intl/dgettext.c (DCGETTEXT): Likewise.
15720 * intl/gettext.c (DCGETTEXT): Likewise.
15721 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15722 * posix/regex_internal.h (gettext): Likewise.
15723 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15724 Remove declaration.
15725 * include/argz.h (__argz_count_internal)
15726 (__argz_stringify_internal): Remove declaration.
15727 (__argz_count, __argz_stringify): Declare hidden proto.
15728 * intl/dcgettext.c: Remove use of INTDEF.
15729 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15730 * string/argz-stringify.c: Likewise.
15731 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15732 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15733 Declare hidden proto.
15734 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15735 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15736 Declare hidden proto.
15737 * include/stdio.h (__asprintf_internal): Don't declare.
15738 (__asprintf): Don't define as macro. Declare hidden proto.
15739 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15740 (__fsetlocking): Declare hidden proto.
15741 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15742 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15744 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15745 (_IO_setlinebuf): Remove use of INTUSE.
15746 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15747 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15748 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15749 Remove declaration.
15750 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15751 (_IO_do_flush): Remove use of INTUSE.
15752 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15753 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15754 (_IO_adjust_column, _IO_least_wmarker)
15755 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15756 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15757 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15758 (_IO_default_doallocate, _IO_wdefault_doallocate)
15759 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15760 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15761 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15762 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15763 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15764 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15765 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15766 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15767 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15768 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15769 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15770 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15771 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15773 (_IO_flush_all_internal, _IO_adjust_column_internal)
15774 (_IO_default_uflow_internal, _IO_default_finish_internal)
15775 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15776 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15777 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15778 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15779 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15780 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15781 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15782 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15783 (_IO_file_close_internal, _IO_file_close_it_internal)
15784 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15785 (_IO_file_init_internal, _IO_file_attach_internal)
15786 (_IO_file_fopen_internal, _IO_file_read_internal)
15787 (_IO_file_sync_internal, _IO_file_seek_internal)
15788 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15789 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15790 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15791 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15792 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15793 (_IO_list_all_internal, _IO_link_in_internal)
15794 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15795 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15796 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15797 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15798 (_IO_do_write_internal, _IO_padn_internal)
15799 (_IO_getline_info_internal, _IO_getline_internal)
15800 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15801 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15802 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15803 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15804 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15805 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15806 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15807 with libc_hidden_ver, remove use of INTUSE.
15808 * libio/genops.c: Likewise.
15809 * libio/freopen.c: Likewise.
15810 * libio/freopen64.c: Likewise.
15811 * libio/iofclose.c: Likewise.
15812 * libio/iofdopen.c: Likewise.
15813 * libio/iofflush.c: Likewise.
15814 * libio/iofflush_u.c: Likewise.
15815 * libio/iofgets.c: Likewise.
15816 * libio/iofgets_u.c: Likewise.
15817 * libio/iofopen.c: Likewise.
15818 * libio/iofopncook.c: Likewise.
15819 * libio/iofread.c: Likewise.
15820 * libio/iofread_u.c: Likewise.
15821 * libio/ioftell.c: Likewise.
15822 * libio/iofwrite.c: Likewise.
15823 * libio/iogetline.c: Likewise.
15824 * libio/iogets.c: Likewise.
15825 * libio/iogetwline.c: Likewise.
15826 * libio/iopadn.c: Likewise.
15827 * libio/iopopen.c: Likewise.
15828 * libio/ioseekoff.c: Likewise.
15829 * libio/ioseekpos.c: Likewise.
15830 * libio/iosetbuffer.c: Likewise.
15831 * libio/iosetvbuf.c: Likewise.
15832 * libio/ioungetc.c: Likewise.
15833 * libio/ioungetwc.c: Likewise.
15834 * libio/iovdprintf.c: Likewise.
15835 * libio/iovsprintf.c: Likewise.
15836 * libio/iovsscanf.c: Likewise.
15837 * libio/memstream.c: Likewise.
15838 * libio/obprintf.c: Likewise.
15839 * libio/oldfileops.c: Likewise.
15840 * libio/oldiofclose.c: Likewise.
15841 * libio/oldiofdopen.c: Likewise.
15842 * libio/oldiofopen.c: Likewise.
15843 * libio/oldiopopen.c: Likewise.
15844 * libio/oldstdfiles.c: Likewise.
15845 * libio/putc.c: Likewise.
15846 * libio/setbuf.c: Likewise.
15847 * libio/setlinebuf.c: Likewise.
15848 * libio/stdfiles.c: Likewise.
15849 * libio/strops.c: Likewise.
15850 * libio/vasprintf.c: Likewise.
15851 * libio/vscanf.c: Likewise.
15852 * libio/vsnprintf.c: Likewise.
15853 * libio/vswprintf.c: Likewise.
15854 * libio/wfiledoalloc.c: Likewise.
15855 * libio/wfileops.c: Likewise.
15856 * libio/wgenops.c: Likewise.
15857 * libio/wmemstream.c: Likewise.
15858 * libio/wstrops.c: Likewise.
15859 * libio/__fpurge.c: Likewise.
15860 * libio/__fsetlocking.c: Likewise.
15861 * assert/assert.c: Likewise.
15862 * debug/fgets_chk.c: Likewise.
15863 * debug/fgets_u_chk.c: Likewise.
15864 * debug/fread_chk.c: Likewise.
15865 * debug/fread_u_chk.c: Likewise.
15866 * debug/gets_chk.c: Likewise.
15867 * debug/obprintf_chk.c: Likewise.
15868 * debug/vasprintf_chk.c: Likewise.
15869 * debug/vdprintf_chk.c: Likewise.
15870 * debug/vsnprintf_chk.c: Likewise.
15871 * debug/vsprintf_chk.c: Likewise.
15872 * malloc/mtrace.c: Likewise.
15873 * misc/error.c: Likewise.
15874 * misc/syslog.c: Likewise.
15875 * stdio-common/asprintf.c: Likewise.
15876 * stdio-common/fxprintf.c: Likewise.
15877 * stdio-common/getw.c: Likewise.
15878 * stdio-common/isoc99_fscanf.c: Likewise.
15879 * stdio-common/isoc99_scanf.c: Likewise.
15880 * stdio-common/isoc99_vfscanf.c: Likewise.
15881 * stdio-common/isoc99_vscanf.c: Likewise.
15882 * stdio-common/isoc99_vsscanf.c: Likewise.
15883 * stdio-common/printf-prs.c: Likewise.
15884 * stdio-common/printf_fp.c: Likewise.
15885 * stdio-common/printf_fphex.c: Likewise.
15886 * stdio-common/printf_size.c: Likewise.
15887 * stdio-common/putw.c: Likewise.
15888 * stdio-common/scanf.c: Likewise.
15889 * stdio-common/sprintf.c: Likewise.
15890 * stdio-common/tmpfile.c: Likewise.
15891 * stdio-common/vfprintf.c: Likewise.
15892 * stdio-common/vfscanf.c: Likewise.
15893 * stdlib/strfmon_l.c: Likewise.
15894 * sunrpc/openchild.c: Likewise.
15895 * sunrpc/xdr_stdio.c: Likewise.
15896 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15897 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15899 2012-05-24 Roland McGrath <roland@hack.frob.com>
15901 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15903 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15904 in the third column, to generate for the shared library an IFUNC
15905 that uses _dl_vdso_vsym.
15906 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15907 * Makeconfig (object-suffixes-noshared): New variable.
15909 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15910 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15911 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15912 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15915 * include/sys/time.h (__gettimeofday): Remove macro.
15916 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15917 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15919 (__gettimeofday): Add libc_hidden_def.
15920 (gettimeofday): Add libc_hidden_weak.
15921 * sysdeps/mach/gettimeofday.c: Likewise.
15922 * sysdeps/posix/gettimeofday.c: Likewise.
15923 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15924 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15925 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15926 (__gettimeofday_internal): Remove strong_alias.
15927 (__gettimeofday): Add libc_hidden_def.
15928 (gettimeofday): Add libc_hidden_weak.
15929 * sysdeps/unix/syscalls.list (gettimeofday):
15930 Remove __gettimeofday_internal alias.
15932 2012-05-24 Daniel Jacobowitz <drow@false.org>
15933 H.J. Lu <hongjiu.lu@intel.com>
15936 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15937 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15938 (largebin_index_32_big): New.
15939 (largebin_index): Use it for 16-byte alignment.
15940 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15941 correction with front_misalign.
15943 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15971 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15972 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15974 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15978 * math/libm-test.inc (exp_test): Add test from bug 14036.
15979 (pow_test): Add test from bug 10846.
15981 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15983 (special_function): Do not include flags in test name.
15984 (parse_args): Likewise.
15985 * sysdeps/i386/fpu/libm-test-ulps: Update.
15986 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15987 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15988 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15991 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15993 * math/libm-test.inc ("Philosophy"): Update comment about
15995 (UNDERFLOW_EXCEPTION): New macro.
15996 (UNDERFLOW_EXCEPTION_OK): Likewise.
15997 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15998 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15999 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16000 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16001 (INVALID_EXCEPTION_OK): Update value.
16002 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16003 (OVERFLOW_EXCEPTION_OK): Likewise.
16004 (IGNORE_ZERO_INF_SIGN): Likewise.
16005 (test_exceptions): Handle underflow exceptions.
16006 (acos_test): Update for underflow exception expectations.
16007 (cexp_test): Likewise.
16008 (clog_test): Likewise.
16009 (clog10_test): Likewise.
16010 (csqrt_test): Likewise.
16011 (ctan_test): Likewise.
16012 (ctanh_test): Likewise.
16013 (exp_test): Likewise.
16014 (exp10_test): Likewise.
16015 (exp2_test): Likewise.
16016 (expm1_test): Likewise.
16017 (fma_test): Likewise.
16018 (j0_test): Likewise.
16019 (jn_test): Likewise.
16020 (nexttoward_test): Likewise.
16021 (pow_test): Likewise.
16022 (scalbn_test): Likewise.
16023 (scalbln_test): Likewise.
16024 (tan_test): Likewise.
16025 (y1_test): Likewise.
16026 * sysdeps/i386/fpu/libm-test-ulps: Update.
16027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16029 2012-05-23 David S. Miller <davem@davemloft.net>
16031 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16032 (__libc_sigaction): Remove unused local variables.
16034 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16036 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16038 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16040 mktime: avoid signed integer overflow
16041 * time/mktime.c (__mktime_internal): Do not mishandle the case
16042 where diff == INT_MIN.
16044 mktime: simplify computation of average
16045 * time/mktime.c (ranged_convert): Use new time_t_avg function
16046 instead of rolling our own (probably-slower) code.
16048 mktime: do not assume signed right shift propagates sign bit
16049 * time/mktime.c (isdst_differ): New static function.
16050 (__mktime_internal): No need to normalize tm_isdst now.
16051 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16054 mktime: merge another wrapv change from gnulib
16055 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16056 from some compilers.
16058 mktime: remove incorrect attempt at unusual arithmetics
16059 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16060 The code didn't really work on such machines anyway.
16061 (TYPE_MINIMUM): Assume two's complement.
16062 (twos_complement_arithmetic): Verify that long_int and time_t
16063 are two's complement (or unsigned, in the latter case).
16065 mktime: check signed shifts on long_int and time_t, too
16066 * time/mktime.c (SHR): Check that shifts work as desired
16067 on the types long_int and time_t too, as SHR is used on
16070 mktime: do not assume 'long' is wide enough
16071 * time/mktime.c (verify): Move decl up.
16072 (long_int): New type.
16073 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16074 to remove assumption in the code that 'long' is wide enough to
16075 store year values. This assumption is not true on x32 and on
16076 some non-glibc platforms.
16078 mktime: merge wrapv change from gnulib
16079 * time/mktime.c (WRAPV): New macro.
16080 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16081 (guess_time_tm, __mktime_internal): Do not assume that signed
16082 integer overflow wraps around; modern compilers generate code
16083 where this assumption is no longer valid.
16085 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16087 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16088 Replace "jmp L(pseudo_end)" with "ret".
16089 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16092 2012-05-23 Andreas Jaeger <aj@suse.de>
16094 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16095 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16097 2012-05-23 Andreas Jaeger <aj@suse.de>
16098 Maximilian Attems <max@stro.at>
16100 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16103 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16105 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16106 code so that pseudo_end is just ret and the stack pointer is
16107 correct also for static library in error case.
16109 2012-05-23 Joseph Myers <joseph@codesourcery.com>
16111 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16112 move to syscalls.list.
16113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16118 * manual/install.texi (Running make install): Do not mention Linux
16119 kernel version for which pt_chown is not needed.
16120 (Linux): Do not mention problems with nscd with 2.0 kernels.
16121 * INSTALL: Regenerated.
16123 2012-05-23 Andreas Jaeger <aj@suse.de>
16125 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16126 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16128 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16129 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16130 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16131 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16132 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16133 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16134 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16135 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16136 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16137 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16138 * sysdeps/unix/sysv/linux/bits/in.h
16139 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16141 2012-05-22 Roland McGrath <roland@hack.frob.com>
16143 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16144 (PREPARE_VERSION): Just use assert instead, it will be elided
16145 under [NDEBUG] anyway.
16147 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16149 * sysdeps/unix/sysv/linux/Makefile: Include
16150 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16151 (sysdep_routines): Remove sysctl.
16152 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16153 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16154 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16155 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16156 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16158 2012-05-22 Andreas Jaeger <aj@suse.de>
16160 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16161 that pseudo_end is just ret and the stack pointer is correct also
16162 for static library in error case.
16164 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16167 * nss/nsswitch.c (defconfig_entries): New variable.
16168 (__nss_database_lookup): Don't leak defconfig entries.
16169 (nss_parse_service_list): Don't leak on error paths.
16170 (free_database_entries): New function.
16171 (free_defconfig): New function.
16172 (free_mem): Move common code to free_database_entries.
16174 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16176 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16178 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16180 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16181 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16184 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16185 (INTERNAL_SYSCALL_TYPES): Likewise.
16186 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16187 (LOAD_REGS_TYPES_[1-6]): Likewise.
16188 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16189 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16191 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16193 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16194 copysignl for GLIBC_2_0.
16195 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16196 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16197 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16198 logbl for GLIBC_2_0.
16199 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16200 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16202 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16204 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16205 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16207 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16210 * time/mktime.c: Update copyright years.
16212 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16214 mktime: merge comment-quoting-style change from gnulib
16215 * time/mktime.c: Quote 'like this' in comments.
16216 The GNU coding standards suggest that we no longer quote `like this',
16217 as "`" and "'" are typically rendered asymmetrically nowadays.
16218 The typical gnulib style is to quote 'like this' when quoting
16219 code, and "like this" when quoting English.
16221 * time/mktime.c (compile-command): Add "-I.".
16223 mktime: merge mktime-internal.h change from gnulib
16224 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16226 mktime: merge time_r change from gnulib
16227 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16229 mktime: merge DEBUG change from gnulib
16230 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16231 case system <time.h> has a #define.
16233 mktime: merge <sys/types.h> change from gnulib
16234 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16235 since <time.t> is now guaranteed to define time_t.
16237 mktime: merge HAVE_CONFIG_H change from gnulib
16238 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16240 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16245 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16247 (struct rusage): Use anonymous union to pad each field to
16250 2012-05-21 David S. Miller <davem@davemloft.net>
16252 * Makefules (o-iterator): Remove .s cases.
16253 (compile-command.s): Delete.
16254 (COMPILE.s): Delete.
16255 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16257 2012-05-21 Joseph Myers <joseph@codesourcery.com>
16259 * configure.in (libc_cv_predef_stack_protector): Only consider
16260 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16261 * configure: Regenerated.
16263 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16266 New macro. Use R*LP on int and pointer.
16267 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16268 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16269 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16270 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16272 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16273 [__WORDSIZE_TIME64_COMPAT32] instead of
16274 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16275 (struct utmp): Likewise.
16276 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16277 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16279 (__WORDSIZE_TIME64_COMPAT32): This.
16280 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16281 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16282 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16283 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16284 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16285 (__WORDSIZE_TIME64_COMPAT32): New macro.
16287 2012-05-21 Andreas Jaeger <aj@suse.de>
16289 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16290 only if [SHARED]. Add prototype for __wcschr_ia32.
16292 2012-05-21 Roland McGrath <roland@hack.frob.com>
16294 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16295 of %rbp unmolested in the jmp_buf while mangling the low bits.
16296 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16297 unmolested high bits of %rbp while demangling the low bits.
16298 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16300 2012-05-21 Andreas Jaeger <aj@suse.de>
16302 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16303 * sunrpc/svc_simple.c: Use it for registerrpc.
16304 * sunrpc/xcrypt.c: Use it for passwd2des.
16306 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16308 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16310 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16311 Don't define if [__SYSCALL_WORDSIZE != 32].
16312 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16315 2012-05-21 Bruno Haible <bruno@clisp.org>
16316 Andreas Jaeger <aj@suse.de>
16318 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16319 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16320 inptr and inend for must_buffer_ch.
16321 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16322 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16323 * stdio-common/Makefile (tests): Remove bug15.
16324 (bug15-ENV): Remove macro.
16325 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16328 2012-05-19 Andreas Jaeger <aj@suse.de>
16329 Roland McGrath <roland@hack.frob.com>
16331 * manual/contrib.texi: Completely rewritten. It contains now an
16332 alphabetical list of contributors and their contributions.
16334 2012-05-21 Richard Henderson <rth@twiddle.net>
16336 * misc/getauxval.c (__getauxval): Use unsigned long int.
16337 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16338 (getauxval): Use unsigned long int.
16340 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16342 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16344 2012-05-21 Roland McGrath <roland@hack.frob.com>
16346 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16347 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16348 __alignof__ (long double).
16350 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16354 2012-05-20 Richard Henderson <rth@twiddle.net>
16356 * misc/getauxval.c: New file.
16357 * misc/sys/auxv.h: New file.
16358 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16359 (routines): Add getauxval.
16360 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16361 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16362 * elf/dl-sysdep.c (_dl_auxv): Remove.
16363 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16364 * elf/dl-support.c (_dl_auxv): New variable.
16365 (_dl_aux_init): Initialize it.
16366 * manual/startup.texi (Auxiliary Vector): New node.
16367 * sysdeps/generic/bits/hwcap.h: New file.
16368 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16369 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16370 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16371 * sysdeps/sparc/sysdep.h: ... here. Include it.
16372 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16373 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16379 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16385 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16389 2012-05-19 David S. Miller <davem@davemloft.net>
16391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16393 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16396 * math/s_ccosh.c: Include <float.h>
16397 (__ccosh): Avoid internal overflow calculating sinh and cosh
16398 values before multiplying by sin and cos values.
16399 * math/s_ccoshf.c: Likewise.
16400 * math/s_ccoshl.c: Likewise.
16401 * math/s_csin.c: Likewise.
16402 * math/s_csinf.c: Likewise.
16403 * math/s_csinl.c: Likewise.
16404 * math/s_csinh.c: Likewise.
16405 * math/s_csinhf.c: Likewise.
16406 * math/s_csinhl.c: Likewise.
16407 * math/libm-test.inc (ccos_test): Add more tests.
16408 (ccosh_test): Likewise.
16409 (csin_test): Likewise.
16410 (csinh_test): Likewise.
16411 * sysdeps/i386/fpu/libm-test-ulps: Update.
16412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16414 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16416 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16417 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16419 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16421 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16423 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16424 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16425 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16426 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16427 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16428 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16429 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16430 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16431 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16432 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16433 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16434 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16435 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16436 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16437 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16438 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16439 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16440 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16441 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16442 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16443 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16444 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16445 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16446 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16447 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16448 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16449 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16450 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16451 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16452 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16453 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16455 2012-05-18 Andreas Jaeger <aj@suse.de>
16457 * csu/.gitignore: Delete.
16459 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16461 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16462 (timex): Use __syscall_slong_t.
16464 2012-05-18 Andreas Jaeger <aj@suse.de>
16465 Carlos O'Donell <carlos_odonell@mentor.com>
16467 * manual/install.texi (Configuring and compiling): Update
16468 description about files modified in the source directory.
16469 * INSTALL: Regenerated.
16471 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16473 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16474 value. Use "or" to set return value to -1.
16475 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16476 negate return value.
16478 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16480 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16481 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16482 failure if the compiler has Graphite support disabled.
16483 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16485 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16486 CFLAGS-memmove.c): Likewise.
16487 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16490 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16492 * sysdeps/x86_64/x32/_itoa.h: New file.
16494 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16495 getdents system call only if kernel and user dirents have the
16496 same d_ino and d_off.
16498 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16499 LLONG_MAX != LONG_MAX.
16500 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16501 (_fitoa_word): Likewise.
16503 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16505 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16506 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16507 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16509 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16510 include <bits/wordsize.h>. Check __x86_64__ instead of
16512 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16513 if __x86_64__ is defined. Use anonymous union on fpstate.
16515 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16518 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16520 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16521 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16522 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16523 Refer to _rtld_local_ro instead of _rtld_global_ro.
16524 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16526 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16528 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16530 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16531 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16532 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16534 * sysdeps/powerpc/powerpc32/dl-machine.c
16535 (__elf_machine_runtime_setup) [PROF]: Don't reference
16538 2012-05-18 Andreas Jaeger <aj@suse.de>
16540 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16541 function only available for GCCs before 3.4 since GCC 3.4
16542 introduced a builtin.
16544 (llrintf): Likewise.
16545 (llrint): Likewise.
16552 (nearbyint): Likewise.
16553 (nearbyintf): Likewise.
16557 (floorf): Likewise.
16559 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16561 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16562 on both fields and cast pointer to __syscall_ulong_t.
16564 * bits/types.h (__fsword_t): New type.
16565 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16566 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16567 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16568 (__FSWORD_T_TYPE): Likewise.
16569 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16570 (__FSWORD_T_TYPE): Likewise.
16571 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16572 (__FSWORD_T_TYPE): Likewise.
16573 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16574 (__FSWORD_T_TYPE): Likewise.
16575 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16576 __SWORD_TYPE with __fsword_t.
16577 (statfs64): Likewise.
16579 2012-05-17 David S. Miller <davem@davemloft.net>
16581 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16583 2012-05-17 Andreas Jaeger <aj@suse.de>
16585 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16588 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16590 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16592 2012-05-17 Andreas Jaeger <aj@suse.de>
16594 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16597 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16599 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16601 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16603 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16604 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16606 2012-05-17 Andreas Jaeger <aj@suse.de>
16607 Carlos O'Donell <carlos_odonell@mentor.com>
16610 * sysdeps/x86_64/multiarch/init-arch.h
16611 (bit_YMM_Usable): Rename to...
16612 (bit_AVX_Usable): ... this.
16613 (bit_FMA4_Usable): New macro.
16614 (bit_XMM_state): New macro.
16615 (bit_YMM_state): New macro.
16616 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16617 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16618 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16619 (CPUID_OSXSAVE): New macro.
16620 (CPUID_AVX): New macro.
16621 (CPUID_FMA4): New macro.
16622 (index_YMM_Usable): Rename to...
16623 (index_AVX_Usable): ... this.
16624 (HAS_AVX): Use HAS_ARCH_FEATURE.
16625 (HAS_FMA4): Likewise.
16626 (HAS_YMM_USABLE): Remove.
16627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16628 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16630 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16631 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16632 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16633 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16634 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16636 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16638 * math/libm-test.c: Support platforms without multiple rounding modes.
16639 * math/bug-nextafter.c: Support platforms without FP exceptions.
16640 * math/bug-nexttoward.c: Likewise.
16641 * math/test-fenv.c: Likewise.
16642 * math/test-misc.c: Likewise.
16643 * stdlib/bug-getcontext.c: Likewise.
16645 2012-05-17 Andreas Jaeger <aj@suse.de>
16647 * manual/examples/search.c (critter_cmp): Change signature to
16649 * manual/string.texi (Collation Functions): Likewise.
16651 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16653 * bits/types.h: Fold copyright years.
16654 * bits/typesizes.h: Likewise.
16655 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16656 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16657 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16658 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16659 * time/time.h: Likewise.
16661 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16664 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16665 in instead of returning them. Return void.
16666 (__libc_mallinfo): Accumulate over all arenas.
16667 (__malloc_stats): Adjust for change in int_mallinfo interface.
16669 2012-05-16 Roland McGrath <roland@hack.frob.com>
16672 * configure.in (NM): Add AC_CHECK_TOOL for it.
16673 (libc_extra_cflags): New substituted variable.
16674 Check for -fstack-protector being used implicitly.
16675 * configure: Regenerated.
16676 * config.make.in (config-extra-cflags): New variable,
16677 gets @libc_extra_cflags@.
16678 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16681 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16682 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16683 * configure: Regenerated.
16684 * config.make.in (CPPUNDEFS): New substituted variable.
16685 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16686 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16687 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16689 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16691 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16692 (mq_attr): Use __syscall_slong_t.
16694 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16696 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16697 Check __x86_64__ instead of __WORDSIZE.
16698 (_STAT_VER_LINUX): Likewise.
16699 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16700 __syscall_ulong_t and __syscall_slong_t.
16701 (stat64): Likewise.
16703 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16705 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16707 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16709 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16711 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16713 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16716 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16717 include <bits/wordsize.h>. Check __x86_64__ instead of
16719 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16721 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16723 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16724 include <bits/wordsize.h>. Check __x86_64__ instead of
16726 (user_regs_struct): Use "__extension__ unsigned long long"
16727 instead of "unsigned long" if __x86_64__ is defined.
16728 (user): Likewise. Pad after pointer field if __ILP32__ is
16731 2012-05-16 Joseph Myers <joseph@codesourcery.com>
16733 * configure.in (makeinfo): Require version 4.5 or later. Allow
16735 * configure: Regenerated.
16736 * manual/install.texi (texinfo): Increase version requirement to
16738 * INSTALL: Regenerated.
16740 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16742 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16744 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16746 * sysdeps/x86_64/x32/ffs.c: New file.
16748 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16750 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16751 defined. Use __syscall_ulong_t.
16752 (shminfo): Use __syscall_ulong_t.
16753 (shm_info): Likewise.
16755 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16758 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16760 (msgqnum_t): Use __syscall_ulong_t.
16761 (msglen_t): Likewise.
16762 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16765 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16766 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16768 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16770 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16771 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16773 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16776 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16777 include <bits/wordsize.h>. Check __x86_64__ instead of
16780 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16781 "unsigned long long int" if __x86_64__ is defined.
16782 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16784 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16785 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16786 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16788 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16790 (GET_PC): Cast to uintptr_t first.
16791 (GET_FRAME): Likewise.
16792 (GET_STACK): Likewise.
16794 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16795 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16796 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16797 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16798 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16799 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16800 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16801 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16802 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16803 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16804 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16805 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16806 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16807 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16808 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16809 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16810 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16811 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16812 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16813 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16814 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16815 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16816 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16817 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16818 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16819 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16820 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16821 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16822 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16824 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16826 * Makerules (+depfiles): Also collect depfiles from .oS in
16828 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16829 .oS, $(libnldbl-routines)).
16831 * Makerules (native-compile-mkdep-flags): Define.
16832 * sunrpc/Makefile (extra-objs): Add $(addprefix
16833 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16834 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16835 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16836 calling $(make-target-directory).
16838 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16840 * bits/types.h (__snseconds_t): Removed.
16841 * time/time.h (struct timespec): Replace __snseconds_t with
16843 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16844 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16846 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16847 (__SNSECONDS_T_TYPE): Likewise.
16848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16849 (__SNSECONDS_T_TYPE): Likewise.
16850 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16851 (__SNSECONDS_T_TYPE): Likewise.
16853 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16855 * sysdeps/mach/hurd/bits/typesizes.h
16856 (__SYSCALL_SLONG_TYPE): New macro.
16857 (__SYSCALL_ULONG_TYPE): Likewise.
16859 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16861 * bits/types.h (__syscall_slong_t): New type.
16862 (__syscall_ulong_t): Likewise.
16864 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16865 (__SYSCALL_ULONG_TYPE): Likewise.
16866 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16867 (__SYSCALL_SLONG_TYPE): Likewise.
16868 (__SYSCALL_ULONG_TYPE): Likewise.
16869 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16870 (__SYSCALL_SLONG_TYPE): Likewise.
16871 (__SYSCALL_ULONG_TYPE): Likewise.
16872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16873 (__SYSCALL_SLONG_TYPE): Likewise.
16874 (__SYSCALL_ULONG_TYPE): Likewise.
16876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16878 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16879 Add sigaltstack-offsets.sym.
16880 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16881 <sigaltstack-offsets.h>.
16882 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16883 longjmp_msg pointer.
16884 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16885 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16887 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16889 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16891 * elf/stackguard-macros.h: Remove file.
16892 * sysdeps/generic/stackguard-macros.h: New file.
16893 * sysdeps/i386/stackguard-macros.h: Likewise.
16894 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16895 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16896 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16897 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16898 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16899 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16900 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16901 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16902 <elf/stackguard-macros.h>.
16905 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16906 __aligned__ in attribute.
16907 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16908 (gregset_t): Likewise.
16910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16912 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16913 * sysdeps/x86_64/64/Implies-after: Here. New file.
16914 * sysdeps/x86_64/x32/Implies-after: New file.
16916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16918 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16919 and access return value for _dl_profile_fixup. Use R10_LP to
16922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16924 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16928 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16929 * sysdeps/x86_64/x32/sysdep.h: New file.
16931 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16933 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16934 * sysdeps/x86_64/setjmp.S: Likewise.
16936 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16938 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16939 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16940 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16941 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16942 remove unused global constant.
16944 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16946 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16947 include of <not-cancel.h>.
16949 2012-05-15 Roland McGrath <roland@hack.frob.com>
16951 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16953 2012-05-15 Jeff Law <law@redhat.com>
16954 Andreas Jaeger <aj@suse.de>
16957 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16959 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16960 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16961 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16962 code changing __hst_map_handle.map.
16964 2012-05-15 Roland McGrath <roland@hack.frob.com>
16966 * configure.in (sysnames): Look for Implies-before and Implies-after
16968 * configure: Regenerated.
16970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16972 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16973 8-byte data alignment with LP_SIZE alignment.
16975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16977 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16980 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16982 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16986 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16987 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16988 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16990 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16992 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16994 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16995 (stackinfo_sub_sp): Likewise.
16997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16999 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17004 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17009 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17012 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17014 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17018 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17019 into R11_LP and load __x86_64_shared_cache_size_half into
17022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17024 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17027 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17029 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17031 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17033 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17035 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17036 powerpc32/power7/fpu/s_logb.c via #include.
17037 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17038 powerpc32/power7/fpu/s_logbf.c via #include.
17039 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17040 powerpc32/power7/fpu/s_logbl.c via #include.
17042 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17044 * README.libm: Remove file.
17046 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17048 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17049 count for x32. Use R*_LP and omit operand-size suffix.
17051 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17053 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17054 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17055 * sysdeps/x86_64/x32/shlib-versions: New file.
17057 2012-05-14 Roland McGrath <roland@hack.frob.com>
17059 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17060 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17061 Use _dl_fatal_printf instead.
17063 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17065 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17066 set if not set by the user. Do not allow for being unset.
17067 * sysdeps/unix/sysv/linux/configure: Regenerated.
17069 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17071 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17072 the `q' suffix from lea and replace .quad with ASM_ADDR.
17074 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17077 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17079 (PTR_DEMANGLE): Likewise.
17081 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17083 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17085 (ASM_ADDR): Likewise.
17086 (RAX_LP): Likewise.
17087 (RBP_LP): Likewise.
17088 (RBX_LP): Likewise.
17089 (RCX_LP): Likewise.
17090 (RDI_LP): Likewise.
17091 (RSI_LP): Likewise.
17092 (RSP_LP): Likewise.
17095 (R10_LP): Likewise.
17096 (R10_LP): Likewise.
17097 (R11_LP): Likewise.
17098 (R12_LP): Likewise.
17099 (R13_LP): Likewise.
17100 (R14_LP): Likewise.
17101 (R15_LP): Likewise.
17103 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17105 * sysdeps/x86_64/x32/dl-machine.h: New file.
17107 2012-05-14 Andreas Jaeger <aj@suse.de>
17109 * manual/Makefile (subdir): Remove export of subdir.
17110 (all): Remove target.
17111 (.PHONY): Remove all from list.
17112 (mkinstalldirs): Remove.
17113 (.PHONY): Remove installdirs from list.
17114 ($(inst_infodir)/libc.info): Use make-target-directory.
17115 (installdirs): Remove.
17116 (subdir_%): Remove.
17117 (glibc-targets): Remove.
17120 ($(objpfx)stubs ../po/manual.pot): Remove.
17121 ($(objpfx)stamp%): Remove.
17122 (make-target-directory): Remove.
17123 (subdir_install): Remove.
17124 (routines): Remove.
17131 * manual/.gitignore: Remove, it's not needed anymore.
17132 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17134 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17136 (texis): Renamed to $(objpfx)texis.
17137 (texis-path): New, contains path to generated files.
17138 (chapters.%): Use texis-path for complete path, add extra argument
17140 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17141 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17142 (summary,texi, stamp-summary): Use complete path of
17143 files. Generate files in build dir.
17144 (dir-add.texi): Build in build dir.
17145 (libm-err.texi,stamp-libm-err): Likewise.
17146 (version.texi, stamp-version): Likewise.
17147 (.%c.texi): Likewise.
17148 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17149 (mostlyclean): Remove target.
17150 (realclean): Remove target.
17151 (generated): Add new variable with contents from mostlyclean and
17152 realclean, remove entries duplicated in common-mostlyclean, add
17153 stamp-libm-err and stamp-version.
17154 (generated-dirs): Add libc directory.
17155 ($(inst_infodir)/libc.info): Install files from build dir.
17157 * manual/install.texi (Configuring and compiling): Adjust since
17158 the info files are not part of the tar ball anymore.
17160 2012-05-14 Andreas Jaeger <aj@suse.de>
17162 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17165 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17168 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17169 to 2.2.0 where earlier.
17170 * sysdeps/unix/sysv/linux/configure: Regenerated.
17171 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17172 Remove conditional code.
17173 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17174 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17175 Remove conditional code.
17176 [!__NR_lchown]: Likewise.
17177 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17178 [__NR_lchown]: Likewise.
17179 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17180 comment referencing __ASSUME_LCHOWN_SYSCALL.
17181 * sysdeps/unix/sysv/linux/i386/sigaction.c
17182 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17183 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17184 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17185 Remove conditional code.
17186 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17187 (__protocol_available): Remove #if 0 code.
17188 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17190 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17191 * sysdeps/unix/sysv/linux/kernel-features.h
17192 (__ASSUME_GETCWD_SYSCALL): Don't define.
17193 (__ASSUME_REALTIME_SIGNALS): Likewise.
17194 (__ASSUME_PREAD_SYSCALL): Likewise.
17195 (__ASSUME_PWRITE_SYSCALL): Likewise.
17196 (__ASSUME_POLL_SYSCALL): Likewise.
17197 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17198 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17200 (__ASSUME_SIOCGIFNAME): Don't define.
17201 (__ASSUME_MSG_NOSIGNAL): Likewise.
17202 (__ASSUME_SENDFILE): Define unconditionally.
17203 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17204 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17206 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17207 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17208 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17209 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17210 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17211 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17212 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17214 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17217 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17220 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17223 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17226 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17229 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17232 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17237 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17238 Remove conditional code.
17239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17240 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17241 Remove conditional code.
17242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17243 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17244 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17245 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17246 Remove conditional code.
17247 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17248 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17249 Remove conditional code.
17250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17251 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17252 Remove conditional code.
17253 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17254 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17255 Remove conditional code.
17256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17257 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17258 Remove conditional code.
17259 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17260 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17261 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17263 * sysdeps/unix/sysv/linux/sigaction.c
17264 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17265 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17266 * sysdeps/unix/sysv/linux/sigpending.c
17267 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17268 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17269 * sysdeps/unix/sysv/linux/sigprocmask.c
17270 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17271 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17272 * sysdeps/unix/sysv/linux/sigsuspend.c
17273 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17274 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17275 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17276 (__libc_missing_rt_sigs): Remove.
17277 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17278 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17279 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17280 Remove conditional code.
17281 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17282 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17284 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17285 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17286 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17287 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17289 2012-05-14 Andreas Jaeger <aj@suse.de>
17291 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17292 it's not used in glibc.
17293 (__coshm1): Likewise.
17294 (__acosh1p): Likewise.
17297 * manual/string.texi (Copying and Concatenation): Add missing
17298 variable in concat example.
17299 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17301 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17304 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17305 __builtin_clzl with __builtin_clzll.
17307 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17310 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17313 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17315 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17316 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17317 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17318 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17320 2012-05-14 Mike Frysinger <vapier@gentoo.org>
17322 * NEWS: Update ia64 info.
17324 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17326 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17329 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17331 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17332 * sysdeps/unix/syscalls.list (dup3): Likewise.
17333 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17334 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17336 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17338 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17339 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17341 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17343 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17345 (TLS_IE): Use mov/add instead of movq/addq to load thread
17347 (TLS_GD_PREFIX): New.
17350 2012-05-11 David S. Miller <davem@davemloft.net>
17352 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17353 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17354 (_FPU_SETCW): Likewise.
17356 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17358 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17359 is 32-byte aligned.
17361 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17364 * iconvdata/gb18030.c: Update tables.
17365 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17366 characters specially.
17367 (BODY for TO_LOOP): Add encoding of missing ranges.
17369 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17372 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17373 * sysdeps/mach/hurd/dup3.c: Likewise.
17374 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17375 * sysdeps/powerpc/memmove.c:: Likewise.
17377 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17379 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17380 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17382 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17384 * elf/elf.h (R_X86_64_RELATIVE64): New.
17385 (R_X86_64_NUM): Updated.
17386 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17387 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17388 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17389 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17390 tst-quad1pie tst-quad2pie
17391 (modules-names): Add tst-quadmod1 tst-quadmod2.
17392 ($(objpfx)tst-quad1): New dependency.
17393 ($(objpfx)tst-quad2): Likewise.
17394 ($(objpfx)tst-quad1pie): Likewise.
17395 ($(objpfx)tst-quad2pie): Likewise.
17396 * sysdeps/x86_64/tst-quad1.c: New file.
17397 * sysdeps/x86_64/tst-quad1pie.c: New file.
17398 * sysdeps/x86_64/tst-quad2.c: Likewise.
17399 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17400 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17401 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17402 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17403 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17405 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17407 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17408 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17409 * streams/stropts.h (t_scalar_t): Define type.
17411 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17412 (_PATH_PRESERVE): Set to "/var/lib".
17413 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17415 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17418 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17419 if __dir_mkfile succeeded.
17421 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17422 checking for _hurd_dtablesize. Unlock it right after having
17423 finished _hurd_dtable allocation.
17425 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17427 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17428 * sysdeps/mach/hurd/configure: Regenerated.
17429 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17430 special-casing to...
17431 * sysdeps/gnu/configure.in: ... this new file.
17432 * sysdeps/unix/sysv/linux/configure: Regenerated.
17433 * sysdeps/gnu/configure: New generated file.
17435 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17436 for Linux: use nsec instead of usec, as well as:
17437 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17438 members of type struct timespec.
17439 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17441 (struct stat64): Likewise.
17442 (_STATBUF_ST_NSEC): New macro.
17443 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17445 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17446 __strtoul_internal rather than strtoul.
17448 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17450 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17453 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17455 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17456 which preserves existing values.
17457 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17459 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17461 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17462 TIMEOUT values. Return EINVAL for NFDS values either negative or
17463 greater than FD_SETSIZE.
17465 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17467 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17468 allocated, call __vm_protect to finish enabling the existing space, and
17469 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17470 allocate the remainder.
17472 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17474 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17475 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17477 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17479 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17480 sysdeps/mach/hurd/readlink.c.
17482 * posix/tst-sysconf.c (posix_options): Only use
17483 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17484 _POSIX_SYNCHRONIZED_IO when they are defined
17485 * sysdeps/mach/hurd/bits/posix_opt.h:
17486 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17487 (_XOPEN_REALTIME): Undefine macro.
17488 (_XOPEN_REALTIME_THREADS): Undefine macro.
17489 (_XOPEN_SHM): Undefine macro.
17490 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17492 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17494 (_POSIX_ASYNC_IO): Undefine macro.
17495 (_POSIX_PRIORITIZED_IO): Undefine macro.
17496 (_POSIX_SPIN_LOCKS): Define macro to -1.
17498 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17499 SA_NODEFER, SA_RESETHAND.
17500 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17501 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17504 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17506 * elf/Makefile (pldd-modules): Define unconditionally.
17508 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17510 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17512 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17514 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17515 Return ENOENT when name is empty.
17516 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17518 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17520 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17522 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17524 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17526 Fix mlock in all cases except non-readable pages.
17527 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17528 instead of VM_PROT_ALL as parameter to __vm_wire function.
17530 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17531 (__mkdir): When path is `/', just fail with EEXIST.
17532 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17534 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17536 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17537 <sys/uio.h> (for writev).
17538 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17539 and <sys/param.h> (for MIN).
17541 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17543 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17544 REQUESTED_TIME. Properly set the remaining time and return EINTR
17547 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17549 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17550 Depend on against $(link-rpcuserlibs).
17552 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17554 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17555 (__libc_stack_end): Do not use attribute_relro.
17556 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17557 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
17558 to libthread-provided value.
17559 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17562 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17565 * bits/libc-lock.h (__libc_once_get): New macro.
17566 * sysdeps/mach/bits/libc-lock.h: Likewise.
17567 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17568 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17569 instead of using implementation details.
17571 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17572 * libio/freopen.c: Likewise.
17573 * libio/freopen64.c: Likewise.
17574 * misc/syslog.c: Likewise.
17575 * nscd/connections.c: Likewise.
17576 * nscd/netgroupcache.c: Likewise.
17577 * sysdeps/posix/getcwd.c: Likewise.
17579 2012-05-10 Roland McGrath <roland@hack.frob.com>
17581 * math/w_ilogbf.c: Add #include <limits.h>.
17583 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17585 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
17586 path instead of returning without unlocking.
17588 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17589 immediate-write ioctls.
17590 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17592 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17594 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17595 __builtin_frame_address instead of making assumptions about the
17596 location of the return address relative to DATA. Force early load of
17597 the return address.
17598 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17599 __builtin_frame_address.
17602 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17603 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17604 implement dup3 and do some further code clean-ups.
17605 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17606 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17608 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17610 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17612 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17613 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17614 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17615 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17616 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17619 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17620 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17621 when handler == SIG_ERR, not when handler != SIG_ERR.
17623 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17625 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17626 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17629 accept4 for GNU Hurd.
17630 * include/sys/socket.h (__libc_accept4): New prototype.
17631 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17632 to implement __libc_accept4.
17633 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17635 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17637 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17638 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17639 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17640 signal-defines.sym.
17642 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17644 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
17646 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17648 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17649 assertion on O_CLOEXEC flag.
17650 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17651 * hurd/intern-fd.c: Likewise.
17652 * hurd/port2fd.c: Likewise.
17654 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17657 * bits/in.h (IPV6_PKTINFO): Define new macro.
17658 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17660 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17665 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17666 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17667 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17668 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17669 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17670 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17671 * math/libm-test.inc (logb_test) : Additional logb tests.
17673 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17674 Andreas Jaeger <aj@suse.de>
17676 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17677 * configure: Regenerated.
17678 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17679 * config.make.in (link-obsolete-rpc): New substituted variable.
17680 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17681 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17682 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17683 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17684 so that libc.a contains the symbols.
17685 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17686 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17687 * sunrpc/auth_none.c: Likewise.
17688 * sunrpc/auth_unix.c: Likewise.
17689 * sunrpc/authdes_prot.c: Likewise.
17690 * sunrpc/authuxprot.c: Likewise.
17691 * sunrpc/clnt_gen.c: Likewise.
17692 * sunrpc/clnt_perr.c: Likewise.
17693 * sunrpc/clnt_raw.c: Likewise.
17694 * sunrpc/clnt_simp.c: Likewise.
17695 * sunrpc/clnt_tcp.c: Likewise.
17696 * sunrpc/clnt_udp.c: Likewise.
17697 * sunrpc/clnt_unix.c: Likewise.
17698 * sunrpc/des_crypt.c: Likewise.
17699 * sunrpc/des_soft.c: Likewise.
17700 * sunrpc/get_myaddr.c: Likewise.
17701 * sunrpc/key_call.c: Likewise.
17702 * sunrpc/key_prot.c: Likewise.
17703 * sunrpc/netname.c: Likewise.
17704 * sunrpc/pm_getmaps.c: Likewise.
17705 * sunrpc/pm_getport.c: Likewise.
17706 * sunrpc/pmap_clnt.c: Likewise.
17707 * sunrpc/pmap_prot.c: Likewise.
17708 * sunrpc/pmap_prot2.c: Likewise.
17709 * sunrpc/pmap_rmt.c: Likewise.
17710 * sunrpc/publickey.c: Likewise.
17711 * sunrpc/rpc_cmsg.c: Likewise.
17712 * sunrpc/rpc_common.c: Likewise.
17713 * sunrpc/rpc_dtable.c: Likewise.
17714 * sunrpc/rpc_prot.c: Likewise.
17715 * sunrpc/rpc_thread.c: Likewise.
17716 * sunrpc/rtime.c: Likewise.
17717 * sunrpc/svc.c: Likewise.
17718 * sunrpc/svc_auth.c: Likewise.
17719 * sunrpc/svc_raw.c: Likewise.
17720 * sunrpc/svc_run.c: Likewise.
17721 * sunrpc/svc_tcp.c: Likewise.
17722 * sunrpc/svc_udp.c: Likewise.
17723 * sunrpc/svc_unix.c: Likewise.
17724 * sunrpc/svcauth_des.c: Likewise.
17725 * sunrpc/xcrypt.c: Likewise.
17726 * sunrpc/xdr.c: Likewise.
17727 * sunrpc/xdr_array.c: Likewise.
17728 * sunrpc/xdr_float.c: Likewise.
17729 * sunrpc/xdr_intXX_t.c: Likewise.
17730 * sunrpc/xdr_mem.c: Likewise.
17731 * sunrpc/xdr_rec.c: Likewise.
17732 * sunrpc/xdr_ref.c: Likewise.
17733 * sunrpc/xdr_sizeof.c: Likewise.
17734 * sunrpc/xdr_stdio.c: Likewise.
17736 2012-05-10 Roland McGrath <roland@hack.frob.com>
17738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17739 change. Update copyright years.
17741 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17743 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17745 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17746 Joseph Myers <joseph@codesourcery.com>
17747 Paul Pluzhnikov <ppluzhnikov@google.com>
17750 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17752 [cross-compiling] (extra-libs): Likewise.
17753 [cross-compiling] (extra-libs-others): Likewise.
17754 [cross-compiling] (librpcsvc-routines): Likewise.
17755 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17756 [cross-compiling] (omit-deps): Likewise.
17757 (sunrpc-CPPFLAGS): New variable.
17758 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17759 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17760 (cross-rpcgen-objs): New variable.
17761 (extra-objs): Append $(cross-rpcgen-objs).
17762 ($(cross-rpcgen-objs)): New rule.
17763 ($(objpfx)cross-rpcgen): Likewise.
17764 (rpcgen-cmd): Define to use $(built-program-file). Expand
17766 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17767 ($(objpfx)x%.stmp): Likewise.
17768 * sunrpc/proto.h [IS_IN_build] (_): Define.
17769 [IS_IN_build] (_libc_intl_domainname): Likewise.
17771 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17773 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17774 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17775 and R_X86_64_TPOFF64.
17777 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17779 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17780 sysdeps/unix/sysv/syscalls.list.
17783 * sysdeps/unix/sysv/syscalls.list: Remove file.
17785 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17788 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17789 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17790 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17791 (__LC_IDENTIFICATION): Make these macros useful in #if
17792 expressions, as required by C99.
17794 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17796 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17797 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17800 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17802 * stdlib/longlong.h: Updated from GCC.
17804 2012-05-09 Andreas Jaeger <aj@suse.de>
17806 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17807 default is first entry.
17808 (run_mode): Set type.
17809 (main): Remove informal message about syslog.
17810 (options): Fix typo.
17813 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17816 (llrintf): Likewise.
17817 (llrint): Likewise.
17820 (nearbyint): Likewise.
17821 (nearbyintf): Likewise.
17823 2012-05-09 Andreas Jaeger <aj@suse.de>
17824 Pedro Alves <palves@redhat.com>
17826 * nscd/nscd.c (run_mode): Use enum.
17827 (main): Cleanup coding style issue.
17829 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
17830 Andreas Jaeger <aj@suse.de>
17832 * nscd/nscd.c (go_background): Replaced with...
17833 (run_mode): ... this.
17834 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17835 (options): Add -F --foreground.
17836 (main): Implement it.
17837 (parse_opt): Parse it.
17839 2012-05-09 Andreas Jaeger <aj@suse.de>
17842 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17843 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17844 -Wconversion warning.
17845 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17848 2012-05-09 Joseph Myers <joseph@codesourcery.com>
17850 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17852 (LC_ALL): Use macro-int-constant.
17853 (LC_COLLATE): Likewise.
17854 (LC_CTYPE): Likewise.
17855 (LC_MESSAGES): Likewise.
17856 (LC_MONETARY): Likewise.
17857 (LC_NUMERIC): Likewise.
17858 (LC_TIME): Likewise.
17859 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17860 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17861 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17862 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17864 [C99-based standards] (float_t): Expect type.
17865 [C99-based standards] (double_t): Expect type.
17866 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17868 [C99-based standards] (HUGE_VALL): Likewise.
17869 [C99-based standards] (INFINITY): Likewise.
17870 [C99-based standards] (NAN): Likewise.
17871 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17872 [C99-based standards] (FP_NAN): Likewise.
17873 [C99-based standards] (FP_NORMAL): Likewise.
17874 [C99-based standards] (FP_SUBNORMAL): Likewise.
17875 [C99-based standards] (FP_ZERO): Likewise.
17876 [C99-based standards] (FP_FAST_FMA): Use
17877 optional-macro-int-constant. Specify type. Require == 1.
17878 [C99-based standards] (FP_FAST_FMAF): Likewise.
17879 [C99-based standards] (FP_FAST_FMAL): Likewise.
17880 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17881 [C99-based standards] (FP_ILOGBNAN): Likewise.
17882 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17884 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17885 [C99-based standards] (math_errhandling): Specify type.
17886 [ISO99 || ISO11] (signgam): Do not allow.
17887 [non-C99-based standards] (copysignf): Do not allow.
17888 [non-C99-based standards] (exp2f): Likewise.
17889 [non-C99-based standards] (log2f): Likewise.
17890 [non-C99-based standards] (modff): Allow.
17891 [non-C99-based standards] (erff): Do not allow.
17892 [non-C99-based standards] (erfcf): Likewise.
17893 [non-C99-based standards] (gammaf): Likewise.
17894 [non-C99-based standards] (hypotf): Likewise.
17895 [non-C99-based standards] (j0f): Likewise.
17896 [non-C99-based standards] (j1f): Likewise.
17897 [non-C99-based standards] (jnf): Likewise.
17898 [non-C99-based standards] (lgammaf): Likewise.
17899 [non-C99-based standards] (tgammaf): Likewise.
17900 [non-C99-based standards] (y0f): Likewise.
17901 [non-C99-based standards] (y1f): Likewise.
17902 [non-C99-based standards] (ynf): Likewise.
17903 [non-C99-based standards] (isnanf): Likewise.
17904 [non-C99-based standards] (acoshf): Likewise.
17905 [non-C99-based standards] (asinhf): Likewise.
17906 [non-C99-based standards] (atanhf): Likewise.
17907 [non-C99-based standards] (cbrtf): Likewise.
17908 [non-C99-based standards] (expm1f): Likewise.
17909 [non-C99-based standards] (ilogbf): Likewise.
17910 [non-C99-based standards] (log1pf): Likewise.
17911 [non-C99-based standards] (logbf): Likewise.
17912 [non-C99-based standards] (nextafterf): Likewise.
17913 [non-C99-based standards] (remainderf): Likewise.
17914 [non-C99-based standards] (rintf): Likewise.
17915 [non-C99-based standards] (scalbf): Likewise.
17916 [non-C99-based standards] (copysignl): Likewise.
17917 [non-C99-based standards] (exp2l): Likewise.
17918 [non-C99-based standards] (log2l): Likewise.
17919 [non-C99-based standards] (modfl): Allow.
17920 [non-C99-based standards] (erfl): Do not allow.
17921 [non-C99-based standards] (erfcl): Likewise.
17922 [non-C99-based standards] (gammal): Likewise.
17923 [non-C99-based standards] (hypotl): Likewise.
17924 [non-C99-based standards] (j0l): Likewise.
17925 [non-C99-based standards] (j1l): Likewise.
17926 [non-C99-based standards] (jnl): Likewise.
17927 [non-C99-based standards] (lgammal): Likewise.
17928 [non-C99-based standards] (tgammal): Likewise.
17929 [non-C99-based standards] (y0l): Likewise.
17930 [non-C99-based standards] (y1l): Likewise.
17931 [non-C99-based standards] (ynl): Likewise.
17932 [non-C99-based standards] (isnanl): Likewise.
17933 [non-C99-based standards] (acoshl): Likewise.
17934 [non-C99-based standards] (asinhl): Likewise.
17935 [non-C99-based standards] (atanhl): Likewise.
17936 [non-C99-based standards] (cbrtl): Likewise.
17937 [non-C99-based standards] (expm1l): Likewise.
17938 [non-C99-based standards] (ilogbl): Likewise.
17939 [non-C99-based standards] (log1pl): Likewise.
17940 [non-C99-based standards] (logbl): Likewise.
17941 [non-C99-based standards] (nextafterl): Likewise.
17942 [non-C99-based standards] (remainderl): Likewise.
17943 [non-C99-based standards] (rintl): Likewise.
17944 [non-C99-based standards] (scalbl): Likewise.
17945 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17946 [non-C99-based standards] (FP_*): Do not allow.
17947 [C99-based standards] (FP_*): Change to
17948 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17949 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17951 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17952 (SIG_ERR): Likewise.
17953 [X/Open-based standards] (SIG_HOLD): Likewise.
17954 (SIG_IGN): Likewise.
17955 (SIGABRT): Use macro-int-constant. Specify type. Require
17957 (SIGFPE): Likewise.
17958 (SIGILL): Likewise.
17959 (SIGINT): Likewise.
17960 (SIGSEGV): Likewise.
17961 (SIGTER): Likewise.
17962 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17963 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17964 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17965 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17966 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17967 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17968 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17969 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17970 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17971 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17972 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17973 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17974 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17975 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17976 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17977 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17978 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17979 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17980 [X/Open-based standards] (SIGTRAP): Likewise.
17981 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17982 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17983 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17984 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17985 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17988 2012-05-08 Ian Wienand <ianw@vmware.com>
17991 * time/tzset.c (__tzset_parse_tz): Update default rules for
17992 daylight time changes in the Energy Policy Act of 2005.
17994 2012-05-09 Andreas Jaeger <aj@suse.de>
17997 * elf/ldconfig.c (parse_conf): Change string to make clear that
17998 ldconfig only issued a warning if ld.so.conf does not exist.
18000 2012-05-08 David S. Miller <davem@davemloft.net>
18002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18003 movxtod instead of popping the value on the stack.
18005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18007 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18009 * config.h.in: Add HAVE_ARM_PCS_VFP.
18011 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
18014 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18015 checking but the checks are disabled for any reason.
18017 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18019 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18020 and ELF64_R_TYPE with ELFW(R_TYPE).
18022 2012-05-08 Joseph Myers <joseph@codesourcery.com>
18024 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18025 (ulimit): Likewise.
18027 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18028 (settimeofday): Likewise.
18030 2012-05-08 Mike Frysinger <vapier@gentoo.org>
18032 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18033 a struct th_u2 inside the union, and move tu_block/tu_code into
18034 a new th_u3 union of tu_block/tu_code inside of that. Move
18035 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18036 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18037 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18038 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18039 (th_stuff): Change to th_u1.tu_stuff.
18041 (th_msg): Change to th_u1.th_u2.tu_data.
18043 2012-05-07 David S. Miller <davem@davemloft.net>
18045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18048 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18049 (SETUP_PIC_REG): Use it.
18050 (SETUP_PIC_REG_LEAF): Use it.
18052 2012-05-07 Joseph Myers <joseph@codesourcery.com>
18056 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18058 (EXPL_FINITE): Likewise.
18059 (FLDLOG): Likewise.
18060 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18061 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18063 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18065 (EXPL_FINITE): Likewise.
18066 (FLDLOG): Likewise.
18067 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18068 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18070 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18071 test of -max_value argument for long double.
18072 * sysdeps/i386/fpu/libm-test-ulps: Update.
18073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18075 2012-05-06 David S. Miller <davem@davemloft.net>
18077 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18078 quad soft-float symbols whose references which are compiler
18080 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18082 2012-05-06 Joseph Myers <joseph@codesourcery.com>
18086 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18088 (EXPL_FINITE): Likewise.
18089 (FLDLOG): Likewise.
18092 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18093 Adjust comments for base varying.
18094 (__expl_finite): Change alias to EXPL_FINITE.
18095 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18097 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18098 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18099 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18100 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18101 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18103 (EXPL_FINITE): Likewise.
18104 (FLDLOG): Likewise.
18107 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18108 Adjust comments for base varying.
18109 (__expl_finite): Change alias to EXPL_FINITE.
18110 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18115 * math/libm-test.inc (check_float_internal): Correct ulp
18116 calculation for subnormal expected results.
18118 2012-05-06 Andreas Jaeger <aj@suse.de>
18120 * Makeconfig (+math-flags): New, set to -frounding-math.
18121 (+cflags): Add +math-flags so that all of glibc gets compiled with
18124 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18126 2012-05-05 Joseph Myers <joseph@codesourcery.com>
18128 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18134 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18135 (__ieee754_expl): Allow for and saturate large arguments.
18136 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18137 (u_threshold): Likewise.
18138 (__exp): Call __ieee754_exp before checking for overflow and
18140 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18141 (u_threshold): Likewise.
18142 (__expf): Call __ieee754_expf before checking for overflow and
18144 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18145 (u_threshold): Likewise.
18146 (__expl): Call __ieee754_expl before checking for overflow and
18148 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18149 (__ieee754_expl): Allow for and saturate large arguments.
18150 * math/libm-test.inc (exp_test): Add another test. Do not allow
18151 missing overflow exception on overflow.
18152 (expm1_test): Do not allow missing overflow exception on overflow.
18154 * sysdeps/i386/fpu/e_expl.c: Move to ...
18155 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18156 rather than using inline asm.
18157 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18158 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18159 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18161 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18164 (signal): Likewise.
18168 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18170 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18171 sysdeps/unix/common/syscalls.list.
18172 (fchmod): Likewise.
18173 (fchown): Likewise.
18174 (ftruncate): Likewise.
18175 (getrusage): Likewise.
18176 (gettimeofday): Likewise.
18177 (setpgid): Likewise.
18178 (setregid): Likewise.
18179 (setreuid): Likewise.
18180 (sigaction): Likewise.
18181 (truncate): Likewise.
18182 (vhangup): Likewise.
18183 * sysdeps/unix/common/syscalls.list: Remove file.
18184 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18185 * sysdeps/unix/sysv/linux/Implies: Likewise.
18187 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18189 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18191 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18195 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18198 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18201 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18204 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18207 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18210 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18213 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18217 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18221 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18224 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18228 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18232 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18234 * sysdeps/unix/common/bits/dirent.h: Remove file.
18235 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18237 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18238 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18239 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18240 * sysdeps/unix/bsd/isatty.c: Likewise.
18241 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18242 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18243 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18245 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18248 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18249 long double comparison inaccuracies.
18250 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18253 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18255 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18256 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18258 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18261 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18262 nonzero digits before rounding a hex value.
18263 * stdlib/tst-strtod.c (tests): Add another test.
18265 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18267 * sysdeps/s390/fpu/libm-test-ulps: Update.
18269 2012-05-03 Andreas Jaeger <aj@suse.de>
18271 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18272 does not get optimized out.
18273 (malloc_opt_barrier): New.
18275 2012-05-03 Andreas Jaeger <aj@suse.de>
18276 Roland McGrath <roland@hack.frob.com>
18278 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18279 intermediate file deletion.
18280 (generated): Add .symlist files.
18282 2012-05-03 Joseph Myers <joseph@codesourcery.com>
18285 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18286 Redirect under this condition.
18287 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18288 [__USE_GNU] (__dprintf_chk): Not under this condition.
18289 [__USE_GNU] (__vdprintf_chk): Likewise.
18290 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18291 under this condition.
18292 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18293 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18294 [__USE_XOPEN2K8] (vdprintf): Likewise.
18295 [__USE_GNU] (__dprintf_chk): Not under this condition.
18296 [__USE_GNU] (__vdprintf_chk): Likewise.
18297 [__USE_GNU] (dprintf): Likewise.
18298 [__USE_GNU] (vdprintf): Likewise.
18300 2012-05-03 Roland McGrath <roland@hack.frob.com>
18302 * elf/Makefile (common-generated): Set this instead of generated for
18303 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18304 $(all-built-dso)-derived lists.
18306 2012-05-03 Andreas Jaeger <aj@suse.de>
18308 * sysdeps/i386/fpu/libm-test-ulps: Update.
18311 * FAQ.in: Likewise.
18312 * scripts/gen-FAQ.pl: Likewise.
18313 * manual/install.texi (Installation): Point to online location of
18315 * Makefile (files-for-dist): Remove FAQ.
18318 2012-05-02 Allan McRae <allan@archlinux.org>
18320 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18321 (LDFLAGS-reldepmod5.so): Likewise.
18322 (LDFLAGS-reldep6mod1.so): Likewise.
18323 (LDFLAGS-reldep6mod4.so): Likewise.
18324 (LDFLAGS-reldep8mod3.so): Likewise.
18325 (LDFLAGS-unload4mod1.so): Likewise.
18326 (LDFLAGS-unload4mod2.so): Likewise.
18327 (LDFLAGS-tst-initorder): Likewise.
18328 (LDFLAGS-tst-initordera2.so): Likewise.
18329 (LDFLAGS-tst-initordera3.so): Likewise.
18330 (LDFLAGS-tst-initordera4.so): Likewise.
18331 (LDFLAGS-tst-initorderb2.so): Likewise.
18332 (LDFLAGS-noload): Likewise.
18333 (LDFLAGS-next): Likewise.
18334 (LDFLAGS-order2mod1.so): Likewise.
18335 (LDFLAGS-order2mod2.so): Likewise.
18336 (LDFLAGS-tst-initorder2): Likewise.
18337 (LDFLAGS-tst-initorder2a.so): Likewise.
18338 (LDFLAGS-tst-initorder2b.so): Likewise.
18339 (LDFLAGS-tst-initorder2c.so): Likewise.
18340 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18342 2012-05-02 David S. Miller <davem@davemloft.net>
18344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18346 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18349 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18351 2012-05-02 Andreas Jaeger <aj@suse.de>
18353 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18354 since we manipulate rounding mode.
18355 (CPPFLAGS-test-idouble.c): Likewise.
18356 (CPPFLAGS-test-ifloat.c): Likewise.
18357 (CFLAGS-test-ldouble.c): Likewise.
18358 (CFLAGS-test-double.c): Likewise.
18359 (CFLAGS-test-float.c): Likewise.
18360 (CFLAGS-test-misc.c): Likewise.
18361 (CFLAGS-test-test-fenv.c): Likewise.
18363 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18367 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18368 comparisons to determine direction to adjust input.
18370 2012-05-01 Roland McGrath <roland@hack.frob.com>
18372 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18373 output to the target.
18375 * scripts/localplt.awk: New file.
18376 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18377 (check-localplt-CFLAGS): Variable removed.
18378 ($(all-built-dso:=.jmprel)): New static pattern rule.
18379 (generated): Add those targets.
18380 (localplt-built-dso): New variable.
18381 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18383 * elf/check-localplt.c: File removed.
18385 * scripts/check-execstack.awk: New file.
18386 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18387 (check-execstack-CFLAGS): Variable removed.
18388 ($(objpfx)check-execstack.h): Target removed.
18389 ($(objpfx)execstack-default): New target.
18390 (generated): Add that instead of check-execstack.h.
18391 ($(all-built-dso:=.phdr)): New static pattern rule.
18392 (generated): Add those targets.
18393 * elf/check-execstack.c: File removed.
18395 * scripts/check-textrel.awk: New file.
18396 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18397 (check-textrel-CFLAGS): Variable removed.
18398 (all-built-dso): Use := to define.o
18399 ($(all-built-dso:=.dyn)): New static pattern rule.
18400 (generated): Add those targets.
18401 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18402 * config.make.in (READELF): New substituted variable.
18403 * elf/check-textrel.c: File removed.
18405 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18407 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18409 * conform/data/ctype.h-data [C99-based standards] (isblank):
18411 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18412 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18413 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18414 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18415 Specify type. Require positive value.
18416 (EILSEQ): Likewise.
18417 (ERANGE): Likewise.
18418 [ISO || POSIX] (EILSEQ): Do not expect.
18419 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18420 Specify type. Require positive value.
18421 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18422 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18423 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18424 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18425 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18426 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18427 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18428 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18429 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18430 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18431 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18432 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18433 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18434 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18435 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18436 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18437 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18438 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18439 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18440 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18441 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18442 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18443 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18444 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18445 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18446 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18447 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18448 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18449 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18450 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18451 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18452 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18453 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18454 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18455 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18456 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18457 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18458 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18459 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18460 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18461 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18462 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18463 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18464 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18465 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18466 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18467 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18468 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18469 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18470 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18471 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18472 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18473 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18474 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18475 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18476 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18477 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18478 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18479 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18480 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18481 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18482 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18483 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18484 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18485 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18486 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18487 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18488 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18489 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18490 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18491 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18492 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18493 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18494 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18495 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18496 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18497 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18499 (FLT_ROUNDS): Expect as macro, not constant.
18500 (FLT_MANT_DIG): Use macro-int-constant.
18501 (DBL_MANT_DIG): Likewise.
18502 (LDBL_MANT_DIG): Likewise.
18503 (FLT_DIG): Likewise.
18504 (DBL_DIG): Likewise.
18505 (LDBL_DIG): Likewise.
18506 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18507 (DBL_MIN_EXP): Likewise.
18508 (LDBL_MIN_EXP): Likewise.
18509 (FLT_MAX_EXP): Use macro-int-constant.
18510 (DBL_MAX_EXP): Likewise.
18511 (LDBL_MAX_EXP): Likewise.
18512 (FLT_MAX_10_EXP): Likewise.
18513 (DBL_MAX_10_EXP): Likewise.
18514 (LDBL_MAX_10_EXP): Likewise.
18515 (FLT_MAX): Use macro-constant.
18516 (DBL_MAX): Likewise.
18517 (LDBL_MAX): Likewise.
18518 (FLT_EPSILON): Use macro-constant. Give upper bound.
18519 (DBL_EPSILON): Likewise.
18520 (LDBL_EPSILON): Likewise.
18521 (FLT_MIN): Likewise.
18522 (DBL_MIN): Likewise.
18523 (LDBL_MIN): Likewise.
18524 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18525 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18526 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18527 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18528 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18529 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18530 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18531 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18532 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18533 [ISO11] (FLT_TRUE_MIN): Likewise.
18534 [ISO11] (LDBL_TRUE_MIN): Likewise.
18535 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18536 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18537 (SCHAR_MIN): Use macro-int-constant. Specify type.
18538 (SCHAR_MAX): Likewise.
18539 (UCHAR_MAX): Likewise.
18540 (CHAR_MIN): Likewise.
18541 (CHAR_MAX): Likewise.
18542 (MB_LEN_MAX): Use macro-int-constant.
18543 (SHRT_MIN): Use macro-int-constant. Specify type.
18544 (SHRT_MAX): Likewise.
18545 (USHRT_MAX): Likewise.
18546 (INT_MAX): Likewise.
18547 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18549 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18551 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18553 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18554 bound negative. Suffix upper bound with "L".
18555 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18557 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18559 [C99-based standards] (LLONG_MAX): Likewise.
18560 [C99-based standards] (ULLONG_MAX): Likewise.
18561 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18563 [ISO11] (max_align_t): Require type.
18564 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18566 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18567 from $CFLAGS, without defining away __attribute__ calls.
18568 (checknamespace): Use $CFLAGS_namespace.
18570 * conform/conformtest.pl (@keywords): Only include C99 keywords
18571 for standards based on C99 or C11.
18573 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18575 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18578 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18579 usability of symbols in #if.
18581 * conform/conformtest.pl: If macro or constant types start
18582 "promoted:", expect the symbol to be of the following type
18583 promoted by the integer promotions.
18585 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18586 in one place. Also handle "macro-constant".
18588 * conform/conformtest.pl: Only accept expected macro values with
18589 "==". Parse all "macro" lines in one place.
18590 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18592 * conform/conformtest.pl: Handle braced types on "constant" lines
18593 instead of handling "typed-constant".
18594 * conform/data/signal.h-data: Use "constant" instead of
18597 * conform/conformtest.pl: Handle "optional-" at start of lines in
18598 one place rather than duplicating several cases. Handle each
18599 format of "macro" line with initial "optional-".
18601 * conform/conformtest.pl: Only accept expected constant or
18602 optional-constant values with "==". Parse all "constant" lines in
18603 one place. Parse all "optional-constant" lines in one place.
18604 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18605 * conform/data/fmtmsg.h-data: Likewise.
18606 * conform/data/netinet/in.h-data: Likewise.
18607 * conform/data/tar.h-data: Likewise.
18608 * conform/data/limits.h-data: Use "==" form on "constant" and
18609 "optional-constant" lines.
18611 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18612 Use -std=c99 for XOPEN2K.
18613 (@knownproblems): Remove.
18614 (newtoken): Don't check %isknown.
18616 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18617 Do not expect macro.
18618 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18619 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18620 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18621 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18622 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18623 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18624 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18625 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18626 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18627 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18628 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18629 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18630 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18631 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18632 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18633 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18634 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18635 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18636 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18637 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18638 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18639 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18640 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18641 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18642 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18643 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18644 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18645 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18646 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18647 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18648 [XPG3] (acosh): Likewise.
18649 [XPG3] (asinh): Likewise.
18650 [XPG3] (atanh): Likewise.
18651 [XPG3] (cbrt): Likewise.
18652 [XPG3] (expm1): Likewise.
18653 [XPG3] (ilogb): Likewise.
18654 [XPG3] (log1p): Likewise.
18655 [XPG3] (logb): Likewise.
18656 [XPG3] (nextafter): Likewise.
18657 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18658 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18659 [XPG3] (remainder): Likewise.
18660 [XPG3] (rint): Likewise.
18661 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18662 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18663 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18664 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18665 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18666 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18667 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18668 [UNIX98 || XOPEN2K] (scalb): Expect.
18669 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18670 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18671 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18672 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18673 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18674 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18675 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18676 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18677 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18678 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18679 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18680 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18681 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18682 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18683 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18684 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18685 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18686 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18687 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18688 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18689 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18690 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18691 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18692 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18693 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18694 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18695 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18696 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18697 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18698 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18699 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18700 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18701 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18702 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18703 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18704 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18705 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18706 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18707 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18708 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18709 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18710 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18711 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18712 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18713 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18714 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18715 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18716 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18717 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18718 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18719 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18720 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18721 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18722 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18723 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18724 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18725 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18726 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18727 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18728 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18729 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18730 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18731 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18732 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18733 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18734 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18735 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18736 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18737 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18738 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18739 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18740 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18741 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18742 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18743 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18744 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18745 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18746 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18747 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18748 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18749 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18750 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18751 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18752 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18753 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18754 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18755 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18756 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18757 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18758 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18759 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18760 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18761 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18762 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18763 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18764 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18765 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18766 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18767 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18768 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18769 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18770 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18771 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18772 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18773 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18774 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18775 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18776 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18777 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18778 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18779 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18780 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18781 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18782 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18783 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18784 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18785 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18786 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18787 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18788 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18789 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18790 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18791 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18792 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18793 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18794 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18795 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18796 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18797 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18798 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18799 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18800 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18801 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18802 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18803 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18804 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18805 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18807 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18808 _XOPEN_SOURCE_EXTENDED for XPG4.
18810 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18812 * Makeconfig (localtime): Remove variable.
18813 (inst_localtime-file): Likewise.
18815 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18836 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18840 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18841 comparisons to determine direction to adjust input.
18842 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18843 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18844 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18846 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18848 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18850 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18851 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18853 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18855 * math/libm-test.inc (nexttoward_test): Add more tests.
18857 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18860 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18861 in version GLIBC_2.1, not GLIBC_2.0.
18862 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18865 2012-04-30 Joseph Myers <joseph@codesourcery.com>
18868 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18870 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18871 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18872 * math/libm-test.inc (acos_test): Add more tests.
18873 (asin_test): Likewise.
18874 * sysdeps/i386/fpu/libm-test-ulps: Update.
18875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18878 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18880 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18881 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18882 * math/libm-test.inc (acos_test_tonearest): New function.
18883 (acos_test_towardzero): Likewise.
18884 (acos_test_downward): Likewise.
18885 (acos_test_upward): Likewise.
18886 (asin_test_tonearest): Likewise.
18887 (asin_test_towardzero): Likewise.
18888 (asin_test_downward): Likewise.
18889 (asin_test_upward): Likewise.
18890 (main): Call the new functions.
18891 * sysdeps/i386/fpu/libm-test-ulps: Update.
18892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18896 * math/e_exp10.c: Include <float.h>.
18897 (__ieee754_exp10): Handle underflow here rather than multiplying
18898 large negative argument by M_LN10.
18899 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18901 * math/e_exp10l.c: Include <float.h>.
18902 (__ieee754_exp10l): Handle underflow here rather than multiplying
18903 large negative argument by M_LN10l.
18904 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18905 spurious overflow exception on underflow.
18907 2012-04-29 Marek Polacek <polacek@redhat.com>
18909 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18910 (__fortify_function): New macro.
18911 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18912 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18913 __extern_always_inline.
18914 * libio/bits/stdio2.h: Likewise.
18915 * libio/bits/stdio.h: Likewise.
18916 * string/string.h: Likewise.
18917 * string/bits/string3.h: Likewise.
18918 * include/stdio.h: Likewise.
18919 * stdlib/bits/stdlib.h: Likewise.
18920 * stdlib/stdlib.h: Likewise.
18921 * rt/bits/mqueue2.h: Likewise.
18922 * rt/mqueue.h: Likewise.
18923 * posix/bits/unistd.h: Likewise.
18924 * posix/unistd.h: Likewise.
18925 * io/bits/poll2.h: Likewise.
18926 * io/bits/fcntl2.h: Likewise.
18927 * io/fcntl.h: Likewise.
18928 * io/sys/poll.h: Likewise.
18929 * misc/bits/syslog.h: Likewise.
18930 * misc/bits/syslog-ldbl.h: Likewise.
18931 * misc/sys/syslog.h: Likewise.
18932 * socket/bits/socket2.h: Likewise.
18933 * socket/sys/socket.h: Likewise.
18934 * debug/tst-chk1.c: Likewise.
18935 * wcsmbs/bits/wchar2.h: Likewise.
18936 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18937 * wcsmbs/wchar.h: Likewise.
18939 2012-04-29 Andreas Jaeger <aj@suse.de>
18941 * Makerules (tests): Remove enable-check-abi protection.
18942 (check-abi-warn): Remove.
18943 (check-abi-%): Remove check-abi-warn usage.
18945 * configure.in: Remove check-abi configure option.
18946 * configure: Regenerated.
18947 * config.make.in (enable-check-abi): Remove.
18949 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18952 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18953 double functions to double *_finite functions.
18956 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18957 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18959 * stdio-common/Makefile (tests): Add tst-sprintf3.
18960 * stdio-common/tst-sprintf3.c: New file.
18962 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18963 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18965 2012-04-28 Joseph Myers <joseph@codesourcery.com>
18967 * conform/conformtest.pl: Remove duplicate typed-constant
18970 2012-04-28 David S. Miller <davem@davemloft.net>
18972 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18973 (check-abi-%): Remove AWK script prerequisite and explicit
18975 (check-abi): Rewrite to just diff the symlist with the abilist.
18976 (config-tls, config-abi-config): Delete, no longer used.
18977 (update-abi-%): Remove AWK script and explicit abilist directory.
18978 (update-abi): Rewrite to simply compare and conditionally copy the
18979 symlist and the sysdep abilist file. Remove update-abi-config
18981 * abilist/ld.abilist: Remove.
18982 * abilist/libBrokenLocale.abilist: Remove.
18983 * abilist/libanl.abilist: Remove.
18984 * abilist/libcrypt.abilist: Remove.
18985 * abilist/libdl.abilist: Remove.
18986 * abilist/librt.abilist: Remove.
18987 * abilist/libthread_db.abilist: Remove.
18988 * abilist/libutil.abilist: Remove.
18989 * scripts/extract-abilist.awk: Remove.
18990 * scripts/merge-abilist.awk: Remove.
18991 * sysdeps/generic/libcidn.abilist: New file.
18992 * sysdeps/generic/libnss_compat.abilist: New file.
18993 * sysdeps/generic/libnss_db.abilist: New file.
18994 * sysdeps/generic/libnss_dns.abilist: New file.
18995 * sysdeps/generic/libnss_files.abilist: New file.
18996 * sysdeps/generic/libnss_hesiod.abilist: New file.
18997 * sysdeps/generic/libnss_nis.abilist: New file.
18998 * sysdeps/generic/libnss_nisplus.abilist: New file.
18999 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19000 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19001 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19003 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19004 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19005 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19006 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19007 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19008 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19009 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19010 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19011 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19013 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19014 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19015 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19016 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19018 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19019 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19020 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19021 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19022 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19023 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19025 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19026 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19027 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19029 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19132 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19133 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19134 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19136 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19137 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19138 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19139 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19140 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19141 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19142 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19143 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19144 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19145 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19197 2012-04-28 Joseph Myers <joseph@codesourcery.com>
19199 * conform/conformtest.pl: Fix typo in handling typed-constant from
19202 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19204 * README: Cut down references to pre-2.6 Linux kernels and
19205 Linuxthreads. Update lists of configurations in libc and ports
19206 and sort alphabetically. Say "or newer" with Linux kernel version
19209 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19211 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19214 * math/libm-test.inc (logb_test_downward): New test to expose
19215 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19218 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19221 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19223 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19224 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19226 2012-04-26 Joseph Myers <joseph@codesourcery.com>
19228 * sysdeps/unix/i386/brk.S: Remove file.
19229 * sysdeps/unix/i386/dl-brk.S: Likewise.
19230 * sysdeps/unix/i386/pipe.S: Likewise.
19231 * sysdeps/unix/i386/sigreturn.S: Likewise.
19232 * sysdeps/unix/i386/syscall.S: Likewise.
19233 * sysdeps/unix/i386/vfork.S: Likewise.
19234 * sysdeps/unix/i386/wait.S: Likewise.
19236 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19237 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19239 * configure.in (arm*-none*): Do not allow without
19240 --enable-hacker-mode.
19241 (netbsd*): Remove case setting base_os.
19242 (386bsd*): Likewise.
19243 (freebsd*): Likewise.
19246 (sunos*): Likewise.
19247 (ultrix*): Likewise.
19248 (newsos*): Likewise.
19249 (dynix*): Likewise.
19255 (minix*): Likewise.
19256 (irix4*): Likewise.
19257 (irix6*): Likewise.
19258 (solaris[2-9]*): Likewise.
19260 * configure: Regenerated.
19262 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19265 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19266 overflow or cancellation in calculating denominator.
19267 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19268 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19269 down expression to avoid unexpected rounding in newer GCCs.
19270 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19272 2012-04-26 David S. Miller <davem@davemloft.net>
19274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19275 long-double compat symbols.
19276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19290 2012-04-25 David S. Miller <davem@davemloft.net>
19292 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19293 HWCAP_* values only after the memory barriers have been defined.
19294 (atomic_full_barrier): Define.
19295 (atomic_read_barrier): Define.
19296 (atomic_write_barrier): Define.
19298 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19300 * shlib-versions: Add libgcc_s version information.
19301 * sysdeps/generic/libgcc_s.h: Remove.
19302 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19304 * sysdeps/gnu/unwind-resume.c: Likewise.
19305 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19307 2012-04-25 David S. Miller <davem@davemloft.net>
19309 * sysdeps/unix/sparc/brk.S: Delete.
19310 * sysdeps/unix/sparc/dl-brk.S: Delete.
19311 * sysdeps/unix/sparc/pipe.S: Delete.
19312 * sysdeps/unix/sparc/sysdep.S: Delete.
19313 * sysdeps/unix/sparc/sysdep.h: Delete.
19314 * sysdeps/unix/sparc/vfork.S: Delete.
19315 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19316 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19317 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19318 ret_ERRVAL, r0, r1, MOVE): Define.
19319 (JUMPTARGET): Remove.
19320 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19321 sysdeps/unix/sparc/sysdep.h
19322 (ENTRY, END): Remove.
19323 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19325 2012-04-25 Joseph Myers <joseph@codesourcery.com>
19327 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19328 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19331 * timezone/README: Update upstream location and email address for
19333 * timezone/zdump.c: Update from tzcode 2012b.
19334 * timezone/zic.c: Likewise.
19336 * configure.in (libc_cv_as_needed): Remove test.
19337 * configure: Regenerated.
19338 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19339 conditional definition.
19340 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19341 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19342 * config.make.in (have-as-needed): Remove variable.
19344 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19345 Paul Pluzhnikov <ppluzhnikov@google.com>
19347 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19350 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19352 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19353 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19354 * sysdeps/sh/strlen.S: Likewise.
19356 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19358 * sysdeps/unix/fork.S: Remove file.
19359 * sysdeps/unix/i386/fork.S: Likewise.
19360 * sysdeps/unix/sparc/fork.S: Likewise.
19362 * sysdeps/unix/system.c: Remove file.
19363 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19365 * sysdeps/unix/getegid.S: Remove file.
19366 * sysdeps/unix/geteuid.S: Likewise.
19368 2012-04-24 Roland McGrath <roland@hack.frob.com>
19370 * scripts/check-localplt.awk: New file.
19371 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19373 * scripts/data/localplt-generic.data: Add a comment.
19375 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19376 NODE when __dir_mkfile failed.
19377 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19378 Reported by Ludovic Courtès <ludo@gnu.org>.
19380 2012-04-24 Andreas Jaeger <aj@suse.de>
19382 * Makerules (common-clean): Also remove gen-as-const-headers
19385 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19387 * Makerules (native-compile): Do not change working directory for
19388 build. Use $(OUTPUT_OPTION) in command.
19389 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19391 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19394 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19395 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19396 * math/libm-test.inc (floor_test): Add more tests.
19397 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19399 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19401 * sysdeps/unix/getdents.c: Remove file.
19402 * sysdeps/unix/sysv/getdents.c: Likewise.
19403 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19405 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19406 sysdeps/unix/mman/syscalls.list.
19408 (mprotect): Likewise.
19410 (munmap): Likewise.
19411 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19412 * sysdeps/unix/mman/syscalls.list: Remove.
19413 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19415 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19416 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19417 * configure: Regenerated.
19418 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19419 $(libgcc_s_suffix).
19420 * config.make.in (libgcc_s_suffix): Remove variable.
19422 2012-04-23 Joseph Myers <joseph@codesourcery.com>
19424 * sysdeps/unix/sysv/gethostname.c: Move to ...
19425 * sysdeps/posix/gethostname.c: ... here.
19427 * sysdeps/unix/execve.S: Remove file.
19429 * sysdeps/unix/_exit.S: Remove file.
19431 2012-04-23 Andreas Jaeger <aj@suse.de>
19434 * manual/Makefile: Remove make dist support, there's no
19435 need for a stand-alone documentation tar ball.
19436 (TEXI2DVI): Define always, it's not in Makeconfig.
19439 (edition): Removed.
19440 (glibc-doc-$(edition).tar): Removed
19444 (ETAGS): Remove, it's in Makeconfig.
19445 (move-if-change): Remove, it's in Makeconfig.
19447 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
19450 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19451 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19452 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19453 (strtod_l, strtof_l, strtold_l): Remove __wur.
19454 It is not necessarily an error to ignore strtol's return value.
19455 One can reliably look at the stored endptr to decide whether
19456 the number had valid syntax.
19458 2012-04-21 Andreas Jaeger <aj@suse.de>
19461 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19463 2012-04-21 Joseph Myers <joseph@codesourcery.com>
19465 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19466 * sysdeps/unix/sysv/Versions: Remove file.
19468 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19473 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
19476 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19477 version from __vm86.
19479 2012-04-20 Joseph Myers <joseph@codesourcery.com>
19481 * sysdeps/unix/common/lxstat.c: Remove file.
19482 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19484 * sysdeps/unix/sysv/Makefile: Remove file.
19486 * sysdeps/unix/sysv/direct.h: Remove file.
19488 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19489 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19490 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19491 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19492 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19493 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19494 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19496 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19498 * sysdeps/unix/xmknod.c: Remove file.
19499 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19501 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19503 * sysdeps/unix/sysv/i386/time.S: Remove file.
19505 * sysdeps/unix/fxstat.c: Remove file.
19506 * sysdeps/unix/xstat.c: Likewise.
19507 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19509 * sysdeps/unix/sysv/sigaction.c: Remove file.
19511 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19512 (sysdep_headers): Remove variable.
19513 [termio.h not in sysdep_headers] (generated): Likewise.
19514 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19515 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19516 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19517 * sysdeps/unix/sysv/tcflow.c: Likewise.
19518 * sysdeps/unix/sysv/tcflush.c: Likewise.
19519 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19520 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19521 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19522 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19523 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19525 * sysdeps/unix/siglist.c: Remove file.
19527 * sysdeps/unix/getppid.S: Remove file.
19529 * sysdeps/unix/mkdir.c: Remove file.
19530 * sysdeps/unix/rmdir.c: Likewise.
19532 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19534 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19536 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19537 errlist-compat value.
19539 2012-04-18 David S. Miller <davem@davemloft.net>
19541 * sysdeps/generic/memcopy.h (reg_char): Delete.
19542 * debug/strcat_chk.c: Use char, not reg_char.
19543 * debug/strcpy_chk.c: Likewise.
19544 * debug/strncat_chk.c: Likewise.
19545 * debug/strncpy_chk.c: Likewise.
19546 * string/memchr.c: Likewise.
19547 * string/memrchr.c: Likewise.
19548 * string/rawmemchr.c: Likewise.
19549 * string/strcat.c: Likewise.
19550 * string/strchr.c: Likewise.
19551 * string/strchrnul.c: Likewise.
19552 * string/strcmp.c: Likewise.
19553 * string/strcpy.c: Likewise.
19554 * string/strncat.c: Likewise.
19555 * string/strncmp.c: Likewise.
19556 * string/strncpy.c: Likewise.
19558 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19560 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19561 __builtin_memcopy is called when src and dest ranges are known to not
19564 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19566 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19567 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19568 fwd_align_merge macro call.
19569 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19570 bwd_align_merge macro call.
19571 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19573 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19575 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19576 bwd_align_merge macros.
19577 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19578 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19579 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19581 2012-04-18 David S. Miller <davem@davemloft.net>
19583 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19585 2012-04-18 Andreas Jaeger <aj@suse.de>
19588 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19589 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19590 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19592 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19593 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19594 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19596 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19597 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19598 Adjust for changed ldbl-128 files.
19600 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19601 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19602 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19604 2012-04-17 David S. Miller <davem@davemloft.net>
19606 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19608 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19610 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19611 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19612 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19613 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19614 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19615 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19617 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19620 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19621 * math/libm-test.inc: Add ilogb errno and exception tests.
19622 * math/w_ilogb.c: New file: ilogb wrapper.
19623 * math/w_ilogbf.c: New file: ilogbf wrapper.
19624 * math/w_ilogbl.c: New file: ilogbl wrapper.
19625 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19626 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19627 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19628 exception being thrown with 0.0 as argument.
19629 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19630 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19631 exception being thrown with 0.0 as argument.
19632 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19633 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19634 exception being thrown with 0.0 as argument.
19635 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19636 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19637 exception being thrown with 0.0 as argument.
19638 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19639 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
19640 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
19641 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19642 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19643 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19644 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19645 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19646 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19648 2012-04-17 Petr Baudis <pasky@ucw.cz>
19650 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19653 2012-04-16 Marek Polacek <polacek@redhat.com>
19655 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19657 2012-04-16 Marek Polacek <polacek@redhat.com>
19659 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19660 operands of fdivp instruction.
19662 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19664 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19665 * elf/tst-auditmod3b.c: Likewise.
19666 * elf/tst-auditmod4b.c: Likewise.
19667 * elf/tst-auditmod5b.c: Likewise.
19668 * elf/tst-auditmod6b.c: Likewise.
19669 * elf/tst-auditmod6c.c: Likewise.
19670 * elf/tst-auditmod7b.c: Likewise.
19671 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19672 * sysdeps/x86_64/preconfigure.in: Likewise.
19673 * sysdeps/x86_64/preconfigure: Regenerated.
19675 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19677 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19680 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
19682 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19683 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19685 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19688 * locale/iso-639.def: Fix gl language name. Spotted by
19691 2012-04-12 Roland McGrath <roland@hack.frob.com>
19694 * libio/libio.h (__io_write_fn): Update comment.
19696 2012-04-12 Petr Baudis <pasky@ucw.cz>
19699 * stdio.texi (Hook Functions): The user provided writer function
19700 is not allowed to return -1.
19702 2012-04-11 David S. Miller <davem@davemloft.net>
19704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19706 2012-04-11 Mike Frysinger <vapier@gentoo.org>
19708 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19709 Add a leading slash to rtkaio.
19711 2012-04-11 Jim Meyering <meyering@redhat.com>
19714 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19715 It is not necessarily an error to ignore fwrite's return
19716 value. One can reliably use ferror to test for errors after
19719 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19721 * bits/types.h (__snseconds_t): New type.
19722 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19724 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19725 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19726 (__SNSECONDS_T_TYPE): Likewise.
19727 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19728 (__SNSECONDS_T_TYPE): Likewise.
19729 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19730 (__SNSECONDS_T_TYPE): Likewise.
19732 2012-04-10 Andreas Jaeger <aj@suse.de>
19735 * manual/time.texi (Processor Time): Return type of times is
19736 elapsed real time since an arbitrary point in the past.
19737 (CPU Time): Move CLK_TCK from here...
19738 (Processor Time): ...to here. Correct description.
19739 * manual/conf.texi (Constants for Sysconf): Correct description of
19742 2012-04-10 David S. Miller <davem@davemloft.net>
19745 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19746 where the is a gap between DT_REL(A) and DT_JMPREL.
19748 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19750 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19751 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19752 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19754 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19756 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19757 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19758 (dl_main): Handle --inhibit-cache.
19759 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19761 * elf/dl-load.c (_dl_map_object): Use it.
19762 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19764 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19767 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19768 (__ieee754_powl): Saturate large exponents rather than testing for
19769 overflow of y*log2(x).
19770 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19771 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19775 * math/s_ctan.c: Include <float.h>.
19776 (__ctan): Avoid internal overflow or cancellation in calculating
19778 * math/s_ctanf.c: Likewise.
19779 * math/s_ctanl.c: Likewise.
19780 * math/s_ctanh.c: Likewise.
19781 * math/s_ctanhf.c: Likewise.
19782 * math/s_ctanhl.c: Likewise.
19783 * math/libm-test.inc (ctan_test): Add more tests.
19784 (ctanh_test): Likewise.
19785 * sysdeps/i386/fpu/libm-test-ulps: Update.
19786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19788 2012-04-09 Andreas Jaeger <aj@suse.de>
19791 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19792 is an optional BSD extension.
19795 * manual/stdio.texi (Opening Streams): Document additional fopen
19798 2012-04-09 Roland McGrath <roland@hack.frob.com>
19800 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19801 %eax without telling the compiler.
19803 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19806 * manual/install.texi: Use sourceware.org.
19808 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19811 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19812 (__ieee754_pow): Generate overflow and underflow using huge*huge
19813 and tiny*tiny rather than just returning constant infinity or zero
19814 for large exponents.
19815 * math/libm-test.inc (pow_test): Require overflow exceptions for
19816 applicable cases of large exponents.
19819 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19820 (__ieee754_pow): Use iterative multiplication algorithm only for
19821 integer exponents with absolute value below 1024. Check for odd
19822 integer exponents when using algorithm for real exponents.
19823 * math/libm-test.inc (pow_test): Add more tests.
19824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19826 2012-04-08 Joseph Myers <joseph@codesourcery.com>
19829 * math/libm-test.inc (exp_test): Do not allow overflow exception
19832 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19835 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19836 instead of __kernel_standard_f.
19838 2012-04-08 Mike Frysinger <vapier@gentoo.org>
19840 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19841 * sysdeps/x86_64/memset_chk.S: Likewise.
19843 2012-04-08 Andreas Jaeger <aj@suse.de>
19846 * manual/startup.texi (Environment Access): Describe return value
19847 for putenv and setenv.
19850 * manual/filesys.texi (Directory Entries): Add description for
19854 * manual/filesys.texi (Directory Entries): Clarify that it's file
19855 system not operating system in the description of DT_UNKNOWN.
19858 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19860 2012-04-08 Stephen Compall <s11@member.fsf.org>
19863 * manual/llio.texi (Opening and Closing Files): Add cross
19864 reference to explain mode argument.
19866 2012-04-07 Mike Frysinger <vapier@gentoo.org>
19868 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19869 * sysdeps/x86_64/memset_chk.S: Likewise.
19871 2012-04-07 David S. Miller <davem@davemloft.net>
19873 * elf/elf.h (R_SPARC_WDISP10): Define.
19874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19876 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19877 R_SPARC_SIZE64 and R_SPARC_H34.
19879 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19881 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19882 conditions and remove no longer applicable assertion.
19884 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19886 * bits/byteswap.h: Include <features.h>.
19887 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19888 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19890 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19892 * bits/byteswap.h (__bswap_16): Removed.
19893 Include <bits/byteswap-16.h> to get __bswap_16.
19894 * sysdeps/i386/bits/byteswap.h: Likewise.
19895 * sysdeps/s390/bits/byteswap.h: Likewise.
19896 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19897 * bits/byteswap-16.h: New file.
19898 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19899 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19900 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19901 * string/Makefile (headers): Add bits/byteswap-16.h.
19903 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19906 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19908 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19909 * nss/tst-nss-static.c: New.
19911 2012-04-06 Robert Millan <rmh@gnu.org>
19914 * manual/llio.texi (File Position Primitive): lseek
19915 refers to WHENCE when it really means OFFSET.
19917 2012-04-06 Andreas Jaeger <aj@suse.de>
19919 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19920 strncmp declarations.
19922 * abilist/libc.abilist: Add __poll and __ppoll.
19924 2012-04-05 David S. Miller <davem@davemloft.net>
19926 * scripts/check-local-headers.sh: Accept a host triplet in the
19927 path matched by the exclude regexp.
19929 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19931 * sysdeps/powerpc/powerpc32/dl-machine.h
19932 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19933 * sysdeps/s390/s390-32/dl-machine.h
19934 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19935 * sysdeps/sparc/sparc32/dl-machine.h
19936 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19937 * sysdeps/sparc/sparc64/dl-machine.h
19938 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19940 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19942 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19943 undefined symbol errors.
19945 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19948 2012-04-05 Michael Matz <matz@suse.de>
19951 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19953 2012-04-05 Andreas Jaeger <aj@suse.de>
19956 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19959 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19961 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19962 which ROUND is no valid rounding mode.
19964 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19966 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19968 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19970 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19972 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19973 an exception using FPU order intentionally.
19975 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19977 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19978 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19979 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19980 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19982 2012-04-05 Simon Josefsson <simon@josefsson.org>
19985 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19986 EINVAL when BUFLEN is too smal.
19988 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19991 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19992 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19994 2012-04-03 Andreas Jaeger <aj@suse.de>
19997 * manual/setjmp.texi (System V contexts): Fix sentence.
20000 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20001 New macro for this case.
20002 [!__GNUC__] (__bswap_64): New inline function for this case.
20003 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20004 * bits/byteswap.h: Likewise.
20005 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20006 ull, guard with __GLIBC_HAVE_LONG_LONG.
20008 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20009 __GLIBC_HAVE_LONG_LONG.
20011 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20012 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20014 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20017 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20018 inptr and inend, rather than using last_ch.
20020 2012-04-02 David S. Miller <davem@davemloft.net>
20022 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20023 * stdio-common/printf-parse.h (read_int): Change return type to
20024 'int', return -1 on INT_MAX overflow.
20025 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20026 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20027 overflows INT_MAX. Check for overflow of in-format-string precision
20028 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20029 SIZE_MAX not INT_MAX for integer overflow test.
20030 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20031 skip the construct in the format string but do not record anything.
20032 * stdio-common/bug22.c: Adjust to test both width/prevision
20033 INT_MAX overflow as well as total length INT_MAX overflow. Check
20034 explicitly for proper errno values.
20036 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20038 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20040 * string/test-strcmp.c [! WIDE]: Likewise.
20041 * time/tst-mktime2.c: Likewise for INT_MAX.
20042 * string/test-string.h: #include <sys/param.h> for MIN.
20044 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20045 * sysdeps/i386/init-first.c (init): Likewise.
20046 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20047 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20048 * sysdeps/sh/init-first.c (init): Likewise.
20050 2012-04-01 Ulrich Drepper <drepper@gmail.com>
20052 * po/ru.po: Update from translation team.
20053 * po/vi.po: Likewise.
20055 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20057 * resolv/nss_dns/dns-host.c: Merge copyright years.
20059 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20061 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20062 Optimize memcpy with prefetch if
20063 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20064 src, dst pointers have unequal 16 byte alignments.
20066 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20069 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20070 from a CNAME entry and return the minimum ttl for the query.
20071 (gaih_getanswer_slice): Likewise.
20073 2012-03-30 Jeff Law <law@redhat.com>
20075 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20077 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20078 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20080 * resolv/nss_dns/dns-host.c: Update copyright year.
20082 2012-03-30 Ulrich Drepper <drepper@gmail.com>
20084 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20085 requests to save a system call. Fix check that all bytes are sent.
20087 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20088 comments for sendmmsg.
20090 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20093 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20094 with only 1 character between 0x0041 and 0x01b0.
20095 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20096 * wcsmbs/tst-mbsnrtowcs.c: New file.
20098 2012-03-29 David S. Miller <davem@davemloft.net>
20100 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20101 small copies by hand.
20103 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20106 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20107 _nss_compat_initgroups_dyn): Fall back to malloc/free
20108 for large group memberships.
20110 2012-03-28 David S. Miller <davem@davemloft.net>
20112 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20113 that branches into memcpy.
20114 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20115 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20116 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20117 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20118 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20120 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20121 implementation too.
20122 * sysdeps/sparc/mempcpy.S: New file.
20124 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20125 the IFUNC routine in the libc case.
20126 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20128 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20129 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20130 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20131 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20132 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20133 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20134 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20135 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20137 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20138 loop to 256 bytes instead of 64 bytes and fix test signedness.
20140 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20141 * sysdeps/sparc/sparc32/Makefile: rather than here...
20142 * sysdeps/sparc/sparc64/Makefile: and here.
20144 2012-03-28 Ulrich Drepper <drepper@gmail.com>
20146 * malloc/mallocbug.c: Avoid warnings about unused variables.
20148 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20151 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20152 in the right place. Discard and retry query if response is
20153 larger than input buffer size.
20155 2012-03-28 Joseph Myers <joseph@codesourcery.com>
20160 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20161 x for large integer exponent.
20162 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20163 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20164 sign of result as needed afterwards.
20165 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20166 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20167 result for underflowing pow the same as for overflow.
20168 (__kernel_standard_l): Handle powl overflow and underflow here
20169 rather than calling __kernel_standard.
20170 * math/libm-test.inc (pow_test): Add more tests.
20185 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20186 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20187 (__kernel_standard_l): New function.
20188 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20190 * math/w_acosl.c (__acosl): Likewise.
20191 * math/w_asinl.c (__asinl): Likewise.
20192 * math/w_atan2l.c (__atan2l): Likewise.
20193 * math/w_atanhl.c (__atanhl): Likewise.
20194 * math/w_coshl.c (__coshl): Likewise.
20195 * math/w_exp10l.c (__exp10l): Likewise.
20196 * math/w_exp2l.c (__exp2l): Likewise.
20197 * math/w_fmodl.c (__fmodl): Likewise.
20198 * math/w_hypotl.c (__hypotl): Likewise.
20199 * math/w_j0l.c (__j0l, __y0l): Likewise.
20200 * math/w_j1l.c (__j1l, __y1l): Likewise.
20201 * math/w_jnl.c (__jnl, __ynl): Likewise.
20202 * math/w_lgammal.c (__lgammal): Likewise.
20203 * math/w_log10l.c (__log10l): Likewise.
20204 * math/w_log2l.c (__log2l): Likewise.
20205 * math/w_logl.c (__logl): Likewise.
20206 * math/w_powl.c (__powl): Likewise.
20207 * math/w_remainderl.c (__remainderl): Likewise.
20208 * math/w_scalbl.c (sysv_scalbl): Likewise.
20209 * math/w_sinhl.c (__sinhl): Likewise.
20210 * math/w_sqrtl.c (__sqrtl): Likewise.
20211 * math/w_tgammal.c (__tgammal): Likewise.
20212 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20213 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20214 * math/libm-test.inc (acos_test): Add more tests.
20215 (acosh_test): Likewise.
20216 (asin_test): Likewise.
20217 (atanh_test): Likewise.
20218 (exp_test): Likewise.
20219 (exp10_test): Likewise.
20220 (exp2_test): Likewise.
20221 (expm1_test): Likewise.
20222 (lgamma_test): Likewise.
20223 (log_test): Likewise.
20224 (log10_test): Likewise.
20225 (log1p_test): Likewise.
20226 (log2_test): Likewise.
20227 (pow_test): Do not allow some spurious overflow exceptions.
20228 (sqrt_test): Add more tests.
20229 (tgamma_test): Likewise.
20230 (y0_test): Likewise.
20231 (y1_test): Likewise.
20232 (yn_test): Likewise.
20234 2012-03-27 Anton Blanchard <anton@samba.org>
20236 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20238 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20239 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20240 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20242 2012-03-27 David S. Miller <davem@davemloft.net>
20244 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20246 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20247 have-as-vis3 check.
20249 2012-03-27 Andreas Jaeger <aj@suse.de>
20251 * sysdeps/x86_64/elf/configure.in: Moved to ...
20252 * sysdeps/x86_64/configure.in: ... here.
20253 * sysdeps/x86_64/elf/start.S: Moved to ...
20254 * sysdeps/x86_64/start.S: ... here.
20255 * sysdeps/x86_64/elf/configure: Delete.
20257 * sysdeps/x86_64/configure.in: Merge contents from
20258 sysdeps/i386/configure.in (without i686 check).
20260 * sysdeps/i386/elf/Versions: Merge into ...
20261 * sysdeps/i386/Versions: ... this.
20262 * sysdeps/i386/elf/Versions: Delete file.
20263 * sysdeps/i386/elf/start.S: Moved to ...
20264 * sysdeps/i386/start.S: ...here.
20265 * sysdeps/i386/elf/configure.in: Merge into...
20266 * sysdeps/i386/configure.in: ...here.
20267 * sysdeps/i386/elf/configure.in: Delete file.
20268 * sysdeps/i386/elf/configure: Delete file.
20270 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20271 * debug/backtracesyms.c: ... here.
20272 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20273 * debug/backtracesymsfd.c: ... here.
20274 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20275 * sysdeps/generic/ifunc-sel.h: ... here.
20277 * sysdeps/unix/i386/start.c: Delete file.
20278 * sysdeps/unix/sparc/start.c: Delete file.
20279 * sysdeps/unix/start.c: Delete file.
20281 * sysdeps/sh/elf/configure.in: Moved to ...
20282 * sysdeps/sh/configure.in: ... here.
20283 * sysdeps/sh/elf/start.S: Moved to ...
20284 * sysdeps/sh/start.S: ... here.
20285 * sysdeps/sh/elf/configure: Delete file.
20287 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20288 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20289 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20290 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20291 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20292 * sysdeps/powerpc/powerpc64/start.S: here.
20293 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20294 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20295 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20296 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20297 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20299 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20300 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20301 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20302 * sysdeps/powerpc/powerpc32/start.S: ... here.
20303 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20304 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20305 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20307 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20308 * sysdeps/powerpc/ifunc-sel.h: ... here.
20309 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20310 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20312 * sysdeps/sparc/elf/configure.in: Moved to ...
20313 * sysdeps/sparc/configure.in: ... here.
20314 * sysdeps/sparc/elf/configure: Delete file.
20315 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20316 * sysdeps/sparc/sparc32/start.S: ... here.
20317 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20318 * sysdeps/sparc/sparc64/start.S: ... here.
20319 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20320 * sysdeps/sparc/sparc32/Makefile: ... this.
20321 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20322 * sysdeps/sparc/sparc64/Makefile: ... this.
20324 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20325 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20326 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20327 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20328 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20329 * sysdeps/s390/s390-32/setjmp.S: ... here.
20330 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20331 * sysdeps/s390/s390-32/configure.in: ... here.
20332 * sysdeps/s390/s390-32/elf/configure: Delete file.
20333 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20334 * sysdeps/s390/s390-32/start.S: ... here.
20336 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20337 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20338 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20339 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20340 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20341 * sysdeps/s390/s390-64/setjmp.S: ... here.
20342 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20343 * sysdeps/s390/s390-64/configure.in: ... here
20344 * sysdeps/s390/s390-64/elf/configure: Delete file.
20345 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20346 * sysdeps/s390/s390-64/start.S: ... here.
20347 * sysdeps/s390/s390-64/elf/configure: Delete.
20349 * configure.in: Remove support for elf directories in sysdeps.
20351 * configure: Regenerated.
20352 * sysdeps/i386/configure: Regenerated.
20353 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20354 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20355 * sysdeps/s390/s390-32/configure: Regenerated.
20356 * sysdeps/s390/s390-64/configure: Regenerated.
20357 * sysdeps/sh/configure: Regenerated.
20358 * sysdeps/sparc/configure: Regenerated.
20359 * sysdeps/x86_64/configure: Regenerated.
20361 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20365 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20366 denormal result into account.
20368 2012-03-25 Roland McGrath <roland@hack.frob.com>
20370 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20371 Reported by Allan McRae <allan@archlinux.org>.
20373 2012-03-23 Jeff Law <law@redhat.com>
20375 * nss/getnssent.c (__nss_getent): Fix typo.
20377 2012-03-23 David S. Miller <davem@davemloft.net>
20379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20381 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20383 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20384 to pad to uint64_t for each field.
20385 (dl_tls_index): Replace unsigned long with uint64_t.
20387 2012-03-23 Daniel Jacobowitz <dmj@google.com>
20388 Paul Pluzhnikov <ppluzhnikov@google.com>
20391 * grp/Makefile (otherlibs): Don't set it.
20392 * inet/Makefile (otherlibs): Likewise.
20393 * login/Makefile (otherlibs): Likewise.
20394 * nscd/Makefile (otherlibs): Likewise.
20395 * posix/Makefile (otherlibs): Likewise.
20396 * pwd/Makefile (otherlibs): Likewise.
20397 * rt/Makefile (otherlibs): Likewise.
20398 * sunrpc/Makefile (otherlibs): Likewise.
20399 * nss/Makefile (otherlibs): Likewise.
20400 Add libnss_files to routines and static-only-routines.
20401 ($(objpfx)getent): Remove rule.
20402 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20403 static-only-routines.
20405 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20408 * math/s_cexp.c: Include <float.h>.
20409 (__cexp): Handle exp result overflowing not necessarily
20410 overflowing both real and imaginary parts of result.
20411 * math/s_cexpf.c: Likewise.
20412 * math/s_cexpl.c: Likewise.
20413 * math/libm-test.inc (cexp_test): Add more tests.
20414 * sysdeps/i386/fpu/libm-test-ulps: Update.
20415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20417 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20419 * include/link.h (ELFW): New macro.
20420 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20421 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20423 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20425 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20428 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20430 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20432 (struct La_x32_retval): Likewise.
20434 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20436 * sysdeps/x86_64/preconfigure.in: New file.
20437 * sysdeps/x86_64/preconfigure: New generated file.
20439 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20442 * math/e_exp2l.c: Include <float.h>.
20443 (__ieee754_exp2l): Handle overflow and underflow cases
20444 separately. Only pass fractional part of argument to
20446 * math/libm-test.inc (exp2_test): Add more tests.
20448 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20449 negating x to take absolute value.
20450 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20452 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20453 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20455 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20456 computing low part if x was negated.
20457 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20459 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20461 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20462 la_x32_gnu_pltexit.
20463 (pltexit): Cast int_retval to ptrdiff_t.
20464 * elf/tst-auditmod3b.c: Likewise.
20465 * elf/tst-auditmod4b.c: Likewise.
20466 * elf/tst-auditmod5b.c: Likewise.
20467 * elf/tst-auditmod6b.c: Likewise.
20468 * elf/tst-auditmod6c.c: Likewise.
20469 * elf/tst-auditmod7b.c: Likewise.
20471 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20472 and x32_gnu_pltexit.
20474 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20475 __ELF_NATIVE_CLASS.
20476 (La_x32_regs): New macro.
20477 (La_x32_retval): Likewise.
20478 (la_x32_gnu_pltenter): New function prototype.
20479 (la_x32_gnu_pltexit): Likewise.
20481 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20483 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20488 * configure.in (libc_cv_cc_nofma): Check for option to disable
20489 generation of FMA instructions.
20490 * configure: Regenerate.
20491 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20492 * sysdeps/ieee754/dbl-64/Makefile: New file.
20493 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20494 Remove brandred-fma4.
20495 (CFLAGS-brandred-fma4.c): Remove.
20496 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20497 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20499 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20502 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20504 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20505 LLONG_MAX != LONG_MAX.
20506 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20507 (_fitoa_word): Likewise.
20508 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20509 LLONG_MAX != LONG_MAX.
20510 * stdio-common/_itowa.h: Include <_itoa.h>.
20511 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20512 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20513 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20514 only if not defined.
20515 (_ITOA_WORD_TYPE): Likewise.
20516 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20517 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20519 2012-03-21 David S. Miller <davem@davemloft.net>
20521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20523 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20525 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20526 of x86_64 when setting libc_cv_slibdir, libdir and
20528 * sysdeps/unix/sysv/linux/configure: Regenerated.
20530 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20532 * manual/lang.texi (Old Varargs): Remove section.
20533 (How Variadic): Update menu.
20534 (va_start): Do not mention varargs.h.
20536 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20537 Joseph Myers <joseph@codesourcery.com>
20539 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20541 * configure: Regenerated.
20543 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20545 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20546 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20549 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20552 * Makefile (files-for-dist): Remove NOTES.
20553 (NOTES): Remove rule.
20554 * README: Don't refer to NOTES.
20555 * manual/creature.texi: Don't include macros.texi.
20556 * manual/intro.texi (creature.texi): Remove comment referring to
20559 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20560 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20561 * configure: Regenerated.
20562 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20563 LIBC_TRY_CC_OPTION.
20564 (libc_cv_as_i686): Likewise.
20565 (libc_cv_cc_avx): Likewise.
20566 (libc_cv_cc_sse2avx): Likewise.
20567 (libc_cv_cc_fma4): Likewise.
20568 (libc_cv_cc_novzeroupper): Likewise.
20569 * sysdeps/i386/configure: Regenerated.
20572 * sysdeps/i386/fpu/s_cexp.S: Remove.
20573 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20574 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20575 * math/libm-test.inc (cexp_test): Add more tests.
20576 * sysdeps/i386/fpu/libm-test-ulps: Update.
20577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20579 2012-03-21 Allan McRae <allan@archlinux.org>
20581 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20583 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20586 * math/w_exp2.c: Do not include <float.h>.
20587 (o_threshold, u_threshold): Remove.
20588 (__exp2): Calculate result before checking finiteness and calling
20590 * math/w_exp2f.c: Likewise.
20591 * math/w_exp2l.c: Likewise.
20592 * math/libm-test.inc (exp2_test): Require overflow exception for
20596 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20597 range of signed 64-bit integers before using fistpll. Remove
20598 checks for whether integers fit in mantissa bits.
20599 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20600 the range of signed 32-bit integers before using fistpl. Remove
20601 checks for whether integers fit in mantissa bits.
20602 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20603 (__ieee754_powl): Test for y outside the range of signed 64-bit
20604 integers before using fistpll. Reduce 64-bit values to 63-bit
20606 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20607 divide-by-zero is raised for zero to large negative powers.
20608 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20609 (__ieee754_powl): Test for y outside the range of signed 64-bit
20610 integers before using fistpll. Reduce 64-bit values to 63-bit
20612 * math/libm-test.inc (pow_test): Add more tests.
20614 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20616 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20617 <stdio-common/_itoa.h>.
20618 * debug/segfault.c: Likewise.
20619 * elf/dl-cache.c: Likewise.
20620 * elf/dl-minimal.c: Likewise.
20621 * elf/dl-misc.c: Likewise.
20622 * elf/dl-sysdep.c: Likewise.
20623 * elf/dl-version.c: Likewise.
20624 * elf/rtld.c: Likewise.
20625 * hurd/hurdsock.c: Likewise.
20626 * hurd/lookup-retry.c: Likewise.
20627 * malloc/malloc.c: Likewise.
20628 * malloc/mtrace.c: Likewise.
20629 * nscd/nscd_getgr_r.c: Likewise.
20630 * nscd/nscd_getpw_r.c: Likewise.
20631 * nscd/nscd_getserv_r.c: Likewise.
20632 * posix/getopt_init.c: Likewise.
20633 * posix/wordexp.c: Likewise.
20634 * stdio-common/_itoa.c: Likewise.
20635 * stdio-common/printf_fphex.c: Likewise.
20636 * stdio-common/vfprintf.c: Likewise.
20637 * string/_strerror.c: Likewise.
20638 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20639 * sysdeps/i386/i686/hp-timing.h: Likewise.
20640 * sysdeps/mach/_strerror.c: Likewise.
20641 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20642 * sysdeps/mach/hurd/sethostid.c: Likewise.
20643 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20644 * sysdeps/mach/xpg-strerror.c: Likewise.
20645 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20646 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20647 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20648 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20649 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20650 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20651 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20652 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20653 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20654 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20655 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20656 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20657 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20658 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20659 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20660 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20661 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20662 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20663 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20664 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20665 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20667 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20669 * stdio-common/_itoa.h: Moved to ...
20670 * sysdeps/generic/_itoa.h: Here.
20672 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20674 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20675 instead of "_itoa.h" and "_itowa.h".
20676 * stdio-common/vfprintf.: Likewise.
20678 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20680 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20682 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20683 (__signbit): Likwise.
20684 (llrintf): Likwise.
20687 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20689 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20692 2012-03-20 Joseph Myers <joseph@codesourcery.com>
20694 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20695 OVERFLOW_EXCEPTION_OK.
20696 * math/libm-test.inc ("Philosophy"): Update comment about
20698 (OVERFLOW_EXCEPTION): Define.
20699 (OVERFLOW_EXCEPTION_OK): Likewise.
20700 (INVALID_EXCEPTION_OK): Renumber.
20701 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20702 (IGNORE_ZERO_INF_SIGN): Likewise.
20703 (test_exceptions): Handle FE_OVERFLOW.
20704 (exp10_test): Expect overflow exceptions.
20705 (exp2_test): Likewise.
20706 (expm1_test): Likewise.
20707 (nextafter_test): Likewise.
20708 (pow_test): Likewise.
20709 (scalbn_test): Likewise.
20710 (scalbln_test): Likewise.
20712 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20714 * sysdeps/x86_64/bits/atomic.h
20715 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20717 (atomic_exchange_acq): Likewise.
20718 (__arch_exchange_and_add_body): Likewise.
20719 (__arch_add_body): Likewise.
20720 (atomic_add_negative): Likewise.
20721 (atomic_add_zero): Likewise.
20723 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20725 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
20726 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20728 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20730 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20731 Check __x86_64__ instead of __WORDSIZE.
20733 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20735 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20737 2012-03-19 David S. Miller <davem@davemloft.net>
20739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20741 * sysdeps/sparc/fpu/fenv_private.h: New file.
20742 * sysdeps/sparc/fpu/math_private.h: Use it.
20743 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20745 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20746 (libc_feholdexcept_setroundl): Remove.
20747 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20749 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20750 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20752 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20754 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20755 int64_t instead of long int.
20756 (INSERT_WORDS64): Likwise.
20758 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20760 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20761 _Unwind_GetCFA return to _Unwind_Ptr first.
20763 2012-03-19 Joseph Myers <joseph@codesourcery.com>
20766 * math/s_clog.c: Include <float.h>.
20767 (__clog): Scale large or subnormal inputs.
20768 * math/s_clogf.c: Likewise.
20769 * math/s_clogl.c: Likewise.
20770 * math/s_clog10.c: Include <float.h>.
20771 (M_LOG10_2): Define.
20772 (__clog10): Scale large or subnormal inputs.
20773 * math/s_clog10f.c: Likewise.
20774 * math/s_clog10l.c: Likewise.
20775 * math/libm-test.inc (clog_test): Add more tests.
20776 (clog10_test): Likewise.
20777 * sysdeps/i386/fpu/libm-test-ulps: Update.
20778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20781 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20783 * math/libm-test.inc (atan2_test): Add another test.
20785 * Makerules (common-objdir-compile): Remove.
20786 * sysdeps/unix/Makefile (config-generated): Do not add
20787 $(unix-generated) to variable.
20788 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20789 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20791 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20793 [generic bits/local_lim.h] (before-compile): Do not append to
20795 [generic bits/local_lim.h] (common-generated): Likewise.
20796 [generic sys/param.h] (before-compile): Do not append to variable.
20797 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20798 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20799 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20800 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20802 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20803 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20804 [generic sys/param.h] ($(addprefix
20805 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20806 [generic sys/param.h] (common-generated): Do not append to
20808 [generic sys/param.h] (sysdep_headers): Likewise.
20809 [generic bits/errno.h] (before-compile): Do not append to
20811 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20813 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20814 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20815 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20816 [generic bits/errno.h] (common-generated): Do not append to
20818 [generic bits/ioctls.h] (before-compile): Do not append to
20820 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20822 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20823 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20824 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20826 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20827 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20828 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20829 [generic bits/ioctls.h] (common-generated): Do not append to
20831 [generic sys/syscall.h] (syscall.h): Remove variable.
20832 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20834 [generic sys/syscall.h] (before-compile): Do not append to
20836 [generic sys/syscall.h] (common-generated): Likewise.
20837 * sysdeps/unix/errnos-tmpl.c: Remove file.
20838 * sysdeps/unix/errnos.awk: Likewise.
20839 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20840 * sysdeps/unix/ioctls.awk: Likewise.
20841 * sysdeps/unix/mk-local_lim.c: Likewise.
20842 * sysdeps/unix/snarf-ioctls: Likewise.
20844 2012-03-19 Richard Henderson <rth@twiddle.net>
20846 * sysdeps/i386/fpu/fenv_private.h: New file.
20847 * sysdeps/i386/fpu/math_private.h: Use it.
20848 (math_opt_barrier, math_force_eval): Remove.
20849 (libc_feholdexcept_setround_53bit): Remove.
20850 (libc_feupdateenv_53bit): Remove.
20851 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20852 (math_opt_barrier, math_force_eval): Remove.
20853 (libc_feholdexcept): Remove.
20854 (libc_feholdexcept_setround): Remove.
20855 (libc_fetestexcept, libc_fesetenv): Remove.
20856 (libc_feupdateenv_test): Remove.
20857 (libc_feupdateenv, libc_feholdsetround): Remove.
20858 (libc_feresetround): Remove.
20860 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20861 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20863 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20864 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20865 (libc_feupdateenv_testl): New.
20866 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20867 (libc_feupdateenv_testf): New.
20868 (libc_feupdateenv): Use libc_feupdateenv_test.
20869 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20870 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20872 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20873 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20874 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20875 (libc_feresetround_noex): New.
20876 (libc_feresetround_noexf): New.
20877 (libc_feresetround_noexl): New.
20878 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20879 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20880 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20881 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20883 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20884 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20886 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20887 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20888 SET_RESTORE_ROUND_NOEX.
20889 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20890 SET_RESTORE_ROUND_NOEXF.
20891 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20892 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20893 (libc_feholdsetroundf): New.
20894 (libc_feresetround, libc_feresetroundf): New.
20896 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20897 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20898 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20900 * sysdeps/generic/math_private.h: Include <fenv.h>.
20901 (default_libc_feholdexcept): New.
20902 (default_libc_feholdexcept_setround): New.
20903 (default_libc_fesetenv, default_libc_feupdateenv): New.
20904 (libc_feholdexcept): Only define if undefined.
20905 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20906 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20907 (libc_feholdexcept_setroundl): Likewise.
20908 (libc_feholdexcept_setround_53bit): Likewise.
20909 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20910 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20911 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20912 (libc_feupdateenv_53bit): Likewise.
20913 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20914 (libc_feholdexcept): Convert from macro to inline function.
20915 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20916 (libc_fesetenv, libc_feupdateenv): Likewise.
20918 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20919 not previously defined.
20920 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20921 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20922 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20923 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20924 * sysdeps/ieee754/flt-32/math_private.h: New file.
20925 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20926 math_private.h below SET_FLOAT_WORD.
20927 (__isnan, __isinf_ns, __finite): Remove.
20928 (__isnanf, __isinf_nsf, __finitef): Remove.
20930 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20934 2012-03-17 David S. Miller <davem@davemloft.net>
20937 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20940 2012-03-16 David S. Miller <davem@davemloft.net>
20942 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20946 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20948 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20949 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20950 sysdep_routines when subdir is sysvipc.
20951 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20952 __getshmlba helper.
20954 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20956 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20958 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20961 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20963 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20964 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20965 (__lround): Renamed to ...
20966 (__llround): This. Replace long int with long long int.
20967 Define lround functions as aliases of llround functions.
20968 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20970 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20972 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20973 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20974 adresses to uintptr_t. Replace "long int" and "unsigned long
20975 int" with "greg_t" on va_arg.
20977 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20979 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20980 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20982 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20983 Move e_machine check before EI_CLASS check. Handle x32
20984 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20985 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20986 SKIP_EM_IA_64 and include
20987 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20989 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20990 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20991 (add_system_dir): New macro.
20993 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20994 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20996 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21007 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21009 * math/w_j0f.c (j0f): Likewise.
21011 * math/w_j0l.c (__j0l): Likewise.
21013 * math/w_j1.c (j1): Likewise.
21015 * math/w_j1f.c (j1f): Likewise.
21017 * math/w_j1l.c (__j1l): Likewise.
21019 * math/w_jn.c (jn): Likewise.
21021 * math/w_jnf.c (jnf): Likewise.
21023 * math/w_jnl.c (__jnl): Likewise.
21025 * math/libm-test.inc (j0_test): Add more tests.
21026 (j1_test): Likewise.
21027 (jn_test): Likewise. Add trailing semicolon to existing test.
21028 (y0_test): Likewise.
21029 (y1_test): Likewise.
21030 * sysdeps/i386/fpu/libm-test-ulps: Update.
21031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21035 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21036 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21037 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21038 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21039 (__tanl): Set errno for infinite argument.
21040 * sysdeps/i386/fpu/mptan.c: Remove.
21041 * sysdeps/i386/fpu/s_tan.S: Likewise.
21042 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21043 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21044 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21045 * math/libm-test.inc (tan_test): Add more tests and enable more
21046 tests for double and long double.
21047 * sysdeps/i386/fpu/libm-test-ulps: Update.
21048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21050 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21052 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21053 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21055 2012-03-16 Roland McGrath <roland@hack.frob.com>
21057 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21058 * configure.in: Use it for both main tree and add-ons.
21059 * configure: Regenerated.
21061 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21063 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21065 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21067 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21071 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21072 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21073 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21074 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21075 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21077 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21078 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21079 != 0 for prec == 2.
21080 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21081 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21082 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21083 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21084 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21085 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21086 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21087 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21088 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21089 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21090 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21091 * math/libm-test.inc (cos_test): Add more tests and enable more
21092 tests for long double.
21093 (sin_test): Likewise.
21094 (sincos_test): Likewise.
21095 * sysdeps/i386/fpu/libm-test-ulps: Update.
21096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21098 2012-03-16 David S. Miller <davem@davemloft.net>
21100 * sysdeps/sparc/fpu/math_private.h: New file.
21102 2012-03-15 David S. Miller <davem@davemloft.net>
21104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21114 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21118 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21119 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21121 * sysdeps/sparc/sparc-ifunc.h: New file.
21122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21149 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21150 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21160 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21161 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21162 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21163 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21164 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21165 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21167 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21169 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21173 2012-03-15 Andreas Jaeger <aj@suse.de>
21176 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21177 ieee754/flt-32 implementation for sin, cos and sincos.
21178 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21179 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21180 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21181 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21182 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21183 ieee754/flt-32 implementation for tan.
21185 * math/libm-test.inc (cos_test): Enable some large input tests for
21187 (sin_test): Likewise.
21188 (sincos_test): Likewise.
21189 (tan_test): Add tests for large input.
21191 * sysdeps/i386/fpu/libm-test-ulps: Update.
21193 2012-03-15 Andreas Jaeger <aj@suse.de>
21196 * math/libm-test.inc (cos_test): Add more test cases.
21197 (sin_test): Likewise.
21198 (sincos_test): Likewise.
21200 2012-03-15 Andreas Jaeger <aj@suse.de>
21203 * math/libm-test.inc (cos_test): Add a test case for large input
21205 (sin_test): Likewise.
21206 (sincos_test): Likewise.
21208 2012-03-15 Andreas Jaeger <aj@suse.de>,
21209 Joseph Myers <joseph@codesourcery.com>
21212 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21213 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21214 * sysdeps/i386/fpu/branred.c: Likewise.
21215 * sysdeps/i386/fpu/dosincos.c: Likewise.
21216 * sysdeps/i386/fpu/mpa.c: Likewise.
21217 * sysdeps/i386/fpu/s_cos.S: Likewise.
21218 * sysdeps/i386/fpu/s_sin.S: Likewise.
21219 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21220 * sysdeps/i386/fpu/sincos32.c: Likewise.
21222 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21224 (libc_feupdateenv_53bit): Define.
21225 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21227 (libc_feupdateenv_53bit): Define.
21229 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21230 53 bit (without extend i386 double precision).
21232 * math/libm-test.inc (sincos_test): Add tests for large input.
21236 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21238 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21242 2012-03-15 David S. Miller <davem@davemloft.net>
21244 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21245 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21246 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21247 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21271 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21272 fmin/fmax sysdep routines.
21273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21275 2012-03-14 David S. Miller <davem@davemloft.net>
21277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21282 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21283 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21297 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21298 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21299 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21301 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21303 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21304 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21305 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21349 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21354 * sysdeps/sparc/configure.in: New file.
21355 * sysdeps/sparc/configure: Generate.
21356 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21357 * configure: Regenerate.
21358 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21359 * config.make.in (have-as-vis3): New.
21360 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21361 available use -Av9d instead of -Av9a.
21362 * sysdeps/sparc/sparc64/Makefile: Likewise.
21363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21373 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21374 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21375 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21376 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21378 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21379 fzeros/fnegs to load 0x80000000 into a float register instead of
21381 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21383 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21385 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21387 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21388 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21389 ($(inst_includedir)/bits/syscall.h): Remove rule.
21390 ($(objpfx)bits/syscall.d): Include instead of
21391 $(objpfx)syscall-list.d.
21392 (generated): Change syscall-list.h and syscall-list.d to
21393 bits/syscall.h and bits/syscall.d.
21395 2012-03-14 Roland McGrath <roland@hack.frob.com>
21398 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21400 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21403 * math/s_csqrt.c: Include <float.h>.
21404 (__csqrt): Scale large or subnormal inputs.
21405 * math/s_csqrtf.c: Likewise.
21406 * math/s_csqrtl.c: Likewise.
21407 * math/libm-test.inc (csqrt_test): Add more tests.
21408 * sysdeps/i386/fpu/libm-test-ulps: Update.
21409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21412 * math/libm-test.inc (hypot_test): Add more tests.
21414 2012-03-13 David S. Miller <davem@davemloft.net>
21417 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21418 double-precision for the calculation instead of scaling.
21420 2012-03-13 Joseph Myers <joseph@codesourcery.com>
21422 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21423 manipulate bits before adding and subtracting TWO52[sx].
21424 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21425 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21427 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21429 2012-03-13 David S. Miller <davem@davemloft.net>
21431 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21432 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21433 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21434 rtld-global-offsets.h
21435 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21437 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21440 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21442 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21443 'err' in the ifdef scope in which it is actually used.
21445 * nss/nss_db/db-init.c: Include string.h
21447 2012-03-12 David S. Miller <davem@davemloft.net>
21449 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21450 masking out of the most significant byte of random value used.
21451 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21452 Fix coding style in previous change.
21454 * sysdeps/unix/sysv/linux/kernel-features.h
21455 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21456 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21458 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21461 2012-03-11 David S. Miller <davem@davemloft.net>
21463 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21464 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21465 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21466 for 'resultvar' otherwise things get truncated on 64-bit.
21468 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21469 Fix masking out of the most significant byte of random value used.
21471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21473 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21477 2012-03-09 David S. Miller <davem@davemloft.net>
21479 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21480 variables with appropriate CPP guards.
21481 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21482 frame pointer, not the stack pointer. Correct layout comments. Fix test
21483 on resulting framesize and the management of the outregs buffer for pltexit.
21484 Preserve floating point return values across _dl_call_pltexit call.
21485 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21486 framesize and the management of the outregs buffer for pltexit.
21487 Preserve floating point return values across _dl_call_pltexit
21489 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21490 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21491 (print_exit): Fix format string for return register value.
21493 2012-03-10 Joseph Myers <joseph@codesourcery.com>
21495 * sunrpc/Makefile (others): Add rpcgen.
21496 ($(objpfx)rpcgen): Remove special build rule and dependency on
21498 * sunrpc/rpcgen.c: New file.
21500 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21503 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21504 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21505 * sysdeps/i386/crti.S: Likewise.
21506 * sysdeps/i386/crtn.S: Likewise.
21507 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21508 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21509 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21510 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21511 * sysdeps/sh/crti.S: Likewise.
21512 * sysdeps/sh/crtn.S: Likewise.
21513 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21516 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21518 * locale/programs/locfile-kw.gperf: Likewise.
21519 * locale/programs/charmap-kw.h: Regenerated.
21520 * locale/programs/locfile-kw.h: Likewise.
21523 * intl/plural.y: Replace FSF snail mail address with URL.
21524 * intl/plural.c: Regenerated.
21526 2012-03-09 Richard Henderson <rth@twiddle.net>
21528 * include/math_private.h: Remove file.
21529 * math/math_private.h: Move file ...
21530 * sysdeps/generic/math_private.h: ... here.
21532 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21533 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21534 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21536 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
21537 and <math_private.h>.
21538 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21539 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21540 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21541 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21542 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21543 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21544 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21546 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21547 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21548 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21549 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21550 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21551 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21552 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21553 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21554 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21555 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21556 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21557 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21558 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21559 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21560 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21561 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21562 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21563 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21564 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21565 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21567 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21568 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21569 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21570 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21571 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21572 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21573 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21574 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21575 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21576 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21577 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21578 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21579 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21580 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21581 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21582 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21583 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21584 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21585 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21586 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21587 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21588 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21589 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21590 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21591 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21592 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21593 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21594 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21595 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21596 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21597 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21598 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21599 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21600 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21601 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21602 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21603 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21604 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21605 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21606 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21607 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21608 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21609 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21610 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21611 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21612 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21615 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21616 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21617 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21618 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21619 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21620 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21621 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21622 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21624 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21625 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21626 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21627 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21628 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21629 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21630 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21631 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21632 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21633 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21634 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21635 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21636 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21637 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21638 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21639 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21640 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21641 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21642 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21643 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21644 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21645 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21646 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21647 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21648 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21649 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21650 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21651 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21652 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21653 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21654 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21655 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21656 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21657 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21658 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21659 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21660 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21661 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21662 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21663 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21664 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21665 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21666 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21667 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21668 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21669 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21670 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21671 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21672 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21673 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21674 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21675 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21676 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21677 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21678 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21679 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21680 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21681 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21682 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21683 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21684 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21685 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21686 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21687 * sysdeps/ieee754/k_standard.c: Likewise.
21688 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21689 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21690 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21691 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21692 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21693 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21694 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21695 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21696 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21697 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21698 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21699 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21700 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21701 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21702 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21703 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21704 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21705 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21706 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21707 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21708 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21709 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21710 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21711 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21712 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21713 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21714 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21715 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21716 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21717 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21718 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21719 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21720 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21721 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21722 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21723 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21724 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21725 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21726 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21727 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21728 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21729 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21731 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21732 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21733 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21734 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21735 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21736 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21737 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21738 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21739 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21740 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21741 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21742 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21743 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21744 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21745 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21746 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21747 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21748 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21749 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21750 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21751 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21752 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21753 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21754 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21755 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21756 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21757 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21758 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21763 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21764 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21768 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21776 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21777 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21778 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21779 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21781 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21782 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21784 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21785 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21786 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21787 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21788 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21789 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21790 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21791 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21792 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21793 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21796 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21797 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21798 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21799 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21800 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21801 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21802 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21803 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21804 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21805 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21806 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21807 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21808 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21809 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21810 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21812 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21813 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21814 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21815 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21816 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21817 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21818 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21819 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21820 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21821 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21822 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21823 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21824 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21825 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21826 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21827 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21828 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21829 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21830 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21831 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21832 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21833 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21834 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21835 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21836 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21837 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21838 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21839 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21840 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21841 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21842 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21843 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21844 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21845 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21846 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21847 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21848 * sysdeps/ieee754/s_lib_version.c: Likewise.
21849 * sysdeps/ieee754/s_matherr.c: Likewise.
21850 * sysdeps/ieee754/s_signgam.c: Likewise.
21851 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21852 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21853 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21854 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21855 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21856 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21857 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21858 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21859 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21860 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21861 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21862 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21863 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21864 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21865 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21866 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21867 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21868 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21869 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21871 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21873 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21875 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21876 * sunrpc/rpc_main.c: Likewise.
21877 * sunrpc/rpc_svcout.c: Likewise.
21879 2012-03-09 David S. Miller <davem@davemloft.net>
21881 * include/math_private.h: New file.
21883 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21885 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21886 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21887 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21888 from <bits/socket_type.h>.
21889 (enum __socket_type): Don't define here.
21890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21891 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21892 bits/socket_type.h.
21895 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21896 checking __USE_GNU.
21898 * Makerules ($(inst_includedir)/%.h): New rule.
21899 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21900 (install-others): Remove variable setting.
21901 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21903 2012-03-08 Richard Henderson <rth@twiddle.net>
21905 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21906 from macro to inline function; merge with the
21907 !__LIBC_INTERNAL_MATH_INLINES version.
21908 (__ieee754_sqrtf): Likewise.
21910 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21911 to inline function.
21912 (__rintf, __floor, __floorf): Likewise.
21914 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21915 macro to inline function.
21916 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21918 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21919 not <math/math_private.h>.
21921 2012-03-08 David S. Miller <davem@davemloft.net>
21923 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21925 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21927 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21929 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21931 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21932 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21934 2012-03-08 Ulrich Drepper <drepper@gmail.com>
21936 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21937 be defined individually, they must be defined as a block. Define
21938 S for printing a string instead of hidint the different by using a
21939 macro for adding the 'l'.
21940 * stdio-common/tst-fphex-wide.c: Adjust.
21942 2012-03-07 Marek Polacek <polacek@redhat.com>
21944 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21946 2012-03-08 Marek Polacek <polacek@redhat.com>
21949 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21950 * stdio-common/tst-fphex.c: Define a few macros to make the
21951 test reusable. Use them.
21952 * stdio-common/tst-fphex-wide.c: New file.
21954 2012-03-08 Joseph Myers <joseph@codesourcery.com>
21957 * manual/macros.texi (gnusystems): New macro.
21958 (nongnusystems): Likewise.
21959 (gnulinuxhurdsystems): Likewise.
21960 (gnuhurdsystems): Likewise..
21961 (gnulinuxsystems): Likewise.
21962 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21963 variants of the GNU system, not "GNU system".
21964 * manual/conf.texi: Likewise.
21965 * manual/errno.texi: Likewise. Update example of errno macro
21967 * manual/filesys.texi: Likewise.
21968 (getumask): Document as specific to GNU/Hurd.
21969 * manual/install.texi: Likewise. Reword some references to
21971 * manual/intro.texi: Likewise.
21972 * manual/io.texi: Likewise.
21973 (File Name Portability): Detail which constraints are inapplicable
21974 to all GNU systems and which are only inapplicable to GNU/Hurd.
21975 * manual/job.texi: Likewise.
21976 * manual/llio.texi: Likewise.
21977 (O_NOCTTY): Document as present on GNU/Linux.
21978 * manual/maint.texi: Likewise.
21979 * manual/memory.texi: Likewise.
21980 * manual/pattern.texi: Likewise.
21981 * manual/pipe.texi: Likewise.
21982 * manual/process.texi: Likewise.
21983 * manual/resource.texi: Likewise.
21984 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21986 * manual/setjmp.texi: Likewise.
21987 * manual/signal.texi: Likewise.
21988 * manual/startup.texi: Likewise.
21989 * manual/stdio.texi: Likewise.
21990 * manual/terminal.texi: Likewise.
21991 (ONLCR): Document as POSIX.
21992 (OXTABS): Document availability on GNU/Linux as XTABS.
21993 (ONOEOT): Document availability separately from other bits.
21994 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21995 * manual/time.texi: Likewise.
21996 * manual/users.texi: Likewise.
21997 * INSTALL: Regenerated.
21998 * sysdeps/gnu/errlist.c: Regenerated.
22000 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22001 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22002 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22004 * configure: Regenerated.
22006 2012-03-07 Joseph Myers <joseph@codesourcery.com>
22008 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22009 default includes instead of AC_HEADER_CHECK.
22010 * sysdeps/i386/configure: Regenerated.
22013 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22014 * math/s_cacoshf.c (__cacoshf): Likewise.
22015 * math/s_cacoshl.c (__cacoshl): Likewise.
22016 * math/s_casinh.c (__casinh): Set signs of result from argument.
22017 * math/s_casinhf.c (__casinhf): Likewise.
22018 * math/s_casinhl.c (__casinhl): Likewise.
22019 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22020 (casinh_test): Add more tests.
22021 * sysdeps/i386/fpu/libm-test-ulps: Update.
22022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22024 2012-03-07 Ulrich Drepper <drepper@gmail.com>
22026 * po/zh_TW.po: Update from translation team.
22028 * login/Makefile (distribute): Remove variable.
22029 * catgets/Makefile: Likewise.
22030 * mach/Makefile: Likewise.
22031 * malloc/Makefile: Likewise.
22032 * misc/Makefile: Likewise.
22033 * iconv/Makefile: Likewise.
22034 * nscd/Makefile: Likewise.
22035 * hurd/Makefile: Likewise.
22036 * manual/Makefile: Likewise.
22037 * locale/Makefile: Likewise.
22038 * intl/Makefile: Likewise.
22039 * conform/Makefile: Likewise.
22040 * nss/Makefile: Likewise.
22041 * time/Makefile: Likewise.
22042 * soft-fp/Makefile: Likewise.
22043 * dirent/Makefile: Likewise.
22044 * gmon/Makefile: Likewise.
22045 * po/Makefile: Likewise.
22046 * rt/Makefile: Likewise.
22047 * socket/Makefile: Likewise.
22048 * math/Makefile: Likewise.
22049 * signal/Makefile: Likewise.
22050 * debug/Makefile: Likewise.
22051 * elf/Makefile: Likewise.
22052 * timezone/Makefile: Likewise.
22053 * stdlib/Makefile: Likewise.
22054 * iconvdata/Makefile: Likewise.
22055 * sunrpc/Makefile: Likewise.
22056 * io/Makefile: Likewise.
22057 * argp/Makefile: Likewise.
22058 * inet/Makefile: Likewise.
22059 * hesiod/Makefile: Likewise.
22060 * grp/Makefile: Likewise.
22061 * csu/Makefile: Likewise.
22062 * wctype/Makefile: Likewise.
22063 * crypt/Makefile: Likewise.
22064 * libio/Makefile: Likewise.
22065 * string/Makefile: Likewise.
22066 * nis/Makefile: Likewise.
22067 * resolv/Makefile: Likewise.
22068 * stdio-common/Makefile: Likewise.
22069 * wcsmbs/Makefile: Likewise.
22070 * dlfcn/Makefile: Likewise.
22071 * posix/Makefile: Likewise.
22074 * timezone/Makefile: Don't install timezone files, just the programs
22077 2012-03-06 Ulrich Drepper <drepper@gmail.com>
22079 * nss/databases.def: Add missing gshadow entry.
22081 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22083 2012-03-06 Marek Polacek <polacek@redhat.com>
22086 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22087 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22088 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22089 * stdio-common/tst-long-dbl-fphex.c: New file.
22091 2012-03-06 David S. Miller <davem@davemloft.net>
22093 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22094 (set_obp_int): New function.
22095 (get_obp_int): New function.
22096 (__get_clockfreq_via_dev_openprom): Likewise.
22097 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22098 Avoid unused variable warnings on 'val' and use builtin_expect.
22099 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22101 (INLINE_CLONE_SYSCALL): Likewise.
22103 2012-03-05 David S. Miller <davem@davemloft.net>
22105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22107 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22111 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22112 only for |x| >= 40.
22113 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22115 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
22117 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22118 Replace gettimeofday with __vdso_gettimeofday.
22120 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22121 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22122 __vdso_clock_gettime and __vdso_getcpu.
22124 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22125 time with __vdso_time.
22127 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22129 * manual/lang.texi (size_t): Note types to which size_t may be
22130 equivalent with the GNU C Library, but do not describe when
22131 differences between them are significant.
22133 2012-03-05 Andreas Jaeger <aj@suse.de>
22135 * sysdeps/i386/fpu/libm-test-ulps: Update.
22137 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22140 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22141 (__ieee754_pow): Save and restore rounding mode and use
22142 round-to-nearest for main computations.
22143 * math/libm-test.inc (pow_test_tonearest): New function.
22144 (pow_test_towardzero): Likewise.
22145 (pow_test_downward): Likewise.
22146 (pow_test_upward): Likewise.
22147 (main): Call the new functions.
22148 * sysdeps/i386/fpu/libm-test-ulps: Update.
22149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22152 * math/libm-test.inc (cosh_test_tonearest): New function.
22153 (cosh_test_towardzero): Likewise.
22154 (cosh_test_downward): Likewise.
22155 (cosh_test_upward): Likewise.
22156 (sinh_test_tonearest): Likewise.
22157 (sinh_test_towardzero): Likewise.
22158 (sinh_test_downward): Likewise.
22159 (sinh_test_upward): Likewise.
22160 (main): Call the new functions.
22161 * sysdeps/i386/fpu/libm-test-ulps: Update.
22162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22164 2012-03-05 Tom de Vries <tom@codesourcery.com>
22166 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22167 default stack guard is set in last bytes.
22168 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22170 2012-03-05 Kees Cook <keescook@chromium.org>
22172 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22175 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22176 possibly allocate from heap instead of stack.
22177 * stdio-common/bug-vfprintf-nargs.c: New file.
22178 * stdio-common/Makefile (tests): Add nargs overflow test.
22180 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22184 2012-03-03 Marek Polacek <polacek@redhat.com>
22186 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22187 * math/math_private.h: Likewise.
22188 * stdlib/tst-strtod.c: Likewise.
22189 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22190 * sysdeps/x86_64/bits/atomic.h: Likewise.
22192 2012-03-02 David S. Miller <davem@davemloft.net>
22194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22198 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22199 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22200 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22201 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22203 2012-03-02 Roland McGrath <roland@hack.frob.com>
22206 * manual/examples/README: New file, says the example source files
22207 can be used under GPL>=2.
22208 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22209 line containing just "*/".
22210 * manual/examples/add.c: Add copyright header (GPL>=2).
22211 * manual/examples/argp-ex1.c: Likewise.
22212 * manual/examples/argp-ex2.c: Likewise.
22213 * manual/examples/argp-ex3.c: Likewise.
22214 * manual/examples/argp-ex4.c: Likewise.
22215 * manual/examples/atexit.c: Likewise.
22216 * manual/examples/db.c: Likewise.
22217 * manual/examples/dir.c: Likewise.
22218 * manual/examples/dir2.c: Likewise.
22219 * manual/examples/execinfo.c: Likewise.
22220 * manual/examples/filecli.c: Likewise.
22221 * manual/examples/filesrv.c: Likewise.
22222 * manual/examples/fmtmsgexpl.c: Likewise.
22223 * manual/examples/genpass.c: Likewise.
22224 * manual/examples/inetcli.c: Likewise.
22225 * manual/examples/inetsrv.c: Likewise.
22226 * manual/examples/isockad.c: Likewise.
22227 * manual/examples/longopt.c: Likewise.
22228 * manual/examples/memopen.c: Likewise.
22229 * manual/examples/memstrm.c: Likewise.
22230 * manual/examples/mkfsock.c: Likewise.
22231 * manual/examples/mkisock.c: Likewise.
22232 * manual/examples/mygetpass.c: Likewise.
22233 * manual/examples/pipe.c: Likewise.
22234 * manual/examples/popen.c: Likewise.
22235 * manual/examples/rprintf.c: Likewise.
22236 * manual/examples/search.c: Likewise.
22237 * manual/examples/select.c: Likewise.
22238 * manual/examples/setjmp.c: Likewise.
22239 * manual/examples/sigh1.c: Likewise.
22240 * manual/examples/sigusr.c: Likewise.
22241 * manual/examples/stpcpy.c: Likewise.
22242 * manual/examples/strdupa.c: Likewise.
22243 * manual/examples/strftim.c: Likewise.
22244 * manual/examples/strncat.c: Likewise.
22245 * manual/examples/subopt.c: Likewise.
22246 * manual/examples/swapcontext.c: Likewise.
22247 * manual/examples/termios.c: Likewise.
22248 * manual/examples/testopt.c: Likewise.
22249 * manual/examples/testpass.c: Likewise.
22250 * manual/examples/timeval_subtract.c: Likewise.
22253 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22255 * manual/timeval_subtract.c.texi: ... here, new file.
22257 2012-03-02 David S. Miller <davem@davemloft.net>
22259 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22261 2012-03-02 Joseph Myers <joseph@codesourcery.com>
22264 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22265 (__sin): Save and restore rounding mode and use round-to-nearest
22266 for all computations.
22267 (__cos): Save and restore rounding mode and use round-to-nearest
22268 for all computations.
22269 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22271 (tan): Save and restore rounding mode and use round-to-nearest for
22273 * math/libm-test.inc (cos_test_tonearest): New function.
22274 (cos_test_towardzero): Likewise.
22275 (cos_test_downward): Likewise.
22276 (cos_test_upward): Likewise.
22277 (sin_test_tonearest): Likewise.
22278 (sin_test_towardzero): Likewise.
22279 (sin_test_downward): Likewise.
22280 (sin_test_upward): Likewise.
22281 (tan_test_tonearest): Likewise.
22282 (tan_test_towardzero): Likewise.
22283 (tan_test_downward): Likewise.
22284 (tan_test_upward): Likewise.
22285 (main): Call the new functions.
22286 * sysdeps/i386/fpu/libm-test-ulps: Update.
22287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22290 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22291 small n, then large n, before computing and testing k+n.
22292 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22293 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22295 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22297 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22298 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22299 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22300 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22302 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22303 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22304 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22305 * math/libm-test.inc (scalbn_test): Add more tests.
22306 (scalbln_test): Likewise.
22308 * manual/filesys.texi (mode_t): Describe constraints on size and
22309 signedness, not exact equivalence to a particular type.
22311 (ino64_t): Likewise.
22313 (nlink_t): Likewise.
22314 (blkcnt_t): Likewise.
22315 (blkcnt64_t): Likewise.
22316 * manual/llio.texi (off_t): Likewise.
22319 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22320 (__ieee754_exp): Save and restore rounding mode and use
22321 round-to-nearest for all computations.
22322 * math/libm-test.inc (exp_test_tonearest): New function.
22323 (exp_test_towardzero): Likewise.
22324 (exp_test_downward): Likewise.
22325 (exp_test_upward): Likewise.
22326 (main): Call the new functions.
22327 * sysdeps/i386/fpu/libm-test-ulps: Update.
22328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22330 2012-03-01 Chris Demetriou <cgd@google.com>
22332 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22333 have predictable order.
22335 2012-03-01 David S. Miller <davem@davemloft.net>
22337 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22339 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22340 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22341 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22342 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22344 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22345 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22346 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22348 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22349 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22350 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22351 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22352 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22356 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22357 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22358 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22360 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22361 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22362 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22363 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22364 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22365 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22366 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22367 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22368 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22369 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22370 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22371 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22372 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22373 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22374 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22375 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22376 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22377 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22378 * sysdeps/sparc/elf/configure: Regenerated.
22380 2012-03-01 Joseph Myers <joseph@codesourcery.com>
22382 * configure.in (AS, LD): Require binutils 2.20 or later.
22383 * configure: Regenerated.
22384 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22385 as required minimum version.
22386 * INSTALL: Regenerated.
22390 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22391 before squaring exponent.
22392 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22393 bottom long double and 27 bits of top long double before squaring
22395 * math/libm-test.inc (erfc_test): Add more tests.
22396 * sysdeps/i386/fpu/libm-test-ulps: Update.
22397 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22400 2012-03-01 Kai Tietz <ktietz@redhat.com>
22402 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22403 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22404 containing bit-fields.
22405 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22406 * soft-fp/single.h (_FP_UNION_S): Likewise.
22407 * soft-fp/double.h (_FP_UNION_D): Likewise.
22409 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22412 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22413 not include ../strcmp.S.
22414 [USE_AS_STRNCASECMP_L]: Likewise.
22415 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22416 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22417 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22418 (__strncasecmp_l_ia32): Define as alias to
22419 __strncasecmp_l_nonascii.
22422 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22423 * sysdeps/i386/fpu/libm-test-ulps: Update.
22424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22426 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22429 2012-02-29 Jeff Law <law@redhat.com>
22431 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22432 out of bounds read.
22434 2012-02-29 Marek Polacek <polacek@redhat.com>
22437 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22438 * elf/Makefile: Add rules to run tst-unused-dep.out.
22440 2012-02-28 David S. Miller <davem@davemloft.net>
22442 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22443 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22445 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22446 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22447 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22449 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22451 * math/libm-test.inc (llround_test): Move one test from
22452 lround_test. Use TEST_f_L in moved test.
22453 (lround_test): Move misplaced test to llround_test. Add testcase
22456 2012-02-28 Ulrich Drepper <drepper@gmail.com>
22458 * sysdeps/x86_64/fpu/e_expf.S: New file.
22459 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22461 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22464 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22465 of remain_len that may cause incomplete multi-byte character and
22467 * posix/bug-regex33.c: New file.
22468 * posix/Makefile (tests): Add bug-regex33.
22470 2012-02-28 Joseph Myers <joseph@codesourcery.com>
22472 * manual/macros.texi: New file.
22473 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22474 * manual/libc.texinfo: Include macros.texi.
22475 * manual/creatute.texi: Likewise.
22476 * manual/install.texi: Likewise.
22477 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22478 @glibcadj{} in references to the GNU C Library.
22479 * manual/charset.texi: Likewise.
22480 * manual/conf.texi: Likewise.
22481 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22482 when not using those macros.
22483 * manual/creature.texi: Likewise.
22484 * manual/crypt.texi: Likewise.
22485 * manual/errno.texi: Likewise.
22486 * manual/filesys.texi: Likewise.
22487 * manual/header.texi: Likewise.
22488 * manual/install.texi: Likewise.
22489 * manual/intro.texi: Likewise.
22490 * manual/io.texi: Likewise.
22491 * manual/job.texi: Likewise.
22492 * manual/lang.texi: Likewise.
22493 * manual/libc.texiinfo: Likewise.
22494 * manual/llio.texi: Likewise.
22495 * manual/locale.texi: Likewise.
22496 * manual/maint.texi: Likewise.
22497 * manual/math.texi: Likewise.
22498 * manual/memory.texi: Likewise.
22499 * manual/message.texi: Likewise.
22500 * manual/nss.texi: Likewise.
22501 * manual/pattern.texi: Likewise.
22502 * manual/process.texi: Likewise.
22503 * manual/resource.texi: Likewise.
22504 * manual/search.texi: Likewise.
22505 * manual/setjmp.texi: Likewise.
22506 * manual/signal.texi: Likewise.
22507 * manual/socket.texi: Likewise.
22508 * manual/startup.texi: Likewise.
22509 * manual/stdio.texi: Likewise.
22510 * manual/string.texi: Likewise.
22511 * manual/sysinfo.texi: Likewise.
22512 * manual/syslog.texi: Likewise.
22513 * manual/terminal.texi: Likewise.
22514 * manual/time.texi: Likewise.
22515 * manual/users.texi: Likewise.
22516 * INSTALL: Regenerated.
22517 * NOTES: Regenerated.
22518 * sysdeps/gnu/errlist.c: Regenerated.
22520 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22522 * include/dirent.h: Include <dirstream.h> before
22525 2012-02-28 David S. Miller <davem@davemloft.net>
22527 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22528 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22529 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22530 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22532 2012-02-27 David S. Miller <davem@davemloft.net>
22534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22536 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22537 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22540 frame pointer instead of stack pointer relative arg slot.
22541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22542 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22543 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22545 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22548 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22550 2012-02-27 David S. Miller <davem@davemloft.net>
22552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22556 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22557 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22558 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22559 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22561 2012-02-27 Joseph Myers <joseph@codesourcery.com>
22563 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22564 later. Allow versions 5-9.
22565 * configure: Regenerated.
22566 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22567 required minimum version and 4.6 as recommended version. Do not
22568 mention bugs in GCC 2.7 and 2.8.
22569 * INSTALL: Regenerated.
22571 2012-02-27 David S. Miller <davem@davemloft.net>
22573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22577 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22578 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22579 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22580 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22582 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22583 manipulate bits before adding and subtracting TWO112[sx].
22584 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22586 2012-02-27 Roland McGrath <roland@hack.frob.com>
22589 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22590 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22591 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22592 being in POSIX, because they are in 1003.1-2008.
22594 * rt/tst-aio.c: Include <fcntl.h>.
22595 * rt/tst-aio7.c: Likewise.
22596 * rt/tst-aio64.c: Likewise.
22598 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22600 2012-02-27 Joseph Myers <joseph@codesourcery.com>
22602 * manual/install.texi (--with-headers): Describe headers as
22603 interface headers, not private headers.
22604 (Specific advice for GNU/Linux systems): Describe use of headers
22605 from "make headers_install", not private headers from older
22607 * INSTALL: Regenerated.
22608 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22610 * sysdeps/unix/sysv/linux/configure: Regenerated.
22612 * manual/llio.texi (fclean): Remove documentation.
22614 * manual/Makefile (libc-texi-generated): New variable. Include
22616 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22617 $(libc-texi-generated), not duplicated list of files.
22618 (version.texi, stamp-version): New rules.
22619 (realclean): Remove $(libc-texi-generated), not individual files
22620 from that list. Do not remove dir-add.texinfo.
22621 * manual/libc.texinfo: Comment out uses of edition numbers and
22622 references to printed manual. Remove last-updated dates.
22623 (EDITION): Comment out.
22625 (VERSION, UPDATED): Remove.
22626 (version.texi): Include.
22628 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22630 * sysdeps/posix/spawni.c: Include <signal.h>.
22631 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22632 * sysdeps/pthread/aio_fsync.c: Likewise.
22634 2012-02-26 Ulrich Drepper <drepper@gmail.com>
22636 * conform/Makefile (tests): Run only when not cross-compiling and
22637 when fast-check is not defined.
22639 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22640 * conform/data/limits.h-data: Fixes for POSIX2008.
22641 * conform/run-conformtest.sh: Run all tests.
22642 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22644 * include/bits/dlfcn.h: Likewise.
22645 * include/langinfo.h: Likewise.
22646 * include/monetary.h: Likewise.
22647 * include/sys/poll.h: Likewise.
22649 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22651 * posix/spawn.h: Define __need_sigset_t.
22652 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22653 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22654 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22655 to get sigevent_t only.
22656 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22657 only for __USE_GNU.
22658 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22659 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22660 process_vm_writev only for __USE_GNU.
22661 * termios/termios.h: Declare tcgetsid also for POSIX2008.
22663 * conform/Makefile: For now ignore errors from run-conformtest.
22664 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22665 POSIX to avoid namespace pollution. Don't prepend headers.
22666 * conform/data/aio.h-data: Fixes for POSIX testing.
22667 * conform/data/fcntl.h-data: Likewise.
22668 * conform/data/glob.h-data: Likewise.
22669 * conform/data/grp.h-data: Likewise.
22670 * conform/data/pthread.h-data: Likewise.
22671 * conform/data/pwd.h-data: Likewise.
22672 * conform/data/signal.h-data: Likewise.
22673 * conform/data/spawn.h-data: Likewise.
22674 * conform/data/stdio.h-data: Likewise.
22675 * conform/data/stdlib.h-data: Likewise.
22676 * conform/data/stropts.h-data: Likewise.
22677 * conform/data/sys/mman.h-data: Likewise.
22678 * conform/data/sys/stat.h-data: Likewise.
22679 * conform/data/sys/types.h-data: Likewise.
22680 * conform/data/sys/wait.h-data: Likewise.
22681 * conform/data/time.h-data: Likewise.
22682 * conform/data/unistd.h-data: Likewise.
22683 * conform/data/utime.h-data: Likewise.
22685 * io/sys/stat.h: fchmod was always in POSIX.
22686 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22687 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22688 * rt/aio.h: Define __need_timespec before including <time.h>.
22689 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22690 struct. Add forward declaration of pthread_attr_t and use it in
22692 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22693 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22694 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22695 always remove CLK_TCK definition.
22697 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22699 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22701 2012-02-25 Ulrich Drepper <drepper@gmail.com>
22703 * conform/run-conformtest.sh: New file.
22704 * conform/Makefile: Run run-conformtest for tests.
22705 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22708 * conform/data/uchar.h-data: New file.
22709 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22710 * conform/data/arpa/inet.h-data: Likewise.
22711 * conform/data/assert.h-data: Likewise.
22712 * conform/data/complex.h-data: Likewise.
22713 * conform/data/cpio.h-data: Likewise.
22714 * conform/data/ctype.h-data: Likewise.
22715 * conform/data/dirent.h-data: Likewise.
22716 * conform/data/dlfcn.h-data: Likewise.
22717 * conform/data/errno.h-data: Likewise.
22718 * conform/data/fcntl.h-data: Likewise.
22719 * conform/data/float.h-data: Likewise.
22720 * conform/data/fmtmsg.h-data: Likewise.
22721 * conform/data/fnmatch.h-data: Likewise.
22722 * conform/data/ftw.h-data: Likewise.
22723 * conform/data/glob.h-data: Likewise.
22724 * conform/data/grp.h-data: Likewise.
22725 * conform/data/iconv.h-data: Likewise.
22726 * conform/data/inttypes.h-data: Likewise.
22727 * conform/data/langinfo.h-data: Likewise.
22728 * conform/data/libgen.h-data: Likewise.
22729 * conform/data/limits.h-data: Likewise.
22730 * conform/data/locale.h-data: Likewise.
22731 * conform/data/math.h-data: Likewise.
22732 * conform/data/monetary.h-data: Likewise.
22733 * conform/data/mqueue.h-data: Likewise.
22734 * conform/data/ndbm.h-data: Likewise.
22735 * conform/data/net/if.h-data: Likewise.
22736 * conform/data/netdb.h-data: Likewise.
22737 * conform/data/netinet/in.h-data: Likewise.
22738 * conform/data/nl_types.h-data: Likewise.
22739 * conform/data/poll.h-data: Likewise.
22740 * conform/data/pthread.h-data: Likewise.
22741 * conform/data/pwd.h-data: Likewise.
22742 * conform/data/regex.h-data: Likewise.
22743 * conform/data/sched.h-data: Likewise.
22744 * conform/data/search.h-data: Likewise.
22745 * conform/data/semaphore.h-data: Likewise.
22746 * conform/data/setjmp.h-data: Likewise.
22747 * conform/data/signal.h-data: Likewise.
22748 * conform/data/spawn.h-data: Likewise.
22749 * conform/data/stdarg.h-data: Likewise.
22750 * conform/data/stdio.h-data: Likewise.
22751 * conform/data/stdlib.h-data: Likewise.
22752 * conform/data/string.h-data: Likewise.
22753 * conform/data/strings.h-data: Likewise.
22754 * conform/data/stropts.h-data: Likewise.
22755 * conform/data/sys/ipc.h-data: Likewise.
22756 * conform/data/sys/mman.h-data: Likewise.
22757 * conform/data/sys/msg.h-data: Likewise.
22758 * conform/data/sys/resource.h-data: Likewise.
22759 * conform/data/sys/select.h-data: Likewise.
22760 * conform/data/sys/sem.h-data: Likewise.
22761 * conform/data/sys/shm.h-data: Likewise.
22762 * conform/data/sys/socket.h-data: Likewise.
22763 * conform/data/sys/stat.h-data: Likewise.
22764 * conform/data/sys/statvfs.h-data: Likewise.
22765 * conform/data/sys/time.h-data: Likewise.
22766 * conform/data/sys/timeb.h-data: Likewise.
22767 * conform/data/sys/times.h-data: Likewise.
22768 * conform/data/sys/types.h-data: Likewise.
22769 * conform/data/sys/uio.h-data: Likewise.
22770 * conform/data/sys/un.h-data: Likewise.
22771 * conform/data/sys/utsname.h-data: Likewise.
22772 * conform/data/sys/wait.h-data: Likewise.
22773 * conform/data/syslog.h-data: Likewise.
22774 * conform/data/tar.h-data: Likewise.
22775 * conform/data/termios.h-data: Likewise.
22776 * conform/data/utime.h-data: Likewise.
22777 * conform/data/utmpx.h-data: Likewise.
22778 * conform/data/varargs.h-data: Likewise.
22779 * conform/data/wchar.h-data: Likewise.
22780 * conform/data/wctype.h-data: Likewise.
22781 * conform/data/wordexp.h-data: Likewise.
22783 * include/stropts.h: New file.
22784 * include/uchar.h: New file.
22785 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22786 * include/assert.h: Likewise.
22787 * include/ctype.h: Likewise.
22788 * include/dirent.h: Likewise.
22789 * include/dlfcn.h: Likewise.
22790 * include/fcntl.h: Likewise.
22791 * include/fnmatch.h: Likewise.
22792 * include/glob.h: Likewise.
22793 * include/grp.h: Likewise.
22794 * include/libio.h: Likewise.
22795 * include/locale.h: Likewise.
22796 * include/math.h: Likewise.
22797 * include/net/if.h: Likewise.
22798 * include/netdb.h: Likewise.
22799 * include/netinet/in.h: Likewise.
22800 * include/pthread.h: Likewise.
22801 * include/pwd.h: Likewise.
22802 * include/regex.h: Likewise.
22803 * include/sched.h: Likewise.
22804 * include/search.h: Likewise.
22805 * include/setjmp.h: Likewise.
22806 * include/signal.h: Likewise.
22807 * include/stdio.h: Likewise.
22808 * include/stdlib.h: Likewise.
22809 * include/string.h: Likewise.
22810 * include/sys/cdefs.h: Likewise.
22811 * include/sys/mman.h: Likewise.
22812 * include/sys/msg.h: Likewise.
22813 * include/sys/resource.h: Likewise.
22814 * include/sys/select.h: Likewise.
22815 * include/sys/socket.h: Likewise.
22816 * include/sys/stat.h: Likewise.
22817 * include/sys/statvfs.h: Likewise.
22818 * include/sys/time.h: Likewise.
22819 * include/sys/times.h: Likewise.
22820 * include/sys/uio.h: Likewise.
22821 * include/sys/utsname.h: Likewise.
22822 * include/sys/wait.h: Likewise.
22823 * include/termios.h: Likewise.
22824 * include/time.h: Likewise.
22825 * include/ulimit.h: Likewise.
22826 * include/unistd.h: Likewise.
22827 * include/utime.h: Likewise.
22828 * include/wchar.h: Likewise.
22829 * include/wctype.h: Likewise.
22830 * include/wordexp.h: Likewise.
22832 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22834 * time/time.h: TIME_UTC must be a macro.
22835 Make timespec_get available for ISO C11 only as well.
22837 2012-02-24 Ulrich Drepper <drepper@gmail.com>
22839 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22840 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22842 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22844 * configure.in: Use -o not -a in test for unsupported multi-arch.
22846 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22848 * manual/texinfo.tex: Update to version 2012-01-19.16.
22850 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22852 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22854 2012-02-24 Roland McGrath <roland@hack.frob.com>
22857 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22858 * manual/fdl-1.3.texi: New file.
22859 * manual/fdl-1.1.texi: File removed.
22862 * manual/libc.texinfo (FDL_VERSION): New @set.
22863 Use it for mention of FDL in cover text.
22864 (Documentation License): Use it in @include file name.
22866 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22867 Roland McGrath <roland@hack.frob.com>
22870 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22871 not LONG_LONG_MAX and LONG_LONG_MIN.
22872 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22873 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22875 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22877 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22881 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22882 manipulate bits before adding and subtracting TWO23[sx].
22883 * math/libm-test.inc (nearbyint_test): Add more tests.
22885 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22888 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22889 bits before adding and subtracting TWO23[sx].
22890 * math/libm-test.inc (rint_test): Add more tests.
22891 (rint_test_tonearest): Likewise.
22892 (rint_test_towardzero): Likewise.
22893 (rint_test_downward): Likewise.
22894 (rint_test_upward: Likewise.
22896 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22899 * include/stdc-predef.h: New file. Extracted from features.h.
22900 * include/features.h: Include stdc-predef.h.
22901 * Makefile (headers): Add stdc-predef.h.
22902 * CONFORMANCE (Compiler limitations): Update.
22904 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22906 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22908 2012-02-21 David S. Miller <davem@davemloft.net>
22910 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22911 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22913 2012-02-20 David S. Miller <davem@davemloft.net>
22915 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22916 using a normal save/restore sequence, rather than allocating a
22917 dummy stack frame just to store a frame pointer and restore.
22918 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22920 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22922 * manual/install.texi: Fix stray word in line-wrapped comment.
22924 2012-02-20 David S. Miller <davem@davemloft.net>
22926 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22927 both binutils and gcc support GOTDATA.
22929 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22930 "rd %pc" in the PIC register setup sequences.
22932 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22933 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22934 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22935 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22936 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22937 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22938 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22939 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22940 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22941 (SYSCALL_ERROR_HANDLER): Likewise.
22942 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22943 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22944 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22945 (SYSCALL_ERROR_HANDLER): Likewise.
22947 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22948 (HAVE_GCC_GOTDATA): New.
22949 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22950 relocation support in both binutils and gcc.
22951 * sysdeps/sparc/elf/configure: Regenerate.
22953 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22954 * sysdeps/sparc/sparc32/elf/configure: Delete.
22955 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22956 * sysdeps/sparc/sparc64/elf/configure: Delete.
22957 * sysdeps/sparc/elf/configure.in: New file.
22958 * sysdeps/sparc/elf/configure: Generate.
22960 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22961 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22962 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22963 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22964 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22966 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22968 * manual/install.texi: Do not mention specific glibc version
22970 * manual/libc.texinfo (VERSION, UPDATED): Update.
22971 (@copying): Use @copyright{} and range of years.
22973 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22976 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22977 [crti.S not in sysdirs] (generated): Do not append.
22978 [crti.S not in sysdirs] (omit-deps): Likewise.
22979 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22980 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22981 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22982 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22983 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22985 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22986 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22987 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22988 * csu/defs.awk: Remove file.
22989 * sysdeps/generic/initfini.c: Likewise.
22990 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22992 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22995 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22997 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22998 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22999 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23000 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23001 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23002 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23004 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23005 (__EPOLL_PACKED): Define to empty if not defined by
23007 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23011 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23013 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23014 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23015 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23016 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23018 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23022 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23024 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23026 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23027 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23028 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23031 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23033 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23034 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23036 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23038 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23039 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23041 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23043 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23046 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23048 * math/w_acos.c: Use non-signaling floating-point comparisons.
23049 * math/w_acosf.c: Likewise.
23050 * math/w_acosh.c: Likewise.
23051 * math/w_acoshf.c: Likewise.
23052 * math/w_acoshl.c: Likewise.
23053 * math/w_acosl.c: Likewise.
23054 * math/w_asin.c: Likewise.
23055 * math/w_asinf.c: Likewise.
23056 * math/w_asinl.c: Likewise.
23057 * math/w_atanh.c: Likewise.
23058 * math/w_atanhf.c: Likewise.
23059 * math/w_atanhl.c: Likewise.
23060 * math/w_exp2.c: Likewise.
23061 * math/w_exp2f.c: Likewise.
23062 * math/w_exp2l.c: Likewise.
23063 * math/w_j0.c: Likewise.
23064 * math/w_j0f.c: Likewise.
23065 * math/w_j0l.c: Likewise.
23066 * math/w_j1.c: Likewise.
23067 * math/w_j1f.c: Likewise.
23068 * math/w_j1l.c: Likewise.
23069 * math/w_jn.c: Likewise.
23070 * math/w_jnf.c: Likewise.
23071 * math/w_log.c: Likewise.
23072 * math/w_log10.c: Likewise.
23073 * math/w_log10f.c: Likewise.
23074 * math/w_log10l.c: Likewise.
23075 * math/w_log2.c: Likewise.
23076 * math/w_log2f.c: Likewise.
23077 * math/w_log2l.c: Likewise.
23078 * math/w_logf.c: Likewise.
23079 * math/w_logl.c: Likewise.
23080 * math/w_sqrt.c: Likewise.
23081 * math/w_sqrtf.c: Likewise.
23082 * math/w_sqrtl.c: Likewise.
23083 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23084 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23085 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23086 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23087 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23089 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23092 * manual/string.texi (strnlen): Use correct parameter name in
23093 equivalent expression.
23095 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23098 * manual/users.texi (seteuid): Consistently use neweuid for
23101 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23104 * manual/nss.texi (Services in the NSS configuration): Correct
23105 list of services in example configuration file.
23107 2012-02-19 Nick Bowler <nbowler@draconx.ca>
23110 * manual/arith.texi: Remove statements about negative zero
23111 behaving identically to zero.
23113 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23116 * manual/install.texi: Do not document upgrading from libc5.
23118 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23121 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23123 2012-02-18 David S. Miller <davem@davemloft.net>
23125 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23126 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23127 %o7 across the call.
23128 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23130 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23131 SETUP_PIC_REG_LEAF.
23132 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23133 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23134 * sysdeps/sparc/crtn.S: Likewise.
23136 2012-02-17 Ulrich Drepper <drepper@gmail.com>
23138 * aout/Makefile: Remove.
23140 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23143 * manual/examples/argp-ex1.c (main): Format definition in GNU
23145 * manual/examples/argp-ex2.c (main): Likewise.
23146 * manual/examples/argp-ex3.c (main): Likewise.
23147 * manual/examples/argp-ex4.c (main): Likewise.
23148 * manual/examples/longopt.c (main): Use new-style prototype
23150 * manual/examples/strncat.c (main): Specify return type and use
23151 (void) for arguments.
23152 * manual/examples/subopt.c (main): Use char **argv argument.
23154 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23157 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23160 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23163 * manual/string.texi (strchr): Change when strchrnul is
23166 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23169 * manual/locale.texi (setlocale): Document LOCPATH.
23171 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23174 * manual/process.texi (execle): Move @dots{} before last argument.
23176 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
23179 * manual/charset.texi (Generic Charset Conversion): Fix typo
23180 (LC_TYPE -> LC_CTYPE).
23182 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23185 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23186 (scalbnf): Likewise.
23187 (scalbnl): Likewise.
23188 (scalbln): Likewise.
23189 (scalblnf): Likewise.
23190 (scalblnl): Likewise.
23191 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23192 (vwarnx): Likewise.
23195 * manual/filesys.texi (telldir): Use braces around return type.
23196 * manual/llio.texi (mmap): Add space after comma.
23197 (mmap64): Likewise.
23198 * manual/math.texi (jn): Use @var{} on parameter names.
23204 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23206 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23208 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23209 (sched_get_priority_max): Likewise.
23210 * manual/signal.texi (sigvec): Add space after comma.
23211 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23213 (if_indextoname): Likewise.
23214 (if_freenameindex): Likewise.
23215 (sendto): Use ',' instead of '.' in prototype.
23216 * manual/startup.texi (syscall): Use @dots{} instead of literal
23218 * manual/stdio.texi (__fpending): Separate initial words of
23219 paragraph from @deftypefun line.
23220 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23222 (vsyslog): Use @var{} on parameter names.
23223 * manual/terminal.texi (stty): Use @var{} on parameter names.
23224 * manual/users.texi (getutmp): Use @var{} on parameter names.
23225 (getutmpx): Likewise.
23227 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23230 * manual/stdio.texi (fopen): Fix typos in description of
23233 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23236 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23237 get clock_id definition.
23239 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
23242 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23243 (madvise): Cast every argument to void on its own.
23245 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23248 * manual/startup.texi (Exit Status): Fix typo.
23250 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23253 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23254 * manual/examples/argp-ex2.c: Likewise.
23255 * manual/examples/argp-ex3.c: Likewise.
23257 2012-02-16 Richard Henderson <rth@redhat.com>
23259 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23260 * sysdeps/s390/s390-32/initfini.c: Remove.
23261 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23262 * sysdeps/s390/s390-64/initfini.c: Remove.
23264 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23266 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23267 compiler output for sysdeps/generic/initfini.c.
23268 * sysdeps/sh/elf/initfini.c: Remove file.
23270 2012-02-16 David S. Miller <davem@davemloft.net>
23273 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23275 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23276 * sysdeps/sparc/crti.S: New file.
23277 * sysdeps/sparc/crtn.S: New file.
23278 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23279 * sysdeps/sparc/sparc64/Makefile: Likewise.
23281 2012-02-15 Mike Frysinger <vapier@gentoo.org>
23284 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23286 2012-02-15 Roland McGrath <roland@hack.frob.com>
23289 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23291 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23292 (write, read, close): Likewise.
23293 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23295 2012-02-15 Joseph Myers <joseph@codesourcery.com>
23297 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23298 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23299 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23300 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23302 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23306 2012-02-14 Marek Polacek <polacek@redhat.com>
23308 * sysdeps/x86_64/crti.S: New file.
23309 * sysdeps/x86_64/crtn.S: New file.
23310 * sysdeps/x86_64/elf/initfini.c: Remove file.
23312 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23314 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23315 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23316 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23317 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23319 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23323 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23325 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23326 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23327 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23328 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23330 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23334 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23336 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23337 __feraiseexcept instead of feraiseexcept.
23339 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23340 nanosleep invocations.
23341 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23342 strings, and add error checking for a nanosleep invocations.
23344 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23346 Replace FSF snail mail address with URLs, as per GNU coding standards.
23347 Most of the snail mail addresses were wrong anyway, and omitting
23348 them makes the source code easier to maintain. Almost all of the
23349 changes are to license notices and to locale LC_IDENTIFICATION
23350 addresses, except for this one:
23351 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23352 not its snail mail address.
23354 2012-02-09 Richard Henderson <rth@twiddle.net>
23356 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23357 of kernel-features.h.
23359 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23361 2012-02-08 Marek Polacek <polacek@redhat.com>
23363 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23364 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23365 * sysdeps/gnu/_G_config.h: Likewise.
23366 * sysdeps/generic/_G_config.h: Likewise.
23368 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23370 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23374 * sysdeps/powerpc/powerpc32/crti.S: New file.
23375 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23376 * sysdeps/powerpc/powerpc64/crti.S: New file.
23377 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23379 * Makeconfig (have-initfini): Don't set.
23380 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23381 * configure.in (nopic_initfini): Don't substitute.
23382 * config.h.in (HAVE_INITFINI): Don't #undef.
23383 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23384 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23386 2012-02-08 Joseph Myers <joseph@codesourcery.com>
23388 Support crti.S and crtn.S provided directly by architectures.
23389 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23390 [crti.S in sysdirs] (omit-deps): Likewise.
23391 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23392 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23393 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23394 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23395 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23396 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23397 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23398 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23399 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23400 compiler output for sysdeps/generic/initfini.c.
23401 * sysdeps/i386/elf/Makefile: Remove file.
23402 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23404 2012-02-07 Marek Polacek <polacek@redhat.com>
23406 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23407 * sysdeps/gnu/_G_config.h: Likewise.
23408 * sysdeps/mach/hurd/_G_config.h: Likewise.
23410 2012-02-07 Marek Polacek <polacek@redhat.com>
23412 * math/Makefile (tests): Add tst-CMPLX2.
23413 * math/tst-CMPLX2.c: New file.
23415 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23417 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23419 * math/libm-test.inc (jn_test): Add missing L suffix.
23421 2012-02-06 Marek Polacek <polacek@redhat.com>
23423 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23424 * sysdeps/i386/fpu/e_powf.S: Likewise.
23425 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23426 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23427 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23428 * sysdeps/i386/fpu/e_pow.S: Likewise.
23429 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23430 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23431 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23432 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23433 * sysdeps/i386/fpu/e_log2.S: Likewise.
23434 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23435 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23436 * sysdeps/i386/fpu/e_powl.S: Likewise.
23437 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23438 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23439 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23440 * sysdeps/i386/fpu/e_logl.S: Likewise.
23441 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23442 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23443 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23444 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23445 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23446 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23447 * sysdeps/i386/fpu/e_log.S: Likewise.
23448 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23449 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23450 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23451 * sysdeps/i386/fpu/e_logf.S: Likewise.
23452 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23453 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23454 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23455 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23456 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23457 * sysdeps/i386/fpu/e_log10.S: Likewise.
23458 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23459 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23460 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23461 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23462 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23463 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23464 * sysdeps/i386/asm-syntax.h: Likewise.
23465 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23466 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23467 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23468 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23469 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23470 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23471 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23472 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23473 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23474 * sysdeps/powerpc/sysdep.h: Likewise.
23475 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23476 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23478 2012-02-06 Joseph Myers <joseph@codesourcery.com>
23481 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23483 2012-02-06 Joseph Myers <joseph@codesourcery.com>
23485 * sysdeps/i386/sysdep.h: Include <features.h>.
23486 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23489 2012-02-05 Joseph Myers <joseph@codesourcery.com>
23491 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23493 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23496 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23498 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23499 (SETUP_PIC_REG): Use GET_PC_THUNK.
23500 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23503 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23505 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23506 for non-PIC compilation.
23507 (SETUP_PIC_REG): Add .p2align directive.
23508 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23509 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23510 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23511 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23512 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23513 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23514 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23515 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23516 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23517 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23518 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23519 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23520 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23521 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23522 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23523 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23524 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23525 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23526 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23527 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23528 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23529 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23530 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23531 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23532 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23534 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23535 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23536 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23537 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23538 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23539 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23540 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23541 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23542 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23543 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23544 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23545 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23546 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23547 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23548 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23550 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23552 * math/tst-CMPLX.c: Include <stdio.h>.
23554 2012-01-31 Joseph Myers <joseph@codesourcery.com>
23556 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23558 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23559 * sysdeps/sparc/bits/mathdef.h: Likewise.
23561 2012-01-31 Marek Polacek <polacek@redhat.com>
23563 * libio/libio.h: Don't define _PARAMS.
23564 * locale/programs/config.h: Don't define PARAMS.
23565 * stdlib/strtol_l.c: Likewise.
23566 (__strtol_l): Remove PARAMS from the prototype.
23568 2012-01-31 Ulrich Drepper <drepper@gmail.com>
23570 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23571 names. Just use the correct names. Remove unnecessary wrapper
23573 * malloc/arena.c: Likewise.
23574 * malloc/hooks.c: Likewise.
23576 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23577 ARENA_TEST says not to. Simplify test for creation of a new arena.
23578 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23580 2012-01-30 Ulrich Drepper <drepper@gmail.com>
23582 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23584 (update_get_addr): New function.
23585 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23586 GET_ADDR_MODULE parameter.
23588 2012-01-30 Joseph Myers <joseph@codesourcery.com>
23590 * crypt/cert.c: Remove __STDC__ conditionals.
23591 * crypt/crypt-entry.c: Likewise.
23592 * crypt/crypt_util.c: Likewise.
23593 * libio/filedoalloc.c: Likewise.
23594 * libio/fileops.c: Likewise.
23595 * libio/genops.c: Likewise.
23596 * libio/iofclose.c: Likewise.
23597 * libio/iofdopen.c: Likewise.
23598 * libio/iofopen.c: Likewise.
23599 * libio/iofopen64.c: Likewise.
23600 * libio/iogetdelim.c: Likewise.
23601 * libio/iopopen.c: Likewise.
23602 * libio/obprintf.c: Likewise.
23603 * libio/oldfileops.c: Likewise.
23604 * libio/oldiofclose.c: Likewise.
23605 * libio/oldiofdopen.c: Likewise.
23606 * libio/oldiofopen.c: Likewise.
23607 * libio/oldiopopen.c: Likewise.
23608 * libio/wfiledoalloc.c: Likewise.
23609 * libio/wgenops.c: Likewise.
23610 * locale/programs/xmalloc.c: Likewise.
23611 * misc/syslog.c: Likewise.
23612 * stdio-common/xbug.c: Likewise.
23613 * string/memchr.c: Likewise.
23614 * string/memcmp.c: Likewise.
23615 * string/memrchr.c: Likewise.
23616 * string/rawmemchr.c: Likewise.
23617 * sysdeps/posix/getcwd.c: Likewise.
23618 * time/strftime_l.c: Likewise.
23620 2012-01-30 Joseph Myers <joseph@codesourcery.com>
23622 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
23623 * config.make.in (config-cflags-sse2avx): Define.
23624 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23627 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23629 * scripts/config.guess: Update from upstream config git repository.
23630 * scripts/config.sub: Likewise.
23632 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23634 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23636 (R_TILEPRO_*, R_TILEGX_*): New macros.
23638 * scripts/firstversions.awk: Fix bug in version range handling.
23640 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23642 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23644 * include/sys/epoll.h: New file.
23645 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23648 2012-01-28 Ulrich Drepper <drepper@gmail.com>
23650 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23651 Avoid unnecessary __WORDSIZE == 64 test.
23652 (fmaxf): Use VEX format if possible.
23657 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23658 * math/math_private.h: Remove libc_fegetround* and
23660 * sysdeps/i386/configure.in: Check for -msse2avx.
23661 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23662 also if SSE2AVX is defined.
23663 Remove libc_fegetround* and libc_fesetround*.
23664 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23665 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23666 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23668 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23669 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23670 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23671 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23672 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23674 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23676 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23678 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23680 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23682 2012-01-27 Ulrich Drepper <drepper@gmail.com>
23685 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23687 * Makeconfig (libm): Define.
23688 * elf/Makefile: Add rules to build and run tst-relsort1.
23689 * elf/tst-relsort1.c: New file.
23690 * elf/tst-relsort1mod1.c: New file.
23691 * elf/tst-relsort1mod2.c: New file.
23693 2012-01-27 Joseph Myers <joseph@codesourcery.com>
23695 * math/s_ldexp.c: Remove __STDC__ conditionals.
23696 * math/s_ldexpf.c: Likewise.
23697 * math/s_ldexpl.c: Likewise.
23698 * math/s_nextafter.c: Likewise.
23699 * math/s_nexttowardf.c: Likewise.
23700 * math/s_significand.c: Likewise.
23701 * math/s_significandf.c: Likewise.
23702 * math/s_significandl.c: Likewise.
23703 * math/w_jnl.c: Likewise.
23704 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23705 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23706 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23707 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23708 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23709 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23710 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23711 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23712 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23713 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23714 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23715 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23716 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23717 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23718 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23719 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23720 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23721 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23723 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23724 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23725 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23726 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23727 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23728 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23729 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23730 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23731 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23732 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23733 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23734 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23735 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23736 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23737 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23738 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23739 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23740 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23741 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23742 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23743 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23744 * sysdeps/ieee754/k_standard.c: Likewise.
23745 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23746 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23747 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23748 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23749 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23750 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23751 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23752 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23753 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23754 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23755 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23756 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23757 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23758 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23759 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23760 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23761 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23762 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23763 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23764 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23765 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23766 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23767 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23768 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23769 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23770 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23771 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23772 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23773 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23774 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23775 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23776 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23777 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23778 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23779 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23780 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23781 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23782 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23783 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23784 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23785 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23786 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23787 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23788 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23789 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23790 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23791 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23792 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23793 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23794 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23795 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23796 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23797 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23798 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23799 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23800 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23801 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23802 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23803 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23804 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23805 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23806 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23807 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23808 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23809 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23810 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23811 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23812 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23813 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23814 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23815 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23816 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23817 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23818 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23819 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23820 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23821 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23822 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23823 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23824 * sysdeps/ieee754/s_matherr.c: Likewise.
23825 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23826 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23828 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23830 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23832 * crypt/md5.h: Remove __STDC__ conditionals.
23833 * libio/libioP.h: Likewise.
23834 * locale/programs/config.h: Likewise.
23835 * sysdeps/generic/sysdep.h: Likewise.
23836 * sysdeps/i386/asm-syntax.h: Likewise.
23837 * sysdeps/s390/asm-syntax.h: Likewise.
23838 * sysdeps/unix/sysdep.h: Likewise.
23839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23842 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23844 * libio/libio.h: Remove __STDC__ conditionals.
23845 * malloc/obstack.h: Likewise.
23846 * math/complex.h: Likewise.
23847 * math/math.h: Likewise.
23848 * sysdeps/generic/_G_config.h: Likewise.
23849 * sysdeps/gnu/_G_config.h: Likewise.
23850 * sysdeps/mach/hurd/_G_config.h: Likewise.
23851 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23852 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23853 * sysdeps/sparc/bits/mathdef.h: Likewise.
23855 2012-01-26 Ulrich Drepper <drepper@gmail.com>
23858 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23859 Clean up HAS_* macros.
23860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23861 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23866 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23867 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23868 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23869 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23871 2012-01-25 Joseph Myers <joseph@codesourcery.com>
23873 * elf/tst-unique3.cc (gets): Remove declaration.
23874 * elf/tst-unique3lib.cc (gets): Likewise.
23875 * elf/tst-unique3lib2.cc (gets): Likewise.
23876 * elf/tst-unique4.cc (gets): Likewise.
23878 2012-01-24 Ulrich Drepper <drepper@gmail.com>
23880 * include/stdio.h: Add C++ protection. Add gets declarations and
23882 * debug/tst-chk1.c: Don't declare gets here.
23883 * stdio-common/tst-gets.c: Likewise.
23885 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23887 * posix/glob: Remove directory.
23889 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23891 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23893 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23895 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23896 of the non-standard EPFNOSUPPORT.
23898 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23900 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23901 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23902 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23904 2012-01-21 Ulrich Drepper <drepper@gmail.com>
23906 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23908 2012-01-20 Ulrich Drepper <drepper@gmail.com>
23910 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23912 * nscd/grpcache.c (cache_addgr): Likewise.
23913 * nscd/hstcache.c (cache_addhst): Likewise.
23914 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23915 * nscd/pwdcache.c (cache_addpw): Likewise.
23916 * nscd/servicescache.c (cache_addserv): Likewise.
23918 2012-01-16 Ulrich Drepper <drepper@gmail.com>
23920 * malloc/malloc.c: Various cleanups.
23921 * malloc/hooks.c: Likewise.
23923 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23924 * stdlib/bug-fmtmsg1.c: New file.
23926 * stdlib/fmtmsg.c (init): Add missing unlock.
23927 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23929 2012-01-12 Marek Polacek <polacek@redhat.com>
23931 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23934 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23936 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23937 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23938 macro to ensure uniqueness of label name.
23939 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23940 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23942 2012-01-11 Ulrich Drepper <drepper@gmail.com>
23944 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23946 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23947 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23948 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23949 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23951 2012-01-10 Ulrich Drepper <drepper@gmail.com>
23953 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23955 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23956 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23957 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23959 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23961 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23962 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23963 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23964 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23966 * math/bits/math-finite.h: Add ldexp support.
23968 2012-01-10 Marek Polacek <polacek@redhat.com>
23970 * locale/programs/localedef.h (show_archive_content): Add noreturn
23973 2012-01-09 Ulrich Drepper <drepper@gmail.com>
23975 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23977 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23979 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23981 * io/Makefile (headers): Add bits/poll2.h.
23983 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23986 typo #include statement.
23988 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23990 * include/sys/cdefs.h: Define __attribute_alloc_size.
23991 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23992 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23993 * elf/pldd.c: Likewise.
23994 * iconv/iconv_charmap.c: Likewise.
23995 * iconv/iconvconfig.c: Likewise.
23996 * iconv/strtab.c: Likewise.
23997 * locale/programs/locale.c: Likewise.
23998 * locale/programs/localedef.h: Likewise.
23999 * locale/programs/simple-hash.c: Likewise.
24000 * nscd/nscd.h: Likewise.
24001 * nss/makedb.c: Likewise.
24002 * sysdeps/generic/ldconfig.h: Likewise.
24003 * locale/programs/localedef.c: Remove xmalloc prototype.
24004 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24006 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24008 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24011 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24013 * math/Makefile (tests): Add tst-CMPLX.
24014 * math/tst-CMPLX.c: New file.
24016 * math/complex.h (CMPLXL): Fix typo.
24018 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24019 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24021 * debug/tst-chk1.c: Add poll and ppoll tests.
24022 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24023 * include/sys/poll.h: Add hidden proto for ppoll.
24024 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24025 * sysdeps/mach/hurd/ppoll.c: Likewise.
24026 * io/ppoll.c: Likewise.
24027 * debug/poll_chk.c: New file.
24028 * debug/ppoll_chk.c: New file.
24029 * include/bits/poll2.h: New file.
24030 * io/bits/poll2.h: New file.
24033 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24035 * configure.in: static is always set to yes. Remove.
24036 * config.make.in: Don't set build-static.
24037 * Makeconfig: Remove use of build-static.
24038 * dlfcn/Makefile: Likewise.
24039 * elf/Makefile: Likewise.
24040 * math/Makefile: Likewise.
24041 * misc/Makefile: Likewise.
24042 * nptl/Makefile: Likewise.
24043 * sysdeps/mach/hurd/Makefile: Likewise.
24045 * configure.in: PWD_P is not used anymore.
24046 * config.make.in: Remove PWD_P entry.
24048 * configure.in: Remove last remnants of RANLIB.
24049 No need to check for signed size_t anymore.
24050 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24052 Remove __builtin_expect test because we require at least gcc 3.4.
24053 * aclocal.m4: Likewise.
24055 * wcsmbs/mbrtoc16.c: Implement using towc function.
24056 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24057 * wcsmbs/wcsmbsload.c: Likewise.
24058 * iconv/gconv_simple.c: Likewise.
24059 * iconv/gconv_int.h: Likewise.
24060 * iconv/gconv_builtin.h: Likewise.
24061 * iconv/iconv_prog.c: Remove CHAR16 handling.
24063 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24065 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24067 * configure.in: Remove --with-elf and --enable-bounded options.
24068 Dont set base_machine for ia64. More non-ELF conditions removed.
24069 Remove testing and setting of leading underscore information.
24070 * config.make.in (build-bounded): Set to no.
24071 * config.h.in: Remove NO_UNDERSCORES entry.
24072 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24074 * csu/start.c: Remove !NO_UNDERSCORE code.
24075 * locale/localeinfo.h: Likewise.
24076 * sysdeps/generic/machine-gmon.h: Likewise.
24077 * sysdeps/generic/sysdep.h: Likewise.
24078 * sysdeps/i386/sysdep.h: Likewise.
24079 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24080 * sysdeps/mach/sysdep.h: Likewise.
24081 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24082 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24083 * sysdeps/sh/sysdep.h: Likewise.
24084 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24085 * sysdeps/unix/i386/sysdep.S: Likewise.
24086 * sysdeps/unix/sparc/start.c: Likewise.
24087 * sysdeps/unix/sparc/sysdep.S: Likewise.
24088 * sysdeps/unix/sparc/sysdep.h: Likewise.
24089 * sysdeps/unix/start.c: Likewise.
24090 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24091 * sysdeps/x86_64/sysdep.h: Likewise.
24093 2012-01-07 Ulrich Drepper <drepper@gmail.com>
24096 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24098 * argp/argp-fmtstream.h: Use const instead __const.
24099 * argp/argp.h: Likewise.
24100 * assert/assert.h: Likewise.
24101 * bits/fenv.h: Likewise.
24102 * bits/sched.h: Likewise.
24103 * bits/sigset.h: Likewise.
24104 * bits/sigthread.h: Likewise.
24105 * catgets/nl_types.h: Likewise.
24106 * conform/data/pthread.h-data: Likewise.
24107 * crypt/crypt-private.h: Likewise.
24108 * crypt/crypt.h: Likewise.
24109 * crypt/crypt_util.c: Likewise.
24110 * ctype/ctype.h: Likewise.
24111 * debug/execinfo.h: Likewise.
24112 * debug/mbsnrtowcs_chk.c: Likewise.
24113 * debug/mbsrtowcs_chk.c: Likewise.
24114 * debug/wcsnrtombs_chk.c: Likewise.
24115 * debug/wcsrtombs_chk.c: Likewise.
24116 * debug/wcstombs_chk.c: Likewise.
24117 * dirent/dirent.h: Likewise.
24118 * dlfcn/dlfcn.h: Likewise.
24119 * elf/neededtest4.c: Likewise.
24120 * grp/grp.h: Likewise.
24121 * gshadow/gshadow.h: Likewise.
24122 * iconv/gconv.h: Likewise.
24123 * iconv/gconv_int.h: Likewise.
24124 * iconv/gconv_simple.c: Likewise.
24125 * iconv/iconv.h: Likewise.
24126 * iconv/loop.c: Likewise.
24127 * iconv/skeleton.c: Likewise.
24128 * include/aio.h: Likewise.
24129 * include/aliases.h: Likewise.
24130 * include/argz.h: Likewise.
24131 * include/arpa/inet.h: Likewise.
24132 * include/assert.h: Likewise.
24133 * include/dirent.h: Likewise.
24134 * include/dlfcn.h: Likewise.
24135 * include/execinfo.h: Likewise.
24136 * include/fcntl.h: Likewise.
24137 * include/fenv.h: Likewise.
24138 * include/glob.h: Likewise.
24139 * include/grp.h: Likewise.
24140 * include/libintl.h: Likewise.
24141 * include/mntent.h: Likewise.
24142 * include/netdb.h: Likewise.
24143 * include/pwd.h: Likewise.
24144 * include/rpc/netdb.h: Likewise.
24145 * include/sched.h: Likewise.
24146 * include/search.h: Likewise.
24147 * include/shadow.h: Likewise.
24148 * include/signal.h: Likewise.
24149 * include/stdio.h: Likewise.
24150 * include/stdlib.h: Likewise.
24151 * include/string.h: Likewise.
24152 * include/sys/socket.h: Likewise.
24153 * include/sys/stat.h: Likewise.
24154 * include/sys/statfs.h: Likewise.
24155 * include/sys/statvfs.h: Likewise.
24156 * include/sys/syslog.h: Likewise.
24157 * include/sys/time.h: Likewise.
24158 * include/sys/uio.h: Likewise.
24159 * include/time.h: Likewise.
24160 * include/unistd.h: Likewise.
24161 * include/utmp.h: Likewise.
24162 * include/wchar.h: Likewise.
24163 * include/wctype.h: Likewise.
24164 * inet/aliases.h: Likewise.
24165 * inet/arpa/inet.h: Likewise.
24166 * inet/netinet/ether.h: Likewise.
24167 * inet/netinet/in.h: Likewise.
24168 * intl/libintl.h: Likewise.
24169 * io/bits/fcntl2.h: Likewise.
24170 * io/fcntl.h: Likewise.
24171 * io/ftw.h: Likewise.
24172 * io/sys/poll.h: Likewise.
24173 * io/sys/stat.h: Likewise.
24174 * io/sys/statfs.h: Likewise.
24175 * io/sys/statvfs.h: Likewise.
24176 * io/utime.h: Likewise.
24177 * libio/bits/stdio.h: Likewise.
24178 * libio/bits/stdio2.h: Likewise.
24179 * libio/libio.h: Likewise.
24180 * libio/libioP.h: Likewise.
24181 * libio/stdio.h: Likewise.
24182 * locale/lc-ctype.c: Likewise.
24183 * locale/locale.h: Likewise.
24184 * login/utmp.h: Likewise.
24185 * malloc/arena.c: Likewise.
24186 * malloc/malloc.c: Likewise.
24187 * malloc/malloc.h: Likewise.
24188 * malloc/mcheck.c: Likewise.
24189 * malloc/mtrace.c: Likewise.
24190 * math/bits/mathcalls.h: Likewise.
24191 * math/fenv.h: Likewise.
24192 * math/math_private.h: Likewise.
24193 * misc/bits/error.h: Likewise.
24194 * misc/bits/syslog.h: Likewise.
24195 * misc/err.h: Likewise.
24196 * misc/error.h: Likewise.
24197 * misc/fstab.h: Likewise.
24198 * misc/mntent.h: Likewise.
24199 * misc/regexp.h: Likewise.
24200 * misc/search.h: Likewise.
24201 * misc/sgtty.h: Likewise.
24202 * misc/sys/mman.h: Likewise.
24203 * misc/sys/syslog.h: Likewise.
24204 * misc/sys/uio.h: Likewise.
24205 * misc/sys/xattr.h: Likewise.
24206 * misc/ttyent.h: Likewise.
24207 * nis/rpcsvc/ypclnt.h: Likewise.
24208 * nss/nss.h: Likewise.
24209 * posix/bits/unistd.h: Likewise.
24210 * posix/fnmatch.h: Likewise.
24211 * posix/glob.h: Likewise.
24212 * posix/sched.h: Likewise.
24213 * posix/spawn.h: Likewise.
24214 * posix/sys/wait.h: Likewise.
24215 * posix/unistd.h: Likewise.
24216 * posix/wordexp.h: Likewise.
24217 * pwd/pwd.h: Likewise.
24218 * resolv/netdb.h: Likewise.
24219 * resource/sys/resource.h: Likewise.
24220 * rt/aio.h: Likewise.
24221 * rt/bits/mqueue2.h: Likewise.
24222 * rt/mqueue.h: Likewise.
24223 * shadow/shadow.h: Likewise.
24224 * signal/signal.h: Likewise.
24225 * socket/send.c: Likewise.
24226 * socket/sendto.c: Likewise.
24227 * socket/sys/socket.h: Likewise.
24228 * stdio-common/printf.h: Likewise.
24229 * stdlib/bits/stdlib.h: Likewise.
24230 * stdlib/fmtmsg.h: Likewise.
24231 * stdlib/monetary.h: Likewise.
24232 * stdlib/stdlib.h: Likewise.
24233 * stdlib/ucontext.h: Likewise.
24234 * streams/stropts.h: Likewise.
24235 * string/argz.h: Likewise.
24236 * string/bits/string2.h: Likewise.
24237 * string/string.h: Likewise.
24238 * string/strings.h: Likewise.
24239 * sunrpc/rpc/auth.h: Likewise.
24240 * sunrpc/rpc/auth_des.h: Likewise.
24241 * sunrpc/rpc/clnt.h: Likewise.
24242 * sunrpc/rpc/netdb.h: Likewise.
24243 * sunrpc/rpc/pmap_clnt.h: Likewise.
24244 * sunrpc/rpc/xdr.h: Likewise.
24245 * sysdeps/generic/inttypes.h: Likewise.
24246 * sysdeps/generic/net/if.h: Likewise.
24247 * sysdeps/generic/sys/swap.h: Likewise.
24248 * sysdeps/gnu/net/if.h: Likewise.
24249 * sysdeps/gnu/utmpx.h: Likewise.
24250 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24251 * sysdeps/i386/i486/bits/string.h: Likewise.
24252 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24253 * sysdeps/s390/bits/string.h: Likewise.
24254 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24255 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24256 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24257 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24258 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24259 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24260 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24261 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24262 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24263 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24264 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24265 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24266 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24267 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24268 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24269 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24270 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24272 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24273 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24274 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24275 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24276 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24277 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24278 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24279 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24280 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24281 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24282 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24284 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24285 * sysvipc/sys/ipc.h: Likewise.
24286 * sysvipc/sys/msg.h: Likewise.
24287 * sysvipc/sys/sem.h: Likewise.
24288 * sysvipc/sys/shm.h: Likewise.
24289 * termios/termios.h: Likewise.
24290 * time/sys/time.h: Likewise.
24291 * time/time.h: Likewise.
24292 * wcsmbs/bits/wchar2.h: Likewise.
24293 * wcsmbs/uchar.h: Likewise.
24294 * wcsmbs/wchar.h: Likewise.
24295 * wctype/wctype.h: Likewise.
24298 * Makeconfig: Remove all but ELF support including AIX support.
24299 * Makerules: Likewise.
24300 * config.h.in: Likewise.
24301 * config.make.in: Likewise.
24302 * configure: Likewise.
24303 * configure.in: Likewise.
24304 * csu/Makefile: Likewise.
24305 * csu/version.c: Likewise.
24306 * debug/Makefile: Likewise.
24307 * dlfcn/Makefile: Likewise.
24308 * elf/Makefile: Likewise.
24309 * extra-lib.mk: Likewise.
24310 * iconv/Makefile: Likewise.
24311 * include/libc-symbols.h: Likewise.
24312 * include/shlib-compat.h: Likewise.
24313 * resolv/Makefile: Likewise.
24314 * resolv/res_libc.c: Likewise.
24315 * rt/Makefile: Likewise.
24316 * sysdeps/i386/asm-syntax.h: Likewise.
24317 * sysdeps/i386/sysdep.h: Likewise.
24318 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24319 * sysdeps/mach/sysdep.h: Likewise.
24320 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24321 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24322 * sysdeps/s390/asm-syntax.h: Likewise.
24323 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24324 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24325 * sysdeps/sh/sysdep.h: Likewise.
24326 * sysdeps/unix/sparc/sysdep.h: Likewise.
24327 * sysdeps/wordsize-32/divdi3.c: Likewise.
24328 * sysdeps/x86_64/sysdep.h: Likewise.
24330 * argp/Versions: Remove _argp_unlock_xxx.
24333 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24334 * abilist/libBrokenLocale.abilist: Likewise.
24335 * abilist/libanl.abilist: Likewise.
24336 * abilist/libc.abilist: Likewise.
24337 * abilist/libcrypt.abilist: Likewise.
24338 * abilist/libdl.abilist: Likewise.
24339 * abilist/libm.abilist: Likewise.
24340 * abilist/libnsl.abilist: Likewise.
24341 * abilist/libpthread.abilist: Likewise.
24342 * abilist/libresolv.abilist: Likewise.
24343 * abilist/librt.abilist: Likewise.
24344 * abilist/libthread_db.abilist: Likewise.
24345 * abilist/libutil.abilist: Likewise.
24346 * abilist/libnss_db.abilist: New file.
24348 * scripts/abilist.awk: Add support for indirect functions.
24350 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24352 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24354 * shlib-versions: Remove entries for ports architectures.
24356 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24358 * elf/stackguard-macros.h: Remove support for IA-64.
24359 * elf/tst-auditmod1.c: Likewise.
24360 * sysdeps/generic/ldsodefs.h: Likewise.
24362 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24363 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24367 * configure.in: Remove --enable-omitfp support.
24369 * config.make.in: Likewise.
24370 * Makeconfig: Likewise.
24371 * manual/install.texi: Likewise.
24373 In case anyone cares, the IA-64 architecture could move to ports.
24374 * sysdeps/ia64/*: Removed.
24375 * sysdeps/unix/sysv/linux/ia64/*: Removed.
24376 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24379 * configure.in: Remove entries for unsupported architectures.
24382 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24383 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24385 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24386 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24387 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24388 fall back to using wcrtomb.
24389 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24390 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24392 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24393 * wcsmbs/tst-c16c32-1.c: New file.
24395 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24398 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24400 * elf/tst-unique3.cc: Add explicit declaration of gets.
24401 * elf/tst-unique3lib.cc: Likewise.
24402 * elf/tst-unique3lib2.cc: Likewise.
24403 * elf/tst-unique4.cc: Likewise.
24405 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24407 2012-01-06 Joseph Myers <joseph@codesourcery.com>
24410 * assert/assert.h (static_assert): Don't define for C++.
24411 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24412 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24414 2012-01-03 Ulrich Drepper <drepper@gmail.com>
24416 * iconv/loop.c (single loop): Fix assertion in storing of
24419 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24421 2012-01-01 Ulrich Drepper <drepper@gmail.com>
24423 * posix/getconf.c: Update copyright year.
24424 * nss/getent.c: Likewise.
24425 * nss/makedb.c: Likewise.
24426 * iconv/iconvconfig.c: Likewise.
24427 * iconv/iconv_prog.c: Likewise.
24428 * elf/ldconfig.c: Likewise.
24429 * elf/pldd.c: Likewise.
24430 * elf/sotruss.ksh: Likewise.
24431 * catgets/gencat.c: Likewise.
24432 * csu/version.c: Likewise.
24433 * elf/ldd.bash.in: Likewise.
24434 * elf/sprof.c (print_version): Likewise.
24435 * locale/programs/locale.c: Likewise.
24436 * locale/programs/localedef.c: Likewise.
24437 * login/programs/pt_chown.c: Likewise.
24438 * nscd/nscd.c (print_version): Likewise.
24439 * debug/xtrace.sh: Likewise.
24440 * malloc/memusage.sh: Likewise.
24441 * malloc/mtrace.pl: Likewise.
24442 * debug/catchsegv.sh: Likewise.
24444 2011-12-30 Jakub Jelinek <jakub@redhat.com>
24446 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24449 2011-12-24 Ulrich Drepper <drepper@gmail.com>
24452 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24453 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24455 * iconv/gconv_int.h: Likewise.
24456 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24457 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24458 from libc for GLIBC_2.16.
24459 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24460 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24461 * wcsmbs/uchar.h: Really define mbstate_t.
24462 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24463 * wcsmbs/c16rtomb.c: New file.
24464 * wcsmbs/mbrtoc16.c: New file.
24465 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24466 for C/POSIX locale.
24467 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24468 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24470 * wcsmbs/wchar.h: Add missing __restrict.
24472 2011-12-23 Ulrich Drepper <drepper@gmail.com>
24475 * time/Makefile (routines): Add timespec_get.
24476 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24477 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24478 timespec for ISO C11.
24479 * time/timespec_get.c: New file.
24480 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24481 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24484 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24485 * stdlib/stdlib.h: Declare aligned_alloc.
24486 * Versions.def: Add GLIBC_2.16 for libc.
24487 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24490 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24493 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
24497 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24500 * assert/assert.h (static_assert): Define.
24502 * version.h: Update for 2.16 development version.
24505 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24508 * version.h (RELEASE): Bump for 2.15 release.
24509 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24511 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24512 Patch by Marek Polacek <mpolacek@redhat.com>.
24514 * bits/byteswap.h: Protect long long constants with __extension__.
24515 * sysdeps/i386/bits/byteswap.h: Likewise.
24516 * sysdeps/ia64/bits/byteswap.h: Likewise.
24517 * sysdeps/s390/bits/byteswap.h: Likewise.
24518 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24520 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24523 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24524 destination buffer.
24525 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24527 2011-12-23 Marek Polacek <polacek@redhat.com>
24529 * elf/dl-addr.c (determine_info): Add inline keyword.
24530 * elf/tst-auditmod4b.c (check_avx): Likewise.
24531 * elf/tst-auditmod6b.c (check_avx): Likewise.
24532 * elf/tst-auditmod6c.c (check_avx): Likewise.
24533 * elf/tst-auditmod7b.c (check_avx): Likewise.
24535 2011-12-23 Ulrich Drepper <drepper@gmail.com>
24537 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24540 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24543 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24544 processing for last bytes.
24546 2011-08-06 Bruno Haible <bruno@clisp.org>
24549 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24550 U+0385, not to U+1FEE.
24553 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24554 entry for U+00A5 U+0301.
24556 2011-12-22 Ulrich Drepper <drepper@gmail.com>
24559 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24560 buffer for the output is too small.
24562 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24566 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24567 SSE flags if possible.
24569 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24572 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24573 processing for last bytes.
24575 2011-12-22 Joseph Myers <joseph@codesourcery.com>
24577 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24578 (syscall-list-default-options, syscall-list-default-condition)
24579 (syscall-list-includes): Define.
24580 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24581 list of ABIs and options and #if conditions for each ABI. Do not
24582 handle common syscalls between ABIs specially.
24583 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24585 (syscall-list-variants, syscall-list-32bit-options)
24586 (syscall-list-32bit-condition, syscall-list-64bit-options)
24587 (syscall-list-64bit-condition): Define.
24588 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24589 (syscall-list-variants, syscall-list-32bit-options)
24590 (syscall-list-32bit-condition, syscall-list-64bit-options)
24591 (syscall-list-64bit-condition): Define.
24592 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
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/x86_64/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.
24603 2011-12-22 Ulrich Drepper <drepper@gmail.com>
24605 * locale/iso-639.def: Add brx entry.
24608 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24609 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24611 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24612 __feraiseexcept_renamed.
24614 2011-12-21 Ulrich Drepper <drepper@gmail.com>
24617 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24618 EPOLLET with unsigned values.
24619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24620 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24622 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24623 to large cancellation.
24624 * math/s_cacoshf.c: Likewise.
24625 * math/s_cacoshl.c: Likewise.
24627 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24631 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24632 * math/s_cacoshf.c: Likewise.
24633 * math/s_cacoshl.c: Likewise.
24635 2011-12-21 Ulrich Drepper <drepper@gmail.com>
24638 * iconv/gconv.h: Define __GCONV_SWAP.
24639 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24640 * iconvdata/utf-16.c: Likewise.
24641 * iconvdata/utf-32.c: Likewise.
24643 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24646 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24647 numerator after shifting it by one limb.
24649 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24651 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24652 under [__USE_EXTERN_INLINES].
24654 2011-12-17 Ulrich Drepper <drepper@gmail.com>
24657 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24659 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24661 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24662 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24664 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24665 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24666 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24667 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24668 for strncasecmp/strncasecmp_l compilation.
24669 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24670 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24672 2011-12-08 Marek Polacek <mpolacek@redhat.com>
24675 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24678 2011-12-17 Ulrich Drepper <drepper@gmail.com>
24681 * time/tzfile.c (__tzfile_read): Check values from file header.
24683 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24685 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24686 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24687 * powerpc/powerpc32/dl-start.S: Likewise.
24688 * powerpc/powerpc32/elf/start.S: Likewise.
24689 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24690 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24691 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24692 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24693 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24694 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24695 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24696 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24697 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24698 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24699 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24700 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24701 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24702 * powerpc/powerpc32/memset.S: Likewise.
24703 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24704 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24705 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24706 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24707 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24708 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24709 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24710 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24711 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24712 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24713 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24714 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24715 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24717 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24719 * math/libm-test.inc: Added more nearbyint tests.
24720 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24721 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24722 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24723 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24725 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24727 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24730 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24732 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24733 Add wcscpy-ssse3 wcscpy-c.
24734 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24735 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24736 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24737 * sysdeps/x86_64/wcschr.S: New file.
24738 * sysdeps/x86_64/wcsrchr.S: New file.
24739 * string/test-strcmp.c: Remove checking of wcscmp function for
24741 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24742 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24743 wcsrchr-sse2 wcsrchr-c.
24744 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24745 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24746 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24747 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24748 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24749 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24750 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24751 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24752 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24753 * wcsmbc/wcschr.c (WCSCHR): New macro.
24755 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24757 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24758 * wcsmbs/test-wcsrchr.c: New file.
24759 * string/test-strrchr.c: Add wcsrchr support.
24761 * wcsmbs/test-wcscpy.c: New file.
24762 * string/test-strcpy.c: Add wcscpy support.
24765 2011-12-10 Ulrich Drepper <drepper@gmail.com>
24767 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24770 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24773 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24775 2011-12-04 Ulrich Drepper <drepper@gmail.com>
24777 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24778 Minor optimizations.
24780 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24781 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24782 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24784 2011-12-03 Ulrich Drepper <drepper@gmail.com>
24786 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24787 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24788 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24789 for gcc to avoid warnings.
24790 * inet/Makefile (tests): Add tst-checks.
24791 * inet/tst-checks.c: New file.
24793 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24796 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24799 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24800 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24802 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24804 2011-12-02 Ulrich Drepper <drepper@gmail.com>
24806 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24809 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24811 2011-11-29 Joseph Myers <joseph@codesourcery.com>
24813 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24814 conditional on GCC version.
24815 (__arch_compare_and_exchange_val_8_acq)
24816 (__arch_compare_and_exchange_val_16_acq)
24817 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24818 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24819 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24821 2011-12-02 Joseph Myers <joseph@codesourcery.com>
24823 * sysdeps/sh/backtrace.c: New file.
24825 2011-12-02 Andreas Schwab <schwab@redhat.com>
24827 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24830 2011-12-01 Andreas Schwab <schwab@redhat.com>
24832 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24833 falling back to utime.
24835 2011-11-30 Andreas Schwab <schwab@redhat.com>
24837 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24838 expectations for float.
24840 2011-11-29 Andreas Schwab <schwab@redhat.com>
24842 * locale/weight.h (findidx): Add parameter len.
24843 * locale/weightwc.h (findidx): Likewise.
24844 * posix/fnmatch_loop.c (FCT): Adjust caller.
24845 * posix/regcomp.c (build_equiv_class): Likewise.
24846 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24847 * posix/regexec.c (check_node_accept_bytes): Likewise.
24848 * string/strcoll_l.c (STRCOLL): Likewise.
24849 * string/strxfrm_l.c (STRXFRM): Likewise.
24851 2011-11-17 Ulrich Drepper <drepper@gmail.com>
24853 * Makefile.in: Remove CVSOPT handling.
24854 * configure.in: Remove use of AC_REVISION.
24855 * iconvdata/Makefile (distribute): No need to filter out CVS.
24856 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24859 2011-11-16 Andreas Schwab <schwab@redhat.com>
24861 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24862 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24863 [USE_AS_STRNCASECMP_L]: Likewise.
24864 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24865 NO_TLS_DIRECT_SEG_REFS.
24866 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24867 Fix argument offsets for non-PIC.
24868 [USE_AS_STRNCASECMP_L]: Likewise.
24869 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24870 NO_TLS_DIRECT_SEG_REFS.
24872 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24874 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24876 * locale/loadlocale.c (_nl_load_locale): Likewise.
24878 2011-11-15 Andreas Schwab <schwab@redhat.com>
24880 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24881 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24882 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24883 (SYSCALL_GETTIME): Set errno on error.
24885 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24886 count references to noai6ai_cached.
24888 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24890 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24892 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24893 FD_CLOEXEC for /proc/self/maps.
24895 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24896 FD_CLOEXEC for /proc/meminfo.
24898 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24901 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24902 FD_CLOEXEC for given file.
24904 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24906 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24907 FD_CLOEXEC for /etc/hosts.
24908 (_gethtent): Likewise.
24910 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24912 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24913 cancellation and set FD_CLOEXEC for /etc/netgroup.
24915 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24916 reading /etc/publickey.
24918 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24919 allow cancellation when reading /etc/group.
24921 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24923 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24925 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24926 when using data file.
24928 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24930 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24931 (write_nis_obj): Use "c" and "e" in fopen.
24933 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24935 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24937 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24939 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24941 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24944 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24946 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24948 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24950 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24951 file parsing and set FD_CLOEXEC.
24953 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24955 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24957 2011-11-14 Andreas Schwab <schwab@redhat.com>
24959 * malloc/arena.c (arena_get2): Don't call reused_arena when
24960 _int_new_arena failed.
24962 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24964 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24965 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24966 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24967 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24968 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24969 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24970 to compile strcasecmp and strncasecmp.
24971 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24972 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24976 2011-11-13 Ulrich Drepper <drepper@gmail.com>
24978 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24979 locale-defines.sym to gen-as-const-headers.
24980 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24981 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24983 to compile strcasecmp and strncasecmp.
24984 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24985 strcasecmp_l and strncasecmp_l.
24986 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24987 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24988 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24989 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24990 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24991 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24992 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24993 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24994 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24995 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24996 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24998 2011-11-12 Ulrich Drepper <drepper@gmail.com>
25000 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25001 result of SYSDEP_GETTIME_CPU to retval.
25002 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25003 parameter list to macro. Remove trailing semicolon. Adjust users.
25005 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25008 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25010 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25012 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25013 from unused variable.
25015 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25017 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25020 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25023 * sunrpc/rpc_prot.c (rejected): Fix case value.
25025 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25026 unsigned long long int to avoid warnings in shift.
25028 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25030 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25033 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25034 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25035 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25037 * nis/nis_table.c (nis_list): Use variable of correct type for
25038 result of __follow_path call.
25040 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25042 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25043 of math functions ceil, trunc, floor, round, and sqrt, when
25044 avaliable on the platform.
25045 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25047 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25048 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25049 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25051 2011-10-30 Marek Polacek <mpolacek@redhat.com>
25053 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25054 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25056 2011-11-11 Roland McGrath <roland@hack.frob.com>
25058 * include/unistd.h: Fix __readlink return type.
25059 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25061 2011-11-11 Ulrich Drepper <drepper@gmail.com>
25063 * stdlib/ucontext.h: Undo last change for makecontext.
25065 2011-11-11 Andreas Schwab <schwab@redhat.com>
25067 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25069 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25070 * setjmp/setjmp.h: Mark functions as non-leaf.
25071 * setjmp/bits/setjmp2.h: Likewise.
25072 * stdlib/ucontext.h: Likewise.
25074 2011-11-10 Andreas Schwab <schwab@redhat.com>
25076 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25077 (reused_arena): Don't check arena limit.
25078 (arena_get2): Atomically check arena limit.
25080 2011-11-08 Ulrich Drepper <drepper@gmail.com>
25082 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25083 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25085 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25088 2011-11-07 Andreas Schwab <schwab@redhat.com>
25090 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25091 handler when locking.
25093 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25094 Fix size of allocated buffer.
25096 2011-11-04 Andreas Schwab <schwab@redhat.com>
25099 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25100 declarations for long double functions.
25101 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25103 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25105 2011-11-03 Andreas Schwab <schwab@redhat.com>
25107 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25110 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25113 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25115 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25117 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25119 * include/alloca.h (stackinfo_alloca_round): Define.
25120 (extend_alloca): Use it.
25121 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25122 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25125 * scripts/check-local-headers.sh: Ignore libaudit.h.
25127 * nscd/Makefile (extra-objs): Make recursively expanded.
25129 2011-11-01 Ulrich Drepper <drepper@gmail.com>
25131 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25132 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25134 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25135 * posix/tst-rfc3484-2.c: Likewise.
25136 * posix/tst-rfc3484-3.c: Likewise.
25138 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25140 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25142 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25143 process_vm_writev from libc using GLIBC_2.15 version.
25145 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25147 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25149 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25152 2011-10-31 Ulrich Drepper <drepper@gmail.com>
25155 * nss/getent.c (initgroups_keys): Show error message in case no group
25158 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25159 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25160 __bump_nl_timestamp.
25161 * nscd/connections (nscd_init): When host database is served open
25162 netlink socket and request notification about configuration changes.
25163 (main_loop_poll): Track netlink file descriptor and bump timestamp
25164 in case data becomes available.
25165 (main_loop_epoll): Likewise.
25166 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25167 (database_pers_head): Add extra_data fileds.
25168 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25169 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25170 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25172 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25173 in6ai data, call __free_in6ai.
25174 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25175 Add -DHAVE_NETLINK.
25176 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25177 interface information. Reuse previous data if netlink timestamp
25179 (__bump_nl_timestamp): New function.
25180 (__free_in6ai): New function.
25182 2011-10-30 Ulrich Drepper <drepper@gmail.com>
25184 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25185 close_not_cancel_no_status here.
25186 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25188 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25191 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25194 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25195 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25196 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25198 2011-07-03 Andreas Jaeger <aj@suse.de>
25201 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25202 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25203 * math/libm-test.inc (sin_test): Add test case.
25205 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25208 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25209 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25211 * elf/chroot_canon.c (chroot_canon): Cleanups.
25213 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25216 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25217 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25219 * string/test-strchr.c: Make usable for strchrnul testing.
25220 * string/test-strchrnul.c: New file.
25221 * string/Makefile (strop-tests): Add strchrnul.
25223 * po/it.po: Update from translation team.
25224 * po/es.po: Likewise.
25226 2011-10-28 Ulrich Drepper <drepper@gmail.com>
25228 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25229 the three constants needed as parameters. Drop the others.
25230 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25231 __m128i_strloadu_tolower.
25232 Create and initialize variable zero and use it in all the places
25233 where _mm_setzero_si128 was used.
25235 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25236 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25237 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25238 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25240 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25241 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25242 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25243 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25244 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25245 __mpranred, __mptan.
25246 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25247 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25248 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25249 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25250 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25251 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25252 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25253 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25254 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25256 2011-10-28 Andreas Schwab <schwab@redhat.com>
25258 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25259 redefine if SHARED.
25260 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25263 wide char related routines to wcsmbs subdir.
25265 2011-10-27 Andreas Schwab <schwab@redhat.com>
25268 * misc/sys/cdefs.h (__THROWNL): Define.
25269 * posix/unistd.h: Use __THREADNL instead of __THREAD
25270 for memory synchronization functions.
25272 2011-10-26 Roland McGrath <roland@hack.frob.com>
25275 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25277 * manual/stdio.texi (Obstack Streams): Node removed.
25279 2011-10-26 Andreas Schwab <schwab@redhat.com>
25281 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25282 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25283 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25285 * math/math_private.h (math_force_eval): Allow non-addressable
25287 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25289 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25291 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25292 file is not needed.
25294 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25295 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25296 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25297 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25298 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25299 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25300 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25301 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25303 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25304 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25305 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25306 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25307 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25308 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25309 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25310 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25311 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25312 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25313 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25314 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25315 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25316 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25317 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25318 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25319 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25320 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25321 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25323 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25324 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25326 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25327 place. Use VEX encoding when compiling for AVX.
25329 2011-10-25 Andreas Schwab <schwab@redhat.com>
25331 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25332 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25334 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25336 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25338 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25339 useless if() expression.
25340 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25341 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25342 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25343 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25344 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25345 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25346 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25347 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25348 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25349 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25350 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25351 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25352 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25353 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25354 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25355 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25356 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25357 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25358 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25360 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25362 2011-10-25 Andreas Schwab <schwab@redhat.com>
25364 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25366 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25368 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25370 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25371 .text section. Avoid duplicate constants.
25372 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25373 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25374 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25376 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25380 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25381 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25382 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25383 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25384 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25385 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25386 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25387 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25388 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25389 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25390 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25391 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25392 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25393 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25394 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25395 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25396 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25397 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25398 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25399 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25400 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25401 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25402 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25403 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25404 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25405 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25406 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25407 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25408 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25409 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25410 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25411 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25412 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25413 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25414 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25415 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25416 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25418 2011-10-24 Ulrich Drepper <drepper@gmail.com>
25420 * sysdeps/x86_64/dla.h: Move to ...
25421 * sysdeps/x86_64/fpu/dla.h: ...here.
25422 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25423 situations. Use __builtin_fma only for gcc 4.6 and up.
25425 * config.make.in: Add have-mfma4 entry.
25426 * configure.in: Substitute libc_cv_cc_fma4.
25427 * math/Makefile (dbl-only-routines): Add sincostab.
25428 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25429 Use __sincostab not sincos.
25430 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25432 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25433 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25435 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25437 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25438 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25439 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25440 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25442 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25443 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25445 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25446 define aliases when function name is a macro.
25447 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25448 sysdeps/ieee754/dbl-64/sincos.tbl.
25449 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25450 fma4-enabled routines.
25451 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25452 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25453 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25454 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25455 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25456 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25457 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25458 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25459 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25460 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25461 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25462 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25463 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25464 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25465 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25466 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25467 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25468 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25469 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25470 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25471 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25472 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25473 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25474 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25475 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25476 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25477 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25478 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25479 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25480 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25482 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25484 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25485 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25486 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25487 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25489 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25490 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25491 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25493 2011-10-24 Andreas Schwab <schwab@redhat.com>
25495 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25497 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25499 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25501 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25503 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25505 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25506 Remove unused variable magic_bits.
25507 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25509 * string/strnlen.c: Define and use STRNLEN macro.
25510 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25511 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25512 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25513 * wcsmbs/wcslen.c: Define and use WCSLEN.
25514 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25515 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25516 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25517 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25518 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25519 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25520 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25522 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25525 strnlen-sse2-no-bsf.
25526 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25527 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25528 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25529 Add strnlen support.
25530 (USE_AS_STRNLEN): New macro.
25531 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25532 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25533 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25534 * sysdeps/x86_64/wcslen.S: New file.
25536 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25538 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25539 XMM-moves are used for copying on small sizes.
25541 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25543 * wcsmbs/Makefile (strop-tests): Add wcschr.
25544 * wcsmbs/test-wcschr.c: New file.
25545 * string/test-strchr.c: Update.
25546 Add wcschr support.
25549 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25551 * wcsmbs/Makefile (strop-tests): Add wcslen.
25552 * wcsmbs/test-wcslen.c: New file.
25553 * string/test-strlen.c: Update.
25554 Add wcslen support.
25557 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25559 * po/it.po: Update from translation team.
25561 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25563 * sysdeps/x86_64/wcscmp.S: Update.
25564 Fix wrong comparison semantics.
25565 wcscmp shall use signed comparison not unsigned.
25566 Don't use substraction to avoid overflow bug.
25567 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25568 * wcsmbc/wcscmp.c: Likewise.
25569 * string/test-strcmp.c: Likewise.
25570 Add new tests to check cases with negative values.
25572 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25574 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25575 * sysdeps/x86_64/dla.h: ...here. New file.
25576 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25581 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25582 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25583 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25584 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25586 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25588 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25589 __ynl_finite aliases.
25591 2011-10-22 Ulrich Drepper <drepper@gmail.com>
25593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25595 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25597 [DLA_FMA] (EMULV): Use DLA_FMA.
25598 [DLA_FMA] (MUL12): Use EMULV.
25599 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25600 that are not needed.
25601 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25605 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25606 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25607 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25609 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25611 * math/s_nan.c: Undef __nan.
25612 * math/s_nanf.c: Undef __nanf.
25613 * math/s_nanl.c: Undef __nanl.
25614 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25617 2011-10-22 Ulrich Drepper <drepper@gmail.com>
25619 * math/s_catan.c: Add branch predictions.
25620 * math/s_catanf.c: Likewise.
25621 * math/s_catanh.c: Likewise.
25622 * math/s_catanhf.c: Likewise.
25623 * math/s_catanhl.c: Likewise.
25624 * math/s_catanl.c: Likewise.
25625 * math/s_cexp.c: Likewise.
25626 * math/s_cexpf.c: Likewise.
25627 * math/s_cexpl.c: Likewise.
25628 * math/s_clog.c: Likewise.
25629 * math/s_clog10.c: Likewise.
25630 * math/s_clog10f.c: Likewise.
25631 * math/s_clog10l.c: Likewise.
25632 * math/s_clogf.c: Likewise.
25633 * math/s_clogl.c: Likewise.
25634 * math/s_csqrt.c: Likewise.
25635 * math/s_csqrtf.c: Likewise.
25636 * math/s_csqrtl.c: Likewise.
25637 * math/s_ctanf.c: Likewise.
25638 * math/s_ctanh.c: Likewise.
25639 * math/s_ctanhf.c: Likewise.
25640 * math/s_ctanhl.c: Likewise.
25641 * math/s_ctanl.c: Likewise.
25643 * math/math_private.h: Define __nan, __nanf, __nanl.
25644 * math/s_cacosh.c: Include <math_private.h>.
25645 * math/s_cacoshl.c: Likewise.
25646 * math/s_casinh.c: Likewise.
25647 * math/s_casinhf.c: Likewise.
25648 * math/s_casinhl.c: Likewise.
25649 * math/s_ccos.c: Rely entire on ccosh.
25650 * math/s_ccosf.c: Rely entire on ccoshf.
25651 * math/s_ccosl.c: Rely entirely on ccoshl.
25652 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25653 Remove tests for FE_INVALID.
25654 * math/s_ccoshf.c: Likewise.
25655 * math/s_ccoshl.c: Likewise.
25656 * math/s_csin.c: Likewise.
25657 * math/s_csinf.c: Likewise.
25658 * math/s_csinh.c Likewise.
25659 * math/s_csinhf.c: Likewise.
25660 * math/s_csinhl.c: Likewise.
25661 * math/s_csinl.c: Likewise.
25662 * math/s_ctan.c: Likewise.
25663 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25664 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25665 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25667 2011-10-21 Ulrich Drepper <drepper@gmail.com>
25669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25670 compilation problems.
25672 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25675 2011-10-20 Ulrich Drepper <drepper@gmail.com>
25677 * sysdeps/i386/configure.in: Test for -mfma4 option.
25678 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25679 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25680 COMMON_CPUID_INDEX_80000001.
25681 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25682 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25683 use it if FMA3 is not supported.
25684 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25686 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25687 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25689 2011-10-20 Andreas Schwab <schwab@redhat.com>
25692 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25693 it would create a cycle with a link time dependency.
25695 2011-10-19 Ulrich Drepper <drepper@gmail.com>
25697 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25699 * string/Makefile (strop-tests): Add rawmemchr.
25700 * string/test-rawmemchr.c: New file.
25702 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25703 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25704 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25705 when compiling str{,n}casecmp and when AVX is available. Hook up
25706 new optimized code in initializers.
25708 2011-10-19 Andreas Schwab <schwab@redhat.com>
25710 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25711 __feraiseexcept instead of feraiseexcept.
25713 2011-10-18 Ulrich Drepper <drepper@gmail.com>
25715 * math/math_private.h: Define defaults for libc_fetestexcept and
25717 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25718 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25719 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25720 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25721 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25722 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25723 libc_fetestexcept and libc_feupdateenv.
25725 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25726 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25727 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25728 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25729 libc_feholdexcept_setround.
25731 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25732 Add s_nearbyint-c and s_nearbyintf-c.
25733 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25734 nearbyintf inlines.
25735 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25736 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25737 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25738 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25740 * math/math_private.h: Define defaults for libc_fegetround,
25741 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25742 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25743 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25744 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25745 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25746 standard functions.
25747 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25748 Remove comments and hacks for old compiler versions.
25749 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25750 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25751 libc_feholdexceptl.
25753 2011-10-18 Andreas Schwab <schwab@redhat.com>
25755 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25756 (__feraiseexcept_renamed): Add __NTH.
25757 (feraiseexcept): Add __NTH. Rename local variables to fix
25758 namespace violations.
25760 2011-10-17 Ulrich Drepper <drepper@gmail.com>
25762 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25764 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25766 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25767 recently added interfaces.
25768 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25770 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25771 about macro parameter expansion.
25773 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25774 __NO_MATH_INLINES is defined. Cleanups.
25776 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25777 and __floorf is target has SSE4.1.
25778 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25779 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25780 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25781 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25783 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25785 (floorf): Likewise.
25787 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25789 2011-10-17 Andreas Schwab <schwab@redhat.com>
25791 * misc/sys/cdefs.h: Fix last change.
25793 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25796 2011-10-16 Ulrich Drepper <drepper@gmail.com>
25798 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25800 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25801 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25802 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25803 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25804 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25805 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25806 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25807 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25808 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25809 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25810 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25811 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25812 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25813 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25814 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25815 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25816 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25817 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25818 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25819 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25820 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25821 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25823 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25824 ceil, ceilf, floor, floorf.
25826 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25827 Perform IRELATIVE relocations last.
25829 * elf/do-rel.h: Add another parameter nrelative, replacing the
25830 local variable with the same name. Change name of the function
25831 to end in Rel or Rela (uppercase).
25832 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25833 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25834 elf_dynamic_do_##reloc function.
25836 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25838 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25839 is sufficient, at least on modern CPUs.
25841 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25843 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25844 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25846 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25848 * math/bits/math-finite.h: Add entries for exp.
25849 * math/e_expl.c: Add __*_finite alias.
25850 * sysdeps/i386/fpu/e_exp.S: Likewise.
25851 * sysdeps/i386/fpu/e_expf.S: Likewise.
25852 * sysdeps/i386/fpu/e_expl.c: Likewise.
25853 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25854 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25855 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25856 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25857 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25858 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25859 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25861 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25862 is sufficient, at least on modern CPUs.
25864 * ctype/ctype-info.c (__ctype_init): Define.
25865 * include/ctype.h (__ctype_init): Declare.
25866 (__ctype_b_loc): The variable is always initialized.
25867 (__ctype_toupper_loc): Likewise.
25868 (__ctype_tolower_loc): Likewise.
25869 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25870 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25872 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25874 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25876 * configure.in: Also look in $cxxmachine/include for C++ system
25879 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25881 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25882 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25883 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25884 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25885 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25886 (USE_AS_WMEMCMP): New macro.
25888 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25889 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25890 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25891 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25892 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25893 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25894 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25895 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25896 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25897 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25898 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25899 (USE_AS_WMEMCMP): New macro.
25900 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25901 * sysdeps/string/test-memcmp.c: Update.
25902 Fix simple_wmemcmp.
25904 * wcsmbs/wmemcmp.c: Update.
25905 (WMEMCMP): New macro.
25908 2011-10-12 Andreas Jaeger <aj@suse.de>
25911 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25913 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25915 * libio/iofwide.c (do_length): Avoid warning.
25917 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25919 2011-10-14 Ulrich Drepper <drepper@gmail.com>
25921 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25923 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25924 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25925 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25926 * sysdeps/i386/i686/fpu/e_log.S: New file.
25927 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25928 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25930 * ctype/ctype.h: Add support for inlined isXXX functions when
25931 compiling C++ code.
25933 2011-10-14 Andreas Schwab <schwab@redhat.com>
25935 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25937 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25939 2011-10-13 Roland McGrath <roland@hack.frob.com>
25942 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25944 2011-10-13 Andreas Schwab <schwab@redhat.com>
25946 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25947 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25950 * sysdeps/x86_64/memrchr.S: Check for zero size.
25952 * string/stratcliff.c: Add memrchr tests.
25954 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25956 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25957 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25958 rawmemchr-sse2 rawmemchr-sse2-bsf.
25959 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25960 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25961 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25962 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25963 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25964 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25965 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25966 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25967 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25968 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25969 * string/memrchr.c (MEMRCHR): New macro.
25971 2011-10-12 Ulrich Drepper <drepper@gmail.com>
25973 Add integration with gcc's -ffinite-math-only and optimize wrapper
25975 * Versions.def: Define GLIBC_2.15 version for libm.
25976 * math/Makefile (headers): Add bits/math-finite.h.
25977 * math/bits/math-finite.h: New file.
25978 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25979 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25980 * math/e_acoshl.c: Add __*_finite alias.
25981 * math/e_acosl.c: Likewise.
25982 * math/e_asinl.c: Likewise.
25983 * math/e_atan2l.c: Likewise.
25984 * math/e_atanhl.c: Likewise.
25985 * math/e_coshl.c: Likewise.
25986 * math/e_exp10.c: Likewise.
25987 * math/e_exp10f.c: Likewise.
25988 * math/e_exp10l.c: Likewise.
25989 * math/e_exp2l.c: Likewise.
25990 * math/e_fmodl.c: Likewise.
25991 * math/e_gammal_r.c: Likewise.
25992 * math/e_hypotl.c: Likewise.
25993 * math/e_j0l.c: Likewise.
25994 * math/e_j1l.c: Likewise.
25995 * math/e_jnl.c: Likewise.
25996 * math/e_lgammal_r.c: Likewise.
25997 * math/e_log10l.c: Likewise.
25998 * math/e_log2l.c: Likewise.
25999 * math/e_logl.c: Likewise.
26000 * math/e_powl.c: Likewise.
26001 * math/e_sinhl.c: Likewise.
26002 * math/e_sqrtl.c: Likewise.
26003 * math/e_scalb.c: Completely rewritten and optimized.
26004 * math/e_scalbf.c: Likewise.
26005 * math/e_scalbl.c: Likewise.
26006 * math/w_acos.c: Likewise.
26007 * math/w_acosf.c: Likewise.
26008 * math/w_acosl.c: Likewise.
26009 * math/w_acosh.c: Likewise.
26010 * math/w_acoshf.c: Likewise.
26011 * math/w_acoshl.c: Likewise.
26012 * math/w_asin.c: Likewise.
26013 * math/w_asinf.c: Likewise.
26014 * math/w_asinl.c: Likewise.
26015 * math/w_atan2.c: Likewise.
26016 * math/w_atan2f.c: Likewise.
26017 * math/w_atan2l.c: Likewise.
26018 * math/w_atanh.c: Likewise.
26019 * math/w_atanhf.c: Likewise.
26020 * math/w_atanhl.c: Likewise.
26021 * math/w_exp10.c: Likewise.
26022 * math/w_exp10f.c: Likewise.
26023 * math/w_exp10l.c: Likewise.
26024 * math/w_fmod.c: Likewise.
26025 * math/w_fmodf.c: Likewise.
26026 * math/w_fmodl.c: Likewise.
26027 * math/w_j0.c: Likewise.
26028 * math/w_j0f.c: Likewise.
26029 * math/w_j0l.c: Likewise.
26030 * math/w_j1.c: Likewise.
26031 * math/w_j1f.c: Likewise.
26032 * math/w_j1l.c: Likewise.
26033 * math/w_jn.c: Likewise.
26034 * math/w_jnf.c: Likewise.
26035 * math/w_log.c: Likewise.
26036 * math/w_logf.c: Likewise.
26037 * math/w_logl.c: Likewise.
26038 * math/w_log10.c: Likewise.
26039 * math/w_log10f.c: Likewise.
26040 * math/w_log10l.c: Likewise.
26041 * math/w_log2.c: Likewise.
26042 * math/w_log2f.c: Likewise.
26043 * math/w_log2l.c: Likewise.
26044 * math/w_pow.c: Likewise.
26045 * math/w_powf.c: Likewise.
26046 * math/w_powl.c: Likewise.
26047 * math/w_remainder.c: Likewise.
26048 * math/w_remainderf.c: Likewise.
26049 * math/w_remainderl.c: Likewise.
26050 * math/w_scalb.c: Likewise.
26051 * math/w_scalbf.c: Likewise.
26052 * math/w_scalbl.c: Likewise.
26053 * math/w_sqrt.c: Likewise.
26054 * math/w_sqrtf.c: Likewise.
26055 * math/w_sqrtl.c: Likewise.
26056 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26057 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26059 * math/math_private.h: Declare __kernel_standard_f.
26060 * math/w_cosh.c: Remove cruft and optimize a bit.
26061 * math/w_coshf.c: Likewise.
26062 * math/w_coshl.c: Likewise.
26063 * math/w_exp2.c: Likewise.
26064 * math/w_exp2f.c: Likewise.
26065 * math/w_exp2l.c: Likewise.
26066 * math/w_hypot.c: Likewise.
26067 * math/w_hypotf.c: Likewise.
26068 * math/w_hypotl.c: Likewise.
26069 * math/w_lgamma.c: Likewise.
26070 * math/w_lgamma_r.c: Likewise.
26071 * math/w_lgammaf.c: Likewise.
26072 * math/w_lgammaf_r.c: Likewise.
26073 * math/w_lgammal.c: Likewise.
26074 * math/w_lgammal_r.c: Likewise.
26075 * math/w_sinh.c: Likewise.
26076 * math/w_sinhf.c: Likewise.
26077 * math/w_sinhl.c: Likewise.
26078 * math/w_tgamma.c: Likewise.
26079 * math/w_tgammaf.c: Likewise.
26080 * math/w_tgammal.c: Likewise.
26081 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26082 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26083 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26084 Minor optimizations. Pretty printing. Remove cruft.
26085 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26086 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26087 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26088 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26089 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26090 * sysdeps/i386/fpu/e_asin.S: Likewise.
26091 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26092 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26093 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26094 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26095 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26096 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26097 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26098 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26099 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26100 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26101 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26102 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26103 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26104 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26105 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26106 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26107 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26108 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26109 * sysdeps/i386/fpu/e_log.S: Likewise.
26110 * sysdeps/i386/fpu/e_log10.S: Likewise.
26111 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26112 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26113 * sysdeps/i386/fpu/e_log2.S: Likewise.
26114 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26115 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26116 * sysdeps/i386/fpu/e_logf.S: Likewise.
26117 * sysdeps/i386/fpu/e_logl.S: Likewise.
26118 * sysdeps/i386/fpu/e_pow.S: Likewise.
26119 * sysdeps/i386/fpu/e_powf.S: Likewise.
26120 * sysdeps/i386/fpu/e_powl.S: Likewise.
26121 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26122 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26123 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26124 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26125 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26126 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26127 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26128 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26129 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26130 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26131 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26132 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26133 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26134 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26135 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26136 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26137 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26138 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26139 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26140 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26141 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26143 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26144 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26146 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26147 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26148 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26150 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26151 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26152 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26153 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26154 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26155 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26156 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26157 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26158 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26159 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26160 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26161 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26162 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26163 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26164 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26165 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26166 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26167 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26168 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26169 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26170 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26171 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26172 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26173 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26174 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26175 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26176 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26177 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26178 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26179 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26180 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26181 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26182 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26183 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26184 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26185 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26186 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26187 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26188 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26189 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26190 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26191 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26192 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26193 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26194 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26195 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26196 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26197 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26198 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26199 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26200 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26201 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26202 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26203 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26204 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26205 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26206 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26207 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26208 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26209 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26210 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26211 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26212 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26213 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26214 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26215 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26216 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26217 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26218 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26219 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26220 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26221 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26222 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26223 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26224 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26225 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26226 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26227 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26228 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26229 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26230 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26231 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26232 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26233 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26234 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26235 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26236 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26237 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26238 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26239 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26240 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26241 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26242 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26243 (__isnanf): Likewise.
26244 (__isinf_ns): Likewise.
26245 (__isinf_nsf): Likewise.
26246 (__finite): Likewise.
26247 (__finitef): Likewise.
26248 (__ieee754_sqrt): Define as macro.
26249 (__ieee754_sqrtf): Define as macro.
26250 (__ieee754_sqrtl): Define as macro.
26251 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26253 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26254 __FINITE_MATH_ONLY__ consistent.
26255 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26257 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26259 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26262 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26264 2011-10-09 Ulrich Drepper <drepper@gmail.com>
26266 * po/ja.po: Update from translation team.
26268 2011-10-08 Roland McGrath <roland@hack.frob.com>
26270 * locale/programs/locarchive.c (prepare_address_space): New function.
26271 (create_archive, enlarge_archive, open_archive): Use it.
26273 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26274 inside [SHARED], where it is used.
26276 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26278 * nss/getent.c (netgroup_keys): Remove unused variable.
26279 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26281 2011-10-08 Ulrich Drepper <drepper@gmail.com>
26283 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26284 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26285 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26286 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26287 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26288 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26289 * math/Makefile (libm-calls): Add s_isinf_ns.
26290 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26291 * math/multc3.c: Likewise.
26292 * math/s_casin.c: Likewise.
26293 * math/s_casinf.c: Likewise.
26294 * math/s_casinl.c: Likewise.
26295 * math/s_ccos.c: Likewise.
26296 * math/s_ccosf.c: Likewise.
26297 * math/s_ccosl.c: Likewise.
26298 * math/s_ctan.c: Likewise.
26299 * math/s_ctanf.c: Likewise.
26300 * math/s_ctanh.c: Likewise.
26301 * math/s_ctanhf.c: Likewise.
26302 * math/s_ctanhl.c: Likewise.
26303 * math/s_ctanl.c: Likewise.
26304 * math/w_fmod.c: Likewise.
26305 * math/w_fmodf.c: Likewise.
26306 * math/w_fmodl.c: Likewise.
26307 * math/w_remainder.c: Likewise.
26308 * math/w_remainderf.c: Likewise.
26309 * math/w_remainderl.c: Likewise.
26310 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26311 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26312 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26313 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26314 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26315 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26316 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26317 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26319 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26321 * stdio-common/printf_fphex.c: Likewise.
26322 * stdio-common/printf_size.c: Likewise.
26324 * math/e_exp10.c: Include math_private.h using <...> not "...".
26325 * math/e_exp10f.c: Likewise.
26326 * math/e_exp10l.c: Likewise.
26327 * math/e_exp2l.c: Likewise.
26328 * math/e_j0l.c: Likewise.
26329 * math/e_j1l.c: Likewise.
26330 * math/e_jnl.c: Likewise.
26331 * math/e_lgammal_r.c: Likewise.
26332 * math/e_rem_pio2l.c: Likewise.
26333 * math/e_scalb.c: Likewise.
26334 * math/e_scalbf.c: Likewise.
26335 * math/e_scalbl.c: Likewise.
26336 * math/k_cosl.c: Likewise.
26337 * math/k_sinl.c: Likewise.
26338 * math/k_tanl.c: Likewise.
26339 * math/s_cacoshf.c: Likewise.
26340 * math/s_catan.c: Likewise.
26341 * math/s_catanf.c: Likewise.
26342 * math/s_catanh.c: Likewise.
26343 * math/s_catanhf.c: Likewise.
26344 * math/s_catanhl.c: Likewise.
26345 * math/s_catanl.c: Likewise.
26346 * math/s_ccosh.c: Likewise.
26347 * math/s_ccoshf.c: Likewise.
26348 * math/s_ccoshl.c: Likewise.
26349 * math/s_cexp.c: Likewise.
26350 * math/s_cexpf.c: Likewise.
26351 * math/s_cexpl.c: Likewise.
26352 * math/s_clog.c: Likewise.
26353 * math/s_clog10.c: Likewise.
26354 * math/s_clog10f.c: Likewise.
26355 * math/s_clog10l.c: Likewise.
26356 * math/s_clogf.c: Likewise.
26357 * math/s_clogl.c: Likewise.
26358 * math/s_csin.c: Likewise.
26359 * math/s_csinf.c: Likewise.
26360 * math/s_csinh.c: Likewise.
26361 * math/s_csinhf.c: Likewise.
26362 * math/s_csinhl.c: Likewise.
26363 * math/s_csinl.c: Likewise.
26364 * math/s_csqrt.c: Likewise.
26365 * math/s_csqrtf.c: Likewise.
26366 * math/s_csqrtl.c: Likewise.
26367 * math/s_ctan.c: Likewise.
26368 * math/s_ctanf.c: Likewise.
26369 * math/s_ctanh.c: Likewise.
26370 * math/s_ctanhf.c: Likewise.
26371 * math/s_ctanhl.c: Likewise.
26372 * math/s_ctanl.c: Likewise.
26373 * math/s_ldexp.c: Likewise.
26374 * math/s_ldexpf.c: Likewise.
26375 * math/s_ldexpl.c: Likewise.
26376 * math/s_significand.c: Likewise.
26377 * math/s_significandf.c: Likewise.
26378 * math/s_significandl.c: Likewise.
26379 * math/w_acos.c: Likewise.
26380 * math/w_acosf.c: Likewise.
26381 * math/w_acosh.c: Likewise.
26382 * math/w_acoshf.c: Likewise.
26383 * math/w_acoshl.c: Likewise.
26384 * math/w_acosl.c: Likewise.
26385 * math/w_asin.c: Likewise.
26386 * math/w_asinf.c: Likewise.
26387 * math/w_asinl.c: Likewise.
26388 * math/w_atan2.c: Likewise.
26389 * math/w_atan2f.c: Likewise.
26390 * math/w_atan2l.c: Likewise.
26391 * math/w_atanh.c: Likewise.
26392 * math/w_atanhf.c: Likewise.
26393 * math/w_atanhl.c: Likewise.
26394 * math/w_cosh.c: Likewise.
26395 * math/w_coshf.c: Likewise.
26396 * math/w_coshl.c: Likewise.
26397 * math/w_dremf.c: Likewise.
26398 * math/w_exp10.c: Likewise.
26399 * math/w_exp10f.c: Likewise.
26400 * math/w_exp10l.c: Likewise.
26401 * math/w_exp2.c: Likewise.
26402 * math/w_exp2f.c: Likewise.
26403 * math/w_fmod.c: Likewise.
26404 * math/w_fmodf.c: Likewise.
26405 * math/w_fmodl.c: Likewise.
26406 * math/w_hypot.c: Likewise.
26407 * math/w_hypotf.c: Likewise.
26408 * math/w_hypotl.c: Likewise.
26409 * math/w_j0.c: Likewise.
26410 * math/w_j0f.c: Likewise.
26411 * math/w_j0l.c: Likewise.
26412 * math/w_j1.c: Likewise.
26413 * math/w_j1f.c: Likewise.
26414 * math/w_j1l.c: Likewise.
26415 * math/w_jn.c: Likewise.
26416 * math/w_jnf.c: Likewise.
26417 * math/w_jnl.c: Likewise.
26418 * math/w_lgamma.c: Likewise.
26419 * math/w_lgamma_r.c: Likewise.
26420 * math/w_lgammaf.c: Likewise.
26421 * math/w_lgammaf_r.c: Likewise.
26422 * math/w_lgammal.c: Likewise.
26423 * math/w_lgammal_r.c: Likewise.
26424 * math/w_log.c: Likewise.
26425 * math/w_log10.c: Likewise.
26426 * math/w_log10f.c: Likewise.
26427 * math/w_log10l.c: Likewise.
26428 * math/w_log2.c: Likewise.
26429 * math/w_log2f.c: Likewise.
26430 * math/w_log2l.c: Likewise.
26431 * math/w_logf.c: Likewise.
26432 * math/w_logl.c: Likewise.
26433 * math/w_pow.c: Likewise.
26434 * math/w_powf.c: Likewise.
26435 * math/w_powl.c: Likewise.
26436 * math/w_remainder.c: Likewise.
26437 * math/w_remainderf.c: Likewise.
26438 * math/w_remainderl.c: Likewise.
26439 * math/w_scalb.c: Likewise.
26440 * math/w_scalbf.c: Likewise.
26441 * math/w_scalbl.c: Likewise.
26442 * math/w_sinh.c: Likewise.
26443 * math/w_sinhf.c: Likewise.
26444 * math/w_sinhl.c: Likewise.
26445 * math/w_sqrt.c: Likewise.
26446 * math/w_sqrtf.c: Likewise.
26447 * math/w_sqrtl.c: Likewise.
26448 * math/w_tgamma.c: Likewise.
26449 * math/w_tgammaf.c: Likewise.
26450 * math/w_tgammal.c: Likewise.
26452 * po/ja.po: Update from translation team.
26454 2011-09-29 Andreas Jaeger <aj@suse.de>
26457 * sunrpc/netname.c (netname2host): Fix logic.
26461 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26463 * math/w_remainder.c (__remainder): Likewise.
26464 * math/w_remainderf.c (__remainderf): Likewise.
26465 * math/libm-test.inc (remainder_test): Add test cases.
26467 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26469 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26472 2011-10-07 Ulrich Drepper <drepper@gmail.com>
26474 * string/test-memcmp.c: Avoid unncessary #defines.
26475 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26477 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26479 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26480 Use new sse2 version for core i3 - i7 as it's faster
26481 than sse42 version.
26482 (bit_Prefer_PMINUB_for_stringop): New.
26483 * sysdeps/x86_64/rawmemchr.S: Update.
26484 Replace with faster SSE2 version.
26485 * sysdeps/x86_64/memrchr.S: New file.
26486 * sysdeps/x86_64/memchr.S: Update.
26487 Replace with faster SSE2 version.
26489 2011-09-12 Marek Polacek <mpolacek@redhat.com>
26491 * elf/dl-load.c (lose): Add cast to avoid warning.
26493 2011-10-07 Ulrich Drepper <drepper@gmail.com>
26495 * po/ca.po: Update from translation team.
26497 * inet/getnetgrent_r.c: Hook up nscd.
26498 * nscd/Makefile (routines): Add nscd_netgroup.
26499 (nscd-modules): Add netgroupcache.
26500 (CFLAGS-netgroupcache.c): Define.
26501 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26502 (cache_search): Add const to second parameter.
26503 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26505 (dbs): Add netgrdb entry.
26506 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26507 (verify_persistent_db): Handle netgrdb.
26508 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26509 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26511 (netgroup_response_header): Define.
26512 (innetgroup_response_header): Define.
26513 (datahead): Add netgroup_response_header and innetgroup_response_header
26515 * nscd/nscd.conf: Add entries for netgroup cache.
26516 * nscd/nscd.h (dbtype): Add netgrdb.
26517 (_PATH_NSCD_NETGROUP_DB): Define.
26518 (netgroup_iov_disabled): Declare.
26519 (xmalloc, xcalloc, xrealloc): Move declarations here.
26520 (cache_search): Adjust prototype.
26521 Add netgroup-related prototypes.
26522 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26523 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26524 (__nscd_innetgr): Declare.
26525 * nscd/selinux.c (perms): Use access_vector_t as element type and
26526 add netgroup-related initializers.
26527 * nscd/netgroupcache.c: New file.
26528 * nscd/nscd_netgroup.c: New file.
26529 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26530 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26531 For four parameters use innetgr.
26532 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26533 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26534 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26535 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26537 * nscd/connections.c (register_traced_file): Don't register file
26538 for disabled databases.
26540 2011-10-06 Ulrich Drepper <drepper@gmail.com>
26542 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26544 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26545 from tree and freeing node.
26547 2011-09-25 Jiri Olsa <jolsa@redhat.com>
26549 * nss/nsswitch.c (__nss_database_lookup): Handle
26550 nss_parse_service_list out of memory case.
26552 2011-09-15 Jiri Olsa <jolsa@redhat.com>
26554 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26555 out of memory case.
26557 2011-10-04 Andreas Schwab <schwab@redhat.com>
26559 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26560 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26562 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26563 elf_machine_rela, elf_machine_lazy_rel.
26564 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26565 (ELF_DYNAMIC_DO_REL): Likewise.
26566 (ELF_DYNAMIC_DO_RELA): Likewise.
26567 (ELF_DYNAMIC_RELOCATE): Likewise.
26568 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26569 to ELF_DYNAMIC_DO_REL.
26570 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26571 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26572 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26574 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26575 skip_ifunc, don't call ifunc function if non-zero.
26576 (elf_machine_rela): Likewise.
26577 (elf_machine_lazy_rel): Likewise.
26578 (elf_machine_lazy_rela): Likewise.
26579 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26580 (elf_machine_lazy_rel): Likewise.
26581 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26583 (elf_machine_lazy_rel): Likewise.
26584 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26586 (elf_machine_lazy_rel): Likewise.
26587 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26588 (elf_machine_lazy_rel): Likewise.
26589 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26590 (elf_machine_lazy_rel): Likewise.
26591 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26592 (elf_machine_lazy_rel): Likewise.
26593 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26594 (elf_machine_lazy_rel): Likewise.
26595 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26596 (elf_machine_lazy_rel): Likewise.
26597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26598 (elf_machine_lazy_rel): Likewise.
26600 2011-09-28 Ulrich Drepper <drepper@gmail.com>
26602 * nss/nss_files/files-init.c (_nss_files_init): Use static
26603 initialization for all the *_traced_file variables.
26605 2011-09-28 Andreas Schwab <schwab@redhat.com>
26607 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26609 2011-09-27 Roland McGrath <roland@hack.frob.com>
26612 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26614 2011-09-27 Andreas Schwab <schwab@redhat.com>
26616 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26617 Reread the line before reparsing it.
26619 2011-09-26 Andreas Schwab <schwab@redhat.com>
26621 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26623 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26624 Maxim Kuvyrkov <maxim@codesourcery.com>
26625 Joseph Myers <joseph@codesourcery.com>
26627 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26628 if needed for __stack_chk_guard.
26630 2011-09-19 Roland McGrath <roland@hack.frob.com>
26632 * sysdeps/posix/spawni.c (script_execute): Always define it.
26633 It will be optimized away if unused.
26634 (maybe_script_execute): New function.
26635 (__spawni): Call it.
26637 * Makerules: Don't include tls.make.
26638 (config-tls): Always set to thread.
26639 * tls.make.c: File removed.
26641 2011-09-19 Mike Frysinger <vapier@gentoo.org>
26643 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26644 * config.make.in (CPPFLAGS-config): New substituted variable.
26646 2011-09-15 Ulrich Drepper <drepper@gmail.com>
26648 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26651 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26652 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26654 2011-09-15 Roland McGrath <roland@hack.frob.com>
26656 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26657 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26658 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26659 (CALL_FAIL): Likewise.
26660 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26661 (CALL_FAIL): Macro removed.
26662 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26664 2011-09-15 Ulrich Drepper <drepper@gmail.com>
26666 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26667 for __FINITE_MATH_ONLY__ == 1.
26669 2011-09-15 Andreas Schwab <schwab@redhat.com>
26671 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26672 __ieee754_sqrt instead of sqrt.
26673 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26674 __ieee754_sqrtf instead of sqrtf.
26675 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26676 __floorf instead of floorf.
26677 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26678 __floorf, __truncf instead of floorf, truncf.
26680 2011-09-14 Ulrich Drepper <drepper@gmail.com>
26682 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26684 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26685 __extern_always_inline.
26686 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26689 2011-09-14 Andreas Schwab <schwab@redhat.com>
26691 * elf/rtld.c (dl_main): Also relocate in dependency order when
26692 doing symbol dependency testing.
26694 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26696 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26697 Always define `refsym'.
26699 2011-09-13 Andreas Schwab <schwab@redhat.com>
26701 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26702 (__FD_ELT): Renamed from __FDELT.
26703 * misc/bits/select2.h (__FD_ELT): Likewise.
26704 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26705 __FD_MASK instead of __FDELT, __FDMASK.
26706 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26708 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26711 * elf/Makefile (gen-ldd): Fix pattern.
26713 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26714 (init_tls): Likewise.
26716 2011-09-12 Ulrich Drepper <drepper@gmail.com>
26718 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26720 2011-09-12 Andreas Schwab <schwab@redhat.com>
26722 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26723 `struct cmsghdr *' instead of `void *'.
26724 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26727 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26729 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26731 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26732 ldd_rewrite_script.
26734 2011-09-11 Ulrich Drepper <drepper@gmail.com>
26736 * configure.in: Remove --with-tls option.
26737 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26738 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26739 out in case it is missing.
26740 * sysdeps/ia64/elf/configure.in: Likewise.
26741 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26742 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26743 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26744 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26745 * sysdeps/sh/elf/configure.in: Likewise.
26746 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26747 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26748 * sysdeps/x86_64/elf/configure.in: Likewise.
26749 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26750 * sysdeps/mach/hurd/tls.h: Likewise.
26753 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26756 * configure.in: Fix use of AC_INIT.
26758 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26760 2011-09-10 Ulrich Drepper <drepper@gmail.com>
26762 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26764 * malloc/hooks.c: Likewise.
26767 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26768 variables statically.
26769 (narenas): Initialize.
26770 (list_lock): Initialize.
26771 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26772 initializtion of main_arena and list_lock. Small cleanups.
26773 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26774 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26775 Add initializers to main_arena and mp_.
26776 (malloc_state): Remove pagesize member. Change all users to use
26779 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26780 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26781 is always initialized.
26783 * malloc/malloc.c: Removed unused configurations and dead code.
26784 * malloc/arena.c: Likewise.
26785 * malloc/hooks.c: Likewise.
26786 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26788 * include/tls.h: Removed. USE___THREAD must always be defined.
26789 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26790 * elf/dl-libc.c: Likewise.
26791 * elf/dl-tsd.c: Likewise.
26792 * include/errno.h: Likewise.
26793 * include/netdb.h: Likewise.
26794 * include/resolv.h: Likewise.
26795 * inet/herrno-loc.c: Likewise.
26796 * inet/herrno.c: Likewise.
26797 * malloc/arena.c: Likewise.
26798 * malloc/hooks.c: Likewise.
26799 * malloc/malloc.c: Likewise.
26800 * resolv/res-state.c: Likewise.
26801 * resolv/res_libc.c: Likewise.
26802 * sysdeps/i386/dl-machine.h: Likewise.
26803 * sysdeps/ia64/dl-machine.h: Likewise.
26804 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26805 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26806 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26807 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26808 * sysdeps/sh/dl-machine.h: Likewise.
26809 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26810 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26811 * sysdeps/unix/i386/sysdep.S: Likewise.
26812 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26813 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26814 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26815 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26816 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26817 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26818 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26819 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26822 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26823 * sysdeps/x86_64/dl-machine.h: Likewise.
26824 * tls.make.c: Likewise.
26826 * configure.in: Remove --with-__thread option. Make tests for
26827 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26828 tls_model attribute fail if no support is available. Remove
26830 * Makeconfig: Adjust for dropped configure option. All features are
26832 * Makerules: Likewise.
26833 * Versions.def: Likewise.
26834 * argp/argp-fmtstream.c: Likewise.
26835 * argp/argp-fmtstream.h: Likewise.
26836 * argp/argp-help.c: Likewise.
26837 * assert/assert.c: Likewise.
26838 * config.h.in: Likewise.
26839 * config.make.in: Likewise.
26840 * configure: Likewise.
26841 * configure.in: Likewise.
26842 * csu/Versions: Likewise.
26843 * csu/init.c: Likewise.
26844 * elf/tst-audit2.c: Likewise.
26845 * elf/tst-tls10.c: Likewise.
26846 * elf/tst-tls10.h: Likewise.
26847 * elf/tst-tls11.c: Likewise.
26848 * elf/tst-tls12.c: Likewise.
26849 * elf/tst-tls14.c: Likewise.
26850 * elf/tst-tlsmod11.c: Likewise.
26851 * elf/tst-tlsmod12.c: Likewise.
26852 * elf/tst-tlsmod13.c: Likewise.
26853 * elf/tst-tlsmod13a.c: Likewise.
26854 * elf/tst-tlsmod14a.c: Likewise.
26855 * elf/tst-tlsmod15b.c: Likewise.
26856 * elf/tst-tlsmod16a.c: Likewise.
26857 * elf/tst-tlsmod16b.c: Likewise.
26858 * elf/tst-tlsmod7.c: Likewise.
26859 * elf/tst-tlsmod8.c: Likewise.
26860 * elf/tst-tlsmod9.c: Likewise.
26861 * gmon/gmon.c: Likewise.
26862 * grp/fgetgrent_r.c: Likewise.
26863 * grp/putgrent.c: Likewise.
26864 * hurd/fopenport.c: Likewise.
26865 * include/libc-symbols.h: Likewise.
26866 * include/tls.h: Likewise.
26867 * intl/gettextP.h: Likewise.
26868 * intl/loadinfo.h: Likewise.
26869 * locale/global-locale.c: Likewise.
26870 * locale/localeinfo.h: Likewise.
26871 * mach/devstream.c: Likewise.
26872 * malloc/arena.c: Likewise.
26873 * malloc/set-freeres.c: Likewise.
26874 * misc/err.c: Likewise.
26875 * misc/getttyent.c: Likewise.
26876 * misc/mntent_r.c: Likewise.
26877 * posix/getopt.c: Likewise.
26878 * posix/wordexp.c: Likewise.
26879 * pwd/fgetpwent_r.c: Likewise.
26880 * resolv/Versions: Likewise.
26881 * resolv/res_hconf.c: Likewise.
26882 * shadow/fgetspent_r.c: Likewise.
26883 * shadow/putspent.c: Likewise.
26884 * stdio-common/printf_fphex.c: Likewise.
26885 * stdio-common/tmpfile.c: Likewise.
26886 * stdlib/abort.c: Likewise.
26887 * stdlib/fmtmsg.c: Likewise.
26888 * sunrpc/auth_unix.c: Likewise.
26889 * sunrpc/clnt_perr.c: Likewise.
26890 * sunrpc/clnt_tcp.c: Likewise.
26891 * sunrpc/clnt_udp.c: Likewise.
26892 * sunrpc/clnt_unix.c: Likewise.
26893 * sunrpc/openchild.c: Likewise.
26894 * sunrpc/svc_simple.c: Likewise.
26895 * sunrpc/svc_tcp.c: Likewise.
26896 * sunrpc/svc_udp.c: Likewise.
26897 * sunrpc/svc_unix.c: Likewise.
26898 * sunrpc/xdr.c: Likewise.
26899 * sunrpc/xdr_array.c: Likewise.
26900 * sunrpc/xdr_rec.c: Likewise.
26901 * sunrpc/xdr_ref.c: Likewise.
26902 * sunrpc/xdr_stdio.c: Likewise.
26904 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26906 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26908 2011-07-03 Andreas Jaeger <aj@suse.de>
26910 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26911 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26912 regenerate with gen-libm-tests.pl.
26914 2010-05-12 Petr Baudis <pasky@suse.cz>
26917 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26918 around j0() zero points by switching to j1().
26919 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26920 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26921 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26922 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26924 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26926 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26928 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26931 Patch in part by Pavel Roskin <proski@gnu.org>.
26934 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26936 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26937 Free memory block if necessary.
26940 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26941 be NULL. Don't lock in this case.
26943 2011-09-09 Roland McGrath <roland@hack.frob.com>
26945 * elf/elf.h (ELFOSABI_GNU): New macro.
26946 (ELFOSABI_LINUX): Define to that.
26948 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26950 * string/strncat.c (strncat): Undef the symbol in case it has been
26951 defined in bits/string.h.
26953 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26955 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26957 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26960 2011-08-17 Andreas Jaeger <aj@suse.de>
26962 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26964 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26965 Ian Lance Taylor <iant@google.com>
26967 * math/libm-test.inc (lround_test): New testcase.
26968 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26970 2011-09-08 Ulrich Drepper <drepper@gmail.com>
26972 * Makefile: Remove support for automatic cvs check-ins.
26973 * Makerules: Likewise.
26974 * config.make.in: Likewise.
26975 * configure.in: Likewise.
26976 * intl/Makefile: Likewise.
26977 * locale/Makefile: Likewise.
26978 * po/Makefile: Likewise.
26979 * posix/Makefile: Likewise.
26980 * sysdeps/gnu/Makefile: Likewise.
26981 * sysdeps/mach/hurd/Makefile: Likewise.
26982 * sysdeps/sparc/sparc32/Makefile: Likewise.
26985 * posix/Makefile (bug-regex32-ENV): Define.
26986 Patch by John Stanley <jpsinthemix@verizon.net>.
26988 * misc/Makefile (headers): Add bits/select2.h.
26989 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26990 * misc/bits/select2.h: New file.
26991 * include/bits/select2.h: New file.
26992 * debug/Makefile (routines): Add fdelt_chk.
26993 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26994 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26996 * debug/fdelt_chk.c: New file.
26998 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26999 * wcsmbs/test-wmemcmp.c: Likewise.
27000 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27001 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27003 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27005 * string/Makefile (strop-tests): Add memcmp.
27006 * string/test-wmemcmp.c: New file.
27007 * string/test-memcmp.c: Add wmemcmp support.
27009 2011-09-08 Roland McGrath <roland@hack.frob.com>
27012 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27015 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27016 garbage value in a __mach_port_mod_refs call in the cases of the
27017 task-self and thread-self ports.
27019 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27021 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27023 2011-09-08 Andreas Schwab <schwab@redhat.com>
27025 * elf/dl-load.c (lose): Check for non-null L.
27027 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27029 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27031 * elf/dl-libc.c (dlerror_run): Pass back error code from
27035 * elf/dl-load.c (lose): Free l_origin if it is valid.
27037 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27039 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27040 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27041 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27042 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27043 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27044 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27046 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27048 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27049 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27050 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27051 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27052 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27053 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27054 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27055 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27056 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27057 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27059 2011-08-15 Alan Modra <amodra@gmail.com>
27062 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27063 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27064 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27065 ppc_mcount to static-only-routines.
27066 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27068 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27069 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27071 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27073 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27074 for finite and infinity parameters.
27076 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27078 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27079 and add nop instructions for throughput optimization.
27080 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27082 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27084 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27085 aligned copy for power7 with vector-scalar instructions.
27086 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27088 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27090 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27093 2011-09-07 Andreas Schwab <schwab@redhat.com>
27096 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27099 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27101 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27102 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27103 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27104 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27107 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27109 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27110 Forgot to demangle the pointer.
27112 * sysdeps/i386/sysdep.h: Define atom_text_section.
27113 * sysdeps/x86_64/sysdep.h: Likewise.
27114 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27115 section with atom_text_section.
27116 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27117 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27118 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27119 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27120 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27122 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27123 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27124 already be defined. Change to take two parameters and don't assign
27125 result to variable. Adjust all users.
27126 Define INTERNAL_GETTIME if not already defined.
27127 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27130 HAVE_CLOCK_GETTIME_VSYSCALL.
27131 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27134 gettimeofday vsyscall, just use time.
27136 2011-09-06 Andreas Schwab <schwab@redhat.com>
27138 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27141 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27143 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27145 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27147 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27148 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27149 syscall if possible.
27151 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27153 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27154 e_ident. Don't pass to find_mapsXX.
27155 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27157 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27160 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27161 * sysdeps/x86_64/multiarch/strchr.S: Update.
27162 Check bit_slow_BSF bit.
27163 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27164 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27165 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27167 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27170 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27172 (tryshell): Define.
27173 (__spawni): Change last parameter to be flag. Test
27174 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27175 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27176 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27177 * posix/spawni.c: Likewise.
27178 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27179 * posix/spawnp.c: Likewise. Change normal version to use
27180 SPAWN_XFLAGS_USE_PATH.
27181 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27182 SPAWN_XFLAGS_TRY_SHELL.
27185 * posix/glob.h: Remove gcc 1.x support.
27188 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27190 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27192 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27193 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27195 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27196 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27197 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27198 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27199 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27200 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27202 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27204 * sysdeps/x86_64/wcscmp.S: New file.
27206 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27207 wcscmp-c wcscmp-sse2
27208 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27209 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27210 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27211 * wcsmbs/wcscmp.c: Allow renaming.
27213 2011-09-05 David S. Miller <davem@davemloft.net>
27215 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27216 stack slot, rather than the struct return pointer slot.
27217 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27218 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27220 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27222 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27224 * po/ja.po: Update from translation team.
27227 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27228 kernel in 64-bit binaries.
27230 2011-09-01 David S. Miller <davem@davemloft.net>
27232 * elf/elf.h (HWCAP_SPARC_*): Move to..
27233 * sysdeps/sparc/sysdep.h: this new file and add new values.
27234 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27235 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27236 _DL_HWCAP_COUNT to 24.
27237 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27239 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27240 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27241 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27242 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27243 instead of magic constants.
27244 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27246 2011-08-31 David S. Miller <davem@davemloft.net>
27248 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27249 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27250 Reimplement to do errno handling inline.
27251 (SYSCALL_ERROR_HANDLER): New macro.
27252 (__SYSCALL_STRING): Do not do errno handling in asm.
27253 (__CLONE_SYSCALL_STRING): Delete.
27254 (__INTERNAL_SYSCALL_STRING): Delete.
27255 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27256 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27257 (PSEUDO): Reimplement to do errno handling inline.
27258 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27259 (SYSCALL_ERROR_HANDLER): New macro.
27260 (__SYSCALL_STRING): Do not do errno handling in asm.
27261 (__CLONE_SYSCALL_STRING): Delete.
27262 (__INTERNAL_SYSCALL_STRING): Delete.
27263 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27264 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27266 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27267 (inline_syscall*): Add 'err' argument.
27268 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27269 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27270 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27271 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27273 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27274 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27276 2011-08-30 Andreas Schwab <schwab@redhat.com>
27278 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27280 2011-08-29 Jiri Olsa <jolsa@redhat.com>
27282 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27285 2011-08-24 David S. Miller <davem@davemloft.net>
27287 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27289 2011-08-24 Andreas Schwab <schwab@redhat.com>
27291 * elf/Makefile: Add rules to build and run unload8 test.
27292 * elf/unload8.c: New file.
27293 * elf/unload8mod1.c: New file.
27294 * elf/unload8mod1x.c: New file.
27295 * elf/unload8mod2.c: New file.
27296 * elf/unload8mod3.c: New file.
27298 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27301 2011-08-23 David S. Miller <davem@davemloft.net>
27303 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27304 subtract stack bias.
27305 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27306 %sp not %fp in calculations.
27307 (_JMPBUF_UNWINDS_ADJ): Likewise.
27309 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27310 (aio_suspend): Call it to force an exception region around the
27311 AIO_MISC_WAIT() invocation.
27313 2011-08-23 Andreas Schwab <schwab@redhat.com>
27315 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27318 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27320 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27322 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27323 and <dl-machine.h>.
27324 (Elf64_FuncDesc): Remove.
27326 2011-08-22 David S. Miller <davem@davemloft.net>
27328 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27329 sigaltstack check, add missing cfi directives.
27330 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27331 missing cfi directives, and sigaltstack handling.
27333 2011-08-16 Andreas Schwab <schwab@redhat.com>
27336 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27337 object is seen twice.
27338 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27340 * elf/Makefile (distribute): Add tst-initorder2.c.
27341 (tests): Add tst-initorder2.
27342 (modules-names): Add tst-initorder2a tst-initorder2b
27343 tst-initorder2c tst-initorder2d. Add rules to build them.
27344 ($(objpfx)tst-initorder2.out): New rule.
27345 * elf/tst-initorder2.c: New file.
27346 * elf/tst-initorder2.exp: New file.
27348 2011-08-22 Andreas Schwab <schwab@redhat.com>
27350 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27352 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27353 dependencies back to end of function.
27355 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27356 $(elfobjdir)/ld.so.
27358 2011-08-21 Ulrich Drepper <drepper@gmail.com>
27360 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27361 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27363 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27364 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27365 of __vdso_gettimeofday.
27366 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27367 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27369 (_libc_vdso_platform_setup): Remove initialization of
27370 __vdso_gettimeofday and __vdso_time.
27372 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27374 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27375 and fgetc_unlocked.
27376 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27379 * elf/dl-open.c (add_to_global): Report additions to the global scope
27380 for LD_DEBUG=scopes.
27381 (dl_open_worker): Also print scope of newly loaded dependencies.
27382 (_dl_show_scope): Indicate if there is no scope.
27385 * stdio-common/Makefile (tests): Add bug24.
27386 * stdio-common/bug24.c: New file.
27388 2011-08-19 Andreas Jaeger <aj@suse.de>
27391 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27392 non-existant file when using close-on-exec mode.
27394 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27397 the very first instruction.
27399 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27400 the CFI state in the end.
27401 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27402 inclusion of dl-trampoline.h.
27403 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27405 2011-08-19 Andreas Schwab <schwab@redhat.com>
27407 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27408 expectations for long double.
27410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27411 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27413 2011-08-14 David S. Miller <davem@davemloft.net>
27415 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27416 artificual limit depends upon the system page size.
27418 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27420 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27421 * resolv/Makefile: Define CFLAGS-libresolv.
27423 2011-08-17 Andreas Schwab <schwab@redhat.com>
27425 * nss/makedb.c (compute_tables): Make variables used in nested
27428 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27430 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27431 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27432 if buffer was too small.
27434 * elf/pldd.c (main): Attach to all threads in the process.
27435 Rewrite /proc handling to use *at functions.
27437 2011-08-16 Ulrich Drepper <drepper@gmail.com>
27439 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27440 specifies first scope to show.
27441 (dl_open_worker): Update callers. Move printing scope of new
27442 object to before the relocation.
27443 * elf/rtld.c (dl_main): Update _dl_show_scope call.
27444 * sysdeps/generic/ldsodefs.h: Update declaration.
27446 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27447 string for the scope number.
27449 2011-08-14 Ulrich Drepper <drepper@gmail.com>
27451 * nscd/servicescache.c (cache_addserv): Make sure written is always
27454 2011-08-14 Roland McGrath <roland@hack.frob.com>
27456 * sysdeps/i386/i486/bits/atomic.h
27457 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27458 statement expression, so as to suppress "set but not used" warning.
27459 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27461 * string/strncat.c (STRNCAT): Use prototype definition.
27463 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27464 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27466 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27467 (localedef-modules): Add localedef.
27468 (locale-modules): Add locale.
27470 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27471 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27472 to avoid a warning.
27474 2011-08-14 David S. Miller <davem@davemloft.net>
27476 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27477 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27479 2011-08-13 Ulrich Drepper <drepper@gmail.com>
27481 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
27482 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27483 * elf/rtld.c (dl_main): Set l_name of vDSO.
27484 Call _dl_show_scope when DL_DEBUG_SCOPES.
27485 (process_dl_debug): Recognize scopes flag and also set it for all.
27486 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27487 Declare _dl_show_scope.
27489 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27490 (do_dlopen): Pass caller_dlopen to dl_open.
27491 (__libc_dlopen_mode): Initialize caller_dlopen.
27493 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27494 of libc. Make tolower call locale-independent. Optimize a bit by
27495 using isdigit instead of isalnum.
27496 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27498 2011-08-12 Ulrich Drepper <drepper@gmail.com>
27500 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27501 was a dependency or dynamically loaded.
27503 2011-08-11 Ulrich Drepper <drepper@gmail.com>
27505 * intl/l10nflist.c: Allow architecture-specific pop function.
27506 * sysdeps/x86_64/l10nflist.c: New file.
27508 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27511 2011-08-10 Andreas Schwab <schwab@redhat.com>
27513 * include/dirent.h: Add libc_hidden_proto for scandirat and
27514 scandirat64. Don't declare __scandirat64.
27515 * dirent/scandirat.c: Add libc_hidden_def.
27516 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27517 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27519 2011-08-10 David S. Miller <davem@davemloft.net>
27521 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27523 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27524 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27525 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27527 2011-08-09 Ulrich Drepper <drepper@gmail.com>
27529 * Versions.def [libc]: Add GLIBC_2.15.
27530 * dirent/Makefile (routines): Add scandirat and scandirat64.
27531 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27533 * dirent/dirent.h: Declare scandirat and scandirat64.
27534 * dirent/scandirat.c: New file.
27535 * dirent/scandirat64.c: New file.
27536 * sysdeps/wordsize-64/scandirat.c: New file.
27537 * sysdeps/wordsize-64/scandirat64.c: New file.
27538 * dirent/opendir.c: Define opendirat.
27539 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27541 * dirent/scandir64.c: Adjust for scandir.c change.
27542 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27543 __scandirat64, and __scandir_cancel_handler.
27544 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27545 additional parameter and use openat instead of open (outside of ld.so).
27546 Add new __opendir as wrapper around __opendirat.
27547 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27548 here without requiring old scandirat implementation.
27550 2011-08-08 Ulrich Drepper <drepper@gmail.com>
27552 * dirent/scandir.c (cancel_handler): Renamed to
27553 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27554 defined. Adjust users.
27555 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27556 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27558 2011-08-04 Ulrich Drepper <drepper@gmail.com>
27560 * string/test-string.h (IMPL): Use __STRING to expand name and then
27563 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27566 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27568 * string/Makefile: Update.
27569 (strop-tests): Append strncat.
27570 * string/test-wcscmp.c: New file.
27571 New comprehensive test for wcscmp.
27572 * string/test-strcmp.c: Update.
27573 (WIDE): New define.
27575 2011-07-22 Andreas Schwab <schwab@redhat.com>
27577 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27580 2011-07-26 Andreas Schwab <schwab@redhat.com>
27582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27583 encoding to ACE if AI_IDN.
27585 2011-08-01 Jakub Jelinek <jakub@redhat.com>
27587 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27588 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27590 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27592 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27593 Fix overflow bug in strncat.
27594 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27596 * string/test-strncat.c: Update.
27597 Add new tests for checking overflow bugs.
27599 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27602 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27603 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27604 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27605 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27606 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27607 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27608 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27609 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27611 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27612 (USE_AS_STRCAT): Define.
27613 Add strcat and strncat support.
27614 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27616 2011-07-25 Andreas Schwab <schwab@redhat.com>
27618 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27619 __n bigger than INT_MAX+1.
27620 (__strncmp_g): Likewise.
27622 2011-07-23 Ulrich Drepper <drepper@gmail.com>
27624 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27625 * libio/stido.h: Likewise.
27627 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27629 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27632 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27633 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27634 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27635 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27636 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27639 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27644 (_dl_x86_64_save_sse): Likewise.
27646 2011-07-22 Ulrich Drepper <drepper@gmail.com>
27648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27650 (_dl_x86_64_save_sse): Likewise.
27652 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27654 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27656 2011-07-21 Andreas Schwab <schwab@redhat.com>
27658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27660 (_dl_x86_64_save_sse): Use correct AVX check.
27662 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27664 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27665 bug in strncpy/strncat.
27666 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27668 2011-07-21 Ulrich Drepper <drepper@gmail.com>
27670 * string/tester.c (test_strcat): Add tests for different alignments
27671 of source and destination.
27672 (test_strncat): Likewise.
27674 2011-07-20 Ulrich Drepper <drepper@gmail.com>
27677 * posix/glob.c (glob): Check passed in values before using them in
27678 expressions to avoid some overflows.
27679 (glob_in_dir): Likewise.
27682 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27683 check for AVX enablement so that we don't crash with old kernels and
27685 * elf/tst-audit4.c: Add same checks here.
27686 * elf/tst-audit6.c: Likewise.
27688 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
27690 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27692 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27694 2011-07-20 Ulrich Drepper <drepper@gmail.com>
27696 * po/cs.po: Update from translation team.
27697 * po/bg.po: Likewise.
27699 2011-07-12 Marek Polacek <mpolacek@redhat.com>
27701 * misc/sys/cdefs.h: Add support for const attribute.
27702 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27703 to gnu_dev_{major,minor,makedev} functions.
27705 2011-07-20 Marek Polacek <mpolacek@redhat.com>
27707 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27709 2011-07-20 Andreas Schwab <schwab@redhat.com>
27711 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27714 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27716 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27717 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27718 register in order to avoid conflicts with the soft frame pointer
27719 being held in r11 when necessary.
27720 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27721 (INTERNAL_VSYSCALL_NCS): Likewise.
27723 2011-07-14 Marek Polacek <mpolacek@redhat.com>
27725 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27726 * elf/dl-fini.c (_dl_fini): Adjust caller.
27727 * elf/dl-close.c (_dl_close_worker): Likewise.
27728 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27730 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27732 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27733 "aux_cache->nlibs < 0".
27735 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27736 in the reload-count case.
27738 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27741 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27742 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27743 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27744 * sysdeps/x86_64/multiarch/strcat.S: New file.
27745 * sysdeps/x86_64/multiarch/strncat.S: New file.
27746 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27747 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27748 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27749 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27750 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27751 (USE_AS_STRCAT): Define.
27752 Add strcat and strncat support.
27753 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27754 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27755 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27756 * string/strncat.c: Update.
27757 (USE_AS_STRNCAT): Define.
27758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27759 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27761 * sysdeps/x86_64/multiarch/init-arch.h
27762 (bit_Prefer_PMINUB_for_stringop): New.
27763 (index_Prefer_PMINUB_for_stringop): Likewise.
27764 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27765 bit_Prefer_PMINUB_for_stringop.
27767 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27769 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27771 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27772 of casting of buffer.
27773 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27774 buffer32 and buffer64.
27775 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27776 writes instead of casting of buffer.
27777 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27779 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27782 2011-07-19 Andreas Schwab <schwab@redhat.com>
27784 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27786 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27788 * nscd/nscd.c (termination_handler): Don't do anything for a database
27789 if it has not yet been initialized.
27791 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27793 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27795 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27797 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27799 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27801 * po/nl.po: Update from translation team.
27802 * po/sv.po: Likewise.
27804 2011-07-16 Roland McGrath <roland@hack.frob.com>
27806 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27807 now disallowed by GCC.
27809 * configure.in (use-default-link): Default to yes if a test -shared
27810 link meets our qualifications.
27811 * configure: Regenerated.
27813 * config.make.in (output-format): New variable.
27814 * configure.in: Check for ld --print-output-format support.
27815 * configure: Regenerated.
27816 * Makerules ($(common-objpfx)format.lds)
27817 [$(output-format) != unknown]: Just use $(output-format),
27818 instead of the linker-script munging.
27820 2011-07-14 Roland McGrath <roland@hack.frob.com>
27822 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27823 of $(common-objpfx)shlib.lds.
27824 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27826 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27827 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27829 * configure.in (-z relro check): Adjust test code to add a large
27830 writable data section after it.
27831 * configure: Regenerated.
27833 2011-07-11 Roland McGrath <roland@hack.frob.com>
27835 * configure.in (-z relro check): Fix test code to make the variable
27837 * configure: Regenerated.
27839 2011-07-11 Ulrich Drepper <drepper@gmail.com>
27841 * nscd/nscd.h (struct traced_file): Define.
27842 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27843 elements. Add traced_files.
27844 (inotify_fd): Declare.
27845 (register_traced_file): Declare.
27846 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27847 (inotify_fd): Export.
27848 (resolv_conf_descr): Remove.
27849 (nscd_init): Move inotify descriptor creation to main.
27850 Don't register files for notification here.
27851 (register_traced_file): New function.
27852 (invalidate_cache): Don't use reset_res to determine whether to call
27853 res_init, go through the list of registered files.
27854 (main_loop_poll): The inotify descriptors are now stored in the
27855 structures for the traced files.
27856 (main_loop_epoll): Likewise
27857 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27858 to __nss_disable_nscd.
27859 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27860 for a database anymore. Check the records for all the registered
27862 * nss/Makefile (libnss_files-routines): Add files-init.
27863 (libnss_db-routines): Add db-init.
27864 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27865 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27866 * nss/nss_db/db-init.c: New file.
27867 * nss/nss_files/files-init.c: New file.
27868 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27869 __nss_lookup_function.
27870 (__nss_lookup_function): Call nss_load_library.
27871 (nss_load_all_libraries): New function.
27872 (__nss_disable_nscd): Take parameter with callback function for files
27873 to register. Set is_nscd. Load all the DSOs for the NSS modules
27874 used for the cached services.
27875 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27876 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27877 options for features to all the files in nscd.
27879 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27881 2011-07-10 Roland McGrath <roland@hack.frob.com>
27883 * csu/elf-init.c (__libc_csu_init): Comment typo.
27885 2011-07-09 Ulrich Drepper <drepper@gmail.com>
27887 * po/pl.po: Update from translation team.
27888 * po/ja.po: Likewise.
27889 * po/ru.po: Likewise.
27890 * po/ko.po: Likewise.
27891 * po/fr.po: Likewise.
27893 2011-07-09 Roland McGrath <roland@hack.frob.com>
27895 * configure.in (.ctors/.dtors header and trailer check):
27896 Use an empirical test on a built program.
27897 * configure: Regenerated.
27899 * configure.in (-z relro check): Use an empirical test on a built DSO.
27900 Detect, but do not require, on ia64.
27901 * configure: Regenerated.
27903 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27904 Update tests that use readelf to use $READELF instead.
27905 * configure: Regenerated.
27907 2011-07-08 Ulrich Drepper <drepper@gmail.com>
27909 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27910 if the result is not used.
27912 2011-07-05 Andreas Jaeger <aj@suse.de>
27915 * stdlib/tst-strtod.c: Add testcase.
27917 2011-07-07 Ulrich Drepper <drepper@gmail.com>
27919 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27920 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27921 The latter has a higher limit. Take additional parameter to pass to
27923 (__pathconf): Pass file to __statfs_link_max.
27924 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27926 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27930 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27931 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27933 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27934 (__statfs_filesize_max): Likewise.
27935 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27937 2011-07-05 Andreas Jaeger <aj@suse.de>
27939 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27941 2011-07-06 Marek Polacek <mpolacek@redhat.com>
27943 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27945 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27948 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27950 * Makefile (strop-tests): Add strncat.
27951 * string/test-strncat.c: New file.
27953 2011-06-30 Marek Polacek <mpolacek@redhat.com>
27955 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27957 2011-06-21 Andreas Jaeger <aj@suse.de>
27959 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27960 Copy rule from iconvdata/Makefile.
27962 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27965 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27966 but no long options are defined, just return 'W'.
27968 2011-06-22 Marek Polacek <mpolacek@redhat.com>
27971 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27973 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27975 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27977 (innetgr): Likewise.
27979 2011-07-05 Roland McGrath <roland@hack.frob.com>
27981 * config.make.in (install_root): Default to $(DESTDIR).
27983 2011-07-05 Ulrich Drepper <drepper@gmail.com>
27985 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27987 2011-07-02 Roland McGrath <roland@hack.frob.com>
27989 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27991 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27992 containing directory rather than embedding absolute directory names.
27994 * scripts/check-local-headers.sh: Rewritten using awk.
27995 Match by word, not by line. Print error messages for matches.
27996 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27998 * Makerules [shlib-lds-flags empty]:
27999 ($(common-objpfx)libc_pic.opts): New target.
28000 ($(common-objpfx)libc_pic.os.clean): New target.
28001 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28003 * config.make.in (OBJCOPY): New variable.
28004 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28005 * configure: Regenerated.
28007 * config.make.in (use-default-link): New variable.
28008 * configure.in (use_default_link): Grok --with-default-link to set it.
28009 * configure: Regenerated.
28010 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28011 (shlib-lds, shlib-lds-flags): Define to empty.
28013 * Makerules (shlib-lds): New variable.
28014 (shlib-lds-flags): New variable.
28015 (build-shlib, build-moduile, build-module-asneeded): Use it.
28016 ($(common-objpfx)libc.so): Use $(shlib-lds).
28017 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28018 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28020 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28021 DT_FLAGS/DT_FLAGS_1 with zero flags.
28023 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28024 linker script munging.
28026 2011-07-02 Ulrich Drepper <drepper@gmail.com>
28028 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28030 * crypt/sha512.c (sha512_process_block): Perform total addition using
28031 128-bit if possible.
28032 (__sha512_finish_ctx): Likewise.
28033 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28035 * crypt/sha256.c (SWAP64): Define.
28036 (sha256_process_block): Perform total addition using 64-bit if
28038 (__sha256_finish_ctx): Likewise.
28040 2011-07-01 Ulrich Drepper <drepper@gmail.com>
28042 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28043 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28044 * nscd/hstcache.c (cache_addhst): Likewise.
28045 * nscd/grpcache.c (cache_addgr): Likewise.
28046 * nscd/aicache.c (addhstaiX): Likewise
28047 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28049 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
28051 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28052 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28053 * nscd/hstcache.c (cache_addhst): Likewise.
28054 * nscd/grpcache.c (cache_addgr): Likewise.
28055 * nscd/aicache.c (addhstaiX): Likewise
28057 2011-07-01 Andreas Schwab <schwab@redhat.com>
28059 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28060 domain only when needed.
28062 2011-06-30 Andreas Schwab <schwab@redhat.com>
28064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28065 is always restored.
28067 2011-06-29 Ulrich Drepper <drepper@gmail.com>
28069 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28070 are re-adding the entry.
28071 * nscd/servicescache.c (cache_addserv): Likewise.
28073 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28075 * sysdeps/generic/dl-irel.h: fix protection against multiple
28077 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28079 2011-06-28 Ulrich Drepper <drepper@gmail.com>
28082 * malloc/memusage.sh: Fix quoting in message.
28083 * debug/xtrace.sh: Likewise.
28085 * configure.in: Remove support for --experimental-malloc option, make
28087 * config.make.in: Likewise.
28088 * malloc/Makefile: Likewise.
28090 2011-06-27 Andreas Schwab <schwab@redhat.com>
28092 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28093 two-byte characters.
28095 2011-06-27 Roland McGrath <roland@hack.frob.com>
28097 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28098 AC_CACHE_CHECK invocation.
28099 * configure: Regenerated.
28101 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28103 2011-06-27 Ulrich Drepper <drepper@gmail.com>
28106 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28107 bit from old_res_options.
28109 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28111 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28112 value type for setfct.
28114 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28116 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28117 __gettimeofday instead of gettimeofday.
28119 2011-06-26 Ulrich Drepper <drepper@gmail.com>
28121 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28123 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28125 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28127 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28130 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28133 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28134 strcpy-sse2-unaligned strncpy-sse2-unaligned
28135 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28136 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28137 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28138 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28139 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28140 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28141 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28142 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28143 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28144 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28145 (STRCPY): Support SSE2 and SSSE3 versions.
28147 2011-06-24 Ulrich Drepper <drepper@gmail.com>
28150 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28151 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28152 kernels which artificially limit size of requests.
28154 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28157 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28158 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28159 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28160 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28161 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28162 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28163 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28164 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28165 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28166 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28167 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28168 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28169 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28170 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28172 Enable unaligned load optimization for Intel Core i3, i5 and i7
28174 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28176 (index_Fast_Unaligned_Load): Define.
28177 (HAS_FAST_UNALIGNED_LOAD): Define.
28179 2011-06-23 Marek Polacek <mpolacek@redhat.com>
28181 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28183 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28187 until it is clear that the information is realy needed.
28188 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28190 2011-06-22 Andreas Schwab <schwab@redhat.com>
28192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28194 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28197 /sys/devices/system/cpu/online if it is usable.
28199 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28200 reading the information from the /proc filesystem to once a second.
28202 2011-06-21 Andreas Jaeger <aj@suse.de>
28204 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28205 NULL after inclusion of kernel headers.
28207 2011-06-21 Ulrich Drepper <drepper@gmail.com>
28209 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28210 calls to internal_setent.
28213 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28214 addresses using gethostbyname4_r ignore IPv4 addresses.
28216 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28217 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28219 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28221 2011-06-20 David S. Miller <davem@davemloft.net>
28223 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28225 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28227 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28228 (elf_irel): Use it.
28229 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28230 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28231 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28232 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28233 * sysdeps/x86_64/dl-irel.h: Likewise.
28235 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28236 * elf/dl-sym.c: Likewise.
28238 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28240 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28241 need to dereference resplen2.
28243 2011-06-14 Andreas Schwab <schwab@redhat.com>
28245 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28247 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28249 * Makeconfig: Define vardbdir and inst_vardbdir.
28250 * nss/Makefile: Add rules to install db-Makefile.
28252 * nss/nss_db/db-XXX.c: Cleanup.
28254 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28255 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28257 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28258 * nss/makedb.c: Implement -g option to specify that value strings
28259 are generated and should not be added to table iterated over for
28261 * nss/nss_db/db-initgroups.c: New file.
28263 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28266 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28267 (internal_getgrouplist): Adjust to name change.
28268 Update use_initgroups_entry if this is not the first call.
28269 * nss/databases.def: Add initgroups entry.
28271 * nss/makedb.c (compute_tables): Check result of multiple hash table
28272 sizes to minimize maximum chain length.
28274 2011-06-14 Ulrich Drepper <drepper@gmail.com>
28276 * Versions.def: Add entry for libnss_db.
28277 * shlib-versions: Likewise.
28278 * nss/Makefile: Add rules to build libnss_db.
28279 * nss/Versions: Add libnss_db information. Organize libnss_files
28281 * nss/db-Makefile: Add gshadow support. Change rules for the new
28282 makedb progra. Some minor improvements to generate smaller files.
28283 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28285 * nss/makedb.c: ...here.
28286 Improve database format to be smaller and require less memory at
28288 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28290 * nss/nss_db/db-netgrp.c: Likewise.
28291 * nss/nss_db/db-open.c: Likewise.
28292 * nss/nss_files/flies-XXX.x: Adjust comments.
28293 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28294 * nss/nss_files/files-grp.c: Likewise.
28295 * nss/nss_files/files-hosts.c: Likewise.
28296 * nss/nss_files/files-network.c: Likewise.
28297 * nss/nss_files/files-proto.c: Likewise.
28298 * nss/nss_files/files-pwd.c: Likewise.
28299 * nss/nss_files/files-rpc.c: Likewise.
28300 * nss/nss_files/files-service.c: Likewise.
28301 * nss/nss_files/files-sgrp.c: Likewise.
28302 * nss/nss_files/files-spwd.c: Likewise.
28303 * nss/nss_db/db-alias.c: Removed.
28304 * nss/nss_db/dummy-db.h: Removed.
28306 2011-06-02 Ulrich Drepper <drepper@gmail.com>
28308 * nss/makedb.c: Rewritten to not use database library.
28309 * nss/Makefile: Update to build new makedb program.
28311 2011-06-14 Andreas Jaeger <aj@suse.de>
28313 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28314 memset declaration.
28316 2011-06-10 Andreas Schwab <schwab@redhat.com>
28318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28321 2011-06-10 Roland McGrath <roland@hack.frob.com>
28323 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28324 * elf/Makefile ($(objpfx)ld.so): Likewise.
28326 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28327 Don't list ld.so twice in dependencies.
28329 * posix/bug-regex31.c: Include <stdlib.h>.
28331 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28333 * nis/nss_compat/compat-spwd.c
28334 (getspent_next_nss_netgr): Remove unused variable.
28335 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28337 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28338 nonmembers" output to use the right array.
28340 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28342 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28344 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28345 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28346 * catgets/gencat.c (read_input_file): Likewise.
28347 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28349 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28350 variable definition inside #if's controlling its use.
28352 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28354 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28356 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28358 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28361 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28363 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28364 * configure: Regenerated.
28366 * Makerules: Revert last change.
28367 * elf/Makefile: Likewise.
28369 2011-06-09 Roland McGrath <roland@hack.frob.com>
28371 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28372 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28373 (reloc-link): Likewise.
28375 2011-06-09 Ulrich Drepper <drepper@gmail.com>
28377 * elf/Makefile: Add rules to build pldd.
28378 * elf/pldd.c: New file.
28379 * elf/pldd-xx.c: New file.
28381 2011-06-07 Ulrich Drepper <drepper@gmail.com>
28383 * version.h: Update for 2.15 development version.
28385 2011-06-07 David S. Miller <davem@davemloft.net>
28387 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28389 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28390 elf_machine_lazy_rel): Likewise.
28391 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28392 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28393 elf_machine_lazy_rel): Likewise.
28394 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28395 dl_hwcap via passed in argument.
28396 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28399 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28401 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28403 2011-06-06 Roland McGrath <roland@hack.frob.com>
28406 * manual/fdl-1.1.texi: New file, verbatim from:
28407 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28408 * manual/lgpl-2.1.texi: New file, verbatim from:
28409 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28410 * manual/Makefile (licenses): New variable, list those new file names.
28412 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28414 * manual/fdl.texi: File removed.
28415 * manual/lesser.texi: File removed.
28416 * manual/libc.texinfo (Copying, Documentation License):
28417 Use new @include file names, put @appendix directive before @include.
28419 2011-06-04 Jakub Jelinek <jakub@redhat.com>
28422 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28423 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28424 (mq_open): Add __NTH.
28426 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28429 Assume Intel Core i3/i5/i7 processor if AVX is available.
28431 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28433 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28436 2011-05-31 Andreas Schwab <schwab@redhat.com>
28438 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28439 memory. Use alloca_account. Fix memory leak when retrying.
28441 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28443 * version.h (RELEASE): Bump for 2.14 release.
28444 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28446 * config.make.in (RANLIB): Remove entry.
28448 2011-05-30 Ulrich Drepper <drepper@gmail.com>
28450 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28451 (libc.pot): Work around missing support for .ksh extension in xgettext.
28454 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28455 if both request failed.
28456 (send_dg): In case of server errors clear resplen or *resplen2.
28459 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28460 when there are multiple maps.
28461 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28462 (_dl_fini): Remove test here.
28464 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28466 2011-05-29 Ulrich Drepper <drepper@gmail.com>
28469 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28470 bit from old_res_options.
28471 (gaih_inet): Likewise.
28474 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
28477 * resolv/res_init.c (res_setoptions): Make the code more compact.
28480 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28484 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28486 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28489 * malloc/malloc.h: Declare malloc hook variables as volatile.
28491 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28495 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
28496 raise in the comment.
28497 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28498 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28499 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
28501 2011-05-28 Ulrich Drepper <drepper@gmail.com>
28504 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28505 grow the buffers more if it already has to be sufficient.
28506 (build_wcs_upper_buffer): Likewise.
28507 * posix/regexec.c (check_matching): Likewise.
28508 (clean_state_log_if_needed): Likewise.
28509 (extend_buffers): Don't enlarge buffers beyond size of the input
28511 Patches mostly by Emil Wojak <emil@wojak.eu>.
28512 * posix/bug-regex32.c: New file.
28513 * posix/Makefile (tests): Add bug-regex32.
28515 * locale/findlocale.c (_nl_find_locale): Return right away if
28516 _nl_explode_name failed.
28517 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28519 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28521 * debug/xtrace.sh: Unify messages.
28522 * malloc/memusage.sh: Likewise.
28525 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28526 time symbol from vDSO. Substitute with vsyscall if not available.
28527 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28530 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28531 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28532 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28533 Add sendmmsg and internal_sendmmsg.
28534 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28535 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28536 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28538 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28539 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28540 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28542 2011-05-27 Ulrich Drepper <drepper@gmail.com>
28545 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28546 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28548 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28552 * iconvdata/Makefile (tests): Add bug-iconv9.
28553 * iconvdata/bug-iconv9.c: New file.
28555 2011-05-27 Andreas Schwab <schwab@redhat.com>
28558 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28560 2011-05-25 Jakub Jelinek <jakub@redhat.com>
28562 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28563 (struct user_regs_struct): Change intcs field back to cs.
28565 2011-05-25 Ulrich Drepper <drepper@gmail.com>
28567 * po/ja.po: Update from translation team.
28569 2011-05-23 Ulrich Drepper <drepper@gmail.com>
28572 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28573 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28575 2011-05-20 Andreas Schwab <schwab@redhat.com>
28577 * stdlib/longlong.h: Update from GCC.
28579 2011-05-23 Andreas Schwab <schwab@redhat.com>
28581 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28583 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28584 Add parameter name.
28585 (__sysconf): Pass it down.
28587 2011-05-22 Ulrich Drepper <drepper@gmail.com>
28590 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28592 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28593 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28594 add in in __libc_use_alloca calls. Adjust callers.
28595 (glob): Use malloc in some situations.
28597 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28598 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28601 2011-05-21 Ulrich Drepper <drepper@gmail.com>
28603 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28604 and CLOCK_BOOTTIME_ALARM.
28607 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28610 * string/_strerror.c (__strerror_r): Print negative errors as signed
28614 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28615 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28616 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28618 * configure.in: Fix typo in redirection and correct removal of test
28619 files in two cases.
28622 * locale/setlocale.c (new_composite_name): Fix test to check for
28623 identical name of all categories.
28626 * libio/filedoalloc.c (local_isatty): New function.
28627 (_IO_file_doallocate): Use local_isatty.
28628 * stdio-common/perror.c (perror): In case a new stream is used
28629 forward the stream error.
28630 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28633 2011-05-20 Ulrich Drepper <drepper@gmail.com>
28636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28638 * include/alloca.h (extend_alloca_account): Define.
28641 * posix/regex.h: Fix comments with documentation of user-accessible
28642 fields after compilation and describe correct free'ing of pattern
28643 after re_compile_pattern.
28644 Patch by Reuben Thomas <rrt@sc3d.org>.
28646 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28648 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28649 and -mno-altivec to prevent the compiler from using Altivec and/or
28650 VSX instructions when the corresponding registers are not available.
28652 2011-05-19 Andreas Schwab <schwab@redhat.com>
28654 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28656 2011-05-19 Ulrich Drepper <drepper@gmail.com>
28658 * libio/freopen.c (freopen): Use __dup2, not dup2.
28659 * libio/freopen64.c (freopen64): Likewise.
28661 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28664 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28665 * math/Makefile (tests): Add test-powl.
28666 (CFLAGS-test-powl.c): Define.
28667 * math/test-powl.c: New file.
28669 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28671 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28673 2011-05-17 Ulrich Drepper <drepper@gmail.com>
28676 * iconvdata/gb18030.c: Update to GB18020-2005.
28678 2011-05-16 Ulrich Drepper <drepper@gmail.com>
28680 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28681 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28682 Patch by Aharon Robbins <arnold@skeeve.com>.
28685 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28689 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28690 through underflows.
28693 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28694 point to strings before performing equality test for error_one_per_line
28698 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28701 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28702 (struct user_fpregs_struct): Avoid __uint*_t types.
28705 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28706 symbol info. Use it instead of calling _dl_addr locally.
28707 (lock_and_info): New function.
28708 (tr_freehook): Call lock_and_info and pass symbol info as additional
28709 parameter to tr_where.
28710 (tr_mallochook): Likewise.
28711 (tr_reallochook): Likewise.
28712 (tr_memalignhook): Likewise.
28714 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28715 used and couldn't be at all thread-safe.
28717 2011-05-15 Ulrich Drepper <drepper@gmail.com>
28719 * libio/freopen.c (freopen): Don't close old file descriptor
28720 before the new one is opened. Instead dup the new file descriptor
28721 to the old one after the new stream is created.
28722 * libio/freopen64.c (freopen64): Likewise.
28723 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28724 * libio/fileops.c (_IO_new_file_close_it): Handle new
28725 _IO_FLAGS2_NOCLOSE flag.
28726 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28727 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28728 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28729 _IO_FLAGS2_NOCLOSE flag.
28730 * include/unistd.h: Add hidden_proto for dup3.
28731 Define __have_dup3.
28732 * io/dup3.c: Define hidden symbol.
28733 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28736 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28737 when an incomplete long option is used.
28738 * posix/tst-getopt_long1.c: New file.
28739 * posix/Makefile (tests): Add tst-getopt_long1.
28742 * scripts/config.guess: Update from autoconf-2.68.
28743 * scripts/config.sub: Likewise.
28746 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28748 (has_cpuclock): ...this. New function.
28749 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28750 macro here based on has_cpuclock code.
28753 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28754 First byte (not low byte) is now always NUL.
28755 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28757 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28758 Use non-cancelable interfaces.
28761 * locale/iso-639.def: Add entry for Sorani.
28764 * include/stdlib.h: Move include protection to the right place.
28765 Define abort_msg_s. Declare __abort_msg with it.
28766 * stdlib/abort.c (__abort_msg): Adjust type.
28767 * assert/assert.c (__assert_fail_base): New function. Majority
28768 of code from __assert_fail. Allocate memory for __abort_msg with
28770 (__assert_fail): Now call __assert_fail_base.
28771 * assert/assert-perr.c: Remove bulk of implementation. Use
28772 __assert_fail_base.
28773 * include/assert.hL Declare __assert_fail_base.
28774 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28776 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28778 2011-05-14 Ulrich Drepper <drepper@gmail.com>
28782 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28783 until all modules are registered in the DTV.
28784 * elf/Makefile: Add rules to build and run tst-tls19.
28785 * elf/tst-tls19.c: New file.
28786 * elf/tst-tls19mod1.c: New file.
28787 * elf/tst-tls19mod2.c: New file.
28788 * elf/tst-tls19mod3.c: New file.
28789 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28792 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28796 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28797 two-byte sequence errors.
28798 * iconvdata/Makefile (tests): Add bug-iconv8.
28799 * iconvdata/bug-iconv8.c: New file.
28802 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28805 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28808 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28809 (dummy_getcfa): New function.
28810 (init): Get _Unwind_GetCFA address, use dummy if not found.
28811 (backtrace_helper): In recursion check, also check whether CFA changes.
28812 (__backtrace): Completely initialize arg.
28814 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28815 storing incomplete byte sequence in state object. Avoid testing for
28816 guaranteed too small input if we know there is enough data available.
28818 2011-05-11 Andreas Schwab <schwab@redhat.com>
28820 * Makeconfig (+link-pie): Indent.
28821 * Rules (binaries-pie): Define if $(have-fpie) and
28823 (binaries-shared): Also filter out $(binaries-pie).
28824 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28825 * nscd/Makefile (others-pie): Add nscd.
28826 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28827 ($(objpfx)nscd): Remove command override.
28828 * login/Makefile (others-pie): Add pt_chown.
28829 ($(objpfx)pt_chown): Remove command override.
28830 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28831 remove command overrides.
28833 2011-05-13 Ulrich Drepper <drepper@gmail.com>
28835 * libio/tst_putwc.c: Fix error messages.
28838 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28839 currently writing and seek to current position when not.
28840 * libio/Makefile (tests): Add bug-fclose1.
28841 * libio/bug-fclose1.c: New file.
28843 2011-05-12 Ulrich Drepper <drepper@gmail.com>
28846 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28847 don't set DF_1_NODELETE here.
28848 (do_lookup_x): When entering new entry test for copy relocation
28849 and if necessary set DF_1_NODELETE flag.
28850 * elf/tst-unique4.cc: New file.
28851 * elf/tst-unique4.h: New file.
28852 * elf/tst-unique4lib.cc: New file.
28853 * elf/Makefile: Add rules to build and run tst-unique4.
28854 Patch by Piotr Bury <pbury@goahead.com>.
28856 2011-05-11 Ulrich Drepper <drepper@gmail.com>
28859 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28862 * misc/mntent_r.c (addmntent): Flush the stream after the output
28865 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28866 (is_trusted_path_normalize): Skip initial colon. Append slash
28867 to empty buffer. Duplicate is_trusted_path code but allow
28868 constructed patch to be prefix.
28869 (is_dst): Allow $ORIGIN followed by /.
28870 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28871 Correct testing of result of is_trusted_path_normalize
28872 (decompose_rpath): Fix warning.
28874 2011-05-10 Ulrich Drepper <drepper@gmail.com>
28877 * grp/initgroups.c (internal_getgrouplist): When we found the service
28878 list through the initgroups entry in nsswitch.conf do not always
28879 continue on a successful lookup. Don't always use the
28880 __nss_group_database value if it is set.
28881 * nss/nsswitch.conf (initgroups): Change action for successful db
28882 lookup to continue for compatibility.
28884 2011-05-09 Ulrich Drepper <drepper@gmail.com>
28887 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28889 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28891 * iconvdata/tst-tables.sh: Likewise.
28892 * iconvdata/cp770.c: New file.
28893 * iconvdata/cp771.c: New file.
28894 * iconvdata/cp772.c: New file.
28895 * iconvdata/cp773.c: New file.
28896 * iconvdata/cp774.c: New file.
28897 * iconvdata/testdata/CP770: New file.
28898 * iconvdata/testdata/CP770..UTF8: New file.
28899 * iconvdata/testdata/CP771: New file.
28900 * iconvdata/testdata/CP771..UTF8: New file.
28901 * iconvdata/testdata/CP772: New file.
28902 * iconvdata/testdata/CP772..UTF8: New file.
28903 * iconvdata/testdata/CP773: New file.
28904 * iconvdata/testdata/CP773..UTF8: New file.
28905 * iconvdata/testdata/CP774: New file.
28906 * iconvdata/testdata/CP774..UTF8: New file.
28908 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28910 * iconvdata/gen-8bit-gap.sh: Likewise.
28911 * iconvdata/gen-8bit.sh: Likewise.
28913 * locale/iso-639.def: Add ary entry.
28916 * locale/C-translit.h.in: Add U20A1 transliteration.
28919 * locale/iso-639.def: Add wae entry.
28920 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28923 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28927 * locale/C-translit.h.in: Add entry for U20B9.
28928 Patch by pravin.d.s@gmail.com.
28930 2011-05-08 Ulrich Drepper <drepper@gmail.com>
28933 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28934 ENAMETOOLONG use generic getcwd.
28935 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28936 in rtld. Use *stat64.
28937 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28938 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28939 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28940 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28941 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28942 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28943 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28944 __fstatat64 macros.
28945 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28946 * dirent/rewinddir.c: Add libc_hidden_def.
28947 * sysdeps/mach/hurd/rewinddir.c: Likewise.
28948 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
28950 * include/dirent.h (__alloc_dir): Add flags parameter.
28951 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28952 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28954 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28955 from fdopendir if O_CLOEXEC is already set.
28957 2011-03-15 Alan Modra <amodra@gmail.com>
28959 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28960 l_tls_firstbyte_offset non-zero. Save padding offset in
28961 l_tls_firstbyte_offset for later use.
28962 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28963 freeing static tls block.
28965 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28967 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28968 where #ifdef was intended. The intent is to prevent ARG_MAX from
28969 being defined by the kernel headers.
28971 2011-05-07 Ulrich Drepper <drepper@gmail.com>
28974 * resolv/resolv.h: Define RES_NOTLDQUERY.
28975 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28976 no-tld-query and set RES_NOTLDQUERY.
28977 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28978 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28979 modern BIND to search name as TLD unless forbidden.
28981 2011-05-07 Petr Baudis <pasky@suse.cz>
28982 Ulrich Drepper <drepper@gmail.com>
28985 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28986 (is_trusted_path): ...to here.
28987 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
28988 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
28989 using is_trusted_path_normalize() in setuid scripts.
28991 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28993 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28994 __BEGIN/__END_DECLS.
28996 2011-05-06 Ulrich Drepper <drepper@gmail.com>
28998 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28999 NSS_STATUS_NOTFOUND if no record was found.
29001 2011-05-05 Andreas Schwab <schwab@redhat.com>
29003 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29004 (headers-not-in-tirpc): Remove rpc/netdb.h
29005 * resolv/netdb.h: Revert last change.
29007 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29009 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29010 circular dependency between libgcc.a and libc.a.
29012 2011-05-05 Andreas Schwab <schwab@redhat.com>
29014 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29015 * nis/Makefile: Don't install rpcsvc/*.
29016 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29017 instead of <rpc/types.h>.
29018 (MAXHOSTNAMELEN): Define.
29020 2011-05-03 Andreas Schwab <schwab@redhat.com>
29022 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29024 2011-04-28 Maciej Babinski <mbabinski@google.com>
29027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29028 gethostbyname4_r when IPv6 results are possible.
29030 2011-05-02 Ulrich Drepper <drepper@gmail.com>
29033 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29034 _PC_PIPE_BUF handling.
29036 2011-04-30 Bruno Haible <bruno@clisp.org>
29039 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29040 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29042 * inet/getnameinfo.c (getnameinfo): Likewise.
29044 2011-04-29 Ulrich Drepper <drepper@gmail.com>
29046 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29047 to groups setting in database lookup.
29048 * nss/nsswitch.conf: Add initgroups entry.
29050 2011-04-22 Ulrich Drepper <drepper@gmail.com>
29053 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29055 Patch by Eric Blake <eblake@redhat.com>.
29057 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29059 * sunrpc/Makefile (need-export-routines): Add svc_run.
29060 (routines): Remove svc_run.
29061 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29062 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29063 * sunrpc/svc_run.c (svc_run): Likewise.
29064 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29066 2011-04-21 Ulrich Drepper <drepper@gmail.com>
29068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29069 problem in reallocation in last patch.
29071 2011-04-20 Ulrich Drepper <drepper@gmail.com>
29073 * sunrpc/Makefile: Move inclusion of Rules.
29075 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29077 * nss/nss_files/files-initgroups.c: New file.
29078 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29079 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29080 _nss_files_initgroups_dyn.
29082 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29084 * elf/elf.h (R_ARM_IRELATIVE): Define.
29086 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29088 * po/ru.po: Update from translation team.
29090 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29092 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29095 2011-02-06 Mike Frysinger <vapier@gentoo.org>
29098 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29099 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29100 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29101 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29102 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29104 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29106 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29108 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29109 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29110 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29112 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29115 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29117 * stdlib/bug-getcontext.c: New file.
29118 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29120 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29122 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29123 instructions into .machine "z9-109".
29124 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29125 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29127 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29129 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29130 between environment variables and auxiliary vector.
29132 2011-04-16 Ulrich Drepper <drepper@gmail.com>
29134 * Makefile: Add rules to build linkobj/libc.so.
29135 * include/libc-symbols.h: Define libc_hidden_nolink.
29136 * include/rpc/auth.h: Mark functions which are to be hidden.
29137 * include/rpc/auth_des.h: Likewise.
29138 * include/rpc/auth_unix.h: Likewise.
29139 * include/rpc/clnt.h: Likewise.
29140 * include/rpc/des_crypt.h: Likewise.
29141 * include/rpc/key_prot.h: Likewise.
29142 * include/rpc/pmap_clnt.h: Likewise.
29143 * include/rpc/pmap_prot.h: Likewise.
29144 * include/rpc/pmap_rmt.h: Likewise.
29145 * include/rpc/rpc_msg.h: Likewise.
29146 * include/rpc/svc.h: Likewise.
29147 * include/rpc/svc_auth.h: Likewise.
29148 * include/rpc/xdr.h: Likewise.
29149 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29150 * nss/Makefile: Likewise.
29151 * sunrpc/Makefile: Don't install headers. Build library with normal
29152 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29153 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29154 for the compat linking library. Remove use of INTDEF/INTUSE.
29155 * sunrpc/auth_none.c: Likewise.
29156 * sunrpc/auth_unix.c: Likewise.
29157 * sunrpc/authdes_prot.c: Likewise.
29158 * sunrpc/authuxprot.c: Likewise.
29159 * sunrpc/clnt_gen.c: Likewise.
29160 * sunrpc/clnt_perr.c: Likewise.
29161 * sunrpc/clnt_raw.c: Likewise.
29162 * sunrpc/clnt_simp.c: Likewise.
29163 * sunrpc/clnt_tcp.c: Likewise.
29164 * sunrpc/clnt_udp.c: Likewise.
29165 * sunrpc/clnt_unix.c: Likewise.
29166 * sunrpc/des_crypt.c: Likewise.
29167 * sunrpc/des_soft.c: Likewise.
29168 * sunrpc/get_myaddr.c: Likewise.
29169 * sunrpc/key_call.c: Likewise.
29170 * sunrpc/key_prot.c: Likewise.
29171 * sunrpc/netname.c: Likewise.
29172 * sunrpc/pm_getmaps.c: Likewise.
29173 * sunrpc/pm_getport.c: Likewise.
29174 * sunrpc/pmap_clnt.c: Likewise.
29175 * sunrpc/pmap_prot.c: Likewise.
29176 * sunrpc/pmap_prot2.c: Likewise.
29177 * sunrpc/pmap_rmt.c: Likewise.
29178 * sunrpc/publickey.c: Likewise.
29179 * sunrpc/rpc_cmsg.c: Likewise.
29180 * sunrpc/rpc_common.c: Likewise.
29181 * sunrpc/rpc_dtable.c: Likewise.
29182 * sunrpc/rpc_prot.c: Likewise.
29183 * sunrpc/rpc_thread.c: Likewise.
29184 * sunrpc/rtime.c: Likewise.
29185 * sunrpc/svc.c: Likewise.
29186 * sunrpc/svc_auth.c: Likewise.
29187 * sunrpc/svc_authux.c: Likewise.
29188 * sunrpc/svc_raw.c: Likewise.
29189 * sunrpc/svc_run.c: Likewise.
29190 * sunrpc/svc_simple.c: Likewise.
29191 * sunrpc/svc_tcp.c: Likewise.
29192 * sunrpc/svc_udp.c: Likewise.
29193 * sunrpc/svc_unix.c: Likewise.
29194 * sunrpc/svcauth_des.c: Likewise.
29195 * sunrpc/xcrypt.c: Likewise.
29196 * sunrpc/xdr.c: Likewise.
29197 * sunrpc/xdr_array.c: Likewise.
29198 * sunrpc/xdr_float.c: Likewise.
29199 * sunrpc/xdr_intXX_t.c: Likewise.
29200 * sunrpc/xdr_mem.c: Likewise.
29201 * sunrpc/xdr_rec.c: Likewise.
29202 * sunrpc/xdr_ref.c: Likewise.
29203 * sunrpc/xdr_sizeof.c: Likewise.
29204 * sunrpc/xdr_stdio.c: Likewise.
29206 2011-04-10 Ulrich Drepper <drepper@gmail.com>
29209 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29210 * sysdeps/ia64/dl-tls.h: Likewise.
29211 * sysdeps/powerpc/dl-tls.h: Likewise.
29212 * sysdeps/s390/dl-tls.h: Likewise.
29213 * sysdeps/sh/dl-tls.h: Likewise.
29214 * sysdeps/sparc/dl-tls.h: Likewise.
29215 * sysdeps/x86_64/dl-tls.h: Likewise.
29216 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29218 2011-03-14 Andreas Schwab <schwab@redhat.com>
29220 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29221 rpath element also skip the following colon.
29222 (expand_dynamic_string_token): Add is_path parameter and pass
29223 down to DL_DST_REQUIRED and _dl_dst_substitute.
29224 (decompose_rpath): Call expand_dynamic_string_token with
29225 non-zero is_path. Ignore empty rpaths.
29226 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29229 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29234 2011-04-09 Ulrich Drepper <drepper@gmail.com>
29237 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29238 Patch by Filipe David Manana <fdmanana@apache.org>.
29240 2011-04-07 Andreas Schwab <schwab@redhat.com>
29242 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29243 Maintain aligned stack.
29244 (CHECK_RSP): Remove unused macro.
29246 2011-04-03 Ulrich Drepper <drepper@gmail.com>
29248 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29249 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29251 2011-04-02 Ulrich Drepper <drepper@gmail.com>
29253 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29255 * include/features.h: Mention __USE_XOPEN2K8 in comment.
29257 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29260 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29261 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29262 * sysdeps/x86_64/memmove.c: New file.
29263 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29264 (memcpy): Renamed to ...
29265 (__new_memcpy): This.
29266 (memcpy): Provide GLIBC_2_14 memcpy.
29267 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29268 (memcpy): Provide GLIBC_2_2_5 memcpy.
29270 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29273 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29275 2011-03-30 Andreas Schwab <schwab@redhat.com>
29277 * misc/syncfs.c: New file.
29278 * misc/Makefile (routines): Add syncfs.
29279 * posix/unistd.h: Declare syncfs.
29280 * sysdeps/unix/syscalls.list: Add syncfs.
29282 2011-04-01 Andreas Schwab <schwab@redhat.com>
29284 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29286 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29287 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29289 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29291 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29294 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29296 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29297 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29298 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29299 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29300 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29301 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29302 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29304 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29305 sync_file_range.c with -fexceptions.
29306 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29307 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29308 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29309 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29310 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29311 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29312 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29313 sync_file_range as cancellation point
29314 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29315 now a wrapper around __call_sync_file_range with cancellation handling.
29316 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29317 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29318 function name to __call_sync_file_range.
29319 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29320 Add call_sync_file_range.
29322 2011-04-01 Andreas Schwab <schwab@redhat.com>
29324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29327 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29329 * iconv/iconv.h: Fix typo in comment.
29330 * io/fcntl.h: Likewise.
29331 * libio/stdio.h: Likewise.
29332 * posix/spawn.h: Likewise.
29333 * posix/unistd.h: Likewise.
29334 * stdlib/stdlib.h: Likewise.
29335 * time/time.h: Likewise.
29336 * wcsmbs/wchar.h: Likewise.
29338 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29339 open_by_handle): Add.
29340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29341 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29342 Augment a few comments.
29343 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29344 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29345 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29346 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29347 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29348 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29351 * io/fcntl.h (AT_EMPTY_PATH): Define.
29353 2011-03-30 Ulrich Drepper <drepper@gmail.com>
29355 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29356 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29357 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29359 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
29360 * Versions.def: Add GLIBC_2.14.
29361 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29364 2011-03-22 Ulrich Drepper <drepper@gmail.com>
29366 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29368 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29370 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29373 * string/test-strncmp.c (do_page_test): New function.
29374 (check2): Likewise.
29375 (test_main): Call check2.
29376 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29378 2011-03-20 Ulrich Drepper <drepper@gmail.com>
29381 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29382 Handle cache information in CPU leaf 4.
29383 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29385 2011-03-18 Ulrich Drepper <drepper@gmail.com>
29388 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29389 character representation.
29390 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29392 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29394 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29395 END(__isnan) to END(__isnanf) to match function entry point/label
29396 EALIGN(__isnanf,...).
29398 2011-03-10 Jakub Jelinek <jakub@redhat.com>
29400 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29402 2011-03-10 Ulrich Drepper <drepper@gmail.com>
29405 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29406 copy from the symbol referenced in the relocation to initialize the
29408 Patch by Piotr Bury <pbury@goahead.com>.
29409 * elf/Makefile: Add rules to build and tst-unique3.
29410 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29411 * elf/tst-unique3.cc: New file.
29412 * elf/tst-unique3.h: New file.
29413 * elf/tst-unique3lib.cc: New file.
29414 * elf/tst-unique3lib2.cc: New file.
29416 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29418 2011-03-10 Mike Frysinger <vapier@gentoo.org>
29420 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29421 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29424 2011-03-06 Ulrich Drepper <drepper@gmail.com>
29426 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29427 to-be-loaded object along a path to loader is ld.so.
29429 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29430 Ulrich Drepper <drepper@gmail.com>
29432 * sysdeps/x86_64/memset.S: After aligning destination, code
29433 branches to different locations depending on the value of
29434 misalignment, when multiarch is enabled. Fix this.
29436 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29438 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29439 Set _x86_64_preferred_memory_instruction for AMD processsors.
29440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29441 Set bit_Prefer_SSE_for_memop for AMD processors.
29443 2011-03-04 Ulrich Drepper <drepper@gmail.com>
29445 * libio/fmemopen.c (fmemopen): Optimize a bit.
29447 2011-03-03 Andreas Schwab <schwab@redhat.com>
29449 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29451 2011-03-03 Roland McGrath <roland@redhat.com>
29453 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29455 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29457 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
29458 __bzero_ultra1 instead of __memset_ultra1.
29460 2011-02-23 Andreas Schwab <schwab@redhat.com>
29461 Ulrich Drepper <drepper@gmail.com>
29464 * include/link.h (struct link_map): Add l_orig_initfini.
29465 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29466 returning unsuccessfully.
29467 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29468 close of a file loaded at startup, restore the original l_initfini
29470 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29471 list, store the pointer.
29472 * elf/Makefile ($(objpfx)noload-mem): New rule.
29473 (noload-ENV): Define.
29474 (tests): Add $(objpfx)noload-mem.
29475 * elf/noload.c: Include <memcheck.h>.
29476 (main): Call mtrace. Close all opened handles.
29478 2011-02-17 Andreas Schwab <schwab@redhat.com>
29481 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29482 dependencies are missing.
29484 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29486 Fix __if_freereq crash: Unlike the generic version which uses free,
29488 * sysdeps/mach/hurd/ifreq.h: New file.
29490 2011-01-27 Petr Baudis <pasky@suse.cz>
29491 Ulrich Drepper <drepper@gmail.com>
29494 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29495 to extend_alloca().
29496 * stdio-common/bug23.c: New file.
29497 * stdio-common/Makefile (tests): Add bug23.
29499 2010-09-28 Andreas Schwab <schwab@redhat.com>
29500 Ulrich Drepper <drepper@gmail.com>
29503 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29504 before performing relro protection. At old place add assertion
29505 to make sure nothing changed.
29507 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29508 Glauber de Oliveira Costa <glommer@gmail.com>
29510 * elf/elf.h: Add new ARM TLS relocs.
29512 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29515 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29517 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29519 * sysdeps/wordsize-64/tst-writev.c: New file.
29521 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29523 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29524 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29525 insns in _dl_start to prevent a TOC reference before relocs are
29528 2011-02-15 Ulrich Drepper <drepper@gmail.com>
29531 * Makeconfig: Remove RANLIB definition.
29532 * Makerules: Don't use RANLIB.
29533 * aclocal.m4: Remove ranlib test.
29534 * configure.in: No need to check for ranlib.
29535 * elf/rtld-Rules: Don't use RANLIB.
29537 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29539 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29541 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29542 inclusion protection macro.
29544 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29545 SIGRTMIN and SIGRTMAX and print information in that case only when
29546 SIGRTMIN is defined.
29548 2011-02-11 Jakub Jelinek <jakub@redhat.com>
29550 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29551 arginfo fn returning -1.
29553 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29554 and thousands string is zero terminated.
29556 2011-02-03 Andreas Schwab <schwab@redhat.com>
29558 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29559 sysdeps/unix/sysv/linux/bits/socket.h.
29561 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29563 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29564 (__CPU_COUNT): Remove old macros.
29565 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29566 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29567 (__CPU_ALLOC, __CPU_FREE): Add macros.
29568 (__sched_cpualloc, __sched_cpufree): Add declarations.
29570 2011-02-05 Ulrich Drepper <drepper@gmail.com>
29572 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29573 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29574 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29575 (readdhstai): Return value of addhstaiX call.
29576 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29577 (addgrbyX): Return value returned by cache_addgr.
29578 (readdgrbyname): Return value returned by addgrbyX.
29579 (readdgrbygid): Likewise.
29580 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29581 (addpwbyX): Return value returned by cache_addpw.
29582 (readdpwbyname): Return value returned by addhstbyX.
29583 (readdpwbyuid): Likewise.
29584 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29585 (addservbyX): Return value returned by cache_addserv.
29586 (readdservbyname): Return value returned by addservbyX:
29587 (readdservbyport): Likewise.
29588 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29589 (addhstbyX): Return value returned by cache_addhst.
29590 (readdhstbyname): Return value returned by addhstbyX.
29591 (readdhstbyaddr): Likewise.
29592 (readdhstbynamev6): Likewise.
29593 (readdhstbyaddrv6): Likewise.
29594 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29595 (readdinitgroups): Return value returned by addinitgroupsX.
29596 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29597 (prune_cache): Keep track of timeout value of re-added entries.
29598 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29599 * nscd/nscd.h: Adjust prototypes of readd* functions.
29601 2011-02-04 Roland McGrath <roland@redhat.com>
29603 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29604 (nis_stats): Likewise.
29605 * nis/nis_modify.c (nis_modify): Likewise.
29606 * nis/nis_remove.c (nis_remove): Likewise.
29607 * nis/nis_add.c (nis_add): Likewise.
29609 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29611 * posix/fnmatch_loop.c: Add some consts.
29613 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29615 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29618 * config.make.in (config-cflags-novzeroupper): Define.
29619 * configure.in: Substitute libc_cv_cc_novzeroupper.
29620 * elf/Makefile (AVX-CFLAGS): Define.
29621 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29622 (CFLAGS-tst-auditmod4a.c): Likewise.
29623 (CFLAGS-tst-auditmod4b.c): Likewise.
29624 (CFLAGS-tst-auditmod6b.c): Likewise.
29625 (CFLAGS-tst-auditmod6c.c): Likewise.
29626 (CFLAGS-tst-auditmod7b.c): Likewise.
29627 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29629 2011-02-02 Ulrich Drepper <drepper@gmail.com>
29631 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29632 function to the callback.
29633 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29635 2011-02-02 Andreas Schwab <schwab@redhat.com>
29637 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29640 2011-01-19 Ulrich Drepper <drepper@gmail.com>
29643 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29645 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29647 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29650 * elf/Makefile: Add rules to build and run new test.
29651 * elf/tst-initorder.c: New file.
29652 * elf/tst-initorder.exp: New file.
29653 * elf/tst-initordera1.c: New file.
29654 * elf/tst-initordera2.c: New file.
29655 * elf/tst-initordera3.c: New file.
29656 * elf/tst-initordera4.c: New file.
29657 * elf/tst-initorderb1.c: New file.
29658 * elf/tst-initorderb2.c: New file.
29659 * elf/tst-order-a1.c: New file.
29660 * elf/tst-order-a2.c: New file.
29661 * elf/tst-order-a3.c: New file.
29662 * elf/tst-order-a4.c: New file.
29663 * elf/tst-order-b1.c: New file.
29664 * elf/tst-order-b2.c: New file.
29665 * elf/tst-order-main.c: New file.
29666 New test case by George Gensure <werkt0@gmail.com>.
29668 2010-10-01 Andreas Schwab <schwab@redhat.com>
29670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29671 decoding ACE if AI_CANONIDN.
29673 2011-01-18 Ulrich Drepper <drepper@gmail.com>
29675 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29677 2011-01-17 Ulrich Drepper <drepper@gmail.com>
29679 * version.h (RELEASE): Bump for 2.13 release.
29680 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29682 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29684 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29686 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29687 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29688 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29689 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29690 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29691 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29693 * posix/getconf.c: Update copyright year.
29694 * catgets/gencat.c: Likewise.
29695 * csu/version.c: Likewise.
29696 * debug/catchsegv.sh: Likewise.
29697 * debug/xtrace.sh: Likewise.
29698 * elf/ldconfig.c: Likewise.
29699 * elf/ldd.bash.in: Likewise.
29700 * elf/sprof.c (print_version): Likewise.
29701 * iconv/iconv_prog.c: Likewise.
29702 * iconv/iconvconfig.c: Likewise.
29703 * locale/programs/locale.c: Likewise.
29704 * locale/programs/localedef.c: Likewise.
29705 * malloc/memusage.sh: Likewise.
29706 * malloc/mtrace.pl: Likewise.
29707 * nscd/nscd.c (print_version): Likewise.
29708 * nss/getent.c: Likewise.
29710 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29711 PF_CAIF, and PF_ALG.
29712 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29714 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29716 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29717 (modules-names): Use them.
29718 (ifunc-test-modules, ifunc-pie-tests): Define.
29719 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29720 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29721 (test-extras): Likewise.
29722 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29723 $(compile-command.c).
29724 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29725 (all-built-dso): Define.
29726 (check-textrel.out, check-execstack.out): Depend on it.
29728 * configure.in: Don't override --enable-multi-arch.
29730 2011-01-15 Ulrich Drepper <drepper@gmail.com>
29733 * nscd/hstcache.c (tryagain): Define.
29734 (cache_addhst): Return tryagain not notfound for temporary errors.
29735 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29738 2011-01-14 Ulrich Drepper <drepper@gmail.com>
29741 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29742 to make the syscall.
29743 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29746 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29747 and fall back to matching as normal character if the string ends before
29748 the matching ']' is found. This is what POSIX requires.
29749 * posix/testfnm.c: Adjust test result.
29750 * posix/globtest.sh: Adjust test result. Add new test.
29751 * posix/tst-fnmatch.input: Likewise.
29752 * posix/tst-fnmatch2.c: Add new test.
29754 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29756 * elf/Makefile (check-execstack): Revert last change. Depend on
29758 (check-execstack.h): New target.
29759 (generated): Add check-execstack.h.
29760 * elf/check-execstack.c: Include "check-execstack.h".
29761 (main): Revert last change.
29762 (handle_file): Return zero if GNU_STACK is absent and
29763 DEFAULT_STACK_PERMS doesn't include PF_X.
29765 2011-01-13 Ulrich Drepper <drepper@gmail.com>
29767 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29768 in child fails because the descriptor is already closed.
29769 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29770 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29771 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29774 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29778 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29779 temporary buffer used to handle multi lookups locally.
29780 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29782 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29784 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29787 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29789 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29790 alignment for SSE2.
29792 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29795 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29796 characters. When rounding increased number of integer digits recompute
29798 * stdio-common/tst-grouping.c: New file.
29799 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29801 2011-01-09 Ulrich Drepper <drepper@gmail.com>
29803 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29804 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29806 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29808 * bits/select.h: Likewise.
29810 2011-01-08 Ulrich Drepper <drepper@gmail.com>
29812 * po/ja.po: Update from translation team.
29814 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
29817 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29818 implementation just like for lxstat, fxstatat, et al.
29820 2010-12-27 Jim Meyering <meyering@redhat.com>
29823 * posix/regexec.c (build_trtable): Return failure indication upon
29824 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29826 2010-12-25 Ulrich Drepper <drepper@gmail.com>
29829 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29830 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29831 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29832 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29835 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29838 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29839 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29841 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29843 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29844 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29845 script has SORT_BY_INIT_PRIORITY.
29846 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29847 NO_CTORS_DTORS_SECTIONS is defined.
29848 * elf/soinit.c: Likewise.
29849 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29850 NO_CTORS_DTORS_SECTIONS is defined.
29851 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29852 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29853 * sysdeps/sh/init-first.c: Likewise.
29854 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29856 2010-12-24 Ulrich Drepper <drepper@gmail.com>
29858 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29859 always use the slow path.
29861 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29863 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29864 similar rule which adds the sysdep directories to the header search in
29865 order to pick up the correct platform stackinfo.h.
29866 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29867 perform test if it is, otherwise return successfully without testing.
29868 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29869 DEFAULT_STACK_PERMS define in stackinfo.h.
29870 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29871 defined in stackinfo.h.
29872 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29873 DEFAULT_STACK_PERMS defined in stackinfo.h.
29874 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29875 * sysdeps/ia64/stackinfo.h: Likewise.
29876 * sysdeps/s390/stackinfo.h: Likewise.
29877 * sysdeps/sh/stackinfo.h: Likewise.
29878 * sysdeps/sparc/stackinfo.h: Likewise.
29879 * sysdeps/x86_64/stackinfo.h: Likewise.
29880 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29881 PF_X for powerpc64. Retain PF_X for powerpc32.
29883 2010-12-19 Ulrich Drepper <drepper@gmail.com>
29885 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29887 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29888 GETDENTS_64BIT_ALIGNED.
29890 2010-12-14 Ulrich Drepper <dreper@gmail.com>
29892 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29894 2010-12-10 Andreas Schwab <schwab@redhat.com>
29896 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29899 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29900 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29902 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29903 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29905 2010-12-09 Ulrich Drepper <drepper@gmail.com>
29908 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29911 2010-12-09 Jakub Jelinek <jakub@redhat.com>
29913 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29915 2010-12-03 Ulrich Drepper <drepper@gmail.com>
29917 * po/it.po: Update from translation team.
29919 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29924 2010-11-30 Ulrich Drepper <drepper@gmail.com>
29926 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29928 2010-11-24 Andreas Schwab <schwab@redhat.com>
29930 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29932 (gaih_getanswer_slice): Likewise.
29934 2010-10-20 Jakub Jelinek <jakub@redhat.com>
29936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29938 2010-05-31 Petr Baudis <pasky@suse.cz>
29941 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29942 silently even in the chroot mode.
29944 2010-11-22 Ulrich Drepper <drepper@gmail.com>
29946 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29947 last patch a bit. Pretty printing
29949 2010-05-31 Petr Baudis <pasky@suse.cz>
29952 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29953 initialization of skip_initgroups_dyn.
29955 2010-11-19 Ulrich Drepper <drepper@gmail.com>
29957 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29958 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29960 2010-11-16 Ulrich Drepper <drepper@gmail.com>
29962 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29964 2010-11-11 Andreas Schwab <schwab@redhat.com>
29966 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29967 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29968 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29969 ($(objpfx)tst-fnmatch-mem): New rule.
29970 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29971 * posix/tst-fnmatch.c (main): Call mtrace.
29973 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29976 Support Intel processor model 6 and model 0x2c.
29978 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
29980 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29983 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29986 * string/test-strncasecmp.c (check_result): New function.
29987 (do_one_test): Use it.
29988 (check1): New function.
29989 (test_main): Use it.
29990 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29991 Support strcasecmp and strncasecmp.
29993 2010-11-08 Ulrich Drepper <drepper@gmail.com>
29996 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29997 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29999 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30001 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30005 * sysdeps/x86_64/multiarch/bzero.S: New file.
30006 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30007 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30008 * sysdeps/x86_64/multiarch/memset.S: New file.
30009 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30011 Set bit_Prefer_SSE_for_memop for Intel processors.
30012 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30014 (index_Prefer_SSE_for_memop): Define.
30015 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30017 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
30019 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30020 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30022 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30025 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30026 (__x86_64_raw_data_cache_size_half): Likewise.
30027 (__x86_64_raw_shared_cache_size): Likewise.
30028 (__x86_64_raw_shared_cache_size_half): Likewise.
30030 * sysdeps/x86_64/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.
30034 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30035 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30036 and __x86_64_raw_shared_cache_size_half. Round
30037 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30038 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30039 to multiple of 256 bytes.
30041 2010-11-03 Ulrich Drepper <drepper@gmail.com>
30044 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30045 of inacessible symlinks. Verify result of symlink before returning it.
30046 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30047 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30049 2010-10-28 Erich Ritz <erichritz@gmail.com>
30051 * math/math.h (isinf): Fix typo in comment.
30053 2010-11-01 Ulrich Drepper <drepper@gmail.com>
30055 * po/da.po: Update from translation team.
30057 2010-10-26 Ulrich Drepper <drepper@gmail.com>
30059 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30060 is added to the list.
30062 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30063 Ulrich Drepper <drepper@gmail.com>
30065 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30066 the global list here. Move code to...
30067 (_dl_add_to_namespace_list): ...here. New function.
30068 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30069 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30070 * elf/dl-load.c (lose): Don't remove the element from the list.
30071 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30072 (_dl_map_object): Likewise.
30074 2010-10-25 Ulrich Drepper <drepper@gmail.com>
30077 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30078 into all bytes of SSE register.
30079 Patch by Richard Li <richardpku@gmail.com>.
30081 2010-10-24 Ulrich Drepper <drepper@gmail.com>
30084 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30087 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30089 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30090 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30091 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30092 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30097 2010-10-22 Andreas Schwab <schwab@redhat.com>
30099 * include/dlfcn.h (__RTLD_SECURE): Define.
30100 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30101 mode & __RTLD_SECURE instead.
30102 (open_path): Rename preloaded parameter to secure.
30103 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30104 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30105 * elf/dl-deps.c (openaux): Likewise.
30106 * elf/rtld.c (struct map_args): Remove is_preloaded.
30107 (map_doit): Don't use it.
30108 (dl_main): Likewise.
30109 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30110 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30112 2010-09-09 Andreas Schwab <schwab@redhat.com>
30114 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30115 (sysd-rules-targets): Remove duplicates.
30116 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30117 rtld-%.$o dependency.
30119 2010-10-18 Andreas Schwab <schwab@redhat.com>
30121 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30122 _dl_map_object do it.
30124 2010-10-19 Ulrich Drepper <drepper@gmail.com>
30126 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30127 fast fma builtins, define the macros in the C99 standard.
30128 (FP_FAST_FMAF): Likewise.
30129 (FP_FAST_FMAL): Likewise.
30130 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30132 * bits/mathdef.h: Update copyright year.
30133 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30135 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30137 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30138 builtins, define the macros in the C99 standard.
30139 (FP_FAST_FMAF): Likewise.
30140 (FP_FAST_FMAL): Likewise.
30141 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30143 (FP_FAST_FMAF): Likewise.
30145 2010-10-15 Jakub Jelinek <jakub@redhat.com>
30148 * math/libm-test.inc (fma_test): Some new testcases.
30149 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30150 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30151 y and infinite z. Do multiplication by C already in long double.
30152 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30154 y and infinite z. Do bitwise or of inexact bit into u.d.
30155 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30156 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30157 * sysdeps/i386/fpu/s_fma.S: Removed.
30158 * sysdeps/i386/fpu/s_fmal.S: Removed.
30160 2010-10-16 Jakub Jelinek <jakub@redhat.com>
30163 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30165 computation is not scheduled after fetestexcept. Fix value
30166 of minimum denormal long double.
30168 2010-10-14 Jakub Jelinek <jakub@redhat.com>
30171 * math/libm-test.inc (fma_test): Add some more tests.
30172 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30175 2010-10-15 Andreas Schwab <schwab@redhat.com>
30177 * scripts/data/localplt-s390-linux-gnu.data: New file.
30178 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30180 2010-10-13 Jakub Jelinek <jakub@redhat.com>
30183 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30184 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30186 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30188 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30190 if one of x and y is very large and the other is subnormal.
30191 * sysdeps/s390/fpu/s_fmaf.c: New file.
30192 * sysdeps/s390/fpu/s_fma.c: New file.
30193 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30194 * sysdeps/powerpc/fpu/s_fma.S: New file.
30195 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30196 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30197 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30199 2010-10-12 Jakub Jelinek <jakub@redhat.com>
30202 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30204 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30205 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30206 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30207 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30208 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30209 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30210 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30212 2010-10-12 Ulrich Drepper <drepper@redhat.com>
30215 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30216 * posix/bug-regex31.input: Add test case.
30218 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30220 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30221 * posix/bug-regex31.input: New file.
30224 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30225 (parse_sub_exp): Fix last change, use postorder.
30227 * posix/bug-regex31.c: New file.
30228 * posix/Makefile: Add rules to build and run bug-regex31.
30230 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30233 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30236 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30237 to have entries in sys_siglist.
30240 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30243 2010-10-07 Jakub Jelinek <jakub@redhat.com>
30246 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30247 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30248 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30249 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30250 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30251 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30252 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30253 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30254 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30255 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30256 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30257 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30258 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30259 * math/ftestexcept.c (fetestexcept): Likewise.
30260 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30261 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30262 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30263 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30264 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30265 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30266 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30268 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30271 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30274 2010-10-06 Ulrich Drepper <drepper@gmail.com>
30276 * string/bug-strstr1.c: New file.
30277 * string/Makefile: Add rules to build and run bug-strstr1.
30279 2010-10-05 Eric Blake <eblake@redhat.com>
30282 * string/str-two-way.h (two_way_long_needle): Always clear memory
30283 when skipping input due to the shift table.
30285 2010-10-03 Ulrich Drepper <drepper@gmail.com>
30288 * malloc/mcheck.c: Handle large requests.
30291 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30292 for strncmp and strncasecmp.
30293 * string/stratcliff.c: Add tests for strcmp and strncmp.
30294 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30296 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30298 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30301 2010-09-30 Andreas Jaeger <aj@suse.de>
30303 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30304 (CGROUP_SUPER_MAGIC): Define.
30305 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30306 Handle btrfs and cgroup file systems.
30307 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30310 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
30312 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30313 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30315 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30318 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30319 trying to locate the ELF header.
30321 2010-09-27 Andreas Schwab <schwab@redhat.com>
30324 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30325 Mask out sign-bit copies when constructing f_fsid.
30327 2010-09-24 Petr Baudis <pasky@suse.cz>
30329 * debug/stack_chk_fail_local.c: Add missing licence exception.
30330 * debug/warning-nop.c: Likewise.
30332 2010-09-15 Joseph Myers <joseph@codesourcery.com>
30334 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30335 implementing getdents64 using getdents syscall, set d_type if
30336 __ASSUME_GETDENTS32_D_TYPE.
30338 2010-09-16 Andreas Schwab <schwab@redhat.com>
30340 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30341 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30343 2010-09-21 Ulrich Drepper <drepper@redhat.com>
30346 * posix/unistd.h: Undo change of feature selection for ftruncate from
30349 2010-09-20 Ulrich Drepper <drepper@redhat.com>
30351 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30354 2010-09-20 Andreas Schwab <schwab@redhat.com>
30356 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30358 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30360 2010-09-14 Andreas Schwab <schwab@redhat.com>
30362 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30363 variables after CHECK_SP call.
30364 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30366 2010-09-13 Andreas Schwab <schwab@redhat.com>
30367 Ulrich Drepper <drepper@redhat.com>
30369 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30370 re-relocationg ld.so.
30371 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30372 _dl_init_paths call.
30373 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30376 2010-09-14 Ulrich Drepper <drepper@redhat.com>
30378 * resolv/res_init.c (__res_vinit): Count the default server we added.
30380 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30381 Ulrich Drepper <drepper@redhat.com>
30384 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30385 (____longjmp_chk): Use %ebx for saving value across system call.
30388 2010-09-06 Andreas Schwab <schwab@redhat.com>
30390 * manual/Makefile: Don't mix pattern rules with normal rules.
30392 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30394 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30396 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30397 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30398 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30399 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30400 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30403 2010-09-04 Ulrich Drepper <drepper@redhat.com>
30406 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30407 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30409 2010-09-02 Ulrich Drepper <drepper@redhat.com>
30411 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30412 * sysdeps/x86_64/addmul_1.S: Likewise.
30413 * sysdeps/x86_64/lshift.S: Likewise.
30414 * sysdeps/x86_64/mul_1.S: Likewise.
30415 * sysdeps/x86_64/rshift.S: Likewise.
30416 * sysdeps/x86_64/sub_n.S: Likewise.
30417 * sysdeps/x86_64/submul_1.S: Likewise.
30419 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30421 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30422 Define __sched_param instead of SCHED_* and sched_param when
30423 <bits/sched.h> is included with __need_schedparam defined.
30424 * bits/sched.h [__need_schedparam]
30425 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30426 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30427 (__defined_schedparam): Define to 1.
30428 (__sched_param): New structure, identical to sched_param.
30429 (__need_schedparam): Undefine.
30431 2010-08-31 Mike Frysinger <vapier@gentoo.org>
30433 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30434 (epoll_create1): Declare.
30436 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30438 2010-08-31 Andreas Schwab <schwab@redhat.com>
30441 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30442 shifting retval into place.
30444 2010-09-01 Ulrich Drepper <drepper@redhat.com>
30446 * nis/rpcsvc/nis.h: Update copyright notice.
30447 * nis/rpcsvc/nis.x: Likewise.
30448 * nis/rpcsvc/nis_callback.h: Likewise.
30449 * nis/rpcsvc/nis_callback.x: Likewise.
30450 * nis/rpcsvc/nis_object.x: Likewise.
30451 * nis/rpcsvc/nis_tags.h: Likewise.
30452 * nis/rpcsvc/yp.h: Likewise.
30453 * nis/rpcsvc/yp.x: Likewise.
30454 * nis/rpcsvc/ypupd.h: Likewise.
30455 * nis/yp_xdr.c: Likewise.
30456 * nis/ypupdate_xdr.c: Likewise.
30458 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30459 mainly the body of pmap_getport. Add parameters to specify timeouts.
30460 (pmap_getport): Use __libc_rpc_getport.
30461 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30462 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30463 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30465 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30470 2010-08-27 Roland McGrath <roland@redhat.com>
30472 * sysdeps/i386/i686/multiarch/Makefile
30473 (CFLAGS-varshift.c): New variable.
30475 2010-08-27 Ulrich Drepper <drepper@redhat.com>
30477 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30478 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30480 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30482 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30484 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30486 * sysdeps/x86_64/strlen.S: Unroll the loop.
30487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30488 strlen-sse2 strlen-sse2-bsf.
30489 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30490 __strlen_no_bsf if bit_Slow_BSF is set.
30491 (__strlen_sse42): Removed.
30492 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30493 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30495 2010-08-25 Roland McGrath <roland@redhat.com>
30497 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30498 * sysdeps/x86_64/multiarch/varshift.c: New file.
30499 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30500 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30501 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30502 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30504 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30506 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30507 strlen-sse2 strlen-sse2-bsf.
30508 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30509 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30510 (__strlen_sse2): Removed.
30511 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30512 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30514 bit_Slow_BSF for Atom.
30515 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30516 (index_Slow_BSF): Define.
30517 (HAS_SLOW_BSF): Define.
30519 2010-08-25 Ulrich Drepper <drepper@redhat.com>
30522 * resolv/res_init.c (__res_vinit): When no server address at all
30523 is given default to loopback.
30525 2010-08-24 Roland McGrath <roland@redhat.com>
30527 * configure.in: Remove config-name.h generation.
30528 * configure: Regenerated.
30529 * config-name.in: File removed.
30530 * scripts/config-uname.sh: New file.
30531 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30532 ($(objdir)config-name.h): New target.
30534 * sunrpc/rpc_parse.h: Avoid nested comment.
30536 2010-08-24 Richard Henderson <rth@redhat.com>
30537 Ulrich Drepper <drepper@redhat.com>
30538 H.J. Lu <hongjiu.lu@intel.com>
30540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30542 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30543 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30544 _mm_alignr_epi8 with _mm_loadu_si128.
30545 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30546 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30547 (__m128i_shift_right): Removed.
30548 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30549 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30550 * sysdeps/x86_64/multiarch/varshift.h: New file.
30551 * sysdeps/x86_64/multiarch/varshift.S: New file.
30553 2010-08-21 Mike Frysinger <vapier@gentoo.org>
30555 * configure.in: Move assembler checks to before sysdep dir checking.
30557 2010-08-20 Petr Baudis <pasky@suse.cz>
30559 * LICENSES: Sync the sunrpc license.
30561 2010-08-19 Ulrich Drepper <drepper@redhat.com>
30563 * sunrpc/auth_des.c: Update copyright notice once again.
30564 * sunrpc/auth_none.c: Likewise.
30565 * sunrpc/auth_unix.c: Likewise.
30566 * sunrpc/authdes_prot.c: Likewise.
30567 * sunrpc/authuxprot.c: Likewise.
30568 * sunrpc/bindrsvprt.c: Likewise.
30569 * sunrpc/clnt_gen.c: Likewise.
30570 * sunrpc/clnt_perr.c: Likewise.
30571 * sunrpc/clnt_raw.c: Likewise.
30572 * sunrpc/clnt_simp.c: Likewise.
30573 * sunrpc/clnt_tcp.c: Likewise.
30574 * sunrpc/clnt_udp.c: Likewise.
30575 * sunrpc/clnt_unix.c: Likewise.
30576 * sunrpc/des_crypt.c: Likewise.
30577 * sunrpc/des_soft.c: Likewise.
30578 * sunrpc/get_myaddr.c: Likewise.
30579 * sunrpc/getrpcport.c: Likewise.
30580 * sunrpc/key_call.c: Likewise.
30581 * sunrpc/key_prot.c: Likewise.
30582 * sunrpc/openchild.c: Likewise.
30583 * sunrpc/pm_getmaps.c: Likewise.
30584 * sunrpc/pm_getport.c: Likewise.
30585 * sunrpc/pmap_clnt.c: Likewise.
30586 * sunrpc/pmap_prot.c: Likewise.
30587 * sunrpc/pmap_prot2.c: Likewise.
30588 * sunrpc/pmap_rmt.c: Likewise.
30589 * sunrpc/rpc/auth.h: Likewise.
30590 * sunrpc/rpc/auth_unix.h: Likewise.
30591 * sunrpc/rpc/clnt.h: Likewise.
30592 * sunrpc/rpc/des_crypt.h: Likewise.
30593 * sunrpc/rpc/key_prot.h: Likewise.
30594 * sunrpc/rpc/netdb.h: Likewise.
30595 * sunrpc/rpc/pmap_clnt.h: Likewise.
30596 * sunrpc/rpc/pmap_prot.h: Likewise.
30597 * sunrpc/rpc/pmap_rmt.h: Likewise.
30598 * sunrpc/rpc/rpc.h: Likewise.
30599 * sunrpc/rpc/rpc_des.h: Likewise.
30600 * sunrpc/rpc/rpc_msg.h: Likewise.
30601 * sunrpc/rpc/svc.h: Likewise.
30602 * sunrpc/rpc/svc_auth.h: Likewise.
30603 * sunrpc/rpc/types.h: Likewise.
30604 * sunrpc/rpc/xdr.h: Likewise.
30605 * sunrpc/rpc_clntout.c: Likewise.
30606 * sunrpc/rpc_cmsg.c: Likewise.
30607 * sunrpc/rpc_common.c: Likewise.
30608 * sunrpc/rpc_cout.c: Likewise.
30609 * sunrpc/rpc_dtable.c: Likewise.
30610 * sunrpc/rpc_hout.c: Likewise.
30611 * sunrpc/rpc_main.c: Likewise.
30612 * sunrpc/rpc_parse.c: Likewise.
30613 * sunrpc/rpc_parse.h: Likewise.
30614 * sunrpc/rpc_prot.c: Likewise.
30615 * sunrpc/rpc_sample.c: Likewise.
30616 * sunrpc/rpc_scan.c: Likewise.
30617 * sunrpc/rpc_scan.h: Likewise.
30618 * sunrpc/rpc_svcout.c: Likewise.
30619 * sunrpc/rpc_tblout.c: Likewise.
30620 * sunrpc/rpc_util.c: Likewise.
30621 * sunrpc/rpc_util.h: Likewise.
30622 * sunrpc/rpcinfo.c: Likewise.
30623 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30624 * sunrpc/rpcsvc/key_prot.x: Likewise.
30625 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30626 * sunrpc/rpcsvc/mount.x: Likewise.
30627 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30628 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30629 * sunrpc/rpcsvc/rex.x: Likewise.
30630 * sunrpc/rpcsvc/rstat.x: Likewise.
30631 * sunrpc/rpcsvc/rusers.x: Likewise.
30632 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30633 * sunrpc/rpcsvc/spray.x: Likewise.
30634 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30635 * sunrpc/rtime.c: Likewise.
30636 * sunrpc/svc.c: Likewise.
30637 * sunrpc/svc_auth.c: Likewise.
30638 * sunrpc/svc_authux.c: Likewise.
30639 * sunrpc/svc_raw.c: Likewise.
30640 * sunrpc/svc_run.c: Likewise.
30641 * sunrpc/svc_simple.c: Likewise.
30642 * sunrpc/svc_tcp.c: Likewise.
30643 * sunrpc/svc_udp.c: Likewise.
30644 * sunrpc/svc_unix.c: Likewise.
30645 * sunrpc/svcauth_des.c: Likewise.
30646 * sunrpc/xcrypt.c: Likewise.
30647 * sunrpc/xdr.c: Likewise.
30648 * sunrpc/xdr_array.c: Likewise.
30649 * sunrpc/xdr_float.c: Likewise.
30650 * sunrpc/xdr_mem.c: Likewise.
30651 * sunrpc/xdr_rec.c: Likewise.
30652 * sunrpc/xdr_ref.c: Likewise.
30653 * sunrpc/xdr_sizeof.c: Likewise.
30654 * sunrpc/xdr_stdio.c: Likewise.
30656 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30659 2010-08-19 Andreas Schwab <schwab@redhat.com>
30661 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30663 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
30665 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30666 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30667 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30668 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30669 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30670 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30671 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30672 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30673 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30674 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30675 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30676 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30677 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30678 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30680 2010-07-26 Anton Blanchard <anton@samba.org>
30682 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30683 * malloc/arena.c (heap_trim): Likewise.
30685 2010-08-16 Ulrich Drepper <drepper@redhat.com>
30687 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30689 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30690 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30692 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30694 * sysdeps/i386/elf/Makefile: New file.
30696 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30698 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30699 from fanotify_init.
30700 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30701 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30703 2010-08-15 Ulrich Drepper <drepper@redhat.com>
30705 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30707 * sysdeps/multiarch/strcmp.S: Likewise.
30709 2010-08-14 Ulrich Drepper <drepper@redhat.com>
30711 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30712 strncase_l-nonascii.
30713 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30714 Add strncase_l-ssse3.
30715 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30716 * sysdeps/x86_64/strcmp.S: Likewise.
30717 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30718 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30719 * sysdeps/x86_64/strncase.S: New file.
30720 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30721 * sysdeps/x86_64/strncase_l.S: New file.
30722 * string/Makefile (strop-tests): Add strncasecmp.
30723 * string/test-strncasecmp.c: New file.
30725 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30728 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30729 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30731 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30733 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30735 2010-08-12 Ulrich Drepper <drepper@redhat.com>
30737 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30738 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30739 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30741 2010-05-01 Alan Modra <amodra@gmail.com>
30743 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30744 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30745 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30746 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30747 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30748 tidying. Don't tail-call __sigjmp_save for static lib.
30749 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30751 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30752 (CALL_MCOUNT): Add eh info, and nop after bl.
30753 (TAIL_CALL_SYSCALL_ERROR): New macro.
30754 (PSEUDO_RET): Use it.
30755 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30756 Correct save location of integer regs and cr.
30757 (_dl_profile_resolve): Correct cr save location. Delete nops
30758 after bl when SHARED. Reduce cfi size a little by better
30759 placement of cfi directives.
30760 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30761 make a stack frame. Instead use parm save area as a temp.
30762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30763 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30765 Don't make a stack frame for parent, use parm save area.
30766 Increase child stack frame to 112 bytes. Don't save unused reg,
30767 and adjust reg usage. Set up cfi on error recovery and
30768 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30770 (__makecontext): Add dummy nop after jump to exit.
30771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30772 Use correct parm save area and cr save, reduce stack frame.
30773 Correct cfi for possible PSEUDO_RET frame setup.
30774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30775 Branch to local label emitted by PSEUDO_RET rather than
30778 2010-08-12 Andreas Schwab <schwab@redhat.com>
30781 * locale/programs/locale.c (print_assignment): New function.
30782 (show_locale_vars): Use it.
30784 2010-08-11 Ulrich Drepper <drepper@redhat.com>
30786 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30788 (struct statfs64): Likewise.
30789 (_STATFS_F_FLAGS): Define.
30790 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30791 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30792 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30793 (ST_VALID): Define locally.
30794 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30795 __statvfs_getflags, use the provided value.
30796 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30797 __ASSUME_STATFS_F_FLAGS.
30799 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30801 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30802 Add sys/fanotify.h.
30803 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30804 fanotify_mask for GLIBC_2.13.
30805 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30806 fanotify_init and fanotify_mark.
30807 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30808 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30810 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30812 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30813 prlimit64 for GLIBC_2.13.
30814 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30816 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30819 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30820 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30821 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30822 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30824 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30827 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30828 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30830 * nss/Makefile: Add rules to build and run tst-nss-test1.
30831 * shlib-versions: Add entry for libnss_test1.
30832 * nss/nss_test1.c: New file.
30833 * nss/tst-nss-test1.c: New file.
30835 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30836 (__nss_configure_lookup): Set appropriate entry in
30837 __nss_configure_lookup to true.
30838 * nss/nsswitch.h: Define enum with indeces of databases in
30839 databases and __nss_database_custom arrays. Declare
30840 __nss_database_custom.
30841 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30842 to avoid using nscd when custom rules are installed.
30843 * nss/getXXbyYY_r.c: Likewise.
30844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30846 * nss/nss_files/files-parse.c: Whitespace fixes.
30848 2010-08-09 Ulrich Drepper <drepper@redhat.com>
30851 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30852 * posix/fnmatch_loop.c: Likewise.
30854 2010-07-17 Andi Kleen <ak@linux.intel.com>
30856 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30857 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30858 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30859 * Versions.def [GLIBC_2.13]: Add.
30861 2010-08-06 Ulrich Drepper <drepper@redhat.com>
30863 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30864 Also fail if tpwd after pwuid call is NULL.
30866 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30868 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30869 when converting to ms.
30871 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30873 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30874 EOPNOTSUPP errors with ENOTTY.
30875 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30876 EOPNOTSUPP errors with ENOTTY.
30878 2010-07-31 Ulrich Drepper <drepper@redhat.com>
30880 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30881 Add strcasecmp_l-ssse3.
30882 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30884 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30885 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30886 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30888 2010-07-30 Ulrich Drepper <drepper@redhat.com>
30890 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30892 * string/Makefile (strop-tests): Add strcasecmp.
30893 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30894 strcasecmp_l-nonascii.
30895 (gen-as-const-headers): Add locale-defines.sym.
30896 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30897 * sysdeps/x86_64/strcasecmp.S: New file.
30898 * sysdeps/x86_64/strcasecmp_l.S: New file.
30899 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30900 * sysdeps/x86_64/locale-defines.sym: New file.
30901 * string/test-strcasecmp.c: New file.
30903 * string/test-strcasestr.c: Test both ends of the range of characters.
30904 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30906 2010-07-29 Roland McGrath <roland@redhat.com>
30909 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30911 2010-07-27 Ulrich Drepper <drepper@redhat.com>
30913 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30916 2010-07-27 Andreas Schwab <schwab@redhat.com>
30918 * manual/memory.texi (Malloc Tunable Parameters): Document
30921 2010-07-26 Roland McGrath <roland@redhat.com>
30924 * configure.in (-fgnu89-inline check): Set and substitute
30925 gnu89_inline, not libc_cv_gnu89_inline.
30926 * configure: Regenerated.
30927 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30929 2010-07-26 Ulrich Drepper <drepper@redhat.com>
30931 * string/test-strnlen.c: New file.
30932 * string/Makefile (strop-tests): Add strnlen.
30933 * string/tester.c (test_strnlen): Add a few more test cases.
30934 * string/tst-strlen.c: Better error reporting.
30936 * sysdeps/x86_64/strnlen.S: New file.
30938 2010-07-24 Ulrich Drepper <drepper@redhat.com>
30940 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30941 lower-latency instructions.
30943 2010-07-23 Ulrich Drepper <drepper@redhat.com>
30945 * string/test-strcasestr.c: New file.
30946 * string/test-strstr.c: New file.
30947 * string/Makefile (strop-tests): Add strstr and strcasestr.
30948 * string/str-two-way.h: Don't undefine MAX.
30949 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30951 2010-07-21 Andreas Schwab <schwab@redhat.com>
30953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30954 strcasestr-nonascii.
30955 (CFLAGS-strcasestr-nonascii.c): Define.
30956 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30957 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30958 Remove unused attribute.
30960 2010-07-20 Roland McGrath <roland@redhat.com>
30962 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30963 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30964 ld.so.cache was broken. With it, there is no way to disable dsocaps
30965 like LD_HWCAP_MASK can disable hwcaps.
30967 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30969 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30971 2010-07-16 Ulrich Drepper <drepper@redhat.com>
30973 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30974 call in strcasestr.
30975 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30976 __strcasestr_sse42_nonascii.
30977 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30978 strcasestr-nonascii.c.
30979 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30981 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
30983 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30984 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30985 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30986 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30988 2010-07-09 Ulrich Drepper <drepper@redhat.com>
30990 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30993 2010-07-06 Andreas Schwab <schwab@redhat.com>
30996 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30999 2010-07-06 Ulrich Drepper <drepper@redhat.com>
31001 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31002 _PC_PIPE_BUF using F_GETPIPE_SZ.
31004 2010-07-05 Roland McGrath <roland@redhat.com>
31006 * manual/arith.texi (Rounding Functions): Fix rint description
31007 implicit in round description.
31009 2010-07-02 Ulrich Drepper <drepper@redhat.com>
31011 * elf/Makefile: Fix linking for a few tests to make recent linker
31014 2010-06-30 Andreas Schwab <schwab@redhat.com>
31016 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31017 $(common-objpfx)libc_nonshared.a.
31019 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
31021 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31022 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31023 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31024 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31025 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31026 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31027 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31028 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31043 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31044 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31045 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31046 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31047 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31048 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31049 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31050 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31051 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31052 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31053 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31054 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31070 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31072 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31073 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31074 * string/memmove.c (memmove): Renamed to ...
31075 (MEMMOVE): ...this. Default to memmove.
31076 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31077 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31080 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31081 mempcpy-ssse3-back memmove-ssse3-back.
31082 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31083 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31084 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31085 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31086 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31087 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31088 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31089 * sysdeps/x86_64/multiarch/memmove.c: New file.
31090 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31091 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31092 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31093 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31094 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31095 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31097 (index_Fast_Copy_Backward): Define.
31098 (HAS_ARCH_FEATURE): Define.
31099 (HAS_FAST_REP_STRING): Define.
31100 (HAS_FAST_COPY_BACKWARD): Define.
31102 2010-06-21 Andreas Schwab <schwab@redhat.com>
31104 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31105 Restore proper fallback handling.
31107 2010-06-19 Ulrich Drepper <drepper@redhat.com>
31110 * posix/group_member.c (__group_member): Correct checking loop.
31112 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31113 OOM in getpwuid_r correctly. Return error number when the caller
31114 should return, otherwise -1.
31115 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31116 call returning > 0 value.
31117 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31119 2010-06-07 Andreas Schwab <schwab@redhat.com>
31121 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31122 libc_nonshared.a from targets in modules-names.
31124 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31126 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31129 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
31131 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31132 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31133 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31134 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31136 2010-06-02 Andreas Schwab <schwab@redhat.com>
31138 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31140 2010-06-14 Ulrich Drepper <drepper@redhat.com>
31142 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31144 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31145 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31146 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31148 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31149 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31151 2010-06-14 Roland McGrath <roland@redhat.com>
31153 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31155 2010-06-07 Jakub Jelinek <jakub@redhat.com>
31157 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31158 __REDIRECT followed by __THROW.
31159 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31160 * posix/getopt.h (getopt): Likewise.
31162 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31164 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31165 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31166 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31168 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31169 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31171 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
31173 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31175 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31179 Properly check family and model.
31181 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31183 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31185 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
31187 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31189 2010-05-21 Ulrich Drepper <drepper@redhat.com>
31191 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31194 2010-05-19 Andreas Schwab <schwab@redhat.com>
31196 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31199 2010-05-21 Andreas Schwab <schwab@redhat.com>
31201 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31202 and internal_recvmmsg.
31203 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31204 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31205 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31206 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31208 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31209 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31210 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31212 2010-05-20 Andreas Schwab <schwab@redhat.com>
31214 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31216 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
31218 POWER7 optimizations.
31219 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31220 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31222 2010-05-19 Ulrich Drepper <drepper@redhat.com>
31224 * version.h: Update for 2.13 development version.
31226 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
31228 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31229 exceptions. Return 0.
31231 2010-05-07 Roland McGrath <roland@redhat.com>
31233 * elf/ldconfig.c (main): Add a const.
31235 2010-05-06 Ulrich Drepper <drepper@redhat.com>
31237 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31238 (args_options): Add no-idn option.
31239 (ahosts_keys_int): Add idn_flags to ai_flags.
31240 (parse_option): Handle 'i' option to clear idn_flags.
31242 * malloc/malloc.c (_int_free): Possible race in the most recently
31243 added check. Only act on the data if no current modification
31246 See ChangeLog.17 for earlier changes.