]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Convert iso-639.def to utf-8
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * locale/iso-639.def: Convert to UTF-8.
4
52013-06-11 Joseph Myers <joseph@codesourcery.com>
6
7 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8 (EXCEPTION_TESTS_double): Likewise.
9 (EXCEPTION_TESTS_long_double): Likewise.
10 (EXCEPTION_TESTS): Likewise.
11 * math/libm-test.inc (test_exceptions): Only test exceptions if
12 EXCEPTION_TESTS (FLOAT).
13
142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15
16 * benchtests/Makefile (string-bench): Add strcpy_chk and
17 stpcpy_chk.
18 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19 * benchtests/bench-stpcpy_chk.c: New file.
20 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21 * benchtests/bench-strcpy_chk.c: New file.
22 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23 code.
24 (do_test): Likewise.
25
262013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27
28 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31 with tabs where appropriate.
32 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33 dl-procinfo.h.
34 [PPC_PLATFORM_PPC440]: Likewise.
35 [PPC_PLATFORM_PPC464]: Likewise.
36 [PPC_PLATFORM_PPC476]: Likewise.
37 (_dl_string_platform): Add support for detecting ppc405, ppc440,
38 ppc464, and ppc476 platform strings merging from ports/
39 dl-procinfo.h.
40
412013-06-11 Andreas Schwab <schwab@suse.de>
42
43 [BZ #14991]
44 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45 (from_ucs4_idx): Regenerate.
46 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
47 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
50 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
51 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
52 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
53 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54 from FROM_LOOP and TO_LOOP specific macros.
55 (BODY): Handle combining characters.
56 * iconvdata/BIG5HKSCS.irreversible: Update.
57 * iconvdata/BIG5HKSCS.precomposed: New file.
58 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
59 characters.
60 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
61
622013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
63
64 * include/sys/time.h: Fix indentation and add copyright header.
65
66 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
67 (do_test): Likewise.
68 * string/test-memchr.c (do_one_test): Likewise.
69 (do_test): Likewise.
70 * string/test-memcmp.c (do_one_test): Likewise.
71 (do_test): Likewise.
72 * string/test-memcpy.c (do_one_test): Likewise.
73 (do_test): Likewise.
74 * string/test-memmem.c (do_one_test): Likewise.
75 (do_test): Likewise.
76 (do_random_tests): Likewise.
77 * string/test-memmove.c (do_one_test): Likewise.
78 (do_test): Likewise.
79 * string/test-memset.c (do_one_test): Likewise.
80 (do_test): Likewise.
81 * string/test-rawmemchr.c (do_one_test): Likewise.
82 (do_test): Likewise.
83 * string/test-strcasecmp.c (do_one_test): Likewise.
84 (do_test): Likewise.
85 * string/test-strcasestr.c (do_one_test): Likewise.
86 (do_test): Likewise.
87 * string/test-strcat.c (do_one_test): Likewise.
88 (do_test): Likewise.
89 * string/test-strchr.c (do_one_test): Likewise.
90 (do_test): Likewise.
91 * string/test-strcmp.c (do_one_test): Likewise.
92 (do_test): Likewise.
93 * string/test-strcpy.c (do_one_test): Likewise.
94 (do_test): Likewise.
95 * string/test-string.h: Likewise.
96 (test_init): Likewise.
97 * string/test-strlen.c (do_one_test): Likewise.
98 (do_test): Likewise.
99 * string/test-strncasecmp.c (do_one_test): Likewise.
100 (do_test): Likewise.
101 * string/test-strncat.c (do_one_test): Likewise.
102 (do_test): Likewise.
103 * string/test-strncmp.c (do_one_test): Likewise.
104 (do_test_limit): Likewise.
105 (do_test): Likewise.
106 * string/test-strncpy.c (do_one_test): Likewise.
107 (do_test): Likewise.
108 * string/test-strnlen.c (do_one_test): Likewise.
109 (do_test): Likewise.
110 * string/test-strpbrk.c (do_one_test): Likewise.
111 (do_test): Likewise.
112 * string/test-strrchr.c (do_one_test): Likewise.
113 (do_test): Likewise.
114 * string/test-strspn.c (do_one_test): Likewise.
115 (do_test): Likewise.
116 * string/test-strstr.c (do_one_test): Likewise.
117 (do_test): Likewise.
118
119 * benchtests/Makefile (string-bench): Add string benchmarks.
120 * benchtests/bench-bcopy-ifunc.c: New file.
121 * benchtests/bench-bcopy.c: New file.
122 * benchtests/bench-bzero-ifunc.c: New file.
123 * benchtests/bench-bzero.c: New file.
124 * benchtests/bench-memccpy-ifunc.c: New file.
125 * benchtests/bench-memccpy.c: New file.
126 * benchtests/bench-memchr-ifunc.c: New file.
127 * benchtests/bench-memchr.c: New file.
128 * benchtests/bench-memcmp-ifunc.c: New file.
129 * benchtests/bench-memcmp.c: New file.
130 * benchtests/bench-memmem-ifunc.c: New file.
131 * benchtests/bench-memmem.c: New file.
132 * benchtests/bench-memmove-ifunc.c: New file.
133 * benchtests/bench-memmove.c: New file.
134 * benchtests/bench-mempcpy-ifunc.c: New file.
135 * benchtests/bench-mempcpy.c: New file.
136 * benchtests/bench-memset-ifunc.c: New file.
137 * benchtests/bench-memset.c: New file.
138 * benchtests/bench-rawmemchr-ifunc.c: New file.
139 * benchtests/bench-rawmemchr.c: New file.
140 * benchtests/bench-stpcpy-ifunc.c: New file.
141 * benchtests/bench-stpcpy.c: New file.
142 * benchtests/bench-stpncpy-ifunc.c: New file.
143 * benchtests/bench-stpncpy.c: New file.
144 * benchtests/bench-strcasecmp-ifunc.c: New file.
145 * benchtests/bench-strcasecmp.c: New file.
146 * benchtests/bench-strcasestr-ifunc.c: New file.
147 * benchtests/bench-strcasestr.c: New file.
148 * benchtests/bench-strcat-ifunc.c: New file.
149 * benchtests/bench-strcat.c: New file.
150 * benchtests/bench-strchr-ifunc.c: New file.
151 * benchtests/bench-strchr.c: New file.
152 * benchtests/bench-strchrnul-ifunc.c: New file.
153 * benchtests/bench-strchrnul.c: New file.
154 * benchtests/bench-strcmp-ifunc.c: New file.
155 * benchtests/bench-strcmp.c: New file.
156 * benchtests/bench-strcpy-ifunc.c: New file.
157 * benchtests/bench-strcpy.c: New file.
158 * benchtests/bench-strcspn-ifunc.c: New file.
159 * benchtests/bench-strcspn.c: New file.
160 * benchtests/bench-strlen-ifunc.c: New file.
161 * benchtests/bench-strlen.c: New file.
162 * benchtests/bench-strncasecmp-ifunc.c: New file.
163 * benchtests/bench-strncasecmp.c: New file.
164 * benchtests/bench-strncat-ifunc.c: New file.
165 * benchtests/bench-strncat.c: New file.
166 * benchtests/bench-strncmp-ifunc.c: New file.
167 * benchtests/bench-strncmp.c: New file.
168 * benchtests/bench-strncpy-ifunc.c: New file.
169 * benchtests/bench-strncpy.c: New file.
170 * benchtests/bench-strnlen-ifunc.c: New file.
171 * benchtests/bench-strnlen.c: New file.
172 * benchtests/bench-strpbrk-ifunc.c: New file.
173 * benchtests/bench-strpbrk.c: New file.
174 * benchtests/bench-strrchr-ifunc.c: New file.
175 * benchtests/bench-strrchr.c: New file.
176 * benchtests/bench-strspn-ifunc.c: New file.
177 * benchtests/bench-strspn.c: New file.
178 * benchtests/bench-strstr-ifunc.c: New file.
179 * benchtests/bench-strstr.c: New file.
180
181 * benchtests/Makefile: Disable parallel execution of targets.
182 (string-bench): Add memcpy.
183 (benchset): New variable to store a list of benchmark sets.
184 (bench-func): Renamed from bench.
185 (bench-set): New target.
186 (bench): Depend on bench-func and bench-set.
187 * benchtests/README: Add section on benchmark sets.
188 * benchtests/bench-memcpy-ifunc.c: New file.
189 * benchtests/bench-memcpy.c: New file.
190 * benchtests/bench-string.h: New file.
191
1922013-06-11 Andreas Schwab <schwab@suse.de>
193
194 [BZ #15577]
195 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
196 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
197 values in the triple.
198 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
199 terminator in the group key.
200
2012013-06-11 Andreas Jaeger <aj@suse.de>
202
203 * po/zh_TW.po: Update Chinese (traditional) translation from
204 translation project.
205
2062013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
207
208 * include/time.h (__clock_gettime): Add libc_hidden_proto.
209 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
210 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
211 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
212 (clock_getcpuclockid): Likewise.
213 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
214 Add weak_alias and libc_hidden_def.
215 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
216 * rt/clock_gettime.c (clock_gettime): Rename to
217 __clock_gettime. Add weak_alias and libc_hidden_def.
218 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
219 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
220 __clock_nanosleep. Add weak_alias and libc_hidden_def.
221 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
222 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
223 Likewise.
224 * rt/clock_settime.c (clock_settime): Rename to
225 __clock_settime. Add weak_alias and libc_hidden_def.
226 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
227
2282013-06-10 Joseph Myers <joseph@codesourcery.com>
229
230 * mach/err_boot.sub: Remove trailing whitespace.
231 * mach/err_ipc.sub: Likewise.
232 * mach/err_mach.sub: Likewise.
233
234 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
235 (ROUNDING_TESTS_double): Likewise.
236 (ROUNDING_TESTS_long_double): Likewise.
237 (ROUNDING_TESTS): Likewise.
238 * math/libm-test.inc: Include <math-tests.h>.
239 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
240 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
241 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
242 (IF_ROUND_INIT_FE_UPWARD): Likewise.
243
2442013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
245
246 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
247 of assigning.
248
2492013-06-08 Joseph Myers <joseph@codesourcery.com>
250
251 * sysdeps/gnu/errlist.awk: Do not generate space at end of
252 otherwise empty TRANS lines.
253 * sysdeps/gnu/errlist.c: Regenerated.
254
255 * catgets/gencat.c (error_print): Use (void) in function
256 definition.
257 * crypt/crypt_util.c (__init_des): Likewise.
258 * crypt/speeds.c (Stop): Likewise.
259 (main): Likewise.
260 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
261 * inet/ruserpass.c (token): Likewise.
262 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
263 * intl/localealias.c (extend_alias_table): Likewise.
264 * intl/plural-exp.c (init_germanic_plural): Likewise.
265 * libio/fcloseall.c (__fcloseall): Likewise.
266 * libio/genops.c (_IO_flush_all): Likewise.
267 (_IO_flush_all_linebuffered): Likewise.
268 (_IO_cleanup): Likewise.
269 (_IO_iter_begin): Likewise.
270 (_IO_iter_end): Likewise.
271 (_IO_list_lock): Likewise.
272 (_IO_list_unlock): Likewise.
273 (_IO_list_resetlock): Likewise.
274 * libio/getchar.c (getchar): Likewise.
275 * libio/getchar_u.c (getchar_unlocked): Likewise.
276 * libio/getwchar.c (getwchar): Likewise.
277 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
278 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
279 * login/getpt.c (__getpt): Likewise.
280 * login/tst-utmp.c (main): Likewise.
281 * malloc/hooks.c (__malloc_check_init): Likewise.
282 * malloc/malloc.c (__malloc_stats): Likewise.
283 * malloc/mtrace.c (tr_break): Likewise.
284 (mtrace): Likewise.
285 (muntrace): Likewise.
286 * misc/fstab.c (endfsent): Likewise.
287 * misc/getclktck.c (__getclktck): Likewise.
288 * misc/getdtsz.c (__getdtablesize): Likewise.
289 * misc/gethostid.c (gethostid): Likewise.
290 * misc/getpagesize.c (__getpagesize): Likewise.
291 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
292 (__get_nprocs): Likewise.
293 (__get_phys_pages): Likewise.
294 (__get_avphys_pages): Likewise.
295 * misc/getttyent.c (getttyent): Likewise.
296 (setttyent): Likewise.
297 (endttyent): Likewise.
298 * misc/getusershell.c (getusershell): Likewise.
299 (endusershell): Likewise.
300 (setusershell): Likewise.
301 (initshells): Likewise.
302 * misc/hsearch.c (__hdestroy): Likewise.
303 * misc/sync.c (sync): Likewise.
304 * misc/syslog.c (closelog_internal): Likewise.
305 (closelog): Likewise.
306 * misc/ttyslot.c (ttyslot): Likewise.
307 * misc/vhangup.c (vhangup): Likewise.
308 * posix/fork.c (__fork): Likewise.
309 * posix/getegid.c (__getegid): Likewise.
310 * posix/geteuid.c (__geteuid): Likewise.
311 * posix/getgid.c (__getgid): Likewise.
312 * posix/getpid.c (__getpid): Likewise.
313 * posix/getppid.c (__getppid): Likewise.
314 * posix/getuid.c (__getuid): Likewise.
315 * posix/pause.c (pause): Likewise.
316 * posix/setpgrp.c (setpgrp): Likewise.
317 * posix/setsid.c (__setsid): Likewise.
318 * posix/test-vfork.c (noop): Likewise.
319 * resolv/gethnamaddr.c (_endhtent): Likewise.
320 (_gethtent): Likewise.
321 (ht_endhostent): Likewise.
322 (gethostent): Likewise.
323 (dns_service): Likewise.
324 * stdlib/drand48.c (drand48): Likewise.
325 * stdlib/lrand48.c (lrand48): Likewise.
326 * stdlib/mrand48.c (mrand48): Likewise.
327 * stdlib/rand.c (rand): Likewise.
328 * stdlib/random.c (__random): Likewise.
329 * stdlib/setenv.c (clearenv): Likewise.
330 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
331 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
332 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
333 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
334 (__get_nprocs): Likewise.
335 (__get_phys_pages): Likewise.
336 (__get_avphys_pages): Likewise.
337 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
338 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
339 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
340 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
341 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
342 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
343 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
344 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
345 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
346 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
347 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
348 * sysdeps/mach/hurd/sync.c (sync): Likewise.
349 * sysdeps/posix/clock.c (clock): Likewise.
350 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
351 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
352 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
353 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
354 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
355 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
356 (__get_nprocs_conf): Likewise.
357 (__get_phys_pages): Likewise.
358 (__get_avphys_pages): Likewise.
359 * time/clock.c (clock): Likewise.
360 * time/tzset.c (__tzname_max): Likewise.
361
3622013-06-07 Joseph Myers <joseph@codesourcery.com>
363
364 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
365 (__bswap_32): Do not use "register".
366 * crypt/crypt.c (_ufc_doit_r): Likewise.
367 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
368 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
369 * gmon/gmon.c (__monstartup): Likewise.
370 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
371 * hurd/hurdmalloc.c (more_memory): Likewise.
372 (malloc): Likewise.
373 (free): Likewise.
374 (realloc): Likewise.
375 (malloc_fork_prepare): Likewise.
376 (malloc_fork_parent): Likewise.
377 (malloc_fork_child): Likewise.
378 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
379 (_svcauth_des): Likewise.
380 * inet/inet_lnaof.c (inet_lnaof): Likewise.
381 * inet/inet_net.c (inet_network): Likewise.
382 * inet/inet_netof.c (inet_netof): Likewise.
383 * inet/rcmd.c (__validuser2_sa): Likewise.
384 * io/fts.c (fts_open): Likewise.
385 (fts_load): Likewise.
386 (fts_close): Likewise.
387 (fts_read): Likewise.
388 (fts_children): Likewise.
389 (fts_build): Likewise.
390 (fts_stat): Likewise.
391 (fts_sort): Likewise.
392 (fts_alloc): Likewise.
393 (fts_lfree): Likewise.
394 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
395 (_IO_file_xsgetn): Likewise.
396 (_IO_file_xsgetn_mmap): Likewise.
397 * libio/iofopncook.c (_IO_cookie_read): Likewise.
398 (_IO_cookie_write): Likewise.
399 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
400 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
401 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
402 * malloc/obstack.c (_obstack_begin): Likewise.
403 (_obstack_begin_1): Likewise.
404 (_obstack_newchunk): Likewise.
405 (_obstack_allocated_p): Likewise.
406 (obstack_free): Likewise.
407 (_obstack_memory_used): Likewise.
408 * misc/getttyent.c (getttynam): Likewise.
409 (getttyent): Likewise.
410 (skip): Likewise.
411 (value): Likewise.
412 * misc/getusershell.c (initshells): Likewise.
413 * misc/syslog.c (__vsyslog_chk): Likewise.
414 * misc/ttyslot.c (ttyslot): Likewise.
415 * nis/nis_hash.c (__nis_hash): Likewise.
416 * posix/fnmatch_loop.c (FCT): Likewise.
417 * posix/getconf.c (print_all): Likewise.
418 (main): Likewise.
419 * posix/getopt.c (exchange): Likewise.
420 * posix/glob.c (globfree): Likewise.
421 (prefix_array): Likewise.
422 (__glob_pattern_type): Likewise.
423 * resolv/arpa/nameser.h (NS_GET16): Likewise.
424 (NS_GET32): Likewise.
425 (NS_PUT16): Likewise.
426 (NS_PUT32): Likewise.
427 * resolv/gethnamaddr.c (getanswer): Likewise.
428 (gethostbyname2): Likewise.
429 (gethostbyaddr): Likewise.
430 (_gethtent): Likewise.
431 (_gethtbyname2): Likewise.
432 (_gethtbyaddr): Likewise.
433 * resolv/ns_print.c (dst_s_get_int16): Likewise.
434 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
435 * resolv/res_init.c (__res_vinit): Likewise.
436 (net_mask): Likewise.
437 * resolv/res_mkquery.c (outchar): Likewise.
438 (PRINT): Likewise.
439 * stdio-common/printf_fp.c (outchar): Likewise.
440 (PRINT): Likewise.
441 * stdio-common/printf_fphex.c (outchar): Likewise.
442 (PRINT): Likewise.
443 * stdio-common/printf_size.c (outchar): Likewise.
444 (PRINT): Likewise.
445 * stdio-common/test_rdwr.c (main): Likewise.
446 * stdio-common/tfformat.c (matches): Likewise.
447 * stdio-common/vfprintf.c (outchar): Likewise.
448 (printf_unknown): Likewise.
449 (buffered_vfprintf): Likewise.
450 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
451 * stdio-common/xbug.c (AppendToBuffer): Likewise.
452 (ReadFile): Likewise.
453 * stdlib/qsort.c (SWAP): Likewise.
454 (_quicksort): Likewise.
455 * stdlib/setenv.c (__add_to_environ): Likewise.
456 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
457 * stdlib/strtol_l.c (__strtol_l): Likewise.
458 * stdlib/tst-strtod.c (main): Likewise.
459 * stdlib/tst-strtol.c (main): Likewise.
460 * stdlib/tst-strtoll.c (main): Likewise.
461 * string/bits/string2.h (__strcmp_cc): Likewise.
462 (__strcmp_cg): Likewise.
463 (__strcspn_c1): Likewise.
464 (__strcspn_c2): Likewise.
465 (__strcspn_c3): Likewise.
466 (__strspn_c1): Likewise.
467 (__strspn_c2): Likewise.
468 (__strspn_c3): Likewise.
469 (__strsep_1c): Likewise.
470 (__strsep_2c): Likewise.
471 (__strsep_3c): Likewise.
472 * string/memccpy.c (__memccpy): Likewise.
473 * string/stpcpy.c (__stpcpy): Likewise.
474 * string/strcmp.c (strcmp): Likewise.
475 * string/strrchr.c (strrchr): Likewise.
476 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
477 Likewise.
478 * sysdeps/mach/hurd/getcwd.c
479 (_hurd_canonicalize_directory_name_internal): Likewise.
480 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
481 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
482 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
483 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
484 Likewise, in both definitions.
485 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
486 definitions.
487 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
488 64] (__bswap_64): Likewise.
489 * time/test_time.c (main): Likewise.
490 * time/tzfile.c (__tzfile_read): Likewise.
491 (__tzfile_compute): Likewise.
492 * time/tzset.c (__tzset_parse_tz): Likewise.
493 (tzset_internal): Likewise.
494 (compute_change): Likewise.
495 * wcsmbs/wcscat.c (__wcscat): Likewise.
496 * wcsmbs/wcschr.c (wcschr): Likewise.
497 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
498 * wcsmbs/wcscspn.c (wcscspn): Likewise.
499 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
500 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
501 * wcsmbs/wcsspn.c (wcsspn): Likewise.
502 * wcsmbs/wcsstr.c (wcsstr): Likewise.
503 * wcsmbs/wmemchr.c (wmemchr): Likewise.
504 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
505 * wcsmbs/wmemset.c (wmemset): Likewise.
506
5072013-06-06 Joseph Myers <joseph@codesourcery.com>
508
509 * scripts/config.guess: Update to version 2013-05-16.
510 * scripts/config.sub: Update to version 2013-04-24.
511 * scripts/install-sh: Update to version 2011-11-20.07.
512 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
513 * scripts/move-if-change: Update to version 2012-01-06 07:23.
514
5152013-06-06 Ondřej Bílka <neleai@seznam.cz>
516
517 * debug/fgetws_u_chk.c: Fix leading whitespaces.
518 * elf/sln.c: Likewise.
519 * hurd/hurd/ioctl.h: Likewise.
520 * hurd/hurdmalloc.c: Likewise.
521 * hurd/xattr.c: Likewise.
522 * include/shlib-compat.h: Likewise.
523 * inet/ruserpass.c: Likewise.
524 * libio/iofgets_u.c: Likewise.
525 * libio/iofgetws_u.c: Likewise.
526 * locale/programs/ld-identification.c: Likewise.
527 * locale/programs/ld-time.c: Likewise.
528 * mach/msg-destroy.c: Likewise.
529 * nss/nss_files/files-netgrp.c: Likewise.
530 * resolv/res_data.c: Likewise.
531 * soft-fp/op-1.h: Likewise.
532 * soft-fp/op-2.h: Likewise.
533 * soft-fp/op-4.h: Likewise.
534 * soft-fp/op-common.h: Likewise.
535 * stdio-common/printf_fphex.c: Likewise.
536 * stdlib/strtod_l.c: Likewise.
537 * sunrpc/rpc/clnt.h: Likewise.
538 * sysdeps/generic/framestate.c: Likewise.
539 * sysdeps/i386/bsd-_setjmp.S: Likewise.
540 * sysdeps/i386/bsd-setjmp.S: Likewise.
541 * sysdeps/i386/__longjmp.S: Likewise.
542 * sysdeps/i386/setjmp.S: Likewise.
543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
544 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
545 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
546 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
547 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
548 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
549 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
550 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
551 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
552 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
553 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
554 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
555 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
556 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
557 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
558 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
559 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
560 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
561 * sysdeps/ieee754/support.c: Likewise.
562 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
563 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
564 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
565 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
566 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
567 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
568 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
569 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
570 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
571 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
572 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
573 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
574 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
575 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
576 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
577 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
578 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
580
5812013-06-05 Ondřej Bílka <neleai@seznam.cz>
582
583 * posix/transbug.c: Remove executable mode.
584
5852013-06-05 Joseph Myers <joseph@codesourcery.com>
586
587 * crypt/speeds.c: Remove trailing whitespace.
588 * dlfcn/default.c: Likewise.
589 * elf/ifuncdep2.c: Likewise.
590 * elf/ifuncmain1.c: Likewise.
591 * elf/ifuncmain1vis.c: Likewise.
592 * elf/testobj.h: Likewise.
593 * elf/tst-stackguard1.c: Likewise.
594 * gmon/sys/gmon.h: Likewise.
595 * hurd/hurdmsg.c: Likewise.
596 * hurd/new-fd.c: Likewise.
597 * hurd/ports-get.c: Likewise.
598 * iconvdata/ibm1008_420.c: Likewise.
599 * inet/tst-getni1.c: Likewise.
600 * inet/tst-getni2.c: Likewise.
601 * libio/ioungetc.c: Likewise.
602 * libio/wfiledoalloc.c: Likewise.
603 * manual/libm-err-tab.pl: Likewise.
604 * math/w_dremf.c: Likewise.
605 * misc/ftruncate.c: Likewise.
606 * posix/bug-glob2.c: Likewise.
607 * posix/tst-pcre.c: Likewise.
608 * posix/wait4.c: Likewise.
609 * resolv/README: Likewise.
610 * resolv/res_debug.h: Likewise.
611 * resolv/tst-inet_ntop.c: Likewise.
612 * setjmp/bug269-setjmp.c: Likewise.
613 * soft-fp/extended.h: Likewise.
614 * soft-fp/op-1.h: Likewise.
615 * soft-fp/op-2.h: Likewise.
616 * soft-fp/op-4.h: Likewise.
617 * soft-fp/op-8.h: Likewise.
618 * soft-fp/testit.c: Likewise.
619 * stdio-common/bug16.c: Likewise.
620 * stdlib/random.c: Likewise.
621 * sunrpc/rpcsvc/rquota.x: Likewise.
622 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
623 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
624 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
625 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
626 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
627 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
628 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
629 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
630 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
631 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
632 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
633 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
634 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
635 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
636 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
637 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
638 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
639 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
640 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
641 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
642 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
643 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
644 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
645 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
646 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
647 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
648 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
649 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
650 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
651 * sysdeps/ieee754/s_lib_version.c: Likewise.
652 * sysdeps/mach/hurd/check_fds.c: Likewise.
653 * sysdeps/mach/hurd/getsockname.c: Likewise.
654 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
655 * sysdeps/mach/hurd/recvfrom.c: Likewise.
656 * sysdeps/powerpc/bits/link.h: Likewise.
657 * sysdeps/powerpc/dl-procinfo.c: Likewise.
658 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
659 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
660 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
661 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
662 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
663 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
664 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
665 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
666 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
667 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
668 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
669 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
670 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
671 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
672 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
673 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
674 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
675 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
676 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
677 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
678 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
679 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
680 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
681 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
682 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
683 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
684 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
685 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
686 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
687 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
688 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
689 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
690 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
691 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
692 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
693 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
694 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
695 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
696 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
697 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
698 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
699 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
700 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
701 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
702 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
703 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
704 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
705 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
706 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
707 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
708 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
709 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
710 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
711 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
712 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
713 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
714 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
715 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
716 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
717 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
718 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
719 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
720 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
721 * sysdeps/powerpc/sysdep.h: Likewise.
722 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
723 * sysdeps/s390/s390-64/sub_n.S: Likewise.
724 * sysdeps/sh/dl-trampoline.S: Likewise.
725 * sysdeps/sh/memset.S: Likewise.
726 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
727 * sysdeps/sh/strlen.S: Likewise.
728 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
729 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
730 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
731 * sysdeps/sparc/sparc32/rem.S: Likewise.
732 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
733 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
734 * sysdeps/sparc/sparc32/strchr.S: Likewise.
735 * sysdeps/sparc/sparc32/udiv.S: Likewise.
736 * sysdeps/sparc/sparc32/urem.S: Likewise.
737 * sysdeps/sparc/sparc64/add_n.S: Likewise.
738 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
739 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
740 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
741 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
742 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
743 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
744 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
745 * sysdeps/unix/bsd/times.c: Likewise.
746 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
747 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
752 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
753 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
754 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
755 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
756 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
757 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
758 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
759 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
760 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
761 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
762 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
763 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
764 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
765 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
766 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
767 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
768 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
769 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
770 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
771 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
772 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
773 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
774 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
775 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
776 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
777 * sysdeps/x86_64/strcspn.S: Likewise.
778
7792013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
780
781 * locale/C-translit.h: Revert #include <stdint.h> because this is a
782 generated file. Regenerate properly from gen-translit.pl.
783 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
784 locale/C-translit.h.
785
7862013-06-05 Andreas Schwab <schwab@suse.de>
787
788 [BZ #15100]
789 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
790 week as 6 instead of -1.
791 * time/tst-strptime.c (day_tests): Add test case.
792
7932013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
794
795 * sysdeps/generic/math_private.h
796 (libc_feholdexcept_setround_53bit): Replace with
797 libc_feholdsetround_53bit.
798 (libc_feupdateenv_53bit): Replace with
799 libc_feresetround_53bit.
800 (SET_RESTORE_ROUND_53BIT): Adjust.
801
8022013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
803
804 * string/test-strchrnul.c: Add copyright header.
805
806 * posix/tst-getaddrinfo4.c: Increase test timeout.
807
8082013-06-03 Carlos O'Donell <carlos@redhat.com>
809
810 [BZ #15536]
811 * math/libm-test.inc (MAX_EXP): Remove
812 (MIN_EXP): Define.
813 (ulp): Use MIN_EXP - MANT_DIG.
814 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
815
8162013-05-31 Carlos O'Donell <carlos@redhat.com>
817
818 * po/be.po: Revert last change.
819 * po/zh_CN.po: Likewise.
820 * po/header.pot: Likewise.
821
8222013-05-31 Joseph Myers <joseph@codesourcery.com>
823
824 * Makefile ($(common-objpfx)linkobj/libc.so): Define
825 link-libc-deps to empty as target-specific variable.
826 * Makerules (link-libc-args): New variable.
827 (libc-for-link): Likewise.
828 (link-libc-deps): Likewise.
829 (lib%.so): Depend on $(link-libc-deps). Link with
830 $(link-libc-args).
831 (build-module): Link with $(link-libc-args).
832 (build-module-asneeded): Likewise.
833 (build-module-helper-objlist): Filter out $(link-libc-deps) from
834 list of objects.
835 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
836 target-specific variable.
837 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
838 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
839 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
840 libc.
841 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
842 libc and ld.so.
843 ($(objpfx)libpcprofile.so): Likewise.
844 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
845 libc_nonshared.a.
846 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
847 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
848 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
849 $(link-libc-deps).
850 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
851 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
852 * login/Makefile ($(objpfx)libutil.so): Likewise.
853 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
854 * math/Makefile ($(objpfx)libm.so): Likewise.
855 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
856 $(objpfx)libnsl.so): Define libc-for-link as target-specific
857 variable instead of depending directly on libc.
858 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
859 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
860 $(link-libc-deps).
861 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
862 libc.
863 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
864 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
865 ($(objpfx)libanl.so): Likewise.
866 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
867 ld.so.
868 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
869 $(link-libc-deps).
870 * sysdeps/i386/fpu/Makefile: Remove file.
871 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
872 ($(objpfx)libm.so): Remove dependency on ld.so.
873
8742013-05-30 Patsy Franklin <pfrankli@redhat.com>
875
876 [BZ # 15553]
877 * nis/yp_xdr.c (XDRMAXNAME): Define.
878 (XDRMAXRECORD): Define.
879 (xdr_domainname): Use XDRMAXNAME.
880 (xdr_mapname): Likewise.
881 (xdr_peername): Likewise.
882 (xdr_keydat): Use XDRMAXRECORD.
883 (xdr_valdat): Likewise.
884
8852013-05-30 Jeff Law <law@redhat.com>
886
887 [BZ #14256]
888 * manual/errno.texi (ESTALE): Update to account for more than
889 just NFS file systems.
890 * sysdeps/gnu/errlist.c: Regenerated.
891
8922013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
893
894 [BZ #15465]
895 * elf/Makefile (tests): Add tst-null-argv.
896 (modules-names): Add tst-null-argv-lib.
897 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
898 (tst-null-argv-ENV): Set environment for tst-null-argv.
899 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
900 (RTLD_PROGNAME): New macro.
901 * elf/tst-null-argv.c: New test case.
902 * elf/tst-null-argv-lib.c: Library for test case.
903 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
904 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
905 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
906 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
907 * elf/dl-init.c (call_init): Likewise.
908 (_dl_init): Likewise.
909 * elf/dl-load.c (print_search_path): Likewise.
910 (_dl_map_object): Likewise.
911 * elf/dl-lookup.c (do_lookup_x): Likewise.
912 (add_dependency): Likewise.
913 (_dl_lookup_symbol_x): Likewise.
914 (_dl_debug_bindings): Likewise.
915 * elf/dl-open.c (_dl_show_scope): Likewise.
916 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
917 * elf/dl-version.c (match_symbol): Likewise.
918 (_dl_check_map_versions): Likewise.
919 * elf/rtld.c (dl_main): Likewise.
920 (print_unresolved): Use RTLD_PROGNAME.
921 (print_missing_version): Likewise.
922 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
923 (elf_machine_rela): Likewise.
924 * sysdeps/powerpc/powerpc32/dl-machine.c
925 (__process_machine_rela): Likewise.
926 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
927 Likewise.
928 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
929 Likewise.
930 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
931 Likewise.
932 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
933 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
934 Likewise.
935 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
936 Likewise.
937 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
938
9392013-05-28 Carlos O'Donell <carlos@redhat.com>
940
941 * po/be.po: Add descriptive title.
942 * po/zh_CN.po: Likewise.
943 * po/header.pot: Likewise.
944
9452013-05-28 Mike Frysinger <vapier@gentoo.org>
946
947 * locale/programs/locarchive.c (create_archive): Inlucde fname in
948 error message.
949 (enlarge_archive): Likewise.
950
9512013-05-28 Ben North <ben@redfrontdoor.org>
952
953 * manual/arith.texi (frexp): It is the magnitude of the return
954 value which lies in [0.5, 1), not the return value itself.
955
9562013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
957
958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
959
9602013-05-26 Thomas Schwinge <thomas@codesourcery.com>
961
962 * stdio-common/bug26.c (main): Correct fscanf template.
963
964 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
965 declare _dl_skip_args.
966
967 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
968 Don't declare.
969
970 * manual/platform.texi: Add missing @end deftypefun.
971
9722013-05-24 Joseph Myers <joseph@codesourcery.com>
973
974 [BZ #15529]
975 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
976 bit of mantissa of 2^16382.
977 * math/libm-test.inc (hypot_test_data): Add more tests.
978
979 * math/libm-test.inc: Add drem and pow10 to list of tested
980 functions.
981 (pow10_test): New function.
982 (drem_test): Likewise.
983 (drem_test_tonearest): Likewise.
984 (drem_test_towardzero): Likewise.
985 (drem_test_downward): Likewise.
986 (drem_test_upward): Likewise.
987 (main): Call the new functions.
988
989 * math/libm-test.inc (finite_test_data): Remove.
990 (finite_test): Run tests from isfinite_test_data.
991 (gamma_test_data): Remove.
992 (gamma_test): Run tests from lgamma_test_data.
993 * sysdeps/i386/fpu/libm-test-ulps: Update.
994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
995
9962013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
997
998 * manual/platform.texi: Add PowerPC PPR function set documentation.
999 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1000 implementation.
1001
10022013-05-24 Carlos O'Donell <carlos@redhat.com>
1003
1004 * math/libm-test.inc (MAX_EXP): Define.
1005 (ULPDIFF): Define.
1006 (ulp): New function.
1007 (check_float_internal): Use ULPDIFF.
1008 (cpow_test): Disable failing test.
1009 (check_ulp): Test ulp() implemetnation.
1010 (main): Call check_ulp before starting tests.
1011
10122013-05-24 Joseph Myers <joseph@codesourcery.com>
1013
1014 * math/gen-libm-test.pl (generate_testfile): Do not handle
1015 START_DATA and END_DATA.
1016 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1017 END_DATA.
1018 (acos_tonearest_test_data): Likewise.
1019 (acos_towardzero_test_data): Likewise.
1020 (acos_downward_test_data): Likewise.
1021 (acos_upward_test_data): Likewise.
1022 (acosh_test_data): Likewise.
1023 (asin_test_data): Likewise.
1024 (asin_tonearest_test_data): Likewise.
1025 (asin_towardzero_test_data): Likewise.
1026 (asin_downward_test_data): Likewise.
1027 (asin_upward_test_data): Likewise.
1028 (asinh_test_data): Likewise.
1029 (atan_test_data): Likewise.
1030 (atanh_test_data): Likewise.
1031 (atan2_test_data): Likewise.
1032 (cabs_test_data): Likewise.
1033 (cacos_test_data): Likewise.
1034 (cacosh_test_data): Likewise.
1035 (carg_test_data): Likewise.
1036 (casin_test_data): Likewise.
1037 (casinh_test_data): Likewise.
1038 (catan_test_data): Likewise.
1039 (catanh_test_data): Likewise.
1040 (cbrt_test_data): Likewise.
1041 (ccos_test_data): Likewise.
1042 (ccosh_test_data): Likewise.
1043 (ceil_test_data): Likewise.
1044 (cexp_test_data): Likewise.
1045 (cimag_test_data): Likewise.
1046 (clog_test_data): Likewise.
1047 (clog10_test_data): Likewise.
1048 (conj_test_data): Likewise.
1049 (copysign_test_data): Likewise.
1050 (cos_test_data): Likewise.
1051 (cos_tonearest_test_data): Likewise.
1052 (cos_towardzero_test_data): Likewise.
1053 (cos_downward_test_data): Likewise.
1054 (cos_upward_test_data): Likewise.
1055 (cosh_test_data): Likewise.
1056 (cosh_tonearest_test_data): Likewise.
1057 (cosh_towardzero_test_data): Likewise.
1058 (cosh_downward_test_data): Likewise.
1059 (cosh_upward_test_data): Likewise.
1060 (cpow_test_data): Likewise.
1061 (cproj_test_data): Likewise.
1062 (creal_test_data): Likewise.
1063 (csin_test_data): Likewise.
1064 (csinh_test_data): Likewise.
1065 (csqrt_test_data): Likewise.
1066 (ctan_test_data): Likewise.
1067 (ctan_tonearest_test_data): Likewise.
1068 (ctan_towardzero_test_data): Likewise.
1069 (ctan_downward_test_data): Likewise.
1070 (ctan_upward_test_data): Likewise.
1071 (ctanh_test_data): Likewise.
1072 (ctanh_tonearest_test_data): Likewise.
1073 (ctanh_towardzero_test_data): Likewise.
1074 (ctanh_downward_test_data): Likewise.
1075 (ctanh_upward_test_data): Likewise.
1076 (erf_test_data): Likewise.
1077 (erfc_test_data): Likewise.
1078 (exp_test_data): Likewise.
1079 (exp_tonearest_test_data): Likewise.
1080 (exp_towardzero_test_data): Likewise.
1081 (exp_downward_test_data): Likewise.
1082 (exp_upward_test_data): Likewise.
1083 (exp10_test_data): Likewise.
1084 (exp2_test_data): Likewise.
1085 (expm1_test_data): Likewise.
1086 (fabs_test_data): Likewise.
1087 (fdim_test_data): Likewise.
1088 (finite_test_data): Likewise.
1089 (floor_test_data): Likewise.
1090 (fma_test_data): Likewise.
1091 (fma_towardzero_test_data): Likewise.
1092 (fma_downward_test_data): Likewise.
1093 (fma_upward_test_data): Likewise.
1094 (fmax_test_data): Likewise.
1095 (fmin_test_data): Likewise.
1096 (fmod_test_data): Likewise.
1097 (fpclassify_test_data): Likewise.
1098 (frexp_test_data): Likewise.
1099 (gamma_test_data): Likewise.
1100 (hypot_test_data): Likewise.
1101 (ilogb_test_data): Likewise.
1102 (isfinite_test_data): Likewise.
1103 (isgreater_test_data): Likewise.
1104 (isgreaterequal_test_data): Likewise.
1105 (isinf_test_data): Likewise.
1106 (isless_test_data): Likewise.
1107 (islessequal_test_data): Likewise.
1108 (islessgreater_test_data): Likewise.
1109 (isnan_test_data): Likewise.
1110 (isnormal_test_data): Likewise.
1111 (issignaling_test_data): Likewise.
1112 (isunordered_test_data): Likewise.
1113 (j0_test_data): Likewise.
1114 (j1_test_data): Likewise.
1115 (jn_test_data): Likewise.
1116 (ldexp_test_data): Likewise.
1117 (lgamma_test_data): Likewise.
1118 (lrint_test_data): Likewise.
1119 (lrint_tonearest_test_data): Likewise.
1120 (lrint_towardzero_test_data): Likewise.
1121 (lrint_downward_test_data): Likewise.
1122 (lrint_upward_test_data): Likewise.
1123 (llrint_test_data): Likewise.
1124 (llrint_tonearest_test_data): Likewise.
1125 (llrint_towardzero_test_data): Likewise.
1126 (llrint_downward_test_data): Likewise.
1127 (llrint_upward_test_data): Likewise.
1128 (log_test_data): Likewise.
1129 (log10_test_data): Likewise.
1130 (log1p_test_data): Likewise.
1131 (log2_test_data): Likewise.
1132 (logb_test_data): Likewise.
1133 (logb_downward_test_data): Likewise.
1134 (lround_test_data): Likewise.
1135 (llround_test_data): Likewise.
1136 (modf_test_data): Likewise.
1137 (nearbyint_test_data): Likewise.
1138 (nextafter_test_data): Likewise.
1139 (nexttoward_test_data): Likewise.
1140 (pow_test_data): Likewise.
1141 (pow_tonearest_test_data): Likewise.
1142 (pow_towardzero_test_data): Likewise.
1143 (pow_downward_test_data): Likewise.
1144 (pow_upward_test_data): Likewise.
1145 (remainder_test_data): Likewise.
1146 (remainder_tonearest_test_data): Likewise.
1147 (remainder_towardzero_test_data): Likewise.
1148 (remainder_downward_test_data): Likewise.
1149 (remainder_upward_test_data): Likewise.
1150 (remquo_test_data): Likewise.
1151 (rint_test_data): Likewise.
1152 (rint_tonearest_test_data): Likewise.
1153 (rint_towardzero_test_data): Likewise.
1154 (rint_downward_test_data): Likewise.
1155 (rint_upward_test_data): Likewise.
1156 (round_test_data): Likewise.
1157 (scalb_test_data): Likewise.
1158 (scalbn_test_data): Likewise.
1159 (scalbln_test_data): Likewise.
1160 (signbit_test_data): Likewise.
1161 (sin_test_data): Likewise.
1162 (sin_tonearest_test_data): Likewise.
1163 (sin_towardzero_test_data): Likewise.
1164 (sin_downward_test_data): Likewise.
1165 (sin_upward_test_data): Likewise.
1166 (sincos_test_data): Likewise.
1167 (sinh_test_data): Likewise.
1168 (sinh_tonearest_test_data): Likewise.
1169 (sinh_towardzero_test_data): Likewise.
1170 (sinh_downward_test_data): Likewise.
1171 (sinh_upward_test_data): Likewise.
1172 (sqrt_test_data): Likewise.
1173 (tan_test_data): Likewise.
1174 (tan_tonearest_test_data): Likewise.
1175 (tan_towardzero_test_data): Likewise.
1176 (tan_downward_test_data): Likewise.
1177 (tan_upward_test_data): Likewise.
1178 (tanh_test_data): Likewise.
1179 (tgamma_test_data): Likewise.
1180 (trunc_test_data): Likewise.
1181 (y0_test_data): Likewise.
1182 (y1_test_data): Likewise.
1183 (yn_test_data): Likewise.
1184 (significand_test_data): Likewise.
1185
1186 * math/gen-libm-test.pl (@functions): Remove variable.
1187 (generate_testfile): Don't handle START and END lines.
1188 * math/libm-test.inc (START): New macro.
1189 (END): Likewise.
1190 (END_COMPLEX): Likewise.
1191 (acos_test): Use END macro without arguments.
1192 (acos_test_tonearest): Likewise.
1193 (acos_test_towardzero): Likewise.
1194 (acos_test_downward): Likewise.
1195 (acos_test_upward): Likewise.
1196 (acosh_test): Likewise.
1197 (asin_test): Likewise.
1198 (asin_test_tonearest): Likewise.
1199 (asin_test_towardzero): Likewise.
1200 (asin_test_downward): Likewise.
1201 (asin_test_upward): Likewise.
1202 (asinh_test): Likewise.
1203 (atan_test): Likewise.
1204 (atanh_test): Likewise.
1205 (atan2_test): Likewise.
1206 (cabs_test): Likewise.
1207 (cacos_test): Use END_COMPLEX macro without arguments.
1208 (cacosh_test): Likewise.
1209 (carg_test): Use END macro without arguments.
1210 (casin_test): Use END_COMPLEX macro without arguments.
1211 (casinh_test): Likewise.
1212 (catan_test): Likewise.
1213 (catanh_test): Likewise.
1214 (cbrt_test): Use END macro without arguments.
1215 (ccos_test): Use END_COMPLEX macro without arguments.
1216 (ccosh_test): Likewise.
1217 (ceil_test): Use END macro without arguments.
1218 (cexp_test): Use END_COMPLEX macro without arguments.
1219 (cimag_test): Use END macro without arguments.
1220 (clog_test): Use END_COMPLEX macro without arguments.
1221 (clog10_test): Likewise.
1222 (conj_test): Likewise.
1223 (copysign_test): Use END macro without arguments.
1224 (cos_test): Likewise.
1225 (cos_test_tonearest): Likewise.
1226 (cos_test_towardzero): Likewise.
1227 (cos_test_downward): Likewise.
1228 (cos_test_upward): Likewise.
1229 (cosh_test): Likewise.
1230 (cosh_test_tonearest): Likewise.
1231 (cosh_test_towardzero): Likewise.
1232 (cosh_test_downward): Likewise.
1233 (cosh_test_upward): Likewise.
1234 (cpow_test): Use END_COMPLEX macro without arguments.
1235 (cproj_test): Likewise.
1236 (creal_test): Use END macro without arguments.
1237 (csin_test): Use END_COMPLEX macro without arguments.
1238 (csinh_test): Likewise.
1239 (csqrt_test): Likewise.
1240 (ctan_test): Likewise.
1241 (ctan_test_tonearest): Likewise.
1242 (ctan_test_towardzero): Likewise.
1243 (ctan_test_downward): Likewise.
1244 (ctan_test_upward): Likewise.
1245 (ctanh_test): Likewise.
1246 (ctanh_test_tonearest): Likewise.
1247 (ctanh_test_towardzero): Likewise.
1248 (ctanh_test_downward): Likewise.
1249 (ctanh_test_upward): Likewise.
1250 (erf_test): Use END macro without arguments.
1251 (erfc_test): Likewise.
1252 (exp_test): Likewise.
1253 (exp_test_tonearest): Likewise.
1254 (exp_test_towardzero): Likewise.
1255 (exp_test_downward): Likewise.
1256 (exp_test_upward): Likewise.
1257 (exp10_test): Likewise.
1258 (exp2_test): Likewise.
1259 (expm1_test): Likewise.
1260 (fabs_test): Likewise.
1261 (fdim_test): Likewise.
1262 (finite_test): Likewise.
1263 (floor_test): Likewise.
1264 (fma_test): Likewise.
1265 (fma_test_towardzero): Likewise.
1266 (fma_test_downward): Likewise.
1267 (fma_test_upward): Likewise.
1268 (fmax_test): Likewise.
1269 (fmin_test): Likewise.
1270 (fmod_test): Likewise.
1271 (fpclassify_test): Likewise.
1272 (frexp_test): Likewise.
1273 (gamma_test): Likewise.
1274 (hypot_test): Likewise.
1275 (ilogb_test): Likewise.
1276 (isfinite_test): Likewise.
1277 (isgreater_test): Likewise.
1278 (isgreaterequal_test): Likewise.
1279 (isinf_test): Likewise.
1280 (isless_test): Likewise.
1281 (islessequal_test): Likewise.
1282 (islessgreater_test): Likewise.
1283 (isnan_test): Likewise.
1284 (isnormal_test): Likewise.
1285 (issignaling_test): Likewise.
1286 (isunordered_test): Likewise.
1287 (j0_test): Likewise.
1288 (j1_test): Likewise.
1289 (jn_test): Likewise.
1290 (ldexp_test): Likewise.
1291 (lgamma_test): Likewise.
1292 (lrint_test): Likewise.
1293 (lrint_test_tonearest): Likewise.
1294 (lrint_test_towardzero): Likewise.
1295 (lrint_test_downward): Likewise.
1296 (lrint_test_upward): Likewise.
1297 (llrint_test): Likewise.
1298 (llrint_test_tonearest): Likewise.
1299 (llrint_test_towardzero): Likewise.
1300 (llrint_test_downward): Likewise.
1301 (llrint_test_upward): Likewise.
1302 (log_test): Likewise.
1303 (log10_test): Likewise.
1304 (log1p_test): Likewise.
1305 (log2_test): Likewise.
1306 (logb_test): Likewise.
1307 (logb_test_downward): Likewise.
1308 (lround_test): Likewise.
1309 (llround_test): Likewise.
1310 (modf_test): Likewise.
1311 (nearbyint_test): Likewise.
1312 (nextafter_test): Likewise.
1313 (nexttoward_test): Likewise.
1314 (pow_test): Likewise.
1315 (pow_test_tonearest): Likewise.
1316 (pow_test_towardzero): Likewise.
1317 (pow_test_downward): Likewise.
1318 (pow_test_upward): Likewise.
1319 (remainder_test): Likewise.
1320 (remainder_test_tonearest): Likewise.
1321 (remainder_test_towardzero): Likewise.
1322 (remainder_test_downward): Likewise.
1323 (remainder_test_upward): Likewise.
1324 (remquo_test): Likewise.
1325 (rint_test): Likewise.
1326 (rint_test_tonearest): Likewise.
1327 (rint_test_towardzero): Likewise.
1328 (rint_test_downward): Likewise.
1329 (rint_test_upward): Likewise.
1330 (round_test): Likewise.
1331 (scalb_test): Likewise.
1332 (scalbn_test): Likewise.
1333 (scalbln_test): Likewise.
1334 (signbit_test): Likewise.
1335 (sin_test): Likewise.
1336 (sin_test_tonearest): Likewise.
1337 (sin_test_towardzero): Likewise.
1338 (sin_test_downward): Likewise.
1339 (sin_test_upward): Likewise.
1340 (sincos_test): Likewise.
1341 (sinh_test): Likewise.
1342 (sinh_test_tonearest): Likewise.
1343 (sinh_test_towardzero): Likewise.
1344 (sinh_test_downward): Likewise.
1345 (sinh_test_upward): Likewise.
1346 (sqrt_test): Likewise.
1347 (tan_test): Likewise.
1348 (tan_test_tonearest): Likewise.
1349 (tan_test_towardzero): Likewise.
1350 (tan_test_downward): Likewise.
1351 (tan_test_upward): Likewise.
1352 (tanh_test): Likewise.
1353 (tgamma_test): Likewise.
1354 (trunc_test): Likewise.
1355 (y0_test): Likewise.
1356 (y1_test): Likewise.
1357 (yn_test): Likewise.
1358 (significand_test): Likewise.
1359
13602013-05-24 Ondřej Bílka <neleai@seznam.cz>
1361
1362 [BZ #15381]
1363 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1364
13652013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1366
1367 [BZ #14894]
1368 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1369 __ppc_mdoio and __ppc_mdoom.
1370 * manual/platform.texi: Document new functions __ppc_yield,
1371 __ppc_mdoio and __ppc_mdoom.
1372
13732013-05-22 Carlos O'Donell <carlos@redhat.com>
1374
1375 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1376 (main): Mention "tls" pseudo-hwcap is legacy.
1377 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1378
13792013-05-22 Joseph Myers <joseph@codesourcery.com>
1380
1381 * math/gen-libm-test.pl (parse_args): Output only string of
1382 arguments as text for test name, not full call or descriptions of
1383 tests for extra outputs.
1384 (generate_testfile): Do not pass function name to parse_args.
1385 Generate this_func variable from START.
1386 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1387 field to arg_str.
1388 (struct test_ff_f_data): Likewise.
1389 (test_ff_f_data_nexttoward): Likewise.
1390 (struct test_fi_f_data): Likewise.
1391 (struct test_fl_f_data): Likewise.
1392 (struct test_if_f_data): Likewise.
1393 (struct test_fff_f_data): Likewise.
1394 (struct test_c_f_data): Likewise.
1395 (struct test_f_f1_data): Likewise. Remove field extra_name.
1396 (struct test_fF_f1_data): Likewise.
1397 (struct test_ffI_f1_data): Likewise.
1398 (struct test_c_c_data): Rename test_name field to arg_str.
1399 (struct test_cc_c_data): Likewise.
1400 (struct test_f_i_data): Likewise.
1401 (struct test_ff_i_data): Likewise.
1402 (struct test_f_l_data): Likewise.
1403 (struct test_f_L_data): Likewise.
1404 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1405 and extra2_name.
1406 (COMMON_TEST_SETUP): New macro.
1407 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1408 (COMMON_TEST_CLEANUP): Likewise.
1409 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1410 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1411 macros.
1412 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1413 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1414 macros.
1415 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1416 (RUN_TEST_fff_f): Take argument string. Call new setup and
1417 cleanup macros.
1418 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1419 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1420 macros.
1421 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1422 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1423 macros.
1424 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1425 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1426 cleanup macros.
1427 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1428 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1429 cleanup macros.
1430 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1431 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1432 cleanup macros.
1433 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1434 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1435 macros.
1436 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1437 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1438 macros.
1439 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1440 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1441 macros.
1442 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1443 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1444 cleanup macros.
1445 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1446 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1447 cleanup macros.
1448 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1449 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1450 macros.
1451 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1452 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1453 cleanup macros.
1454 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1455 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1456 macros.
1457 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1458 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1459 macros.
1460 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1461 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1462 cleanup macros.
1463 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1464
14652013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1466
1467 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1468 to _sifields.sigfault.
1469 (si_addr_lsb): Define new macro.
1470 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1471 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1472 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1473
14742013-05-03 Carlos O'Donell <carlos at redhat.com>
1475
1476 [BZ #15441]
1477 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1478 returns -1.
1479 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1480 null return -1.
1481 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1482 loading the domain.
1483
14842013-05-22 Joseph Myers <joseph@codesourcery.com>
1485
1486 * math/gen-libm-test.pl (parse_args): Do not include expected
1487 result in test name.
1488 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1489 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1490 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1491 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1492 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1494
14952013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1496
1497 * benchtests/Makefile: Sort function entries.
1498
1499 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1500 tanh, asinh, acosh, atanh.
1501 * benchtests/acos-inputs: New file.
1502 * benchtests/acosh-inputs: New file.
1503 * benchtests/asin-inputs: New file.
1504 * benchtests/asinh-inputs: New file.
1505 * benchtests/atanh-inputs: New file.
1506 * benchtests/cosh-inputs: New file.
1507 * benchtests/log-inputs: New file.
1508 * benchtests/sinh-inputs: New file.
1509 * benchtests/tanh-inputs: New file.
1510
15112013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1512
1513 [BZ #15339]
1514 * posix/tst-getaddrinfo4.c: New test.
1515 * posix/Makefile (tests): Add it.
1516
15172013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1518
1519 [BZ #15339]
1520 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1521 when no services were used.
1522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1523 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1524
15252013-05-21 Andreas Schwab <schwab@suse.de>
1526
1527 [BZ #15014]
1528 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1529 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1530 successful.
1531 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1532 redundant variable declarations and reallocation of buffer when
1533 parsing as IPv6 address. Always set NSS status when called from
1534 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1535 buffer too small. Correct computation of needed size.
1536 * nss/Makefile (tests): Add test-digits-dots.
1537 * nss/test-digits-dots.c: New test.
1538
15392013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1540
1541 * benchtests/Makefile: Remove instructions for adding
1542 benchmark tests.
1543 * benchtests/README: New file to explain how to execute and
1544 enhance the benchmark tests.
1545
15462013-05-21 Andreas Schwab <schwab@suse.de>
1547
1548 [BZ #15493]
1549 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1550 * setjmp/tst-sigsetjmp.c: New test.
1551
15522013-05-20 Ondřej Bílka <neleai@seznam.cz>
1553
1554 * sysdeps/x86_64/memset.S (memset): New implementation.
1555 (__bzero): Likewise.
1556 (__memset_tail): New function.
1557
15582013-05-20 Ondřej Bílka <neleai@seznam.cz>
1559
1560 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1561 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1562 __memcpy_sse2_unaligned ifunc selection.
1563 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1564 Add memcpy-sse2-unaligned.S.
1565 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1566 Add: __memcpy_sse2_unaligned.
1567
15682013-05-19 Joseph Myers <joseph@codesourcery.com>
1569
1570 [BZ #15490]
1571 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1572 math_force_eval before restoring floating-point envrionment.
1573 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1574 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1575 Likewise.
1576 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1577 <math_private.h>.
1578 (__nearbyintl): Use math_force_eval before restoring
1579 floating-point environment.
1580 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1581
1582 * math/gen-libm-test.pl (special_functions): Remove.
1583 (parse_args): Don't handle TEST_extra. Handle functions with no
1584 return value.
1585 * math/libm-test.inc (struct test_sincos_data): Replace with
1586 struct test_fFF_11_data.
1587 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1588 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1589 (sincos_test_data): Change element type to struct
1590 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1591 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1592 RUN_TEST_LOOP_sincos.
1593 * math/README.libm-test: Don't mention special handling of
1594 individual functions.
1595 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1596 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1597 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1598 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1599 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1601
1602 * math/gen-libm-test.pl (get_variable): Remove function.
1603 (parse_args): Don't show pointer parameters to call in test
1604 names. Use "extra output N" in test names for extra outputs
1605 rather than naming variables.
1606
16072013-05-18 Joseph Myers <joseph@codesourcery.com>
1608
1609 [BZ #15488]
1610 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1611 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1612 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1613 double tests.
1614 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1615 disable.
1616 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1617 check_long_double.
1618
1619 * math/gen-libm-test.pl (@tests): Remove variable.
1620 ($count): Likewise.
1621 (new_test): Remove function.
1622 (show_exceptions): New function.
1623 (special_functions): Use show_exceptions instead of new_test.
1624 (parse_args): Likewise.
1625 (generate_testfile): Pass only function name in generated call to
1626 print_max_error or print_complex_max_error.
1627 (get_ulps): Do not handle complex tests specially.
1628 (output_test): Rename to ...
1629 (get_all_ulps_for_test): ... this. Return a string rather than
1630 printing to a file. Require ulps to be present.
1631 (output_ulps): Generate arrays rather than #defines.
1632 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1633 (struct ulp_data): New type.
1634 (BUILD_COMPLEX_ULP): Remove macro.
1635 (compare_ulp_data): New function.
1636 (find_ulps): Likewise.
1637 (find_test_ulps): Likewise.
1638 (find_function_ulps): Likewise.
1639 (find_complex_function_ulps): Likewise.
1640 (print_max_error): Determine allowed ulps using
1641 find_function_ulps.
1642 (print_complex_max_error): Determine allowed ulps using
1643 find_complex_function_ulps.
1644 (check_float_internal): Determine max ulps using find_test_ulps.
1645 (check_float): Do not take max_ulp parameter. Update call to
1646 check_float_internal.
1647 (check_complex): Likewise.
1648 (check_int): Do not take max_ulp parameter.
1649 (check_long): Likewise.
1650 (check_bool): Likewise.
1651 (check_longlong): Likewise.
1652 (struct test_f_f_data): Remove max_ulp field.
1653 (struct test_ff_f_data): Likewise.
1654 (struct test_ff_f_data_nexttoward): Likewise.
1655 (struct test_fi_f_data): Likewise.
1656 (struct test_fl_f_data): Likewise.
1657 (struct test_if_f_data): Likewise.
1658 (struct test_fff_f_data): Likewise.
1659 (struct test_c_f_data): Likewise.
1660 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1661 (struct test_fF_f1_data): Likewise.
1662 (struct test_ffI_f1_data): Likewise.
1663 (struct test_c_c_data): Remove max_ulp field.
1664 (struct test_cc_c_data): Likewise.
1665 (struct test_f_i_data): Likewise.
1666 (struct test_ff_i_data): Likewise.
1667 (struct test_f_l_data): Likewise.
1668 (struct test_f_L_data): Likewise.
1669 (struct test_sincos_data): Likewise.
1670 (RUN_TEST_f_f): Do not handle ulps.
1671 (RUN_TEST_LOOP_f_f): Likewise.
1672 (RUN_TEST_2_f): Likewise.
1673 (RUN_TEST_LOOP_2_f): Likewise.
1674 (RUN_TEST_fff_f): Likewise.
1675 (RUN_TEST_LOOP_fff_f): Likewise.
1676 (RUN_TEST_c_f): Likewise.
1677 (RUN_TEST_LOOP_c_f): Likewise.
1678 (RUN_TEST_f_f1): Likewise.
1679 (RUN_TEST_LOOP_f_f1): Likewise.
1680 (RUN_TEST_fF_f1): Likewise.
1681 (RUN_TEST_LOOP_fF_f1): Likewise.
1682 (RUN_TEST_fI_f1): Likewise.
1683 (RUN_TEST_LOOP_fI_f1): Likewise.
1684 (RUN_TEST_ffI_f1): Likewise.
1685 (RUN_TEST_LOOP_ffI_f1): Likewise.
1686 (RUN_TEST_c_c): Likewise.
1687 (RUN_TEST_LOOP_c_c): Likewise.
1688 (RUN_TEST_cc_c): Likewise.
1689 (RUN_TEST_LOOP_cc_c): Likewise.
1690 (RUN_TEST_f_i): Likewise.
1691 (RUN_TEST_LOOP_f_i): Likewise.
1692 (RUN_TEST_f_i_tg): Likewise.
1693 (RUN_TEST_LOOP_f_i_tg): Likewise.
1694 (RUN_TEST_ff_i_tg): Likewise.
1695 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1696 (RUN_TEST_f_b): Likewise.
1697 (RUN_TEST_LOOP_f_b): Likewise.
1698 (RUN_TEST_f_b_tg): Likewise.
1699 (RUN_TEST_LOOP_f_b_tg): Likewise.
1700 (RUN_TEST_f_l): Likewise.
1701 (RUN_TEST_LOOP_f_l): Likewise.
1702 (RUN_TEST_f_L): Likewise.
1703 (RUN_TEST_LOOP_f_L): Likewise.
1704 (RUN_TEST_sincos): Likewise.
1705 (RUN_TEST_LOOP_sincos): Likewise.
1706
17072013-05-17 Joseph Myers <joseph@codesourcery.com>
1708
1709 [BZ #15480]
1710 [BZ #15485]
1711 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1712 main case of finite arguments, set rounding mode to FE_TONEAREST
1713 and discard exceptions.
1714 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1715 exceptions.
1716 (remainder_tonearest_test_data): New variable.
1717 (remainder_test_tonearest): New function.
1718 (remainder_towardzero_test_data): New variable.
1719 (remainder_test_towardzero): New function.
1720 (remainder_downward_test_data): New variable.
1721 (remainder_test_downward): New function.
1722 (remainder_upward_test_data): New variable.
1723 (remainder_test_upward): New function.
1724 (main): Call the new test functions.
1725
1726 * math/libm-test.inc (struct test_f_f1_data): Remove field
1727 extra_init.
1728 (struct test_fF_f1_data): Likewise.
1729 (struct test_ffI_f1_data): Likewise.
1730 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1731 based on value of EXTRA_EXPECTED.
1732 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1733 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1734 EXTRA_VAR based on value of EXTRA_EXPECTED.
1735 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1736 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1737 EXTRA_VAR based on value of EXTRA_EXPECTED.
1738 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1739 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1740 EXTRA_VAR based on value of EXTRA_EXPECTED.
1741 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1742 * math/gen-libm-test.pl (parse_args): Don't output initializers
1743 for extra output values.
1744
1745 * math/libm-test.inc (check_int): Expect result to be exactly
1746 equal to expected value and do not handle ulps.
1747 (check_long): Likewise.
1748 (check_longlong): Likewise.
1749
1750 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1751 exceptions.
1752 (cimag_test_data): Likewise.
1753 (conj_test_data): Likewise.
1754 (copysign_test_data): Likewise.
1755 (cproj_test_data): Likewise.
1756 (creal_test_data): Likewise.
1757 (fabs_test_data): Likewise.
1758 (fdim_test_data): Likewise.
1759 (finite_test_data): Likewise.
1760 (floor_test_data): Likewise.
1761 (fmax_test_data): Likewise.
1762 (fmin_test_data): Likewise.
1763 (fmod_test_data): Likewise.
1764 (fpclassify_test_data): Likewise.
1765 (frexp_test_data): Likewise.
1766 (ilogb_test_data): Likewise.
1767 (isfinite_test_data): Likewise.
1768 (isgreater_test_data): Likewise.
1769 (isgreaterequal_test_data): Likewise.
1770 (isinf_test_data): Likewise.
1771 (isless_test_data): Likewise.
1772 (islessequal_test_data): Likewise.
1773 (islessgreater_test_data): Likewise.
1774 (isnan_test_data): Likewise.
1775 (isnormal_test_data): Likewise.
1776 (issignaling_test_data): Likewise.
1777 (isunordered_test_data): Likewise.
1778 (ldexp_test_data): Likewise.
1779 (lrint_test_data): Likewise.
1780 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1781 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1782 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1783 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1784 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1785 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1786 test input.
1787 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1788 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1789 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1790 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1791 that test input.
1792 (lrint_downward_test_data): Test for "inexact" exceptions.
1793 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1794 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1795 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1796 test input.
1797 (lrint_upward_test_data): Test for "inexact" exceptions.
1798 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1799 test input.
1800 (llrint_test_data): Test for "inexact" exceptions.
1801 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1802 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1803 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1804 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1805 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1806 (llrint_downward_test_data): Test for "inexact" exceptions.
1807 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1808 (llrint_upward_test_data): Test for "inexact" exceptions.
1809 (logb_test_data): Likewise.
1810 (logb_downward_test_data): Likewise.
1811 (nextafter_test_data): Likewise.
1812 (nexttoward_test_data): Likewise.
1813 (remainder_test_data): Likewise.
1814 (remquo_test_data): Likewise.
1815 (scalbn_test_data): Likewise.
1816 (scalbln_test_data): Likewise.
1817 (signbit_test_data): Likewise.
1818 (sqrt_test_data): Likewise.
1819 (significand_test_data): Likewise.
1820
18212013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1822
1823 [BZ #15424]
1824 * benchtests/bench-modf.c (struct args): Mark arg0 as
1825 volatile.
1826 * scripts/bench.pl: Mark members of struct args as volatile.
1827
18282013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1829
1830 [BZ # 15497]
1831 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1832 negative infinity on POWER6 or lower.
1833 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1834
18352013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1836
1837 [BZ #15442]
1838 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1839 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1840 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1841 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1842 (_FP_SETQNAN): New macro.
1843 (_FP_SETQNAN_SEMIRAW): Likewise.
1844 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1845 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1846 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1847 (FP_EXTEND): Use _FP_FRAC_SNANP.
1848 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1849 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1850 into account.
1851 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1852 New macro.
1853 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1854 Likewise.
1855
18562013-05-16 Joseph Myers <joseph@codesourcery.com>
1857
1858 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1859 with DIVIDE_BY_ZERO_EXCEPTION.
1860 (gamma_test_data): Likewise.
1861 (lgamma_test_data): Likewise.
1862 (log_test_data): Likewise.
1863 (log10_test_data): Likewise.
1864 (log2_test_data): Likewise.
1865 (tgamma_test_data): Likewise.
1866
1867 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1868 (acos_test_tonearest): Likewise.
1869 (acos_test_towardzero): Likewise.
1870 (acos_test_downward): Likewise.
1871 (acos_test_upward): Likewise.
1872 (acosh_test): Likewise.
1873 (asin_test): Likewise.
1874 (asin_test_tonearest): Likewise.
1875 (asin_test_towardzero): Likewise.
1876 (asin_test_downward): Likewise.
1877 (asin_test_upward): Likewise.
1878 (asinh_test): Likewise.
1879 (atan_test): Likewise.
1880 (atanh_test): Likewise.
1881 (atan2_test): Likewise.
1882 (cabs_test): Likewise.
1883 (cacos_test): Likewise.
1884 (cacosh_test): Likewise.
1885 (casin_test): Likewise.
1886 (casinh_test): Likewise.
1887 (catan_test): Likewise.
1888 (catanh_test): Likewise.
1889 (cbrt_test): Likewise.
1890 (ccos_test): Likewise.
1891 (ccosh_test): Likewise.
1892 (cexp_test): Likewise.
1893 (clog_test): Likewise.
1894 (clog10_test): Likewise.
1895 (cos_test): Likewise.
1896 (cos_test_tonearest): Likewise.
1897 (cos_test_towardzero): Likewise.
1898 (cos_test_downward): Likewise.
1899 (cos_test_upward): Likewise.
1900 (cosh_test): Likewise.
1901 (cosh_test_tonearest): Likewise.
1902 (cosh_test_towardzero): Likewise.
1903 (cosh_test_downward): Likewise.
1904 (cosh_test_upward): Likewise.
1905 (cpow_test): Likewise.
1906 (csin_test): Likewise.
1907 (csinh_test): Likewise.
1908 (csqrt_test): Likewise.
1909 (ctan_test): Likewise.
1910 (ctan_test_tonearest): Likewise.
1911 (ctan_test_towardzero): Likewise.
1912 (ctan_test_downward): Likewise.
1913 (ctan_test_upward): Likewise.
1914 (ctanh_test): Likewise.
1915 (ctanh_test_tonearest): Likewise.
1916 (ctanh_test_towardzero): Likewise.
1917 (ctanh_test_downward): Likewise.
1918 (ctanh_test_upward): Likewise.
1919 (erf_test): Likewise.
1920 (erfc_test): Likewise.
1921 (exp_test): Likewise.
1922 (exp_test_tonearest): Likewise.
1923 (exp_test_towardzero): Likewise.
1924 (exp_test_downward): Likewise.
1925 (exp_test_upward): Likewise.
1926 (exp10_test): Likewise.
1927 (exp2_test): Likewise.
1928 (expm1_test): Likewise.
1929 (fmod_test): Likewise.
1930 (gamma_test): Likewise.
1931 (hypot_test): Likewise.
1932 (j0_test): Likewise.
1933 (j1_test): Likewise.
1934 (jn_test): Likewise.
1935 (lgamma_test): Likewise.
1936 (log_test): Likewise.
1937 (log10_test): Likewise.
1938 (log1p_test): Likewise.
1939 (log2_test): Likewise.
1940 (logb_test_downward): Likewise.
1941 (pow_test): Likewise.
1942 (pow_test_tonearest): Likewise.
1943 (pow_test_towardzero): Likewise.
1944 (pow_test_downward): Likewise.
1945 (pow_test_upward): Likewise.
1946 (remainder_test): Likewise.
1947 (remquo_test): Likewise.
1948 (sin_test): Likewise.
1949 (sin_test_tonearest): Likewise.
1950 (sin_test_towardzero): Likewise.
1951 (sin_test_downward): Likewise.
1952 (sin_test_upward): Likewise.
1953 (sincos_test): Likewise.
1954 (sinh_test): Likewise.
1955 (sinh_test_tonearest): Likewise.
1956 (sinh_test_towardzero): Likewise.
1957 (sinh_test_downward): Likewise.
1958 (sinh_test_upward): Likewise.
1959 (sqrt_test): Likewise.
1960 (tan_test): Likewise.
1961 (tan_test_tonearest): Likewise.
1962 (tan_test_towardzero): Likewise.
1963 (tan_test_downward): Likewise.
1964 (tan_test_upward): Likewise.
1965 (tanh_test): Likewise.
1966 (tgamma_test): Likewise.
1967 (y0_test): Likewise.
1968 (y1_test): Likewise.
1969 (yn_test): Likewise.
1970
1971 * math/gen-libm-test.pl (adjust_arg): Remove function.
1972 (special_function): Remove argument $in_func. Only handle
1973 generating output for tables of tests, not inside functions.
1974 (parse_args): Likewise.
1975 (generate_testfile): Remove variable $in_func. Update call to
1976 parse_args.
1977 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1978 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1979 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1980 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1981 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1982 (MAX_VALUE_INIT): Rename macro to max_value.
1983 (MIN_VALUE_INIT): Rename macro to min_value.
1984 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1985 (plus_zero): Remove variable.
1986 (minus_zero): Likewise.
1987 (plus_infty): Likewise.
1988 (minus_infty): Likewise.
1989 (qnan_value): Likewise.
1990 (max_value): Likewise.
1991 (min_value): Likewise.
1992 (min_subnorm_value): Likewise.
1993
19942013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1995
1996 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1997 uint64_t or uint32_t usage.
1998 * crypt/sha256-block.c: Likewise.
1999 * crypt/sha256-crypt.c: Likewise.
2000 * crypt/sha256.c: Likewise.
2001 * crypt/sha512-block.c: Likewise.
2002 * crypt/sha512-crypt.c: Likewise.
2003 * crypt/sha512.c: Likewise.
2004 * debug/backtrace-tst.c: Likewise.
2005 * debug/pcprofiledump.c: Likewise.
2006 * elf/cache.c: Likewise.
2007 * elf/dl-cache.c: Likewise.
2008 * elf/dl-misc.c: Likewise.
2009 * elf/dl-profile.c: Likewise.
2010 * elf/dl-support.c: Likewise.
2011 * elf/ldconfig.c: Likewise.
2012 * elf/sprof.c: Likewise.
2013 * iconv/dummy-repertoire.c: Likewise.
2014 * iconv/iconv_charmap.c: Likewise.
2015 * iconv/skeleton.c: Likewise.
2016 * iconvdata/8bit-generic.c: Likewise.
2017 * iconvdata/cp737.h: Likewise.
2018 * iconvdata/cp775.h: Likewise.
2019 * iconvdata/ibm1008.h: Likewise.
2020 * iconvdata/ibm1025.h: Likewise.
2021 * iconvdata/ibm1046.h: Likewise.
2022 * iconvdata/ibm1097.h: Likewise.
2023 * iconvdata/ibm1112.h: Likewise.
2024 * iconvdata/ibm1122.h: Likewise.
2025 * iconvdata/ibm1123.h: Likewise.
2026 * iconvdata/ibm1124.h: Likewise.
2027 * iconvdata/ibm1129.h: Likewise.
2028 * iconvdata/ibm1130.h: Likewise.
2029 * iconvdata/ibm1132.h: Likewise.
2030 * iconvdata/ibm1133.h: Likewise.
2031 * iconvdata/ibm1137.h: Likewise.
2032 * iconvdata/ibm1140.h: Likewise.
2033 * iconvdata/ibm1141.h: Likewise.
2034 * iconvdata/ibm1142.h: Likewise.
2035 * iconvdata/ibm1143.h: Likewise.
2036 * iconvdata/ibm1144.h: Likewise.
2037 * iconvdata/ibm1145.h: Likewise.
2038 * iconvdata/ibm1146.h: Likewise.
2039 * iconvdata/ibm1147.h: Likewise.
2040 * iconvdata/ibm1148.h: Likewise.
2041 * iconvdata/ibm1149.h: Likewise.
2042 * iconvdata/ibm1153.h: Likewise.
2043 * iconvdata/ibm1154.h: Likewise.
2044 * iconvdata/ibm1155.h: Likewise.
2045 * iconvdata/ibm1156.h: Likewise.
2046 * iconvdata/ibm1157.h: Likewise.
2047 * iconvdata/ibm1158.h: Likewise.
2048 * iconvdata/ibm1160.h: Likewise.
2049 * iconvdata/ibm1161.h: Likewise.
2050 * iconvdata/ibm1162.h: Likewise.
2051 * iconvdata/ibm1163.h: Likewise.
2052 * iconvdata/ibm1164.h: Likewise.
2053 * iconvdata/ibm1166.h: Likewise.
2054 * iconvdata/ibm1167.h: Likewise.
2055 * iconvdata/ibm12712.h: Likewise.
2056 * iconvdata/ibm1390.h: Likewise.
2057 * iconvdata/ibm1399.h: Likewise.
2058 * iconvdata/ibm16804.h: Likewise.
2059 * iconvdata/ibm4517.h: Likewise.
2060 * iconvdata/ibm4899.h: Likewise.
2061 * iconvdata/ibm4909.h: Likewise.
2062 * iconvdata/ibm4971.h: Likewise.
2063 * iconvdata/ibm5347.h: Likewise.
2064 * iconvdata/ibm803.h: Likewise.
2065 * iconvdata/ibm856.h: Likewise.
2066 * iconvdata/ibm901.h: Likewise.
2067 * iconvdata/ibm902.h: Likewise.
2068 * iconvdata/ibm9030.h: Likewise.
2069 * iconvdata/ibm9066.h: Likewise.
2070 * iconvdata/ibm921.h: Likewise.
2071 * iconvdata/ibm922.h: Likewise.
2072 * iconvdata/ibm9448.h: Likewise.
2073 * iconvdata/isiri-3342.h: Likewise.
2074 * iconvdata/jis0201.h: Likewise.
2075 * include/link.h: Likewise.
2076 * include/netdb.h: Likewise.
2077 * inet/check_native.c: Likewise.
2078 * inet/check_pf.c: Likewise.
2079 * inet/getipv4sourcefilter.c: Likewise.
2080 * inet/getnameinfo.c: Likewise.
2081 * inet/getsourcefilter.c: Likewise.
2082 * inet/htonl.c: Likewise.
2083 * inet/setipv4sourcefilter.c: Likewise.
2084 * inet/setsourcefilter.c: Likewise.
2085 * inet/test-inet6_opt.c: Likewise.
2086 * inet/tst-network.c: Likewise.
2087 * locale/C-collate.c: Likewise.
2088 * locale/C-ctype.c: Likewise.
2089 * locale/C-time.c: Likewise.
2090 * locale/C-translit.h: Likewise.
2091 * locale/loadarchive.c: Likewise.
2092 * locale/programs/3level.h: Likewise.
2093 * locale/programs/charmap.c: Likewise.
2094 * locale/programs/charmap.h: Likewise.
2095 * locale/programs/ld-address.c: Likewise.
2096 * locale/programs/ld-collate.c: Likewise.
2097 * locale/programs/ld-ctype.c: Likewise.
2098 * locale/programs/ld-identification.c: Likewise.
2099 * locale/programs/ld-measurement.c: Likewise.
2100 * locale/programs/ld-messages.c: Likewise.
2101 * locale/programs/ld-monetary.c: Likewise.
2102 * locale/programs/ld-name.c: Likewise.
2103 * locale/programs/ld-numeric.c: Likewise.
2104 * locale/programs/ld-paper.c: Likewise.
2105 * locale/programs/ld-telephone.c: Likewise.
2106 * locale/programs/ld-time.c: Likewise.
2107 * locale/programs/linereader.c: Likewise.
2108 * locale/programs/locale.c: Likewise.
2109 * locale/programs/locarchive.c: Likewise.
2110 * locale/programs/locfile.h: Likewise.
2111 * locale/programs/repertoire.c: Likewise.
2112 * locale/programs/simple-hash.c: Likewise.
2113 * locale/programs/simple-hash.h: Likewise.
2114 * malloc/memusage.c: Likewise.
2115 * malloc/memusagestat.c: Likewise.
2116 * nis/nis_defaults.c: Likewise.
2117 * nis/nis_hash.c: Likewise.
2118 * nis/nis_print.c: Likewise.
2119 * nis/nis_xdr.c: Likewise.
2120 * nscd/connections.c: Likewise.
2121 * nscd/hstcache.c: Likewise.
2122 * nscd/nscd_gethst_r.c: Likewise.
2123 * nscd/nscd_getserv_r.c: Likewise.
2124 * nscd/nscd_helper.c: Likewise.
2125 * nscd/servicescache.c: Likewise.
2126 * nss/makedb.c: Likewise.
2127 * nss/nss_db/db-XXX.c: Likewise.
2128 * nss/nss_db/db-initgroups.c: Likewise.
2129 * nss/nss_db/db-netgrp.c: Likewise.
2130 * nss/nss_files/files-network.c: Likewise.
2131 * nss/nss_files/files-parse.c: Likewise.
2132 * posix/bug-regex5.c: Likewise.
2133 * posix/fnmatch_loop.c: Likewise.
2134 * posix/regcomp.c: Likewise.
2135 * posix/regexec.c: Likewise.
2136 * posix/tst-rfc3484-2.c: Likewise.
2137 * posix/tst-rfc3484-3.c: Likewise.
2138 * posix/tst-rfc3484.c: Likewise.
2139 * resolv/nss_dns/dns-canon.c: Likewise.
2140 * resolv/nss_dns/dns-network.c: Likewise.
2141 * resolv/res_init.c: Likewise.
2142 * resolv/res_mkquery.c: Likewise.
2143 * resolv/tst-aton.c: Likewise.
2144 * stdlib/cxa_atexit.c: Likewise.
2145 * stdlib/cxa_finalize.c: Likewise.
2146 * stdlib/gen-fpioconst.c: Likewise.
2147 * stdlib/strtol_l.c: Likewise.
2148 * string/tst-endian.c: Likewise.
2149 * sunrpc/auth_des.c: Likewise.
2150 * sunrpc/clnt_udp.c: Likewise.
2151 * sunrpc/rtime.c: Likewise.
2152 * sunrpc/svcauth_des.c: Likewise.
2153 * sunrpc/xdr.c: Likewise.
2154 * sunrpc/xdr_intXX_t.c: Likewise.
2155 * sunrpc/xdr_rec.c: Likewise.
2156 * sysdeps/generic/ldconfig.h: Likewise.
2157 * sysdeps/generic/ldsodefs.h: Likewise.
2158 * sysdeps/generic/memusage.h: Likewise.
2159 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2160 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2161 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2162 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2163 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2164 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2165 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2166 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2167 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2168 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2169 * sysdeps/posix/getaddrinfo.c: Likewise.
2170 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2171 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2172 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2173 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2174 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2175 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2176 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2177 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2178 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2179 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2180 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2181 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2182 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2183 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2184 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2185 * sysdeps/x86_64/dl-tls.h: Likewise.
2186 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2187 * time/alt_digit.c: Likewise.
2188 * time/era.c: Likewise.
2189 * wcsmbs/tst-c16c32-1.c: Likewise.
2190
21912013-05-16 Joseph Myers <joseph@codesourcery.com>
2192
2193 * math/libm-test.inc (struct test_sincos_data): New type.
2194 (RUN_TEST_LOOP_sincos): New macro.
2195 (sincos_test_data): New variable.
2196 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2197
21982013-05-16 Richard Henderson <rth@redhat.com>
2199
2200 * math/atest-exp2.c (LIMB64): New macro.
2201 (CONSTSZ): New macro.
2202 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2203 (hexdig): Move ...
2204 (print_mpn_fp): ... to function scope.
2205 (read_mpn_hex): Remove.
2206 (get_log2): Remove.
2207 (exp2_mpn): Use mp_log2.
2208 (main): Use mp_exp1.
2209
22102013-05-16 Joseph Myers <joseph@codesourcery.com>
2211
2212 * math/libm-test.inc: Remove comment about not testing "inexact"
2213 exceptions.
2214 (INEXACT_EXCEPTION): New macro.
2215 (NO_INEXACT_EXCEPTION): Likewise.
2216 (INVALID_EXCEPTION_OK): Update value.
2217 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2218 (OVERFLOW_EXCEPTION_OK): Likewise.
2219 (UNDERFLOW_EXCEPTION_OK): Likewise.
2220 (IGNORE_ZERO_INF_SIGN): Likewise.
2221 (ERRNO_UNCHANGED): Likewise.
2222 (ERRNO_EDOM): Likewise.
2223 (ERRNO_ERANGE): Likewise.
2224 (test_exceptions): Handle testing "inexact" exceptions.
2225 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2226 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2227 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2228 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2229 INEXACT_EXCEPTION.
2230 (rint_towardzero_test_data): Likewise.
2231 (rint_downward_test_data): Likewise.
2232 (rint_upward_test_data): Likewise.
2233
2234 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2235 with OVERFLOW_EXCEPTION.
2236 (exp10_test_data): Likewise.
2237 (exp2_test_data): Likewise.
2238 (expm1_test_data): Likewise.
2239 (lgamma_test_data): Likewise.
2240 (pow_test_data): Likewise.
2241 (tgamma_test_data): Likewise.
2242 (yn_test_data): Remove duplicate test of overflow.
2243
2244 * math/libm-test.inc (struct test_cc_c_data): New type.
2245 (RUN_TEST_LOOP_cc_c): New macro.
2246 (cpow_test_data): New variable.
2247 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2248
2249 * math/libm-test.inc (struct test_f_L_data): New type.
2250 (RUN_TEST_LOOP_f_L): New macro.
2251 (llrint_test_data): New variable.
2252 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2253 (llrint_tonearest_test_data): New variable.
2254 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2255 (llrint_towardzero_test_data): New variable.
2256 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2257 (llrint_downward_test_data): New variable.
2258 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2259 (llrint_upward_test_data): New variable.
2260 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2261 (llround_test_data): New variable.
2262 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2263
22642013-05-13 Peter Collingbourne <pcc@google.com>
2265
2266 * math/atest-exp2.c (get_log2): Remove const attribute.
2267
22682013-05-15 Joseph Myers <joseph@codesourcery.com>
2269
2270 * math/libm-test.inc (struct test_f_l_data): New type.
2271 (RUN_TEST_LOOP_f_l): New macro.
2272 (lrint_test_data): New variable.
2273 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2274 (lrint_tonearest_test_data): New variable.
2275 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2276 (lrint_towardzero_test_data): New variable.
2277 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2278 (lrint_downward_test_data): New variable.
2279 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2280 (lrint_upward_test_data): New variable.
2281 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2282 (lround_test_data): New variable.
2283 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2284
22852013-05-15 Peter Collingbourne <pcc@google.com>
2286
2287 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2288 (EXTRACT_WORDS64) Use where appropriate.
2289 (INSERT_WORDS64) Likewise.
2290
2291 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2292 constraints with x constraints.
2293 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2294
2295 * malloc/obstack.c (_obstack_compat): Add initializer.
2296
22972013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2298
2299 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2300 si_trapno and add si_addr_lsb to _sifields.sigfault.
2301 (si_trapno): Remove macro.
2302 (si_addr_lsb): Define new macro.
2303 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2304
23052013-05-15 Joseph Myers <joseph@codesourcery.com>
2306
2307 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2308 instead of TEST_f_l.
2309 (llrint_test_tonearest): Likewise.
2310 (llrint_test_towardzero): Likewise.
2311 (llrint_test_downward): Likewise.
2312 (llrint_test_upward): Likewise.
2313 (llround_test): Likewise.
2314
2315 * math/libm-test.inc (struct test_f_i_data): Add comment.
2316 (RUN_TEST_LOOP_f_b): New macro.
2317 (RUN_TEST_LOOP_f_b_tg): Likewise.
2318 (finite_test_data): New variable.
2319 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2320 (isfinite_test_data): New variable.
2321 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2322 (isinf_test_data): New variable.
2323 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2324 (isnan_test_data): New variable.
2325 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2326 (isnormal_test_data): New variable.
2327 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2328 (issignaling_test_data): New variable.
2329 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2330 (signbit_test_data): New variable.
2331 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2332
2333 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2334 with INVALID_EXCEPTION.
2335 (acosh_test_data): Likewise.
2336 (asin_test_data): Likewise.
2337 (atanh_test_data): Likewise.
2338 (fmod_test_data): Likewise.
2339 (log_test_data): Likewise.
2340 (log10_test_data): Likewise.
2341 (log2_test_data): Likewise.
2342 (pow_test_data): Likewise.
2343 (sqrt_test_data): Likewise.
2344 (y0_test_data): Likewise.
2345 (y1_test_data): Likewise.
2346 (yn_test_data): Likewise.
2347
2348 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2349 function contents.
2350
2351 * math/libm-test.inc (struct test_ff_i_data): New type.
2352 (RUN_TEST_LOOP_ff_i_tg): New macro.
2353 (isgreater_test_data): New variable.
2354 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2355 (isgreaterequal_test_data): New variable.
2356 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2357 (isless_test_data): New variable.
2358 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2359 (islessequal_test_data): New variable.
2360 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2361 (islessgreater_test_data): New variable.
2362 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2363 (isunordered_test_data): New variable.
2364 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2365
23662013-05-14 David S. Miller <davem@davemloft.net>
2367
2368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2369
23702013-05-14 Joseph Myers <joseph@codesourcery.com>
2371
2372 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2373
2374 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2375 extra_test to int.
2376 (struct test_f_i_data): Change type of max_ulp to int.
2377
2378 * math/libm-test.inc (test_ffI_f1_data): New type.
2379 (RUN_TEST_LOOP_ffI_f1): New macro.
2380 (remquo_test_data): New variable.
2381 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2382
2383 * setjmp/tst-setjmp-fp.c: New file.
2384 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2385 (link-libm): New variable.
2386 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2387
2388 * math/libm-test.inc (struct test_f_i_data): New type.
2389 (RUN_TEST_LOOP_f_i): New macro.
2390 (RUN_TEST_LOOP_f_i_tg): Likewise.
2391 (fpclassify_test_data): New variable.
2392 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2393 (ilogb_test_data): New variable.
2394 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2395
2396 * math/libm-test.inc (scalbln_test): Correct function name in END
2397 call.
2398
2399 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2400 (RUN_TEST_LOOP_fI_f1): New macro.
2401 (frexp_test_data): New variable.
2402 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2403
2404 * math/libm-test.inc (struct test_fF_f1_data): New type.
2405 (RUN_TEST_LOOP_fF_f1): New macro.
2406 (modf_test_data): New variable.
2407 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2408
2409 * math/libm-test.inc (struct test_f_f1_data): New type.
2410 (RUN_TEST_LOOP_f_f1): New macro.
2411 (gamma_test_data): New variable.
2412 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2413 (lgamma_test_data): New variable.
2414 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2415
24162013-05-13 Carlos O'Donell <carlos@redhat.com>
2417
2418 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2419 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2420 (main): Comment "tls" pseudo-hwcap.
2421
24222013-05-13 Joseph Myers <joseph@codesourcery.com>
2423
2424 * math/libm-test.inc (struct test_fl_f_data): New type.
2425 (RUN_TEST_LOOP_fl_f): New variable.
2426 (scalbln_test_data): New variable.
2427 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2428
2429 * math/libm-test.inc (struct test_fi_f_data): New type.
2430 (RUN_TEST_LOOP_fi_f): New macro.
2431 (ldexp_test_data): New variable.
2432 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2433 (scalbn_test_data): New variable.
2434 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2435
2436 * math/libm-test.inc (struct test_c_f_data): New type.
2437 (RUN_TEST_LOOP_c_f): New macro.
2438 (cabs_test_data): New variable.
2439 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2440 (carg_test_data): New variable.
2441 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2442 (cimag_test_data): New variable.
2443 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2444 (creal_test_data): New variable.
2445 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2446
2447 * math/libm-test.inc (struct test_if_f_data): New type.
2448 (RUN_TEST_LOOP_if_f): New macro.
2449 (jn_test_data): New variable.
2450 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2451 (yn_test_data): New variable.
2452 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2453
2454 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2455
24562013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2457
2458 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2459 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2460
24612013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2462
2463 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2464 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2465 (bench-deps): Add bench-timing.h.
2466 * benchtests-bench-skeleton.c: Include bench-timing.h.
2467 (main): Use TIMING_* macros instead of clock_gettime.
2468 * benchtests/bench-timing.h: New file.
2469
2470 [BZ #14582]
2471 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2472 Renamed from _LIB_VERSION.
2473 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2474
24752013-05-12 Joseph Myers <joseph@codesourcery.com>
2476
2477 * math/libm-test.inc (struct test_fff_f_data): New type.
2478 (RUN_TEST_LOOP_fff_f): New macro.
2479 (fma_test_data): New variable.
2480 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2481 (fma_towardzero_test_data): New variable.
2482 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2483 (fma_downward_test_data): New variable.
2484 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2485 (fma_upward_test_data): New variable.
2486 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2487
2488 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2489 (struct test_c_c_data): New type.
2490 (RUN_TEST_LOOP_c_c): New macro.
2491 (cacos_test_data): New variable.
2492 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2493 (cacosh_test_data): New variable.
2494 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2495 (casin_test_data): New variable.
2496 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2497 (casinh_test_data): New variable.
2498 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2499 (catan_test_data): New variable.
2500 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2501 (catanh_test_data): New variable.
2502 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2503 (ccos_test_data): New variable.
2504 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2505 (ccosh_test_data): New variable.
2506 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2507 (cexp_test_data): New variable.
2508 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2509 (clog_test_data): New variable.
2510 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2511 (clog10_test_data): New variable.
2512 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2513 (conj_test_data): New variable.
2514 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2515 (cproj_test_data): New variable.
2516 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2517 (csin_test_data): New variable.
2518 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2519 (csinh_test_data): New variable.
2520 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2521 (csqrt_test_data): New variable.
2522 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2523 (ctan_test_data): New variable.
2524 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2525 (ctan_tonearest_test_data): New variable.
2526 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2527 (ctan_towardzero_test_data): New variable.
2528 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2529 (ctan_downward_test_data): New variable.
2530 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2531 (ctan_upward_test_data): New variable.
2532 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2533 (ctanh_test_data): New variable.
2534 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2535 (ctanh_tonearest_test_data): New variable.
2536 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2537 (ctanh_towardzero_test_data): New variable.
2538 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2539 (ctanh_downward_test_data): New variable.
2540 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2541 (ctanh_upward_test_data): New variable.
2542 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2543 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2544 of BUILD_COMPLEX.
2545
2546 * math/libm-test.inc (struct test_ff_f_data): New type.
2547 (struct test_ff_f_data_nexttoward): Likewise.
2548 (RUN_TEST_LOOP_2_f): New macro.
2549 (RUN_TEST_LOOP_ff_f): Likewise.
2550 (atan2_test_data): New variable.
2551 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2552 (copysign_test_data): New variable.
2553 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2554 (fdim_test_data): New variable.
2555 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2556 (fmax_test_data): New variable.
2557 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2558 (fmin_test_data): New variable.
2559 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2560 (fmod_test_data): New variable.
2561 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2562 (hypot_test_data): New variable.
2563 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2564 (nextafter_test_data): New variable.
2565 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2566 (nexttoward_test_data): New variable.
2567 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2568 (pow_test_data): New variable.
2569 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2570 (pow_tonearest_test_data): New variable.
2571 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2572 (pow_towardzero_test_data): New variable.
2573 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2574 (pow_downward_test_data): New variable.
2575 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2576 (pow_upward_test_data): New variable.
2577 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2578 (remainder_test_data): New variable.
2579 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2580 (scalb_test_data): New variable.
2581 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2582 * sysdeps/i386/fpu/libm-test-ulps: Update.
2583
25842013-05-11 Joseph Myers <joseph@codesourcery.com>
2585
2586 * math/libm-test.inc (fma_test): Use max_value instead of local
2587 variable fltmax.
2588 (nextafter_test): Likewise.
2589
2590 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2591 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2592 (acos_downward_test_data): New variable.
2593 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2594 (acos_upward_test_data): New variable.
2595 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2596 (acosh_test_data): New variable.
2597 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2598 (asin_test_data): New variable.
2599 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2600 (asin_tonearest_test_data): New variable.
2601 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2602 (asin_towardzero_test_data): New variable.
2603 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2604 (asin_downward_test_data): New variable.
2605 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2606 (asin_upward_test_data): New variable.
2607 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2608 (asinh_test_data): New variable.
2609 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2610 (atan_test_data): New variable.
2611 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2612 (atanh_test_data): New variable.
2613 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2614 (cbrt_test_data): New variable.
2615 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2616 (ceil_test_data): New variable.
2617 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2618 (cos_test_data): New variable.
2619 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2620 (cos_tonearest_test_data): New variable.
2621 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2622 (cos_towardzero_test_data): New variable.
2623 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2624 (cos_downward_test_data): New variable.
2625 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2626 (cos_upward_test_data): New variable.
2627 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2628 (cosh_test_data): New variable.
2629 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2630 (cosh_tonearest_test_data): New variable.
2631 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2632 (cosh_towardzero_test_data): New variable.
2633 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2634 (cosh_downward_test_data): New variable.
2635 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2636 (cosh_upward_test_data): New variable.
2637 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2638 (erf_test_data): New variable.
2639 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2640 (erfc_test_data): New variable.
2641 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2642 (exp_test_data): New variable.
2643 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2644 (exp_tonearest_test_data): New variable.
2645 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2646 (exp_towardzero_test_data): New variable.
2647 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2648 (exp_downward_test_data): New variable.
2649 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2650 (exp_upward_test_data): New variable.
2651 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2652 (exp10_test_data): New variable.
2653 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2654 (exp2_test_data): New variable.
2655 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2656 (expm1_test_data): New variable.
2657 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2658 (fabs_test_data): New variable.
2659 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2660 (floor_test_data): New variable.
2661 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2662 (j0_test_data): New variable.
2663 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2664 (j1_test_data): New variable.
2665 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2666 (log_test_data): New variable.
2667 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2668 (log10_test_data): New variable.
2669 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2670 (log1p_test_data): New variable.
2671 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2672 (log2_test_data): New variable.
2673 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2674 (logb_test_data): New variable.
2675 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2676 (logb_downward_test_data): New variable.
2677 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2678 (nearbyint_test_data): New variable.
2679 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2680 (rint_test_data): New variable.
2681 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2682 (rint_tonearest_test_data): New variable.
2683 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2684 (rint_towardzero_test_data): New variable.
2685 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2686 (rint_downward_test_data): New variable.
2687 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2688 (rint_upward_test_data): New variable.
2689 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2690 (round_test_data): New variable.
2691 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2692 (sin_test_data): New variable.
2693 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2694 (sin_tonearest_test_data): New variable.
2695 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2696 (sin_towardzero_test_data): New variable.
2697 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2698 (sin_downward_test_data): New variable.
2699 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2700 (sin_upward_test_data): New variable.
2701 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2702 (sinh_test_data): New variable.
2703 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2704 (sinh_tonearest_test_data): New variable.
2705 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2706 (sinh_towardzero_test_data): New variable.
2707 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2708 (sinh_downward_test_data): New variable.
2709 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2710 (sinh_upward_test_data): New variable.
2711 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2712 (sqrt_test_data): New variable.
2713 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2714 (tan_test_data): New variable.
2715 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2716 (tan_tonearest_test_data): New variable.
2717 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2718 (tan_towardzero_test_data): New variable.
2719 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2720 (tan_downward_test_data): New variable.
2721 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2722 (tan_upward_test_data): New variable.
2723 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2724 (tanh_test_data): New variable.
2725 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2726 (tgamma_test_data): New variable.
2727 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2728 (trunc_test_data): New variable.
2729 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2730 (y0_test_data): New variable.
2731 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2732 (y1_test_data): New variable.
2733 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2734 (significand_test_data): New variable.
2735 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2736
27372013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2738
2739 [BZ #12387]
2740 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2741
27422013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2743
2744 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2745
27462013-05-10 Andreas Jaeger <aj@suse.de>
2747
2748 [BZ #15448]
2749 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2750 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2751
27522013-05-10 Joseph Myers <joseph@codesourcery.com>
2753
2754 * math/gen-libm-test.pl (adjust_arg): New function.
2755 (special_functions): Handle generating output in both functions
2756 and arrays.
2757 (parse_args): Likewise.
2758 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2759 $in_func argument to parse_args.
2760 * math/libm-test.inc (struct test_f_f_data): New type.
2761 (IF_ROUND_INIT_): New macro.
2762 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2763 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2764 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2765 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2766 (ROUND_RESTORE_): Likewise.
2767 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2768 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2769 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2770 (ROUND_RESTORE_FE_UPWARD): Likewise.
2771 (RUN_TEST_LOOP_f_f): New macro.
2772 (acos_test_data): New variable.
2773 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2774 (acos_tonearest_test_data): New variable.
2775 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2776
27772013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2778
2779 * benchtests/bench-skeleton.c (startup): Fix coding style.
2780
27812013-05-10 Joseph Myers <joseph@codesourcery.com>
2782
2783 [BZ #6809]
2784 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2785 negative infinity argument.
2786 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2787 negative infinity argument.
2788 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2789 negative infinity argument.
2790 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2791 domain errors.
2792
27932013-05-10 Florian Weimer <fweimer@redhat.com>
2794
2795 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2796 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2797 * iconv/iconv_prog.c (main): Likewise.
2798 * locale/programs/charmap-dir.c (charmap_readdir)
2799 (fopen_uncompressed): Likewise.
2800 * locale/programs/locfile.c (siblings_uncached)
2801 (write_locale_data): Use lstat64 instead of lstat.
2802 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2803 stat.
2804
28052013-05-10 Andreas Jaeger <aj@suse.de>
2806
2807 [BZ #15395]
2808 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2809 localization.
2810 Include <locale.h>.
2811
28122013-05-09 Carlos O'Donell <carlos@redhat.com>
2813
2814 * elf/dl-close.c (_dl_close_worker): Add comments.
2815
28162013-05-09 Joseph Myers <joseph@codesourcery.com>
2817
2818 [BZ #15359]
2819 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2820 high part of pi/2.
2821 (__ieee754_rem_pio2l): Update comments.
2822
2823 [BZ #15429]
2824 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2825 high part of pi/2.
2826 (__ieee754_rem_pio2l): Update comments.
2827
2828 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2829 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2830
2831 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2832 M_PI_4l.
2833
2834 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2835 (M_PI_34_LOG10El): Likewise.
2836 (M_PI2_LOG10El): Likewise.
2837 (M_PI4_LOG10El): Likewise.
2838 (M_PI_LOG10El): Likewise.
2839
28402013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2841
2842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2843
28442013-05-08 Joseph Myers <joseph@codesourcery.com>
2845
2846 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2847 (MINUS_ZERO_INIT): Likewise.
2848 (PLUS_INFTY_INIT): Likewise.
2849 (MINUS_INFTY_INIT): Likewise.
2850 (QNAN_VALUE_INIT): Likewise.
2851 (MAX_VALUE_INIT): Likewise.
2852 (MIN_VALUE_INIT): Likewise.
2853 (MIN_SUBNORM_VALUE_INIT): Likewise.
2854 (plus_zero): Initialize with PLUS_ZERO_INIT.
2855 (minus_zero): Initialize with MINUS_ZERO_INIT.
2856 (plus_infty): Initialize with PLUS_INFTY_INIT.
2857 (minus_infty): Initialize with MINUS_INFTY_INIT.
2858 (qnan_value): Initialize with QNAN_VALUE_INIT.
2859 (max_value): Initialize with MAX_VALUE_INIT.
2860 (min_value): Initialize with MIN_VALUE_INIT.
2861 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2862
2863 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2864 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2865 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2866 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2867
2868 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2869 (RUN_TEST_2_f): Likewise.
2870 (RUN_TEST_ff_f): Likewise.
2871 (RUN_TEST_fi_f): Likewise.
2872 (RUN_TEST_fl_f): Likewise.
2873 (RUN_TEST_fff_f): Likewise.
2874 (RUN_TEST_c_f): Likewise.
2875 (RUN_TEST_f_f1): Likewise.
2876 (RUN_TEST_fF_f1): Likewise.
2877 (RUN_TEST_fI_f1): Likewise.
2878 (RUN_TEST_ffI_f1): Likewise.
2879 (RUN_TEST_c_c): Likewise.
2880 (RUN_TEST_cc_c): Likewise.
2881 (RUN_TEST_f_i): Likewise.
2882 (RUN_TEST_f_i_tg): Likewise.
2883 (RUN_TEST_ff_i_tg): Likewise.
2884 (RUN_TEST_f_b): Likewise.
2885 (RUN_TEST_f_b_tg): Likewise.
2886 (RUN_TEST_f_l): Likewise.
2887 (RUN_TEST_f_L): Likewise.
2888 (RUN_TEST_sincos): Likewise.
2889 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2890 whether to show exceptions. Do not include ");\n" in return
2891 value.
2892 (special_functions): Output call to RUN_TEST_sincos instead of
2893 check_float calls. Update calls to new_test.
2894 (parse_args): Output call to single RUN_TEST_* macro instead of
2895 check_* calls and other assignments. Update calls to new_test.
2896
2897 [BZ #2546]
2898 [BZ #2560]
2899 [BZ #5159]
2900 [BZ #15426]
2901 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2902 input to result for tgamma overflow.
2903 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2904 (gamma_coeff): New variable.
2905 (NCOEFF): New macro.
2906 (gamma_positive): New function.
2907 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2908 underflow here. Use gamma_positive instead of exp (lgamma) for
2909 other arguments.
2910 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2911 (gamma_coeff): New variable.
2912 (NCOEFF): New macro.
2913 (gammaf_positive): New function.
2914 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2915 underflow here. Use gamma_positive instead of exp (lgamma) for
2916 other arguments.
2917 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2918 (gamma_coeff): New variable.
2919 (NCOEFF): New macro.
2920 (gammal_positive): New function.
2921 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2922 underflow here. Use gamma_positive instead of exp (lgamma) for
2923 other arguments.
2924 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2925 (gamma_coeff): New variable.
2926 (NCOEFF): New macro.
2927 (gammal_positive): New function.
2928 (__ieee754_gammal_r): Handle positive infinity, overflow and
2929 underflow here. Handle NaN the same as positive infinity. Remove
2930 check x < 0xffffffff for negative integers. Use gamma_positive
2931 instead of exp (lgamma) for other arguments.
2932 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2933 (gamma_coeff): New variable.
2934 (NCOEFF): New macro.
2935 (gammal_positive): New function.
2936 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2937 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2938 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2939 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2940 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2941 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2942 * sysdeps/generic/math_private.h (__gamma_productf): New
2943 prototype.
2944 (__gamma_product): Likewise.
2945 (__gamma_productl): Likewise.
2946 * math/Makefile (libm-calls): Add gamma_product.
2947 * math/libm-test.inc (tgamma_test): Add more tests.
2948 * sysdeps/i386/fpu/libm-test-ulps: Update.
2949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2950
29512013-05-08 Ondřej Bílka <neleai@seznam.cz>
2952
2953 * benchtests/bench-skeleton.c (main): Preheat CPU.
2954
29552013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2956
2957 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2958
29592013-05-07 Roland McGrath <roland@hack.frob.com>
2960
2961 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2962 and _dl_skip_args_internal.
2963
29642013-05-07 Carlos O'Donell <carlos@redhat.com>
2965
2966 * manual/message.texi (Message Translation): Talk about users.
2967 Message to key mapping impacts design.
2968
29692013-05-06 Roland McGrath <roland@hack.frob.com>
2970
2971 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2972
2973 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2974
2975 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2976 * sysdeps/wordsize-64/glob64.c: ... here.
2977
2978 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2979 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2980 New macros.
2981
2982 * debug/getlogin_r_chk.c: Moved to ...
2983 * login/getlogin_r_chk.c: ... here.
2984 * debug/Makefile (routines): Move getlogin_r_chk to ...
2985 * login/Makefile (routines): ... here.
2986 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2987 * login/Versions (libc: GLIBC_2.4): ... here.
2988
2989 * io/poll.c (__poll): Renamed from poll.
2990 Add libc_hidden_def.
2991 (poll): Define as weak alias.
2992
2993 * debug/ptsname_r_chk.c: Moved to ...
2994 * login/ptsname_r_chk.c: ... here.
2995 * debug/Makefile (routines): Move ptsname_r_chk to ...
2996 * login/Makefile (routines): ... here.
2997 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2998 * login/Versions (libc: GLIBC_2.4): ... here.
2999
3000 * posix/getlogin.c: Moved to ...
3001 * login/getlogin.c: ... here.
3002 * posix/getlogin_r.c: Moved to ...
3003 * login/getlogin_r.c: ... here.
3004 * posix/getlogin_r.c: Moved to ...
3005 * login/getlogin_r.c: ... here.
3006 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3007 * login/Makefile (routines): ... here.
3008 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3009 * login/Versions (libc: GLIBC_2.0): ... here.
3010
3011 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3012 (setrlimit): Define as weak alias.
3013
3014 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3015 Call __ names for open, ftruncate, and close.
3016 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3017 (truncate): Define as weak alias.
3018
30192013-05-06 Joseph Myers <joseph@codesourcery.com>
3020
3021 * math/gen-libm-test.pl (parse_args): Initialize x before each
3022 test of frexp, modf and remquo.
3023
3024 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3025 test signgam value.
3026
30272013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3028
3029 [BZ #15418]
3030 [BZ #15419]
3031 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3032 internal tests.
3033 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3034
30352013-05-06 Roland McGrath <roland@hack.frob.com>
3036
3037 * elf/dl-writev.h: New file.
3038 * elf/dl-misc.c: Include it.
3039 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3040 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3041
30422013-05-04 Joseph Myers <joseph@codesourcery.com>
3043
3044 * math/libm-test.inc (noXFails): Remove variable.
3045 (noXPasses): Likewise.
3046 (BUILD_COMPLEX_INT): Remove macro.
3047 (print_screen): Remove xfail argument.
3048 (print_screen_max_error): Likewise.
3049 (update_stats): Likewise.
3050 (print_max_error): Likewise. Update calls to other affected
3051 functions.
3052 (print_complex_max_error): Likewise.
3053 (test_single_exception): Update calls to print_screen.
3054 (test_single_errno): Likewise.
3055 (check_float_internal): Remove xfail argument. Update calls to
3056 other affected functions.
3057 (check_float): Likewise.
3058 (check_complex): Likewise.
3059 (check_int): Likewise.
3060 (check_long): Likewise.
3061 (check_bool): Likewise.
3062 (check_longlong): Likewise.
3063 (main): Don't print noXFails and noXPasses.
3064 * math/gen-libm-test.pl (top level): Don't mention expected
3065 failure handling in comment.
3066 (new_test): Don't handle expected failures.
3067 (parse_args): Don't mention expected failure handling in comment.
3068 (generate_testfile): Don't handle expected failures.
3069 (parse_ulps): Likewise.
3070 (print_ulps_file): Likewise.
3071 (get_failure): Remove function.
3072 (output_test): Don't handle expected failures.
3073 * make/README.libm-test: Don't mention expected failure handling.
3074
3075 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3076 (minus_zero): Likewise.
3077 (plus_infty): Likewise.
3078 (minus_infty): Likewise.
3079 (qnan_value): Likewise.
3080 (max_value): Likewise.
3081 (min_value): Likewise.
3082 (min_subnorm_value): Likewise.
3083 (initialize): Do not initialize those variables dynamically.
3084
30852013-05-03 Roland McGrath <roland@hack.frob.com>
3086
3087 * io/open.c (__open_2): Moved to ...
3088 * io/open_2.c: ... this new file.
3089 * io/open64.c (__open64_2): Moved to ...
3090 * io/open64_2.c: ... this new file.
3091 * io/openat.c (__openat_2): Moved to ...
3092 * io/openat_2.c: ... this new file.
3093 * io/openat64.c (__openat64_2): Moved to ...
3094 * io/openat64_2.c: ... this new file.
3095 * io/Makefile (routines): Add them.
3096 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3097 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3098 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3099 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3100 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3101 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3102 (__openat64): Add hidden_ver.
3103 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3104 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3105
3106 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3107 Separately conditionalize setting of GLRO(dl_sysinfo) so
3108 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3109 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3110
31112013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3112
3113 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3114 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3115 definition.
3116 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3117 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3118 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3119 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3120 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3121
31222013-05-03 Joseph Myers <joseph@codesourcery.com>
3123
3124 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3125 test signgam value.
3126
3127 * math/libm-test.inc (hypot_test): Do not use
3128 IGNORE_ZERO_INF_SIGN.
3129
31302013-05-03 Andreas Jaeger <aj@suse.de>
3131
3132 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3133 Linux 3.9.
3134 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3135 (PF_MAX): Adjust for VSOCK change.
3136
31372013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3138
3139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3140
31412013-05-02 Carlos O'Donell <carlos@redhat.com>
3142
3143 [BZ #15264]
3144 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3145 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3146 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3147
31482013-05-02 David S. Miller <davem@davemloft.net>
3149
3150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3151
31522013-05-01 Ondřej Bílka <neleai@seznam.cz>
3153
3154 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3155
31562013-05-01 Roland McGrath <roland@hack.frob.com>
3157
3158 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3159
31602013-05-01 Richard Smith <richard@metafoo.co.uk>
3161
3162 [BZ #14952]
3163 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3164 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3165 Use __attribute__ ((__gnu_inline__)).
3166 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3167 Don't use __attribute__ ((__gnu_inline__)).
3168
31692013-05-01 Joseph Myers <joseph@codesourcery.com>
3170
3171 [BZ #15423]
3172 * math/s_catan.c (__catan): Handle small real or imaginary part of
3173 input specially to avoid spurious underflow.
3174 * math/s_catanf.c (__catanf): Likewise.
3175 * math/s_catanh.c (__catanh): Likewise.
3176 * math/s_catanhf.c (__catanhf): Likewise.
3177 * math/s_catanhl.c (__catanhl): Likewise.
3178 * math/s_catanl.c (__catanl): Likewise.
3179 * math/libm-test.inc (catan_test): Add more tests.
3180 (catanh_test): Likewise.
3181 * sysdeps/i386/fpu/libm-test-ulps: Update.
3182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3183
31842013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3185
3186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3187
31882013-04-30 Joseph Myers <joseph@codesourcery.com>
3189
3190 [BZ #15416]
3191 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3192 accurately for denominator in atan2.
3193 * math/s_catanf.c (__catanf): Likewise.
3194 * math/s_catanh.c (__catanh): Likewise.
3195 * math/s_catanhf.c (__catanhf): Likewise.
3196 * math/s_catanhl.c (__catanhl): Likewise.
3197 * math/s_catanl.c (__catanl): Likewise.
3198 * math/libm-test.inc (catan_test): Add more tests.
3199 (catanh_test): Likewise.
3200 * sysdeps/i386/fpu/libm-test-ulps: Update.
3201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3202
32032013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3204
3205 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3206
3207 * benchtests/Makefile (bench): Remove slow benchmarks.
3208 * benchtests/atan-inputs: Add slow benchmark inputs.
3209 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3210 (BENCH_FUNC): Accept variant offset.
3211 (VARIANT): Define.
3212 * benchtests/bench-skeleton.c (main): Run benchmark for each
3213 variant.
3214 * benchtests/cos-inputs: Add slow benchmark inputs.
3215 * benchtests/exp-inputs: Likewise.
3216 * benchtests/pow-inputs: Likewise.
3217 * benchtests/sin-inputs: Likewise.
3218 * benchtests/slowatan-inputs: Remove.
3219 * benchtests/slowatan.c: Remove.
3220 * benchtests/slowcos-inputs: Remove.
3221 * benchtests/slowcos.c: Remove.
3222 * benchtests/slowexp-inputs: Remove.
3223 * benchtests/slowexp.c: Remove.
3224 * benchtests/slowpow-inputs: Remove.
3225 * benchtests/slowpow.c: Remove.
3226 * benchtests/slowsin-inputs: Remove.
3227 * benchtests/slowsin.c: Remove.
3228 * benchtests/slowtan-inputs: Remove.
3229 * benchtests/slowtan.c: Remove.
3230 * benchtests/tan-inputs: Add slow benchmark inputs.
3231 * scripts/bench.pl: Parse comments and directives.
3232
3233 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3234 in CPPFLAGS.
3235 ($(objpfx)bench-%.c): Remove *-ITER.
3236 * benchtests/bench-modf.c: Remove definition of ITER.
3237 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3238 (main): Loop for DURATION seconds instead of fixed number of
3239 iterations.
3240 * scripts/bench.pl: Don't expect iterations in parameters.
3241
32422013-04-29 Roland McGrath <roland@hack.frob.com>
3243
3244 * io/fchdir.c (__fchdir): Renamed from fchdir.
3245 (fchdir): Define as weak alias.
3246
32472013-04-29 Joseph Myers <joseph@codesourcery.com>
3248
3249 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3250 (ERRNO_EDOM): Likewise.
3251 (ERRNO_ERANGE): Likewise.
3252 (noErrnoTests): New variable.
3253 (init_max_error): Set errno to 0.
3254 (test_single_errno): New function.
3255 (test_errno): Likewise.
3256 (check_float_internal): Call test_errno. Set errno to 0.
3257 (check_complex): Refer to errno tests in comment.
3258 (check_int): Call test_errno. Set errno to 0.
3259 (check_long): Likewise.
3260 (check_bool): Likewise.
3261 (check_longlong): Likewise.
3262 (cos_test): Use ERRNO_* flags for errno tests instead of
3263 check_int.
3264 (expm1_test): Likewise.
3265 (fmod_test): Likewise.
3266 (ilogb_test): Likewise.
3267 (lgamma_test): Likewise.
3268 (pow_test): Likewise.
3269 (remainder_test): Likewise.
3270 (sin_test): Likewise.
3271 (tan_test): Likewise.
3272 (yn_test): Likewise.
3273 (initialize): Set errno to 0.
3274 (main): Print number of errno tests.
3275 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3276
32772013-04-29 Andreas Jaeger <aj@suse.de>
3278
3279 [BZ #15084]
3280 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3281 and RES_USEVC.
3282
3283 [BZ #15085]
3284 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3285 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3286 unimplemented.
3287
3288 [BZ #15380]
3289 * stdlib/random.c (__initstate): Return NULL if
3290 __initstate fails.
3291
3292 [BZ #15086]
3293 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3294 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3295 RES_SNGLKUPREOP.
3296
32972013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3298
3299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3300
33012013-04-29 Joseph Myers <joseph@codesourcery.com>
3302
3303 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3304 of individual tests.
3305 (casin_test): Likewise.
3306 (casinh_test): Likewise.
3307
33082013-04-27 Joseph Myers <joseph@codesourcery.com>
3309
3310 [BZ #15409]
3311 * math/s_catan.c (__catan): Handle arguments with large real or
3312 imaginary part separately without squaring.
3313 * math/s_catanf.c (__catanf): Likewise.
3314 * math/s_catanh.c (__catanh): Likewise.
3315 * math/s_catanhf.c (__catanhf): Likewise.
3316 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3317 and redefine.
3318 (__catanhl): Handle arguments with large real or imaginary part
3319 separately without squaring.
3320 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3321 and redefine.
3322 (__catanl): Handle arguments with large real or imaginary part
3323 separately without squaring.
3324 * math/libm-test.inc (catan_test): Add more tests.
3325 (catanh_test): Likewise.
3326 * sysdeps/i386/fpu/libm-test-ulps: Update.
3327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3328
33292013-04-27 Andreas Jaeger <aj@suse.de>
3330
3331 [BZ #15007]
3332 * stdlib/stdlib.h: Update guards for qecvt.
3333 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3334 <stdlib.h>.
3335
33362013-04-27 Allan McRae <allan@archlinux.org>
3337
3338 * sysdeps/i386/fpu/libm-test-ulps: Update.
3339
33402013-04-26 Joseph Myers <joseph@codesourcery.com>
3341
3342 [BZ #15406]
3343 * math/s_catan.c: Include <float.h>.
3344 (__catan): Ensure underflow exception occurs for underflowed
3345 result.
3346 * math/s_catanf.c: Include <float.h>.
3347 (__catanf): Ensure underflow exception occurs for underflowed
3348 result.
3349 * math/s_catanh.c: Include <float.h>.
3350 (__catanh): Ensure underflow exception occurs for underflowed
3351 result.
3352 * math/s_catanhf.c: Include <float.h>.
3353 (__catanhf): Ensure underflow exception occurs for underflowed
3354 result.
3355 * math/s_catanhl.c: Include <float.h>.
3356 (__catanhl): Ensure underflow exception occurs for underflowed
3357 result.
3358 * math/s_catanl.c: Include <float.h>.
3359 (__catanl): Ensure underflow exception occurs for underflowed
3360 result.
3361 * math/libm-test.inc (catan_test): Add more tests.
3362 (catanh_test): Likewise.
3363
3364 [BZ #15405]
3365 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3366 underflowed result.
3367 * math/s_ccoshf.c (__ccoshf): Likewise.
3368 * math/s_ccoshl.c (__ccoshl): Likewise.
3369 * math/s_csin.c (__csin): Likewise.
3370 * math/s_csinf.c (__csinf): Likewise.
3371 * math/s_csinh.c (__csinh): Likewise.
3372 * math/s_csinhf.c (__csinhf): Likewise.
3373 * math/s_csinhl.c (__csinhl): Likewise.
3374 * math/s_csinl.c (__csinl): Likewise.
3375 * math/libm-test.inc (ccos_test): Add more tests.
3376 (ccosh_test): Likewise.
3377 (csin_test): Likewise.
3378 (csinh_test): Likewise.
3379
33802013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3381
3382 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3383 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3384 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3385 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3386 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3387 powerpc/power5+/fpu folders.
3388 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3389
3390
33912013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3392
3393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3394
33952013-04-25 Joseph Myers <joseph@codesourcery.com>
3396
3397 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3398 additions to variable.
3399 [$(config-machine) = x86_64] (modules-names): Likewise.
3400 ($(objpfx)tst-audit3): Remove dependency.
3401 ($(objpfx)tst-audit3.out): Likewise.
3402 ($(objpfx)tst-audit4): Likewise.
3403 ($(objpfx)tst-audit4.out): Likewise.
3404 ($(objpfx)tst-audit5): Likewise.
3405 ($(objpfx)tst-audit5.out): Likewise.
3406 ($(objpfx)tst-audit6): Likewise.
3407 ($(objpfx)tst-audit6.out): Likewise.
3408 ($(objpfx)tst-audit7): Likewise.
3409 ($(objpfx)tst-audit7.out): Likewise.
3410 (tst-audit3-ENV): Remove variable.
3411 (tst-audit4-ENV): Likewise.
3412 (tst-audit5-ENV): Likewise.
3413 (tst-audit6-ENV): Likewise.
3414 (tst-audit7-ENV): Likewise.
3415 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3416 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3417 addition to variable.
3418 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3419 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3420 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3421 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3422 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3423 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3424 tst-audit3, tst-audit4 and tst-audit5.
3425 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3426 tst-audit6 and tst-audit7.
3427 [$(subdir) = elf] (modules-names): Add audit modules for those
3428 tests.
3429 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3430 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3431 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3432 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3433 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3434 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3435 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3436 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3437 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3438 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3439 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3440 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3441 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3442 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3443 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3444 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3445 Likewise.
3446 [$(subdir) = elf && $(config-cflags-avx) = yes]
3447 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3448 [$(subdir) = elf && $(config-cflags-avx) = yes]
3449 (CFLAGS-tst-auditmod4a.c): Likewise.
3450 [$(subdir) = elf && $(config-cflags-avx) = yes]
3451 (CFLAGS-tst-auditmod4b.c): Likewise.
3452 [$(subdir) = elf && $(config-cflags-avx) = yes]
3453 (CFLAGS-tst-auditmod6b.c): Likewise.
3454 [$(subdir) = elf && $(config-cflags-avx) = yes]
3455 (CFLAGS-tst-auditmod6c.c): Likewise.
3456 [$(subdir) = elf && $(config-cflags-avx) = yes]
3457 (CFLAGS-tst-auditmod7b.c): Likewise.
3458 * elf/tst-audit3.c: Move to ...
3459 * sysdeps/x86_64/tst-audit3.c: ... here.
3460 * elf/tst-audit4.c: Move to ...
3461 * sysdeps/x86_64/tst-audit4.c: ... here.
3462 * elf/tst-audit5.c: Move to ...
3463 * sysdeps/x86_64/tst-audit5.c: ... here.
3464 * elf/tst-audit6.c: Move to ...
3465 * sysdeps/x86_64/tst-audit6.c: ... here.
3466 * elf/tst-audit7.c: Move to ...
3467 * sysdeps/x86_64/tst-audit7.c: ... here.
3468 * elf/tst-auditmod3a.c: Move to ...
3469 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3470 * elf/tst-auditmod3b.c: Move to ...
3471 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3472 * elf/tst-auditmod4a.c: Move to ...
3473 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3474 * elf/tst-auditmod4b.c: Move to ...
3475 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3476 * elf/tst-auditmod5a.c: Move to ...
3477 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3478 * elf/tst-auditmod5b.c: Move to ...
3479 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3480 * elf/tst-auditmod6a.c: Move to ...
3481 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3482 * elf/tst-auditmod6b.c: Move to ...
3483 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3484 * elf/tst-auditmod6c.c: Move to ...
3485 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3486 * elf/tst-auditmod7a.c: Move to ...
3487 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3488 * elf/tst-auditmod7b.c: Move to ...
3489 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3490
34912013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3492
3493 [BZ #15366]
3494 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3495 define unconditionally.
3496 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3497 define unconditionally.
3498 (INT8_C, INT16_C, etc.): Likewise.
3499
35002013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3501
3502 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3503 __ehdr_start with hidden visibility.
3504
3505 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3506
35072013-04-24 Carlos O'Donell <carlos@redhat.com>
3508
3509 * math/libm-test.inc (cos_test): Use accurate hex constants.
3510 (sincost_test): Likewise.
3511
35122013-04-24 Joseph Myers <joseph@codesourcery.com>
3513
3514 * math/libm-test.inc (catan_test): Add more tests.
3515 (catanh_test): Likewise.
3516
3517 * math/s_catanf.c (__catanf): Use suffixed floating-point
3518 constants.
3519 * math/s_catanhf.c (__catanhf): Likewise.
3520 * math/s_catanhl.c (__catanhl): Likewise.
3521 * math/s_catanl.c (__catanl): Likewise.
3522
3523 [BZ #15394]
3524 * math/s_catan.c (__catan): Calculate imaginary part of result
3525 with log1p not log unless computing log of number close to 0.
3526 * math/s_catanf.c (__catanf): Likewise.
3527 * math/s_catanl.c (__catanl): Likewise.
3528 * math/s_catanh.c (__catanh): Calculate real part of result with
3529 log1p not log unless computing log of number close to 0.
3530 * math/s_catanhf.c (__catanhf): Likewise.
3531 * math/s_catanhl.c (__catanhl): Likewise.
3532 * math/libm-test.inc (catan_test): Add more tests.
3533 (catanh_test): Likewise.
3534 * sysdeps/i386/fpu/libm-test-ulps: Update.
3535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3536
35372013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3538
3539 * benchtests/Makefile: Mention files in which fast and slow
3540 paths of math functions are implemented.
3541
35422013-04-23 Roland McGrath <roland@hack.frob.com>
3543
3544 * sysdeps/posix/timespec_get.c: New file.
3545
35462013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3547
3548 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3549 POWER.
3550 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3551 for POWER.
3552 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3553 powerpc/power5/fpu folders.
3554 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3555 * benchtests/Makefile: Add modf testcase.
3556 * benchtests/bench-modf.c: New file: Benchmark test for mo
3557
35582013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3559
3560 [BZ #14888]
3561 * time/Makefile (tests): Add tst-strptime-whitespace.
3562 * time/strptime_l.c (get_number): Use ISSPACE.
3563 (__strptime_internal): Likewise.
3564 * time/tst-strptime-whitespace.c: New test case.
3565
35662013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3567
3568 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3569 member.
3570 (_nss_files_init): Set it here.
3571
35722013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3573
3574 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3575 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3576 unsigned.
3577
35782013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3579
3580 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3581
35822013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3583
3584 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3585 size just once.
3586
35872013-04-21 David S. Miller <davem@davemloft.net>
3588
3589 * po/ru.po: Update Russion translation from translation project.
3590
35912013-04-17 Adam Conrad <adconrad@0c3.net>
3592
3593 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3594 and setfsgid.
3595
35962013-04-17 Carlos O'Donell <carlos@redhat.com>
3597
3598 * configure.in: Remove i386 configure warning. Remove i386 case.
3599 * configure: Regenerate.
3600 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3601 Add example to error message.
3602 * sysdeps/i386/configure: Regenerate.
3603
36042013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3605
3606 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3607 slowtan.
3608 * benchtests/cos-inputs: New file.
3609 * benchtests/slowcos-inputs: New file.
3610 * benchtests/slowcos.c: New file.
3611 * benchtests/slowtan-inputs: New file.
3612 * benchtests/slowtan.c: New file.
3613 * benchtests/tan-inputs: New file.
3614
36152013-04-16 Roland McGrath <roland@hack.frob.com>
3616
3617 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3618 considered kosher.
3619
36202013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3621
3622 * benchtests/Makefile: Include cppflags-iterator.mk to add
3623 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3624
3625 * Makefile.in (bench-clean): New target.
3626 * benchtests/Makefile (bench-clean): Likewise.
3627
36282013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3629
3630 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3631
36322013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3633
3634 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3635
36362013-04-15 Andreas Schwab <schwab@suse.de>
3637
3638 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3639 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3640 * nscd/pwdcache.c (cache_addpw): Likewise.
3641 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3642 more than recsize.
3643
36442013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3645
3646 * benchtests/Makefile (bench): Write all output to
3647 bench-out.tmp together.
3648
36492013-04-15 Andreas Schwab <schwab@suse.de>
3650
3651 * nscd/nscd.c (main): Don't fork again after closing files.
3652
36532013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3654
3655 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3656
3657 * benchtests/Rules (bench-deps): Collect dependencies into a
3658 single variable. Add Makefile to dependencies.
3659 ($(objpfx)bench-%.c): Depend on bench-deps.
3660
36612013-04-12 Roland McGrath <roland@hack.frob.com>
3662 Xavier Roche <roche+kml2@exalead.com>
3663
3664 [BZ #15361]
3665 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3666 just that it's a file descriptor.
3667 * manual/llio.texi (Synchronizing AIO Operations): Update description
3668 for EBADF error from aio_fsync.
3669
36702013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3671
3672 * Rules (bench): Move target definition...
3673 * benchtests/Makefile: ... here.
3674
36752013-04-11 Carlos O'Donell <carlos@redhat.com>
3676
3677 * math/libm-test.inc (cos_test): Fix PI/2 test.
3678 (sincos_test): Likewise.
3679 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3680 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3681
36822013-04-11 Andreas Schwab <schwab@suse.de>
3683
3684 [BZ #13988]
3685 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3686 accept exponent character only when digits were seen.
3687 * stdio-common/Makefile (tests): Add bug26.
3688 * stdio-common/bug26.c: New file.
3689
3690 [BZ #14293]
3691 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3692 non-freeable.
3693
36942013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3695
3696 * Makeconfig (rtld-prefix): Define built linker prefix.
3697 * Rules (run-bench): Use it.
3698 * math/Makefile (run-regen-ulps): Likewise.
3699
3700 * Rules (bench): Remove eval.
3701
37022013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3703 Roland McGrath <roland@hack.frob.com>
3704 Ondrej Bilka <neleai@seznam.cz>
3705
3706 [BZ #15346]
3707 * time/getdate.c: Include ctype.h and alloca.h.
3708 (__getdate_r): Trim leading and trailing spaces of input.
3709 * time/tst-getdate.c (tests): Add tests with leading and
3710 trailing spaces.
3711
37122013-04-08 Roland McGrath <roland@hack.frob.com>
3713
3714 [BZ #14280]
3715 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3716 when computing value.
3717
37182013-04-06 Carlos O'Donell <carlos@redhat.com>
3719
3720 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3721 Use testrun.sh to run libm tests.
3722
3723 [BZ #15309]
3724 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3725
37262013-04-06 Marko Myllynen <myllynen@redhat.com>
3727
3728 [BZ #15264]
3729 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3730
37312013-04-06 Carlos O'Donell <carlos@redhat.com>
3732
3733 * Makefile.in (regen-ulps): New target.
3734 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3735 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3736 [ifneq (no,$(PERL)] (regen-ulps): New target.
3737 [ifeq (no,$(PERL)] (regen-ulps): New target.
3738 * math/libm-test.inc (ulps_file_name): Define.
3739 (output_dir): New variable.
3740 (options): Add "output-dir" option.
3741 (parse_opt): Handle 'o' case.
3742 (main): If output_dir is non-NULL use it as a prefix
3743 otherwise use "".
3744 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3745
37462013-04-06 Carlos O'Donell <carlos@redhat.com>
3747
3748 [BZ #10060, #10062]
3749 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3750 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3751 fail configure if __sync_val_compare_and_swap is not inlined.
3752 * sysdeps/i386/configure: Regenerate.
3753 * configure.in: Build for i686 when configured for i386.
3754 * configure: Regenerate.
3755 * README: Remove i386 reference.
3756
37572013-04-06 Carlos O'Donell <carlos@redhat.com>
3758
3759 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3761
37622013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3763
3764 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3765 (lmsnanval): New variables.
3766 (F): Add conversion tests.
3767 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3768 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3769
3770 * stdio-common/tstdiomisc.c (F): Properly collect individual
3771 tests' results.
3772
3773 [BZ #14686, #15336]
3774 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3775 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3776 Instead, use input NaN values or generate a qNaN by arithmetic
3777 operation. Also fix bugs to comply with the standard.
3778 * math/libm-test.inc (remainder_test): Add more tests.
3779
3780 [BZ #15335, #15342]
3781 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3783 input NaN values or generate a qNaN by arithmetic operation.
3784
3785 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3786 unreachable code.
3787
3788 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3789 definitions.
3790
37912013-04-03 Joseph Myers <joseph@codesourcery.com>
3792
3793 [BZ #14478]
3794 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3795 underflowed result.
3796 * math/s_cexpf.c (__cexpf): Likewise.
3797 * math/s_cexpl.c (__cexpl): Likewise.
3798 * math/libm-test.inc (cexp_test): Add more tests.
3799
38002013-04-03 Andreas Schwab <schwab@suse.de>
3801
3802 [BZ #15330]
3803 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3804 order arrays from heap if bigger than alloca cutoff.
3805
38062013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3807
3808 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3809 (SNAN_TESTS_double): Refer to GCC PR56831.
3810 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3811 GCC PR56828.
3812
38132013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3814
3815 * Rules (bench): Move bench.out after the run is complete.
3816
3817 * Rules (bench): Echo currently running benchmark.
3818
3819 * benchtests/Makefile (bench): Add atan and slowatan.
3820 * benchtests/atan-inputs: New file.
3821 * benchtests/slowatan-inputs: New file.
3822 * benchtests/slowatan.c: New file.
3823
3824 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3825 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3826 its value.
3827
3828 [BZ #15305]
3829 * sysdeps/unix/sysv/linux/kernel-features.h
3830 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3831 __ASSUME_XFS_RESTRICTED_CHOWN.
3832 * sysdeps/unix/sysv/linux/pathconf.c
3833 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3834 Save and restore errno.
3835
38362013-04-02 Joseph Myers <joseph@codesourcery.com>
3837
3838 [BZ #15327]
3839 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3840 arguments using __kernel_casinh.
3841 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3842 arguments using __kernel_casinhf.
3843 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3844 arguments using __kernel_casinhl.
3845 * math/libm-test.inc (cacosh_test): Add more tests.
3846 * sysdeps/i386/fpu/libm-test-ulps: Update.
3847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3848
38492013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3850
3851 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3852 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3853
3854 * bench/Makefile (bench): Add sin and slowsin.
3855 * benchtests/sin-inputs: New file.
3856 * benchtests/slowsin-inputs: New file.
3857 * benchtests/slowsin.c: New file.
3858
3859 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3860 (bench): Add slowexp and slowpow.
3861 (exp-ITER): Increase iterations.
3862 (pow-ITER): Likewise.
3863 * benchtests/exp-inputs: Change input.
3864 * benchtests/pow-inputs: Likewise.
3865 * benchtests/slowexp-inputs: New file.
3866 * benchtests/slowexp.c: New file.
3867 * benchtests/slowpow-inputs: New file.
3868 * benchtests/slowpow.c: New file.
3869
38702013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3871
3872 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3873 instructions.
3874 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3875 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3876 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3877 * benchtests/Makefile: Add rint benchtest.
3878 * benchtests/rint-inputs: Input for rint benchtest.
3879
38802013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3881
3882 * Versions.def (libm): Add GLIBC_2.18.
3883 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3884 hidden libm prototypes.
3885 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3886 * math/Makefile (libm-calls): Add s_issignaling.
3887 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3888 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3889 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3890 declaration.
3891 * math/math.h [__USE_GNU] (issignaling): New macro.
3892 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3893 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3894 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3895 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3897 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3898 * manual/arith.texi (issignaling): New section.
3899 * manual/libm-err-tab.pl (@all_functions): Update comment.
3900 * math/gen-libm-test.pl (parse_args): Apply special handling for
3901 issignaling.
3902 * math/libm-test.inc (print_float, issignaling_test): New
3903 functions.
3904 (check_float_internal): Add issignaling checks.
3905 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3906 default definition.
3907 * sysdeps/powerpc/math-tests.h: New file.
3908 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3909 tests.
3910 * math/test-snan.c (TEST_FUNC): Likewise.
3911
39122013-03-30 David S. Miller <davem@davemloft.net>
3913
3914 * po/de.po: Update from translation team.
3915
39162013-03-30 Joseph Myers <joseph@codesourcery.com>
3917
3918 [BZ #10357]
3919 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3920 imaginary part less than 1.0 and real part less than 0.5
3921 specially.
3922 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3923 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3924 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3925 (cacos_test): Add more tests.
3926 (casin_test): Likewise.
3927 (casinh_test): Likewise.
3928 * sysdeps/i386/fpu/libm-test-ulps: Update.
3929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3930
39312013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3932
3933 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3934 ONE with its value.
3935
3936 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3937 (__pow_mp): Replace ONE and MONE with their values.
3938 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3939 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3940 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3941 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3942 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3943 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3944
3945 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3946
3947 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3948 (__pow_mp): Replace ZERO and MZERO with their values.
3949 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3950 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3951 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3952 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3953 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3954 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3955 (__sqr): Likewise.
3956
3957 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3958
3959 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3960
39612013-03-28 Roland McGrath <roland@hack.frob.com>
3962
3963 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3964 Declare with __attribute__ ((weak)).
3965 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3966 Call __call_tls_dtors only if it's not NULL.
3967
39682013-03-28 Roland McGrath <roland@hack.frob.com>
3969
3970 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3971 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3972 magic __ehdr_start linker symbol if it's defined.
3973 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3974 them up here if it was already done.
3975
3976 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3977 (_dl_aux_init): Use const in cast when setting it.
3978 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3979 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3980 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3981
3982 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3983 Declare them here.
3984 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3985 * csu/libc-tls.c: Nor here.
3986 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3987
3988 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3989 (__libc_message): Never call vsyslog.
3990
39912013-03-28 Alan Modra <amodra@gmail.com>
3992
3993 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3994 Define as empty.
3995 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3996 Likewise.
3997
39982013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3999
4000 [BZ #15214]
4001 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4002 underflow.
4003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4004
40052013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4006
4007 [BZ #15304]
4008 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4009 Don't add gid passed as argument.
4010
4011 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4012
40132013-03-27 Joseph Myers <joseph@codesourcery.com>
4014
4015 [BZ #15307]
4016 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4017 imaginary part between 1.0 and 1.5 and real part less than 0.5
4018 specially.
4019 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4020 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4021 * math/libm-test.inc (cacos_test): Add more tests.
4022 (casin_test): Likewise.
4023 (casinh_test): Likewise.
4024 * sysdeps/i386/fpu/libm-test-ulps: Update.
4025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4026
40272013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4028
4029 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4030 constants.
4031 (norm): Likewise.
4032 (denorm): Likewise.
4033 (__dbl_mp): Likewise.
4034 (add_magnitudes): Likewise.
4035 (sub_magnitudes): Likewise.
4036 (__add): Likewise.
4037 (__sub): Likewise.
4038 (__mul): Likewise.
4039 (__sqr): Likewise.
4040 (__inv): Likewise.
4041 (__dvd): Likewise.
4042
4043 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4044 commented code.
4045 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4046 (__dubcos): Likewise.
4047 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4048 (__ieee754_acos): Likewise.
4049 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4050 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4051 (__exp1): Likewise.
4052 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4053 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4054 (log1): Likewise.
4055 (my_log2): Likewise.
4056 (checkint): Likewise.
4057 * sysdeps/ieee754/dbl-64/e_remainder.c
4058 (__ieee754_remainder): Likewise.
4059 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4060 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4061 (bsloww): Likewise.
4062 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4063
4064 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4065 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4066 MANTISSA_STORE_T to store computations on mantissa. Use
4067 macros for rounding and division.
4068 (denorm): Likewise.
4069 (__dbl_mp): Likewise.
4070 (add_magnitudes): Likewise.
4071 (sub_magnitudes): Likewise.
4072 (__mul): Likewise.
4073 (__sqr): Likewise.
4074 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4075 powers of two in terms of TWOPOW macro.
4076 (mp_no): Make type of mantissa as MANTISSA_T.
4077 [!RADIXI]: Define RADIXI.
4078 [!TWO52]: Define TWO52.
4079 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4080
40812013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4082
4083 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4084 llroundl symbol when building for PPC32.
4085
40862013-03-24 Mark H Weaver <mhw@netris.org>
4087
4088 * manual/arith.texi (Normalization Functions): Fix prototypes for
4089 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4090
40912013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4092
4093 [BZ #13889]
4094 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4095 high value to check if expl overflow.
4096 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4097 to check for underflow and overflow.
4098 * math/libm-test.inc: Add exp test.
4099
41002013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4101
4102 [BZ #11120]
4103 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4104 with NOT_IN_libc.
4105
41062013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4107
4108 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4109 symbol.
4110
41112013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4112
4113 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4114 wrap blocks consisting of several statements.
4115
4116 * sysdeps/generic/math-tests.h: New file.
4117 * sysdeps/i386/fpu/math-tests.h: Likewise.
4118 * math/test-snan.c: Include it.
4119 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4120
41212013-03-21 Joseph Myers <joseph@codesourcery.com>
4122
4123 [BZ #15285]
4124 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4125 (__ieee754_j0l): Do not improve calculations using cos of twice
4126 input for inputs above LDBL_MAX / 2.0L.
4127 (__ieee754_y0l): Likewise.
4128 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4129 (__ieee754_j1l): Do not improve calculations using cos of twice
4130 input for inputs above LDBL_MAX / 2.0L.
4131 (__ieee754_y1l): Likewise.
4132 * math/libm-test.inc (j0_test): Add another test.
4133 (j1_test): Likewise.
4134 (y0_test): Likewise.
4135 (y1_test): Likewise.
4136 * sysdeps/i386/fpu/libm-test-ulps: Update.
4137
41382013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4139
4140 * Rules ($(objpfx)bench-%.c): Include code from a C source
4141 file.
4142
41432013-03-21 Joseph Myers <joseph@codesourcery.com>
4144
4145 [BZ #15287]
4146 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4147 imaginary part 1.0 and real part less than 0.5 specially.
4148 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4149 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4150 * math/libm-test.inc (cacos_test): Add more tests.
4151 (casin_test): Likewise.
4152 (casinh_test): Likewise.
4153 * sysdeps/i386/fpu/libm-test-ulps: Update.
4154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4155
41562013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4157
4158 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4159 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4160
41612013-03-20 Joseph Myers <joseph@codesourcery.com>
4162
4163 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4164 * config.make.in (config-cflags-sse4): Remove variable.
4165 (config-cflags-avx): Likewise.
4166 (config-cflags-sse2avx): Likewise.
4167 (config-cflags-novzeroupper): Likewise.
4168 (config-asflags-i686): Likewise.
4169 (have-mfma4): Likewise.
4170 (have-as-vis3): Likewise.
4171 (MIG): Likewise.
4172 * configure.in (MIG): Do not AC_SUBST.
4173 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4174 (libc_cv_cc_sse4): Do not AC_SUBST.
4175 (libc_cv_cc_avx): Likewise.
4176 (libc_cv_cc_sse2avx): Likewise.
4177 (libc_cv_cc_novzeroupper): Likewise.
4178 (libc_cv_cc_fma4): Likewise.
4179 (libc_cv_as_i686): Likewise.
4180 (libc_cv_sparc_as_vis3): Likewise.
4181 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4182 LIBC_CONFIG_VAR.
4183 (config-asflags-i686): Likewise.
4184 (config-cflags-avx): Likewise.
4185 (config-cflags-sse2avx): Likewise.
4186 (have-mfma4): Likewise.
4187 (config-cflags-novzeroupper): Likewise.
4188 * sysdeps/mach/configure.in (MIG): Likewise.
4189 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4190 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4191 LIBC_CONFIG_VAR.
4192 (config-cflags-avx): Likewise.
4193 (config-cflags-sse2avx): Likewise.
4194 (have-mfma4): Likewise.
4195 (config-cflags-novzeroupper): Likewise.
4196 * configure: Regenerated.
4197 * sysdeps/i386/configure: Likewise.
4198 * sysdeps/mach/configure: Likewise.
4199 * sysdeps/sparc/configure: Likewise.
4200 * sysdeps/x86_64/configure: Likewise.
4201
42022013-03-20 Roland McGrath <roland@hack.frob.com>
4203
4204 [BZ #14812]
4205 * locale/programs/localedef.c (options): Put N_ translation marker
4206 on argument names, not just descriptions.
4207
42082013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4209
4210 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4211
42122013-03-20 Ondřej Bílka <neleai@seznam.cz>
4213
4214 [BZ #14176]
4215 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4216
42172013-03-19 Roland McGrath <roland@hack.frob.com>
4218
4219 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4220 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4221 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4222 [!BEFORE_ABORT] (before_abort): New function.
4223 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4224 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4225 (writev_for_fatal): New function.
4226 (WRITEV_FOR_FATAL): New macro; call that.
4227 (backtrace_and_maps): New function.
4228 (BEFORE_ABORT): New macro; call that.
4229 (struct str_list): Type removed.
4230 (__libc_message, __libc_fatal): Functions removed.
4231 Include <sysdeps/posix/libc_fatal.c> instead.
4232
42332013-03-19 Joseph Myers <joseph@codesourcery.com>
4234
4235 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4236 constants.
4237 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4238 double constants.
4239
42402013-03-19 Andreas Schwab <schwab@suse.de>
4241
4242 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4243 * sysdeps/gnu/configure: Regenerate.
4244
4245 * configure.in: Substitute libc_cv_rtlddir.
4246 * configure: Regenerate.
4247 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4248 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4249 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4250 * elf/Makefile (install-others, CFLAGS-interp.c)
4251 (ldso_install, common-ldd-rewrite): Likewise.
4252 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4253 $(inst_slibdir)/$(rtld-installed-name).
4254 * scripts/rellns-sh: Add -p option.
4255 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4256 for source.
4257
42582013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4259
4260 * manual/nptl.texi: Renamed to ...
4261 * manual/threads.texi: ... this.
4262 * manual/Makefile (chapters): Update.
4263
42642013-03-18 Roland McGrath <roland@hack.frob.com>
4265
4266 [BZ #14812]
4267 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4268 on argument names, not just descriptions.
4269 * malloc/memusagestat.c (options): Likewise.
4270 * nss/getent.c (options): Likewise.
4271
42722013-03-18 Benno Schulenberg <bensberg@justemail.net>
4273
4274 [BZ #14812]
4275 * iconv/iconv_prog.c (options): Put N_ translation marker
4276 on argument names, not just descriptions.
4277 * iconv/iconvconfig.c (options): Likewise.
4278
42792013-03-18 Ondrej Bilka <neleai@seznam.cz>
4280
4281 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4282 implementation which is faster on all x86_64 architectures.
4283 Tested on AMD, Intel Nehalem, SNB, IVB.
4284 * sysdeps/x86_64/strnlen.S: Likewise.
4285
4286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4287 Remove all multiarch strlen and strnlen versions.
4288 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4289 Remove strlen and strnlen related parts.
4290
4291 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4292 Inline strlen part.
4293 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4294
4295 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4296 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4297 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4298 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4299 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4300 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4301
43022013-03-17 Carlos O'Donell <carlos@redhat.com>
4303
4304 * manual/memory.texi (Malloc Tunable Parameters):
4305 Sort parameters alphabetically. Add comments for missing entries.
4306
43072013-03-17 David S. Miller <davem@davemloft.net>
4308
4309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4310
43112013-03-16 Joseph Myers <joseph@codesourcery.com>
4312
4313 [BZ #15283]
4314 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4315 for arguments at most half maximum finite value.
4316 * math/libm-test.inc (j0_test): Add more tests.
4317 (j1_test): Likewise.
4318 (y0_test): Likewise.
4319 (y1_test): Likewise.
4320 * sysdeps/i386/fpu/libm-test-ulps: Update.
4321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4322
4323 [BZ #14155]
4324 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4325 1 / x and functions P and Q for arguments above 0x1p256L.
4326 (__ieee754_y0l): Likewise.
4327 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4328 (__ieee754_y1l): Likewise.
4329 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4330 (j1_test): Likewise.
4331 (y0_test): Likewise.
4332 (y1_test): Likewise.
4333
43342013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4335
4336 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4337 variable.
4338
43392013-03-15 Roland McGrath <roland@hack.frob.com>
4340
4341 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4342 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4343 zero since it's initialized to EXEC_PAGESIZE.
4344
4345 * sysdeps/unix/sysv/linux/ldsodefs.h
4346 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4347 * sysdeps/generic/ldsodefs.h: ... here.
4348
43492013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4350
4351 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4352
4353 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4354 math/test-snan.c.
4355 * math/test-snan.c: Renamed from
4356 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4357 * math/Makefile (tests): Add test-snan.
4358 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4359 test-powerpc-snan.
4360
4361 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4362 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4363 functions.
4364 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4365 __builtin_nan family of functions.
4366 * math/libm-test.inc (initialize): Initialize qnan_value with
4367 __builtin_nan family of functions.
4368 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4369 Remove variables.
4370 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4371 Remove functions.
4372 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4373 storage class. Initialize qNaN_var and sNaN_var with
4374 __builtin_nan and __builtin_nans families of functions,
4375 respectively.
4376
4377 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4378 (sqrt_test): Remove duplicate test with qNaN input.
4379 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4380 (round_test, signbit_test, significand_test): Note missing +/-Inf
4381 as well as qNaN tests.
4382
4383 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4384 qNaN_var. Fix a few strings, too.
4385 * math/libm-test.inc (nan_value): Rename to qnan_value.
4386 * math/gen-libm-test.pl (%beautify): Adjust to that.
4387 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4388 * math/test-misc.c (main): Likewise.
4389 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4390 to __qnan_bytes, and __qnan_union, respectively.
4391 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4392 Likewise.
4393 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4394 and lqnanval, respectively.
4395 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4396 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4397 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4398 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4399
4400 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4401 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4402 doubles.
4403
4404 * math/test-misc.c (main): Fix copy'n'pastos.
4405 * misc/tst-efgcvt.c (special): Likewise.
4406
4407 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4408 Remove declarations.
4409
44102013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4411
4412 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4413 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4414 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4415 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4416
44172013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4418
4419 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4420 macro to return vdso values correctly in IFUNC implementations.
4421 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4422 Optimization by using IFUNC.
4423
44242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4425 Richard Henderson <rth@redhat.com>
4426 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4427
4428 * Makefile.in (bench): New target.
4429 * NEWS: Mention the benchmark framework.
4430 * Rules (bench): Likewise.
4431 (binaries-bench): Generate binaries for functions to
4432 benchmark.
4433 * benchtests/Makefile: New makefile for benchmark tests.
4434 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4435 programs.
4436 * benchtests/exp-inputs: New input file for EXP function.
4437 * benchtests/pow-inputs: New input file for POW function.
4438 * scripts/bench.pl: New script to generate source files for
4439 benchmark programs.
4440
44412013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4442
4443 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4444 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4445 computations on mantissa. Use macros for rounding and
4446 division.
4447 (denorm): Likewise.
4448 (__dbl_mp): Likewise.
4449 (add_magnitudes): Likewise.
4450 (sub_magnitudes): Likewise.
4451 (__mul): Likewise.
4452 (__sqr): Likewise.
4453 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4454 powers of two in terms of TWOPOW macro.
4455 (mp_no): Make type of mantissa as MANTISSA_T.
4456 [!RADIXI]: Define RADIXI.
4457 [!TWO52]: Define TWO52.
4458 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4459
4460 * manual/nptl.texi (cindex): Modify threads to pthreads.
4461
44622013-03-15 Joseph Myers <joseph@codesourcery.com>
4463
4464 * sysdeps/x86_64/preconfigure: Regenerated.
4465
44662013-03-14 Joseph Myers <joseph@codesourcery.com>
4467
4468 [BZ #14155]
4469 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4470 0x1p28 and above.
4471 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4472 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4473 0x1p28 and above.
4474 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4475 * math/libm-test.inc (j0_test): Do not allow one spurious
4476 underflow exception.
4477 (y1_test): Likewise.
4478
44792013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4480
4481 * manual/Makefile (chapters): Add nptl.
4482 * manual/debug.texi (Debugging Support): Add link to Threads
4483 chapter.
4484 * manual/nptl.texi: New file.
4485
4486 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4487
44882013-03-14 Petr Baudis <pasky@ucw.cz>
4489
4490 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4491 for non-NULL pointer before the memory validity test. Pointed
4492 out by Holger Brunck <holger.brunck@keymile.com>.
4493
44942013-03-13 Andreas Schwab <schwab@suse.de>
4495
4496 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4497 instead of .os.
4498
44992013-03-13 Joseph Myers <joseph@codesourcery.com>
4500
4501 * timezone/zic.c: Update from tzcode 2013b.
4502
45032013-03-12 Carlos O'Donell <carlos@redhat.com>
4504
4505 * manual/install.texi (Configuring and compiling):
4506 Mention i686 and i586.
4507 * INSTALL: Regenerate.
4508
45092013-03-12 Roland McGrath <roland@hack.frob.com>
4510
4511 * sysdeps/init_array/elf-init.c: New file.
4512 * csu/elf-init.c
4513 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4514 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4515
4516 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4517 __gmon_start__ as global, but as static with a .preinit_array pointer.
4518 * sysdeps/init_array/gmon-start.c: New file. Use that.
4519 * sysdeps/init_array/crti.S: New file, empty except for comments.
4520 * sysdeps/init_array/crtn.S: Likewise.
4521
45222013-03-11 Ondřej Bílka <neleai@seznam.cz>
4523
4524 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4525 definining bcopy.
4526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4527 Remove Prefer_SSE_for_memop.
4528 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4529 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4530 HAS_PREFER_SSE_FOR_MEMOP.
4531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4532 memset-x86-64.
4533 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4534 Remove bzero, memset ifunc support.
4535 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4536 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4537 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4538 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4539
45402013-03-11 Andreas Schwab <schwab@suse.de>
4541
4542 [BZ #15234]
4543 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4544 by SHLIB_COMPAT.
4545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4546 (GLIBC_2.16): Remove pthread_atfork.
4547
45482013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4549
4550 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4551 (ptestcases.h): Likewise.
4552
45532013-03-08 Roland McGrath <roland@hack.frob.com>
4554
4555 * Makeconfig ($(common-objpfx)config.status): Depend on
4556 sysdeps/*/preconfigure{,.in} too.
4557
45582013-03-08 Joseph Myers <joseph@codesourcery.com>
4559
4560 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4561 (__free_hook): Use void * instead of __malloc_ptr_t.
4562 (__malloc_hook): Likewise.
4563 (__realloc_hook): Likewise.
4564 (__memalign_hook): Likewise.
4565 (__after_morecore_hook): Likewise.
4566 * malloc/arena.c (save_malloc_hook): Likewise.
4567 (save_free_hook): Likewise.
4568 * malloc/hooks.c (malloc_hook_ini): Likewise.
4569 (realloc_hook_ini): Likewise.
4570 (memalign_hook_ini): Likewise.
4571 * malloc/malloc.c (malloc_hook_ini): Likewise.
4572 (realloc_hook_ini): Likewise.
4573 (memalign_hook_ini): Likewise.
4574 (__free_hook): Likewise.
4575 (__malloc_hook): Likewise.
4576 (__realloc_hook): Likewise.
4577 (__memalign_hook): Likewise.
4578 (__libc_malloc): Likewise.
4579 (__libc_free): Likewise.
4580 (__libc_realloc): Likewise.
4581 (__libc_memalign): Likewise.
4582 (__libc_valloc): Likewise.
4583 (__libc_pvalloc): Likewise.
4584 (__libc_calloc): Likewise.
4585 (__posix_memalign): Likewise.
4586 * malloc/morecore.c (__sbrk): Likewise.
4587 (__default_morecore): Likewise.
4588
4589 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4590
4591 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4592 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4593 __malloc_ptrdiff_t.
4594
4595 * malloc/malloc.h (__malloc_size_t): Remove macro.
4596 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4597 __malloc_size_t.
4598 (old_memalign_hook): Likewise.
4599 (old_realloc_hook): Likewise.
4600 (struct hdr): Likewise.
4601 (flood): Likewise.
4602 (mallochook): Likewise.
4603 (memalignhook): Likewise.
4604 (reallochook): Likewise.
4605 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4606 (tr_old_realloc_hook): Likewise.
4607 (tr_old_memalign_hook): Likewise.
4608 (tr_mallochook): Likewise.
4609 (tr_reallochook): Likewise.
4610 (tr_memalignhook): Likewise.
4611
46122013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4613
4614 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4615 default_ldbl_pack and using as default implementation.
4616 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4617 implementation.
4618 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4619 redundant definition.
4620 (ldbl_insert_mantissa): Likewise.
4621 (ldbl_canonicalize): Likewise.
4622 (ldbl_nearbyint): Likewise.
4623 (ldbl_pack): Rename to ldbl_pack_ppc.
4624 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4625 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4626 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4627
46282013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4629
4630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4631 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4632 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4633 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4635 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4636 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4637 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4638
46392013-03-07 Andreas Jaeger <aj@suse.de>
4640
4641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4642 bits/mman-linux.h.
4643
46442013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4645
4646 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4647 Include mpa.h and declare __MPEXP.
4648 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4649 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4650 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4651 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4652 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4653 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4654 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4655
4656 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4657 (__slowpow): Use long double EXPL and LOGL functions to
4658 compute POW.
4659 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4660 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4661 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4662 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4663 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4664 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4665
4666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4667 intermediate variable to calculate exponent.
4668 (__sqr): Likewise.
4669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4670 Likewise.
4671 (__sqr): Likewise.
4672
4673 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4674 [!NO__SQR]: Define __sqr.
4675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4676 and NO__SQR. Remove all code except __mul and __sqr. Include
4677 sysdeps/ieee754/dbl-64/mpa.c.
4678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4679
4680 [BZ #12723]
4681 * posix/Makefile (tests): Add tst-pathconf.
4682 * posix/tst-pathconf.c: New test case.
4683 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4684 _PC_PIPE_BUF.
4685 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4686
46872013-03-06 Patsy Franklin <pfrankli@redhat.com>
4688
4689 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4690
46912013-03-06 Andreas Jaeger <aj@suse.de>
4692
4693 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4694 definition via __MAP_ANONYMOUS.
4695
4696 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4697 it's not part of Linux headers.
4698
4699 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4700 (MAP_HUGE_MASK): Define.
4701
4702 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4703 Define.
4704 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4705 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4706 Define.
4707 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4708 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4709 Define.
4710 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4711 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4712 Define.
4713 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4714
4715 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4716 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4717 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4718 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4719 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4720 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4721
4722 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4723 Handle f2fs.
4724
4725 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4726 Handle f2fs and efivarfs.
4727
4728 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4729 f2fs.
4730
4731 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4732 (EFIVARFS_MAGIC): Add.
4733 (F2FS_LINK_MAX): Add.
4734
47352013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4736
4737 * stdio-common/vfprintf.c: Replace __builtin_expect with
4738 __glibc_unlikely.
4739
47402013-03-06 Joseph Myers <joseph@codesourcery.com>
4741
4742 [BZ #13550]
4743 * sysdeps/generic/bp-sym.h: Remove file.
4744 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4745 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4746 <bp-sym.h> and <bp-asm.h>.
4747 (__longjmp): Don't use BP_SYM.
4748 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4749 and <bp-asm.h>.
4750 (memcpy): Don't use BP_SYM.
4751 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4752 <bp-sym.h> and <bp-asm.h>.
4753 (memcpy): Don't use BP_SYM.
4754 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4755 <bp-asm.h>.
4756 (memcpy): Don't use BP_SYM.
4757 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4758 <bp-asm.h>.
4759 (memset): Don't use BP_SYM.
4760 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4761 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4762 (__bzero): Don't use BP_SYM.
4763 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4764 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4765 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4766 <bp-sym.h> and <bp-asm.h>.
4767 (memcmp): Don't use BP_SYM. Remove comment about bounded
4768 pointers.
4769 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4770 <bp-sym.h> and <bp-asm.h>.
4771 (memcpy): Don't use BP_SYM.
4772 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4773 <bp-sym.h> and <bp-asm.h>.
4774 (memset): Don't use BP_SYM.
4775 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4776 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4777 (__bzero): Don't use BP_SYM.
4778 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4779 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4780 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4781 <bp-sym.h> and <bp-asm.h>.
4782 (strncmp): Don't use BP_SYM. Remove comment about bounded
4783 pointers.
4784 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4785 <bp-sym.h> and <bp-asm.h>.
4786 (memcpy): Don't use BP_SYM.
4787 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4788 <bp-sym.h> and <bp-asm.h>.
4789 (memset): Don't use BP_SYM.
4790 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4791 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4792 (__bzero): Don't use BP_SYM.
4793 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4794 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4795 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4796 <bp-sym.h> and <bp-asm.h>.
4797 (__memchr): Don't use BP_SYM.
4798 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4799 <bp-sym.h> and <bp-asm.h>.
4800 (memcmp): Don't use BP_SYM. Remove comment about bounded
4801 pointers.
4802 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4803 <bp-sym.h> and <bp-asm.h>.
4804 (memcpy): Don't use BP_SYM.
4805 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4806 <bp-sym.h> and <bp-asm.h>.
4807 (__mempcpy): Don't use BP_SYM.
4808 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4809 <bp-sym.h> and <bp-asm.h>.
4810 (__memrchr): Don't use BP_SYM.
4811 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4812 <bp-sym.h> and <bp-asm.h>.
4813 (memset): Don't use BP_SYM.
4814 (__bzero): Likewise.
4815 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4816 <bp-sym.h> and <bp-asm.h>.
4817 (__rawmemchr): Don't use BP_SYM.
4818 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4819 <bp-sym.h> and <bp-asm.h>.
4820 (__STRCMP): Don't use BP_SYM.
4821 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4822 <bp-sym.h> and <bp-asm.h>.
4823 (strchr): Don't use BP_SYM.
4824 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4825 <bp-sym.h> and <bp-asm.h>.
4826 (__strchrnul): Don't use BP_SYM.
4827 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4828 <bp-sym.h> and <bp-asm.h>.
4829 (strlen): Don't use BP_SYM.
4830 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4831 <bp-sym.h> and <bp-asm.h>.
4832 (strncmp): Don't use BP_SYM. Remove comment about bounded
4833 pointers.
4834 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4835 <bp-sym.h> and <bp-asm.h>.
4836 (__strnlen): Don't use BP_SYM.
4837 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4838 <bp-sym.h> and <bp-asm.h>.
4839 (__GI__setjmp): Don't use BP_SYM.
4840 (_setjmp): Likewise.
4841 (__sigsetjmp): Likewise.
4842 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4843 (L(start_addresses)): Don't use BP_SYM.
4844 (_start): Likewise.
4845 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4846 <bp-asm.h>.
4847 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4848 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4849 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4850 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4851 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4852 <bp-asm.h>.
4853 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4854 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4855 about bounded pointers.
4856 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4857 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4858 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4859 <bp-asm.h>.
4860 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4861 about bounded pointers. Remove GKM FIXME comments.
4862 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4863 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4864 <bp-asm.h>.
4865 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4866 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4867 Remove GKM FIXME comments.
4868 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4869 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4870 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4871 <bp-asm.h>.
4872 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4873 about bounded pointers. Remove GKM FIXME comment.
4874 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4875 and <bp-asm.h>.
4876 (strncmp): Don't use BP_SYM. Remove comment about bounded
4877 pointers.
4878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4879 <bp-sym.h> and <bp-asm.h>.
4880 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4882 <bp-sym.h> and <bp-asm.h>.
4883 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4884 comment.
4885
48862013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4887
4888 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4889 call free(NULL).
4890
48912013-03-05 David S. Miller <davem@davemloft.net>
4892
4893 * po/es.po: Update from translation team.
4894
48952013-03-05 Andreas Jaeger <aj@suse.de>
4896
4897 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4898 <bits/mman-linux.h>.
4899 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4900 is fine.
4901 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4902 <bits/mman-linux.h> to end of file.
4903 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4904 is fine.
4905 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4906 <bits/mman-linux.h> to end of file.
4907 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4908 is fine.
4909 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4910 <bits/mman-linux.h> to end of file.
4911
4912 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4913 (MCL_CURRENT, MCL_FUTURE): Define here.
4914
49152013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4916
4917 [BZ #15232]
4918 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4919 attribute_hidden.
4920 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4921
49222013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4923
4924 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4925 fourth parameter needed for rt_sigprocmask syscall.
4926 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4927 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4928 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4929 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4930 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4931 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4932
49332013-03-04 Joseph Myers <joseph@codesourcery.com>
4934
4935 [BZ #13550]
4936 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4937 comment about bounded pointers.
4938 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4939 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4940
49412013-03-04 Andreas Jaeger <aj@suse.de>
4942
4943 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4944 common definitions.
4945
4946 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4947 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4948 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4949 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4950 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4952
49532013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4954
4955 [BZ #15055]
4956 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4957 __ieee754_sqrl instead of __sqrl.
4958
49592013-03-01 Joseph Myers <joseph@codesourcery.com>
4960
4961 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4962 * sysdeps/powerpc/fpu_control.h: ... here.
4963 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4964 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4965 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4966 * sysdeps/powerpc/bits/mathinline.h: ... here.
4967
49682013-03-01 Roland McGrath <roland@hack.frob.com>
4969
4970 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4971 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4972 to just [NEED_DL_SYSINFO_DSO].
4973 * elf/dl-support.c: Likewise.
4974 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4975 * elf/rtld.c (dl_main): Likewise.
4976 * elf/setup-vdso.h (setup_vdso): Likewise.
4977 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4978 * sysdeps/unix/sysv/linux/dl-sysdep.c
4979 (_dl_discover_osversion): Likewise.
4980
49812013-03-01 Carlos O'Donell <carlos@redhat.com>
4982
4983 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4984 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4985
49862013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4987
4988 * NEWS: Mention libm performance improvements and non-x86 PI
4989 futex support.
4990
4991 * csu/libc-start.c (__pthread_initialize_minimal): Change
4992 function arguments.
4993 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4994
49952013-02-28 Joseph Myers <joseph@codesourcery.com>
4996
4997 [BZ #13550]
4998 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4999 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5000 <bp-sym.h> and <bp-asm.h>.
5001 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5002 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5003 and <bp-asm.h>.
5004 (memcpy): Don't use BP_SYM.
5005 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5006 <bp-asm.h>.
5007 (__mpn_add_n): Don't use BP_SYM.
5008 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5009 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5010 and <bp-asm.h>.
5011 (__mpn_addmul_1): Don't use BP_SYM.
5012 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5013 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5014 <bp-sym.h>.
5015 (_setjmp): Don't use BP_SYM.
5016 (__novmx_setjmp): Likewise.
5017 (__GI__setjmp): Likewise.
5018 (__vmx_setjmp): Likewise.
5019 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5020 <bp-sym.h>.
5021 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5022 (__bzero): Don't use BP_SYM.
5023 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5024 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5025 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5026 <bp-sym.h> and <bp-asm.h>.
5027 (memcpy): Don't use BP_SYM.
5028 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5029 <bp-sym.h> and <bp-asm.h>.
5030 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5031 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5032 <bp-sym.h> and <bp-asm.h>.
5033 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5034 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5035 <bp-asm.h>.
5036 (__mpn_lshift): Don't use BP_SYM.
5037 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5038 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5039 <bp-asm.h>.
5040 (memset): Don't use BP_SYM.
5041 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5042 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5043 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5044 <bp-asm.h>.
5045 (__mpn_mul_1): Don't use BP_SYM.
5046 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5047 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5048 <bp-sym.h> and <bp-asm.h>.
5049 (memcmp): Don't use BP_SYM.
5050 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5051 <bp-sym.h> and <bp-asm.h>.
5052 (memcpy): Don't use BP_SYM.
5053 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5054 <bp-sym.h> and <bp-asm.h>.
5055 (memset): Don't use BP_SYM.
5056 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5057 <bp-sym.h> and <bp-asm.h>.
5058 (strncmp): Don't use BP_SYM.
5059 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5060 <bp-sym.h> and <bp-asm.h>.
5061 (memcpy): Don't use BP_SYM.
5062 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5063 <bp-sym.h> and <bp-asm.h>.
5064 (memset): Don't use BP_SYM.
5065 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5066 <bp-sym.h> and <bp-asm.h>.
5067 (__memchr): Don't use BP_SYM.
5068 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5069 <bp-sym.h> and <bp-asm.h>.
5070 (memcmp): Don't use BP_SYM.
5071 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5072 <bp-sym.h> and <bp-asm.h>.
5073 (memcpy): Don't use BP_SYM.
5074 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5075 <bp-sym.h> and <bp-asm.h>.
5076 (__mempcpy): Don't use BP_SYM.
5077 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5078 <bp-sym.h> and <bp-asm.h>.
5079 (__memrchr): Don't use BP_SYM.
5080 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5081 <bp-sym.h> and <bp-asm.h>.
5082 (memset): Don't use BP_SYM.
5083 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5084 <bp-sym.h> and <bp-asm.h>.
5085 (__rawmemchr): Don't use BP_SYM.
5086 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5087 <bp-sym.h> and <bp-asm.h>.
5088 (__STRCMP): Don't use BP_SYM.
5089 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5090 <bp-sym.h> and <bp-asm.h>.
5091 (strchr): Don't use BP_SYM.
5092 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5093 <bp-sym.h> and <bp-asm.h>.
5094 (__strchrnul): Don't use BP_SYM.
5095 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5096 <bp-sym.h> and <bp-asm.h>.
5097 (strlen): Don't use BP_SYM.
5098 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5099 <bp-sym.h> and <bp-asm.h>.
5100 (strncmp): Don't use BP_SYM.
5101 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5102 <bp-sym.h> and <bp-asm.h>.
5103 (__strnlen): Don't use BP_SYM.
5104 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5105 <bp-asm.h>.
5106 (__mpn_rshift): Don't use BP_SYM.
5107 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5108 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5109 <bp-sym.h> and <bp-asm.h>.
5110 (__sigsetjmp): Don't use BP_SYM.
5111 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5112 (L(start_addresses)): Don't use BP_SYM.
5113 (_start): Likewise.
5114 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5115 <bp-asm.h>.
5116 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5117 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5118 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5119 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5120 <bp-asm.h>.
5121 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5122 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5123 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5124 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5125 <bp-asm.h>.
5126 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5127 comments.
5128 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5129 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5130 <bp-asm.h>.
5131 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5132 FIXME comments.
5133 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5134 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5135 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5136 <bp-asm.h>.
5137 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5138 comment.
5139 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5140 and <bp-asm.h>.
5141 (strncmp): Don't use BP_SYM,
5142 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5143 <bp-asm.h>.
5144 (__mpn_sub_n): Don't use BP_SYM.
5145 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5146 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5147 and <bp-asm.h>.
5148 (__mpn_submul_1): Don't use BP_SYM.
5149 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5151 <bp-sym.h> and <bp-asm.h>.
5152 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5154 <bp-sym.h> and <bp-asm.h>.
5155 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5156 comment.
5157
51582013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5159
5160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5161 Use ZK to minimize writes to Z.
5162 (sub_magnitudes): Simplify code a bit.
5163 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5164 Use ZK to minimize writes to Z.
5165 (sub_magnitudes): Simplify code a bit.
5166
51672013-02-27 Roland McGrath <roland@hack.frob.com>
5168
5169 * csu/gmon-start.c: Add special exception to license text.
5170
51712013-02-27 Richard Henderson <rth@redhat.com>
5172
5173 * scripts/config.guess: Update from config.git.
5174 * scripts/config.sub: Likewise.
5175
51762013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5177
5178 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5179
5180 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5181
5182 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5183
5184 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5185
5186 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5187
51882013-02-26 Roland McGrath <roland@hack.frob.com>
5189
5190 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5191 [$(build-shared = yes].
5192
51932013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5194
5195 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5196 (__mul): Reduce iterations for calculating mantissa.
5197
5198 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5199 MPTWO.
5200 (__mpranred): Likewise.
5201
5202 [BZ #15160]
5203 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5204 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5205
52062013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5207
5208 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5209 Define __attribute__.
5210
52112013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5212
5213 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5214 unused.
5215 * posix/regex_internal.h (__attribute): Remove.
5216 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5217 (re_string_context_at): Likewise.
5218 (bitset_not): Use __attribute__ and mark function as possibly
5219 unused.
5220 (bitset_merge): Likewise.
5221 (bitset_mask): Likewise.
5222 (re_string_char_size_at): Likewise.
5223 (re_string_wchar_at): Likewise.
5224 (re_string_elem_size_at): Likewise.
5225
52262013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5227
5228 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5229 code.
5230 (cc32): Likewise.
5231
5232 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5233 (__acr): Likewise.
5234 (__cpy): Likewise.
5235 (norm): Likewise.
5236 (denorm): Likewise.
5237 (__dbl_mp): Likewise.
5238 (add_magnitudes): Likewise.
5239 (sub_magnitudes): Likewise.
5240 (__mul): Likewise.
5241 (__inv): Likewise.
5242
5243 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5244 style.
5245
5246 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5247 style.
5248
5249 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5250 code.
5251
5252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5253 up changes with default code.
5254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5255 Likewise.
5256
52572013-02-24 Allan McRae <allan@archlinux.org>
5258
5259 * manual/socket.texi (The Internet Namespace): Order menu items
5260 to match that in the file.
5261
5262 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5263 node listing of the info page menu.
5264
52652013-02-21 Joseph Myers <joseph@codesourcery.com>
5266
5267 [BZ #13550]
5268 * sysdeps/i386/bp-asm.h: Remove file.
5269 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5270 (PARMS): Do not use macros from bp-asm.h.
5271 (S1): Likewise.
5272 (S2): Likewise.
5273 (SIZE): Likewise.
5274 (__mpn_add_n): Do not use BP_SYM
5275 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5276 "bp-asm.h".
5277 (PARMS): Do not use macros from bp-asm.h.
5278 (S1): Likewise.
5279 (SIZE): Likewise.
5280 (__mpn_addmul_1): Do not use BP_SYM
5281 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5282 "bp-asm.h".
5283 (PARMS): Do not use macros from bp-asm.h.
5284 (SIGMSK): Likewise.
5285 (_setjmp): Likewise. Do not use BP_SYM.
5286 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5287 "bp-asm.h".
5288 (PARMS): Do not use macros from bp-asm.h.
5289 (SIGMSK): Likewise.
5290 (setjmp): Likewise. Do not use BP_SYM.
5291 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5292 "bp-asm.h".
5293 (PARMS): Do not use macros from bp-asm.h.
5294 (__frexp): Do not use BP_SYM.
5295 (frexp): Likewise.
5296 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5297 "bp-asm.h".
5298 (PARMS): Do not use macros from bp-asm.h.
5299 (__frexpf): Do not use BP_SYM.
5300 (frexpf): Likewise.
5301 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5302 "bp-asm.h".
5303 (PARMS): Do not use macros from bp-asm.h.
5304 (__frexpl): Do not use BP_SYM.
5305 (frexpl): Likewise.
5306 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5307 "bp-asm.h".
5308 (PARMS): Do not use macros from bp-asm.h.
5309 (__remquo): Do not use BP_SYM.
5310 (remquo): Likewise.
5311 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5312 "bp-asm.h".
5313 (PARMS): Do not use macros from bp-asm.h.
5314 (__remquof): Do not use BP_SYM.
5315 (remquof): Likewise.
5316 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5317 "bp-asm.h".
5318 (PARMS): Do not use macros from bp-asm.h.
5319 (__remquol): Do not use BP_SYM.
5320 (remquol): Likewise.
5321 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5322 "bp-asm.h".
5323 (PARMS): Do not use macros from bp-asm.h.
5324 (DEST): Likewise.
5325 (SRC): Likewise.
5326 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5327 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5328 "bp-asm.h".
5329 (PARMS): Do not use macros from bp-asm.h.
5330 (strlen): Do not use BP_SYM.
5331 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5332 "bp-asm.h".
5333 (PARMS): Do not use macros from bp-asm.h.
5334 (S1): Likewise.
5335 (S2): Likewise.
5336 (SIZE): Likewise.
5337 (__mpn_add_n): Do not use BP_SYM.
5338 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5339 "bp-asm.h".
5340 (PARMS): Do not use macros from bp-asm.h.
5341 (S1): Likewise.
5342 (SIZE): Likewise.
5343 (__mpn_addmul_1): Do not use BP_SYM.
5344 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5345 weak_alias.
5346 (bzero): Likewise.
5347 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5348 "bp-asm.h".
5349 (PARMS): Do not use macros from bp-asm.h.
5350 (S): Likewise.
5351 (SIZE): Likewise.
5352 (__mpn_lshift): Do not use BP_SYM.
5353 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5354 "bp-asm.h".
5355 (PARMS): Do not use macros from bp-asm.h.
5356 (DEST): Likewise.
5357 (SRC): Likewise.
5358 (LEN): Likewise.
5359 (memcpy): Likewise. Do not use BP_SYM.
5360 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5361 libc_hidden_def and weak_alias.
5362 (mempcpy): Do not use BP_SYM in weak_alias.
5363 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5364 "bp-asm.h".
5365 (PARMS): Do not use macros from bp-asm.h.
5366 (DEST): Likewise.
5367 (LEN): Likewise.
5368 [!BZERO_P] (CHR): Likewise.
5369 (memset): Likewise. Do not use BP_SYM.
5370 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5371 "bp-asm.h".
5372 (PARMS): Do not use macros from bp-asm.h.
5373 (S1): Likewise.
5374 (SIZE): Likewise.
5375 (__mpn_mul_1): Do not use BP_SYM.
5376 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5377 "bp-asm.h".
5378 (PARMS): Do not use macros from bp-asm.h.
5379 (S): Likewise.
5380 (SIZE): Likewise.
5381 (__mpn_rshift): Do not use BP_SYM.
5382 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5383 "bp-asm.h".
5384 (PARMS): Do not use macros from bp-asm.h.
5385 (STR): Likewise.
5386 (CHR): Likewise.
5387 (strchr): Likewise. Do not use BP_SYM.
5388 (index): Do not use BP_SYM in weak_alias.
5389 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5390 "bp-asm.h".
5391 (PARMS): Do not use macros from bp-asm.h.
5392 (DEST): Likewise.
5393 (SRC): Likewise.
5394 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5395 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5396 "bp-asm.h".
5397 (PARMS): Do not use macros from bp-asm.h.
5398 (strlen): Do not use BP_SYM.
5399 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5400 "bp-asm.h".
5401 (PARMS): Do not use macros from bp-asm.h.
5402 (S1): Likewise.
5403 (S2): Likewise.
5404 (SIZE): Likewise.
5405 (__mpn_sub_n): Do not use BP_SYM.
5406 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5407 "bp-asm.h".
5408 (PARMS): Do not use macros from bp-asm.h.
5409 (S1): Likewise.
5410 (SIZE): Likewise.
5411 (__mpn_submul_1): Do not use BP_SYM.
5412 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5413 "bp-asm.h".
5414 (PARMS): Do not use macros from bp-asm.h.
5415 (S1): Likewise.
5416 (S2): Likewise.
5417 (SIZE): Likewise.
5418 (__mpn_add_n): Do not use BP_SYM.
5419 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5420 weak_alias.
5421 (bzero): Likewise.
5422 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5423 "bp-asm.h".
5424 (PARMS): Do not use macros from bp-asm.h.
5425 (BLK2): Likewise.
5426 (LEN): Likewise.
5427 (memcmp): Do not use BP_SYM.
5428 (bcmp): Do not use BP_SYM in weak_alias.
5429 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5430 "bp-asm.h".
5431 (PARMS): Do not use macros from bp-asm.h.
5432 (DEST): Likewise.
5433 (SRC): Likewise.
5434 (LEN): Likewise.
5435 (memcpy): Likewise. Do not use BP_SYM.
5436 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5437 "bp-asm.h".
5438 (PARMS): Do not use macros from bp-asm.h.
5439 (DEST): Likewise.
5440 (SRC): Likewise.
5441 (LEN): Likewise.
5442 (memmove): Likewise. Do not use BP_SYM.
5443 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5444 "bp-asm.h".
5445 (PARMS): Do not use macros from bp-asm.h.
5446 (DEST): Likewise.
5447 (SRC): Likewise.
5448 (LEN): Likewise.
5449 (__mempcpy): Likewise. Do not use BP_SYM.
5450 (mempcpy): Do not use BP_SYM in weak_alias.
5451 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5452 "bp-asm.h".
5453 (PARMS): Do not use macros from bp-asm.h.
5454 (DEST): Likewise.
5455 (LEN): Likewise.
5456 [!BZERO_P] (CHR): Likewise.
5457 (memset): Likewise. Do not use BP_SYM.
5458 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5459 "bp-asm.h".
5460 (PARMS): Do not use macros from bp-asm.h.
5461 (STR2): Likewise.
5462 (strcmp): Do not use BP_SYM.
5463 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5464 "bp-asm.h".
5465 (PARMS): Do not use macros from bp-asm.h.
5466 (STR): Likewise.
5467 (DELIM): Likewise.
5468 [USE_AS_STRTOK_R] (SAVE): Likewise.
5469 (FUNCTION): Likewise. Do not use BP_SYM.
5470 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5471 aliases.
5472 (strtok_r): Likewise.
5473 (__GI___strtok_r): Likewise.
5474 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5475 (PARMS): Do not use macros from bp-asm.h.
5476 (S): Likewise.
5477 (SIZE): Likewise.
5478 (__mpn_lshift): Do not use BP_SYM.
5479 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5480 (PARMS): Do not use macros from bp-asm.h.
5481 (STR): Likewise.
5482 (CHR): Likewise.
5483 (__memchr): Do not use BP_SYM.
5484 (memchr): Do not use BP_SYM in weak_alias.
5485 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5486 (PARMS): Do not use macros from bp-asm.h.
5487 (BLK2): Likewise.
5488 (LEN): Likewise.
5489 (memcmp): Do not use BP_SYM.
5490 (bcmp): Do not use BP_SYM in weak_alias.
5491 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5492 (PARMS): Do not use macros from bp-asm.h.
5493 (S1): Likewise.
5494 (SIZE): Likewise.
5495 (__mpn_mul_1): Do not use BP_SYM.
5496 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5497 "bp-asm.h".
5498 (PARMS): Do not use macros from bp-asm.h.
5499 (STR): Likewise.
5500 (CHR): Likewise.
5501 (__rawmemchr): Do not use BP_SYM.
5502 (rawmemchr): Do not use BP_SYM in weak_alias.
5503 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5504 (PARMS): Do not use macros from bp-asm.h.
5505 (S): Likewise.
5506 (SIZE): Likewise.
5507 (__mpn_rshift): Do not use BP_SYM.
5508 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5509 (PARMS): Do not use macros from bp-asm.h.
5510 (SIGMSK): Likewise.
5511 (__sigsetjmp): Likewise. Do not use BP_SYM.
5512 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5513 (_start): Do not use BP_SYM.
5514 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5515 (PARMS): Do not use macros from bp-asm.h.
5516 (DEST): Likewise.
5517 (SRC): Likewise.
5518 (__stpcpy): Likewise. Do not use BP_SYM.
5519 (stpcpy): Do not use BP_SYM in weak_alias.
5520 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5521 "bp-asm.h".
5522 (PARMS): Do not use macros from bp-asm.h.
5523 (DEST): Likewise.
5524 (SRC): Likewise.
5525 (LEN): Likewise.
5526 (__stpncpy): Likewise. Do not use BP_SYM.
5527 (stpncpy): Do not use BP_SYM in weak_alias.
5528 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5529 (PARMS): Do not use macros from bp-asm.h.
5530 (STR): Likewise.
5531 (CHR): Likewise.
5532 (strchr): Likewise. Do not use BP_SYM.
5533 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5534 "bp-asm.h".
5535 (PARMS): Do not use macros from bp-asm.h.
5536 (STR): Likewise.
5537 (CHR): Likewise.
5538 (__strchrnul): Likewise. Do not use BP_SYM.
5539 (strchrnul): Do not use BP_SYM in weak_alias.
5540 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5541 "bp-asm.h".
5542 (PARMS): Do not use macros from bp-asm.h.
5543 (STOP): Likewise.
5544 (strcspn): Do not use BP_SYM.
5545 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5546 "bp-asm.h".
5547 (PARMS): Do not use macros from bp-asm.h.
5548 (STR): Likewise.
5549 (STOP): Likewise.
5550 (strpbrk): Likewise. Do not use BP_SYM.
5551 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5552 "bp-asm.h".
5553 (PARMS): Do not use macros from bp-asm.h.
5554 (STR): Likewise.
5555 (CHR): Likewise.
5556 (strrchr): Likewise. Do not use BP_SYM.
5557 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5558 (PARMS): Do not use macros from bp-asm.h.
5559 (SKIP): Likewise.
5560 (strspn): Do not use BP_SYM.
5561 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5562 (PARMS): Do not use macros from bp-asm.h.
5563 (STR): Likewise.
5564 (DELIM): Likewise.
5565 (SAVE): Likewise.
5566 (FUNCTION): Likewise. Do not use BP_SYM.
5567 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5568 aliases.
5569 (strtok_r): Likewise.
5570 (__GI___strtok_r): Likewise.
5571 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5572 (PARMS): Do not use macros from bp-asm.h.
5573 (S1): Likewise.
5574 (S2): Likewise.
5575 (SIZE): Likewise.
5576 (__mpn_sub_n): Do not use BP_SYM.
5577 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5578 "bp-asm.h".
5579 (PARMS): Do not use macros from bp-asm.h.
5580 (S1): Likewise.
5581 (SIZE): Likewise.
5582 (__mpn_submul_1): Do not use BP_SYM.
5583 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5584 <bp-sym.h>.
5585 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5586 and <bp-asm.h>.
5587 (PARMS): Do not use macros from bp-asm.h.
5588 (FLAGS): Likewise.
5589 (PTID): Likewise.
5590 (TLS): Likewise.
5591 (CTID): Likewise.
5592 (__clone): Do not use BP_SYM.
5593 (clone): Do not use BP_SYM in weak_alias.
5594 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5595 and <bp-asm.h>.
5596 (PARMS): Do not use macros from bp-asm.h.
5597 (LEN): Likewise.
5598 (__mmap64): Do not use BP_SYM.
5599 (mmap64): Do not use BP_SYM in weak_alias.
5600 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5601 <bp-sym.h> and <bp-asm.h>.
5602 (PARMS): Do not use macros from bp-asm.h.
5603 (__posix_fadvise64_l64): Do not use BP_SYM.
5604 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5605 (PARMS): Do not use macros from bp-asm.h.
5606 (NSOPS): Likewise.
5607 (semtimedop): Do not use BP_SYM.
5608 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5609 and <bp-asm.h>.
5610
56112013-02-21 Allan McRae <allan@archlinux.org>
5612
5613 * manual/message.texi (Charset conversion in gettext):
5614 Move @end statement to beginning of line.
5615
56162013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5617
5618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5619 static.
5620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5621 Likewise.
5622
5623 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5624 (denorm): Likewise.
5625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5627
56282013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5629
5630 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5631 tail-call to the resolved function if pltexit isn't needed.
5632
56332013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5634
5635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5636 or Y being zero as being unlikely.
5637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5638 Likewise.
5639
56402013-02-20 Carlos O'Donell <carlos@redhat.com>
5641
5642 * manual/nss.texi (System Databases and Name Service Switch):
5643 Remove frobnicate @pxref.
5644
56452013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5646
5647 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5648 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5649
56502013-02-20 Petr Machata <pmachata@redhat.com>
5651
5652 * elf/elf.h (R_ARM_TARGET1): New macro.
5653 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5654 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5655 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5656 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5657 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5658 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5659 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5660 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5661 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5662 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5663 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5664 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5665 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5666 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5667 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5668 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5669 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5670 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5671 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5672 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5673 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5674 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5675 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5676 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5677 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5678 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5679 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5680 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5681 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5682 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5683 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5684 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5685 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5686 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5687 (R_ARM_THM_GOT_BREL12): Likewise.
5688 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5689 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5690 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5691 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5692 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5693 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5694 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5695 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5696 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5697
56982013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5699
5700 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5701 __attribute_used__ to __attribute__ ((unused)).
5702
57032013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5704
5705 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5706 powerpc mpa.c.
5707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5708 comment formatting.
5709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5710
57112013-02-19 Joseph Myers <joseph@codesourcery.com>
5712
5713 [BZ #13550]
5714 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5715 Remove macro.
5716 (ENTER): Remove both macro definitions.
5717 (LEAVE): Likewise.
5718 (CHECK_BOUNDS_LOW): Likewise.
5719 (CHECK_BOUNDS_HIGH): Likewise.
5720 (CHECK_BOUNDS_BOTH): Likewise.
5721 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5722 (RETURN_BOUNDED_POINTER): Likewise.
5723 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5724 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5725 (POP_ERRNO_LOCATION_RETURN): Likewise.
5726 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5727 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5728 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5729 macros.
5730 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5731 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5732 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5733 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5734 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5735 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5736 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5737 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5738 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5739 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5740 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5741 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5742 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5743 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5744 removed macros.
5745 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5746 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5747 macros.
5748 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5749 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5750 * sysdeps/i386/i586/memset.S (memset): Likewise.
5751 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5752 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5753 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5754 macros.
5755 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5756 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5757 Change uses of L(2) to L(out).
5758 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5759 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5760 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5761 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5762 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5763 removed macros.
5764 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5765 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5766 macros.
5767 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5768 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5769 (RETURN): Do not use macro LEAVE.
5770 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5771 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5772 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5773 * sysdeps/i386/i686/memset.S (memset): Likewise.
5774 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5775 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5776 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5777 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5778 Likewise.
5779 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5780 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5781 L(1_2) and L(1_3) into L(1).
5782 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5783 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5784 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5785 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5786 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5787 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5788 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5789 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5790 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5791 macros.
5792 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5793 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5794 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5795 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5796 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5797 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5798 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5799 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5800 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5801 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5802 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5803 * sysdeps/i386/strspn.S (strspn): Likewise.
5804 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5805 conditional code.
5806 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5807 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5808 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5809 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5810 L(1_3) into L(1_1).
5811 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5812 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5813 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5814 macros.
5815 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5816
58172013-02-19 Jakub Jelinek <jakub@redhat.com>
5818
5819 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5820 macro.
5821
58222013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5823
5824 * math/atest-exp.c (exp_mpn): Remove ROUND.
5825 * math/atest-exp2.c (exp_mpn): Likewise.
5826 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5827
5828 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5829 * stdlib/tst-tls-atexit-lib.c: Likewise.
5830 * stdlib/tst-tls-atexit.c: Likewise.
5831
58322013-02-18 Mike Frysinger <vapier@gentoo.org>
5833
5834 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5835 and __attribute_alloc_size__.
5836
58372013-02-18 Mike Frysinger <vapier@gentoo.org>
5838
5839 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5840 __attribute_alloc_size__.
5841 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5842 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5843
58442013-02-18 Mike Frysinger <vapier@gentoo.org>
5845
5846 * include/programs/xmalloc.h: New file.
5847 * catgets/gencat.c: Include it.
5848 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5849 * elf/pldd.c: Likewise.
5850 * iconv/iconv_charmap.c: Likewise.
5851 * iconv/iconvconfig.c: Likewise.
5852 * iconv/strtab.c: Likewise.
5853 * locale/programs/locale.c: Likewise.
5854 * locale/programs/localedef.h: Likewise.
5855 * locale/programs/simple-hash.c: Likewise.
5856 * nscd/nscd.h: Likewise.
5857 * nss/makedb.c: Likewise.
5858 * sysdeps/generic/ldconfig.h: Likewise.
5859
58602013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5861
5862 * Versions.def: Add GLIBC_2.18.
5863 * include/link.h (struct link_map): New member l_tls_dtor_count.
5864 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5865 (__call_tls_dtors): Likewise.
5866 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5867 __cxa_thread_atexit_impl.
5868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5869 Likewise.
5870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5871 Likewise.
5872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5873 Likewise.
5874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5875 Likewise.
5876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5878 Likewise.
5879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5880 Likewise.
5881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5883 Likewise.
5884 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5885 (tests): Add test case tst-tls-atexit.
5886 (modules-names): Add shared library for tst-tls-atexit.
5887 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5888 (GLIBC_PRIVATE): Add __call_tls_dtors.
5889 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5890 for libstdc++.
5891 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5892 * stdlib/tst-tls-atexit.c: New test case.
5893 * stdlib/tst-tls-atexit-lib.c: New test case.
5894
5895 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
5896
5897 * elf/Versions (ld): Add _dl_find_dso_for_object.
5898 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5899 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5900 (dl_open_worker): Use _dl_find_dso_for_object.
5901 * elf/dl-sym.c (do_sym): Likewise.
5902 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5903
59042013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5905
5906 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5907 Syntactic changes only.
5908 (_dl_runtime_profile): Do a tail-call to the resolved function.
5909
59102013-02-17 Joseph Myers <joseph@codesourcery.com>
5911
5912 [BZ #13550]
5913 * sysdeps/x86_64/bp-asm.h: Remove file.
5914 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5915 <bp-sym.h> and <bp-asm.h>.
5916 (__clone): Do not use BP_SYM.
5917 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5918 <bp-sym.h> and <bp-asm.h>.
5919 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5920 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5921 "bp-asm.h".
5922 (_setjmp): Do not use BP_SYM.
5923 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5924 "bp-asm.h".
5925 (setjmp): Do not use BP_SYM.
5926 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5927 libc_hidden_def.
5928 (mempcpy): Do not use BP_SYM in weak_alias.
5929 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5930 "bp-asm.h".
5931 (strchr): Do not use BP_SYM.
5932 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5933 "bp-asm.h".
5934 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5935 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5936 (_start): Do not use BP_SYM.
5937 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5938 "bp-asm.h".
5939 (strcat): Do not use BP_SYM.
5940 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5941 "bp-asm.h".
5942 (STRCMP): Do not use BP_SYM.
5943 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5944 "bp-asm.h".
5945 (STRCPY): Do not use BP_SYM.
5946 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5947 "bp-asm.h".
5948 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5949 "bp-asm.h".
5950 (FUNCTION): Do not use BP_SYM.
5951 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5952 weak_alias.
5953 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5954
59552013-02-17 Andreas Jaeger <aj@suse.de>
5956
5957 * time/Versions: Sort entries.
5958 * string/Versions: Likewise.
5959 * resolv/Versions: Likewise.
5960 * posix/Versions: Likewise.
5961 * iconv/Versions: Likewise.
5962 * elf/Versions: Likewise.
5963 * wcsmbs/Versions: Likewise.
5964
59652013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5966
5967 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5968 loop termination condition.
5969
5970 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5971 variable to calculate EZ.
5972 (__sqr): Likewise.
5973
5974 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5975 the lower precision input.
5976
59772013-02-15 Joseph Myers <joseph@codesourcery.com>
5978
5979 [BZ #13550]
5980 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5981 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5982 (run-via-rtld-prefix): Do not handle %-bp tests.
5983 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5984 (all-object-suffixes): Remove .ob.
5985 (bppfx): Remove variable.
5986 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5987 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5988 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5989 [$(build-bounded) = yes] (libtype.ob): Likewise.
5990 * Makerules (elide-routines.ob): Remove variable.
5991 (do-tests-clean): Do not handle *-bp.out.
5992 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5993 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5994 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5995 (tests): Do not include $(tests-bp.out).
5996 (xtests): Do not include $(xtests-bp.out).
5997 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5998 [$(build-bounded) = yes] ($(addprefix
5999 $(objpfx),$(binaries-bounded))): Remove rule.
6000 ($(objpfx)%-bp.out): Remove rule.
6001 * config.make.in (build-bounded): Remove variable.
6002 * crypt/Makefile [$(build-bounded) = yes]
6003 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6004 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6005 append to variable.
6006 [$(build-bounded) = yes] (install-lib): Likewise.
6007 [$(build-bounded) = yes] (generated): Likewise.
6008 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6009 Remove rule.
6010 * intl/Makefile [$(build-bounded) = yes]
6011 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6012 * math/Makefile [$(build-bounded) = yes]
6013 ($(tests:%=$(objpfx)%-bp): Likewise.
6014 * misc/Makefile [$(build-bounded) = yes]
6015 ($(objpfx)tst-tsearch-bp): Likewise.
6016 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6017 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6018 Remove dependency.
6019 * string/Makefile (o-objects.ob): Remove variable.
6020 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6021 (CFLAGS-.ob): Remove variable.
6022 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6023 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6024 both definitions of variable.
6025 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6026 (ASFLAGS-.ob): Remove variable.
6027
60282013-02-14 Joseph Myers <joseph@codesourcery.com>
6029
6030 [BZ #13550]
6031 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6032 Remove __BOUNDED_POINTERS__ from condition.
6033 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6034 * string/bits/string2.h [!__NO_STRING_INLINES &&
6035 !__BOUNDED_POINTERS__]: Likewise.
6036 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6037 Likewise.
6038 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6039 Remove conditional code.
6040 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6041 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6042 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6043 condition.
6044
6045 [BZ #13550]
6046 * csu/libc-start.c: Do not include <bp-sym.h>.
6047 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6048 * elf/dl-open.c: Do not include <bp-sym.h>.
6049 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6050 * math/fegetenv.c: Do not include <bp-sym.h>.
6051 (fegetenv): Do not use BP_SYM in versioned symbols.
6052 * nptl/sysdeps/pthread/bits/libc-lockP.h
6053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6054 <bp-sym.h>.
6055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6056 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6058 (__pthread_mutex_destroy): Likewise.
6059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6060 (__pthread_mutex_lock): Likewise.
6061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6062 (__pthread_mutex_trylock): Likewise.
6063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6064 (__pthread_mutex_unlock): Likewise.
6065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6066 (__pthread_mutexattr_init): Likewise.
6067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6068 (__pthread_mutexattr_destroy): Likewise.
6069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6070 (__pthread_mutexattr_settype): Likewise.
6071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6072 (__pthread_rwlock_init): Likewise.
6073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6074 (__pthread_rwlock_destroy): Likewise.
6075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6076 (__pthread_rwlock_rdlock): Likewise.
6077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6078 (__pthread_rwlock_tryrdlock): Likewise.
6079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6080 (__pthread_rwlock_wrlock): Likewise.
6081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6082 (__pthread_rwlock_trywrlock): Likewise.
6083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6084 (__pthread_rwlock_unlock): Likewise.
6085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6086 (__pthread_key_create): Likewise.
6087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6088 (__pthread_setspecific): Likewise.
6089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6090 (__pthread_getspecific): Likewise.
6091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6092 Likewise.
6093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6094 (_pthread_cleanup_push_defer): Likewise.
6095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6096 (_pthread_cleanup_pop_restore): Likewise.
6097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6098 (pthread_setcancelstate): Likewise.
6099 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6100 <bp-sym.h>.
6101 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6102 (memchr): Do not use BP_SYM in weak_alias.
6103 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6104 (fegetenv): Do not use BP_SYM in versioned symbols.
6105 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6106 (fesetenv): Do not use BP_SYM in versioned symbols.
6107 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6108 (feupdateenv): Do not use BP_SYM in versioned symbols.
6109 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6110 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6111 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6112 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6113 (open64): Do not use BP_SYM in weak_alias.
6114 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6115 (fegetenv): Do not use BP_SYM in versioned symbols.
6116 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6117 (fesetenv): Do not use BP_SYM in versioned symbols.
6118 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6119 (feupdateenv): Do not use BP_SYM in versioned symbols.
6120 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6121 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6122 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6123 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6124 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6125 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6126 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6127 <bp-sym.h>.
6128 (__libc_start_main): Do not use BP_SYM.
6129
61302013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6131
6132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6133 redundant return line.
6134 (norm): Likewise.
6135 (denorm): Likewise.
6136 (dbl_mp): Likewise.
6137 (sub_magnitudes): Likewise.
6138 (__add): Likewise.
6139 (__sub): Likewise.
6140 (__mul): Likewise.
6141 (__inv): Likewise.
6142 (__dvd): Likewise.
6143 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6144 (norm): Likewise.
6145 (denorm): Likewise.
6146 (dbl_mp): Likewise.
6147 (sub_magnitudes): Likewise.
6148 (__add): Likewise.
6149 (__sub): Likewise.
6150 (__mul): Likewise.
6151 (__inv): Likewise.
6152 (__dvd): Likewise.
6153
6154 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6155 instead of __mul.
6156 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6157 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6158 (cc32): Likewise.
6159
6160 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6161 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6163 of __mul for squares.
6164 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6165 function
6166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6167 Likewise.
6168 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6169 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6170
61712013-02-13 Joseph Myers <joseph@codesourcery.com>
6172
6173 [BZ #13550]
6174 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6175 code.
6176 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6177 prototype or function definition. Rename ubp_* variables and
6178 parameters. Remove argv definitions conditional on
6179 [__BOUNDED_POINTERS__].
6180 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6181 * elf/dl-runtime.c (_dl_fixup): Likewise.
6182 * include/set-hooks.h (RUN_HOOK): Likewise.
6183 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6184 definition.
6185 * string/strcpy.c (strcpy): Do not use __unbounded.
6186 * sysdeps/generic/frame.h (struct layout): Likewise.
6187 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6188 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6189 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6190 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6191 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6192 (__backtrace): Likewise.
6193 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6194 use __ptrvalue.
6195 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6196 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6197 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6198 Likewise.
6199 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6200 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6201 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6202 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6203 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6204 Do not use __unbounded.
6205 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6206 Rename __unboundedrlimits parameter to rlimits in prototype.
6207 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6208 Do not use __unbounded.
6209 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6210 not use __ptrvalue.
6211 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6212 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6213 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6214 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6215 __ptrvalue or __unbounded.
6216 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6217 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6218 use __unbounded.
6219 (__new_msgctl): Do not use __ptrvalue.
6220 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6221 __unbounded.
6222 (__libc_msgrcv): Do not use __ptrvalue.
6223 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6224 startup_info): Do not use __unbounded.
6225 (__libc_start_main): Likewise. Rename ubp_* variables and
6226 parameters. Remove argv definitions conditional on
6227 [__BOUNDED_POINTERS__].
6228 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6229 __ptrvalue.
6230 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6231 use __unbounded.
6232 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6233 or __ptrvalue.
6234 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6235 use __unbounded.
6236 (__new_shmctl): Do not use __ptrvalue.
6237 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6238 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6239 Likewise.
6240 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6241 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6242 (__libc_sigaction): Likewise.
6243 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6244 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6245 Likewise.
6246 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6247
62482013-02-13 Ondřej Bílka <neleai@seznam.cz>
6249
6250 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6251
6252 * string/mempcpy.c: Implement by calling memcpy.
6253
62542013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6255
6256 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6257
6258 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6259 evaluation.
6260
6261 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6262 values in the mantissa.
6263
6264 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6265 minimize writes to Z.
6266 (sub_magnitudes): Simplify code a bit.
6267
62682013-02-12 Roland McGrath <roland@hack.frob.com>
6269
6270 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6271 from the message. The linker prefixes all warnings with that already.
6272
62732013-02-12 Andreas Schwab <schwab@suse.de>
6274
6275 [BZ #15078]
6276 * posix/regexec.c (extend_buffers): Add parameter min_len.
6277 (check_matching): Pass minimum needed length.
6278 (clean_state_log_if_needed): Likewise.
6279 (get_subexp): Likewise.
6280 * posix/Makefile (tests): Add bug-regex34.
6281 (bug-regex34-ENV): Define.
6282 * posix/bug-regex34.c: New file.
6283
6284 [BZ #11561]
6285 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6286 elements compare against the byte sequence of it, not its name.
6287 * posix/Makefile (tests): Add bug-regex35.
6288 (bug-regex35-ENV): Define.
6289 * posix/bug-regex35.c: New file.
6290
62912013-02-11 Tom de Vries <tom@codesourcery.com>
6292
6293 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6294 comment.
6295 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6296 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6297 (CHECK_EOL): Add undef.
6298
62992013-02-11 Ondřej Bílka <neleai@seznam.cz>
6300
6301 * bits/stdlib-bsearch.h: New file.
6302 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6303 * stdlib/stdlib.h: Likewise.
6304
63052013-02-11 Roland McGrath <roland@hack.frob.com>
6306
6307 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6308 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6309 declaration.
6310 * manual/search.texi (Array Search Function): Add missing const in
6311 lfind prototype.
6312 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6313 declaration to use rlim_t.
6314 (Basic Scheduling Functions): Remove erroneous const from
6315 sched_getparam prototype. Remove erroneous * from
6316 sched_get_priority_max and sched_get_priority_min prototypes.
6317 (Resource Usage): Fix summary @comment on vtimes to refer to
6318 sys/vtimes.h rather than vtimes.h.
6319 Add missing *s in vtimes prototype.
6320 (Limits on Resources): Fix ulimit prototype to return long int.
6321 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6322 prototypes to use long int rather than double.
6323 (BSD Random): Fix initstate and setstate to use char *, not void *.
6324 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6325 prototype to make second argument 'struct aiocb64 *const[]'.
6326 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6327 (Status of AIO Operations): Remove erroneous const in aio_return and
6328 aio_return64 prototypes.
6329 (Synchronizing I/O): Fix sync prototype to return void.
6330 * manual/startup.texi (Suboptions): Remove an erroneous const in
6331 getsubopt prototype.
6332 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6333 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6334 use size_t rather than int.
6335 (Scanning All Users): Likewise for getpwent_r.
6336 (Setting Groups): Add missing const to setgroups prototype.
6337 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6338 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6339 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6340 'const void *' rather than 'const char *'.
6341 (Host Address Functions): Likewise for inet_ntop.
6342 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6343 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6344 ssize_t for return value.
6345 (Sending Data): Likewise for send, sendto, sendmsg.
6346 (Socket Option Functions): Add a missing const in setsockopt prototype.
6347 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6348 use wchar_t for the argument.
6349 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6350 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6351 take no arguments.
6352 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6353 double/float/long double for second argument.
6354 Fix return types of significand, significandf, significandl.
6355 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6356 argument in fchmod prototype.
6357 (File Owner): Use uid_t and gid_t in fchown prototype.
6358 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6359 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6360 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6361 use 'const struct dirent **' as argument types to CMP function pointer
6362 argument.
6363 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6364 (File Times): Fix summary magic @comment for struct utimbuf and utime
6365 to refer to utime.h, not time.h.
6366 * manual/string.texi (Argz Functions): Add missing const in
6367 argz_extract and argz_next prototypes.
6368 (Finding Tokens in a String): Likewise for basename.
6369 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6370 (Copying and Concatenation): Fix typo in wmemmove prototype.
6371 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6372 (Signal Stack): Remove erroneous const in sigstack prototype.
6373 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6374 prototype.
6375 (Simple Calendar Time): Likewise for stime.
6376 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6377 prototype.
6378 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6379 say sys/sysctl.h instead.
6380 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6381 and vsyslog prototypes.
6382
63832013-02-11 Tom de Vries <tom@codesourcery.com>
6384
6385 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6386 Remove.
6387
63882013-02-11 Roland McGrath <roland@hack.frob.com>
6389
6390 * misc/sys/mman.h: Fix typo in mremap comment.
6391
63922013-02-08 Roland McGrath <roland@hack.frob.com>
6393
6394 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6395 the '\0' terminator.
6396
63972013-02-08 Joseph Myers <joseph@codesourcery.com>
6398
6399 [BZ #13550]
6400 * debug/segfault.c: Don't include <bp-checks.h>.
6401 * sysdeps/generic/bp-checks.h: Remove file.
6402 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6403 (__GETDENTS): Don't use CHECK_N.
6404 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6405 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6406 (__getgroups): Don't use CHECK_N.
6407 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6408 (setgroups): Don't use CHECK_N.
6409 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6410 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6411 (__libc_msgrcv): Don't use CHECK_N.
6412 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6413 (__libc_msgsnd): Don't use CHECK_N.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6415 <bp-checks.h>.
6416 (__libc_pread): Don't use CHECK_N.
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6418 include <bp-checks.h>.
6419 (__libc_pread64): Don't use CHECK_N.
6420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6421 include <bp-checks.h>.
6422 (__libc_pwrite): Don't use CHECK_N.
6423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6424 include <bp-checks.h>.
6425 (__libc_pwrite64): Don't use CHECK_N.
6426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6427 <bp-checks.h>.
6428 (__libc_pread): Don't use CHECK_N.
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6430 include <bp-checks.h>.
6431 (__libc_pread64): Don't use CHECK_N.
6432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6433 include <bp-checks.h>.
6434 (__libc_pwrite): Don't use CHECK_N.
6435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6436 include <bp-checks.h>.
6437 (__libc_pwrite64): Don't use CHECK_N.
6438 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6439 (do_pread): Don't use CHECK_N.
6440 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6441 (do_pread64): Don't use CHECK_N.
6442 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6443 (do_pwrite): Don't use CHECK_N.
6444 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6445 (do_pwrite64): Don't use CHECK_N.
6446 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6447 (__libc_readv): Don't use CHECK_N.
6448 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6449 (semop): Don't use CHECK_N.
6450 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6451 <bp-checks.h>.
6452 (semtimedop): Don't use CHECK_N.
6453 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6454 (__libc_pread): Don't use CHECK_N.
6455 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6456 <bp-checks.h>.
6457 (__libc_pread64): Don't use CHECK_N.
6458 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6459 <bp-checks.h>.
6460 (__libc_pwrite): Don't use CHECK_N.
6461 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6462 <bp-checks.h>.
6463 (__libc_pwrite64): Don't use CHECK_N.
6464 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6465 <bp-checks.h>.
6466 (__libc_msgrcv): Don't use CHECK_N.
6467 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6468 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6469 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6470 (__libc_writev): Don't use CHECK_N.
6471
64722013-02-08 Roland McGrath <roland@hack.frob.com>
6473
6474 * string/strcpy.c: Removed unused variable.
6475
6476 * Makeconfig (+sysdep-includes): Define with := rather than =.
6477 Use an existing include/ subdir of each sysdeps dir before it.
6478
64792013-02-08 Carlos O'Donell <carlos@redhat.com>
6480
6481 * nscd/connection.c (register_traced_file): Comment function.
6482 [HAVE_INOTIFY] (union __inev): Define.
6483 [HAVE_INOTIFY] (inotify_check_files): New function.
6484 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6485 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6486 clear_db_cache.
6487 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6488
64892013-02-08 Carlos O'Donell <carlos@redhat.com>
6490
6491 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6492 loaded if not already and that a failure is permanent.
6493
64942013-02-08 Carlos O'Donell <carlos@redhat.com>
6495
6496 [BZ #15006]
6497 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6498 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6499
65002013-02-08 Joseph Myers <joseph@codesourcery.com>
6501
6502 [BZ #13550]
6503 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6504 (CHECK_1_NULL_OK): Likewise.
6505 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6506 (__fxstat): Do not use CHECK_1.
6507 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6508 <bp-checks.h>.
6509 (___fxstat64): Do not use CHECK_1.
6510 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6511 <bp-checks.h>.
6512 (__fxstatat): Do not use CHECK_1.
6513 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6514 <bp-checks.h>.
6515 (__fxstatat64): Do not use CHECK_1.
6516 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6517 <bp-checks.h>.
6518 (__fxstat): Do not use CHECK_1.
6519 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6520 <bp-checks.h>.
6521 (__fxstatat): Do not use CHECK_1.
6522 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6523 <bp-checks.h>.
6524 (__getresgid): Do not use CHECK_1.
6525 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6526 <bp-checks.h>.
6527 (__getresuid): Do not use CHECK_1.
6528 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6529 <bp-checks.h>.
6530 (__lxstat): Do not use CHECK_1.
6531 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6532 <bp-checks.h>.
6533 (__old_msgctl): Do not use CHECK_1.
6534 (__new_msgctl): Likewise.
6535 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6536 <bp-checks.h>.
6537 (__new_setrlimit): Do not use CHECK_1.
6538 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6539 <bp-checks.h>.
6540 (__old_shmctl): Do not use CHECK_1.
6541 (__new_shmctl): Likewise.
6542 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6543 <bp-checks.h>.
6544 (__xstat): Do not use CHECK_1.
6545 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6546 (__lxstat): Do not use CHECK_1.
6547 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6548 <bp-checks.h>.
6549 (___lxstat64): Do not use CHECK_1.
6550 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6551 (__old_msgctl): Do not use CHECK_1.
6552 (__new_msgctl): Likewise.
6553 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6554 <bp-checks.h>.
6555 (__gettimeofday): Do not use CHECK_1.
6556 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6557 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6558 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6559 <bp-checks.h>.
6560 (__gettimeofday): Do not use CHECK_1.
6561 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6562 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6563 (__new_shmctl): Do not use CHECK_1.
6564 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6565 <bp-checks.h>.
6566 (do_sigtimedwait): Do not use CHECK_1.
6567 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6568 <bp-checks.h>.
6569 (do_sigwaitinfo): Do not use CHECK_1.
6570 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6571 <bp-checks.h>.
6572 (msgctl): Do not use CHECK_1.
6573 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6574 <bp-checks.h>.
6575 (shmctl): Do not use CHECK_1.
6576 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6577 (ustat): Do not use CHECK_1.
6578 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6579 <bp-checks.h>.
6580 (__fxstat): Do not use CHECK_1.
6581 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6582 <bp-checks.h>.
6583 (__fxstatat): Do not use CHECK_1.
6584 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6585 <bp-checks.h>.
6586 (__lxstat): Do not use CHECK_1.
6587 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6588 <bp-checks.h>.
6589 (__xstat): Do not use CHECK_1.
6590 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6591 (__xstat): Do not use CHECK_1.
6592 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6593 (___xstat64): Do not use CHECK_1.
6594
6595 [BZ #13550]
6596 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6597 definitions.
6598 (CHECK_BOUNDS_HIGH): Likewise.
6599 * string/strcpy.c: Do not include <bp-checks.h>.
6600 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6601
66022013-02-07 Roland McGrath <roland@hack.frob.com>
6603
6604 * nscd/nscd-client.h (__nscd_drop_map_ref):
6605 Add __attribute__ ((unused)).
6606 * nis/nss-nisplus.h (niserr2nss): Likewise.
6607
6608 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6609 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6610
6611 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6612 Remove inline keyword.
6613 * include/rounding-mode.h (round_away): Likewise.
6614 * libio/wfileops.c (adjust_wide_data): Likewise.
6615 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6616 (__m128i_strloadu_tolower): Likewise.
6617 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6618 (__m128i_strloadu_tolower): Likewise.
6619 * time/mktime.c (ydhms_diff): Likewise.
6620 * locale/elem-hash.h (elem_hash): Likewise.
6621 * locale/setlocale.c (setdata): Likewise.
6622 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6623 (re_string_wchar_at): Likewise.
6624 (bitset_not, bitset_merge, bitset_mask): Likewise.
6625 [!(__GNUC__ > 3)] (inline): Remove macro.
6626 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6627 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6628 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6629 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6630 * string/memcmp.c (memcmp_bytes): Likewise.
6631 * locale/programs/locarchive.c (compute_hashval): Likewise.
6632 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6633 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6634 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6635 * nss/getent.c (print_rpc, print_protocols): Likewise.
6636 (print_passwd, print_group, print_aliases): Likewise.
6637 * nis/nss-nisplus.h (niserr2nss): Likewise.
6638 * nscd/connections.c (restart_p): Likewise.
6639 Change return type to bool.
6640
66412013-02-05 Roland McGrath <roland@hack.frob.com>
6642
6643 * Makeconfig (all-Depend-files): Add existing
6644 $(sorted-subdirs:=/Depend) files.
6645 (all-subdirs): Remove nss.
6646 * sysdeps/unix/inet/Subdirs: Add it here instead.
6647 * hesiod/Depend: New file.
6648
6649 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6650 instead of calling alloca.
6651
6652 * io/lseek.c (__lseek): Rename to __libc_lseek.
6653 Define __lseek as an alias.
6654
6655 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6656
66572013-02-04 Carlos O'Donell <carlos@redhat.com>
6658
6659 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6660 else clause and remove check for non-standard endianness.
6661
66622013-02-04 David S. Miller <davem@davemloft.net>
6663
6664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6665
66662013-02-04 Joseph Myers <joseph@codesourcery.com>
6667
6668 [BZ #13550]
6669 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6670 (__ubp_memchr): Remove prototype.
6671 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6672 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6673 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6674 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6675 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6676 Remove alias.
6677 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6678 (__ubp_memchr): Likewise.
6679 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6680 (__ubp_memchr): Likewise.
6681 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6682 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6683 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6684 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6685 CHECK_STRING.
6686 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6687 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6688 (__getcwd): Do not use CHECK_STRING.
6689 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6690 <bp-checks.h>.
6691 (__real_chown): Do not use CHECK_STRING.
6692 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6693 <bp-checks.h>.
6694 (fchownat): Do not use CHECK_STRING.
6695 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6696 CHECK_STRING.
6697 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6698 <bp-checks.h>.
6699 (__lchown): Do not use CHECK_STRING.
6700 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6701 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6702 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6703 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6705 include <bp-checks.h>.
6706 (truncate64): Do not use CHECK_STRING.
6707 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6708 <bp-checks.h>.
6709 (__real_chown): Do not use CHECK_STRING.
6710 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6711 <bp-checks.h>.
6712 (__lchown): Do not use CHECK_STRING.
6713 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6714 <bp-checks.h>.
6715 (__chown): Do not use CHECK_STRING.
6716 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6717 <bp-checks.h>.
6718 (truncate64): Do not use CHECK_STRING.
6719 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6720 Likewise.
6721 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6722 (__xmknod): Do not use CHECK_STRING.
6723 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6724 <bp-checks.h>.
6725 (__xmknodat): Do not use CHECK_STRING.
6726 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6727 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6728
67292013-02-04 Andreas Schwab <schwab@suse.de>
6730
6731 [BZ #14142]
6732 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6733 * include/netdb.h: Likewise for h_errno.
6734 * elf/tst-stackguard1.c: Include <tls.h>.
6735
67362013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6737
6738 * elf/link.h (struct link_map): Extend the l_addr comment.
6739 * include/link.h (struct link_map): Likewise.
6740
67412013-02-01 Joseph Myers <joseph@codesourcery.com>
6742
6743 [BZ #13550]
6744 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6745 (BOUNDED_1): Remove macro.
6746 * debug/backtrace.c: Don't include <bp-checks.h>.
6747 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6748 (__backtrace): Likewise.
6749 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6750 <bp-checks.h>.
6751 (__backtrace): Don't use BOUNDED_1.
6752 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6753 <bp-checks.h>.
6754 (__backtrace): Don't use BOUNDED_1.
6755 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6756 (__backtrace): Don't use BOUNDED_1.
6757 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6758 (shmat): Don't use BOUNDED_N.
6759
67602013-01-31 Joseph Myers <joseph@codesourcery.com>
6761
6762 [BZ #13550]
6763 * sysdeps/generic/bp-start.h: Remove file.
6764 * csu/libc-start.c: Don't include <bp-start.h>.
6765 (LIBC_START_MAIN): Set up __environ directly instead of using
6766 INIT_ARGV_and_ENVIRON.
6767 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6768 <bp-start.h>.
6769
6770 [BZ #13550]
6771 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6772 definitions.
6773 (CHECK_FCNTL): Likewise.
6774 (CHECK_N_PAGES): Likewise.
6775
6776 [BZ #13550]
6777 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6778 definitions.
6779 (CHECK_SIGSET_NULL_OK): Likewise.
6780 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6781 <bp-checks.h>.
6782 (sigpending): Don't use CHECK_SIGSET.
6783 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6784 <bp-checks.h>.
6785 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6786 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6787 <bp-checks.h>.
6788 (do_sigsuspend): Don't use CHECK_SIGSET.
6789 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6790 use CHECK_SIGSET.
6791 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6792 (do_sigwait): Don't use CHECK_SIGSET.
6793 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6794 use CHECK_SIGSET.
6795 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6796 include <bp-checks.h>.
6797 (sigpending): Don't use CHECK_SIGSET.
6798 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6799 include <bp-checks.h>.
6800 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6801 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6802 <bp-checks.h>.
6803 (sigpending): Don't use CHECK_SIGSET.
6804 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6805 <bp-checks.h>.
6806 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6807
6808 [BZ #13550]
6809 * sysdeps/generic/bp-semctl.h: Remove file.
6810 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6811 <bp-checks.h> and <bp-semctl.h>.
6812 (__old_semctl): Don't use CHECK_SEMCTL.
6813 (__new_semctl): Likewise.
6814 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6815 and <bp-semctl.h>.
6816 (__old_semctl): Don't use CHECK_SEMCTL.
6817 (__new_semctl): Likewise.
6818 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6819 <bp-checks.h> and <bp-semctl.h>.
6820 (__old_semctl): Don't use CHECK_SEMCTL.
6821 (__new_semctl): Likewise.
6822 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6823 <bp-checks.h> and <bp-semctl.h>.
6824 (semctl): Don't use CHECK_SEMCTL.
6825
6826 [BZ #13550]
6827 * Makerules (elide-bp-thunks): Remove variable.
6828 (elide-routines.oS): Don't use $(elide-bp-thunks).
6829 (elide-routines.os): Likewise.
6830 (elide-routines.o): Likewise.
6831 (elide-routines.op): Likewise.
6832 (elide-routines.og): Likewise.
6833 (objects): Don't use $(bp-thunks).
6834 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6835 include.
6836 (common-generated): Do not add s-proto-bp.d.
6837 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6838 (int): Likewise.
6839 (typ): Likewise.
6840 Do not generate makefile rules for bounded-pointer thunks.
6841 * sysdeps/generic/bp-thunks.h: Remove file.
6842 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6843 * sysdeps/unix/s-proto-bp.S: Likewise.
6844
6845 [BZ #15062]
6846 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6847 parts of result separately when argument is not close to line from
6848 -i to i and one part of argument is small.
6849 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6850 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6851 * math/libm-test.inc (cacos_test): Add more tests.
6852 (casin_test): Likewise.
6853 (casinh_test): Likewise.
6854 * sysdeps/i386/fpu/libm-test-ulps: Update.
6855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6856
68572013-01-31 David S. Miller <davem@davemloft.net>
6858
6859 * po/de.po: Update from translation team.
6860
68612013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6862
6863 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6864
68652013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6866
6867 * configure.in (_AC_PROG_CC_C89): New definition.
6868 * configure: Regenerate.
6869
6870 * configure.in (AC_PROG_CPP): New definition.
6871 * configure: Regenerate.
6872
68732013-01-23 Joseph Myers <joseph@codesourcery.com>
6874
6875 * debug/tst-backtrace.h: New file.
6876 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6877 (ret): Remove variable.
6878 (x): Likewise.
6879 (FAIL): Remove macro.
6880 (NO_INLINE): Likewise.
6881 (fn1): Use match function instead of strstr.
6882 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6883 (ret): Remove variable.
6884 (x): Likewise.
6885 (FAIL): Remove macro.
6886 (NO_INLINE): Likewise.
6887 (fn): Use match function instead of strstr.
6888 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6889 (ret): Remove variable.
6890 (x): Likewise.
6891 (FAIL): Remove macro.
6892 (NO_INLINE): Likewise.
6893 (handle_signal): Use match function instead of strstr.
6894 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6895 (ret): Remove variable.
6896 (x): Likewise.
6897 (FAIL): Remove macro.
6898 (NO_INLINE): Likewise.
6899 (handle_signal): Use match function instead of strstr.
6900
69012013-01-23 Roland McGrath <roland@hack.frob.com>
6902
6903 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6904
69052013-01-23 David S. Miller <davem@davemloft.net>
6906
6907 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6908 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6909 argument of CAS if possible.
6910 * sysdeps/sparc/sparc64/bits/atomic.h
6911 (__arch_compare_and_exchange_val_32_acq): Likewise.
6912 (__arch_compare_and_exchange_val_64_acq): Likewise.
6913
69142013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6915
6916 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6917 * sysdeps/posix/ulimit.c: ... this.
6918 Include <limits.h>.
6919 * sysdeps/unix/bsd/ulimit.c: Remove file.
6920
69212013-01-23 Adam Conrad <adconrad@0c3.net>
6922
6923 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6924 (LDFLAGS-tst-array5): Likewise.
6925
69262013-01-23 Joseph Myers <joseph@codesourcery.com>
6927
6928 [BZ #15036]
6929 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6930 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6931 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6932 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6933
69342013-01-21 David S. Miller <davem@davemloft.net>
6935
6936 * sysdeps/sparc/backtrace.c: New file.
6937 * sysdeps/sparc/sparc32/backtrace.h: New file.
6938 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6939 * sysdeps/sparc/sparc64/backtrace.h: New file.
6940 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6941 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6942 -funwind-tables.
6943
69442013-01-21 Andreas Schwab <schwab@suse.de>
6945
6946 [BZ #15020]
6947 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6948 closed its stdout.
6949
69502013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6951
6952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6953 "mpa2.h".
6954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6955
69562013-01-18 Joseph Myers <joseph@codesourcery.com>
6957 Mark Mitchell <mark@codesourcery.com>
6958 Tom de Vries <tom@codesourcery.com>
6959 Paul Pluzhnikov <ppluzhnikov@google.com>
6960
6961 * debug/tst-backtrace2.c: New file.
6962 * debug/tst-backtrace3.c: Likewise.
6963 * debug/tst-backtrace4.c: Likewise.
6964 * debug/tst-backtrace5.c: Likewise.
6965 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6966 (CFLAGS-tst-backtrace3.c): Likewise.
6967 (CFLAGS-tst-backtrace4.c): Likewise.
6968 (CFLAGS-tst-backtrace5.c): Likewise.
6969 (LDFLAGS-tst-backtrace2): Likewise.
6970 (LDFLAGS-tst-backtrace3): Likewise.
6971 (LDFLAGS-tst-backtrace4): Likewise.
6972 (LDFLAGS-tst-backtrace5): Likewise.
6973 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6974 tst-backtrace4 and tst-backtrace5.
6975
69762013-01-18 Anton Blanchard <anton@samba.org>
6977 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6978
6979 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6980 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6981 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6982 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6984 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6985 "+r" and remove output regs list as redundant. Add explicit inline
6986 asm to specify register of return val to work around compiler codegen
6987 bug. Remove (int) cast on return value. Add return type parameter to
6988 use in macro so that this macro does not truncate return value for
6989 64-bit values.
6990 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6991 pass to INTERNAL_VSYSCALL_NCS.
6992 (INLINE_VSYSCALL): Add 'long int' as return type to
6993 INTERNAL_VSYSCALL_NCS macro invocation.
6994 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6995 INTERNAL_VSYSCALL_NCS macro invocation.
6996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6997
69982013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6999
7000 [BZ #14496]
7001 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7002 Fix application of SIMD FP exception mask.
7003
7004 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7005 mp_no from a power of two.
7006 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7007 __mpexp_twomm1. Use __pow_mp.
7008
7009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7010 multiplication.
7011
70122013-01-17 David S. Miller <davem@davemloft.net>
7013
7014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7015
70162013-01-17 Joseph Myers <joseph@codesourcery.com>
7017
7018 [BZ #15023]
7019 * include/complex.h: Condition contents on [!_COMPLEX_H].
7020 (__kernel_casinhf): New prototype.
7021 (__kernel_casinh): Likewise.
7022 (__kernel_casinhl): Likewise.
7023 * math/Makefile (libm_calls): Add k_casinh.
7024 * math/k_casinh.c: New file.
7025 * math/k_casinhf.c: Likewise.
7026 * math/k_casinhl.c: Likewise.
7027 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7028 finite nonzero arguments.
7029 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7030 finite nonzero arguments.
7031 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7032 finite nonzero arguments.
7033 * math/s_casinh.c: Do not include <float.h>.
7034 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7035 * math/s_casinhf.c: Do not include <float.h>.
7036 (__casinhf): Move code for finite nonzero arguments to
7037 k_casinhf.c.
7038 * math/s_casinhl.c: Do not include <float.h>.
7039 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7040 redefine.
7041 (__casinhl): Move code for finite nonzero arguments to
7042 k_casinhl.c.
7043 * math/libm-test.inc (cacos_test): Add more tests.
7044 * sysdeps/i386/fpu/libm-test-ulps: Update.
7045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7046
70472013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7048
7049 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7050 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7051 [!HAVE_MREMAP]: Remove [defined linux] case.
7052 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7053
70542013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7055
7056 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7057
70582013-01-17 H.J. Lu <hongjiu.lu@intel.com>
7059
7060 * elf/elf.h (R_386_SIZE32): New relocation.
7061 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7062 R_386_SIZE32.
7063 (elf_machine_rela): Likewise.
7064 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7065 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7066
70672013-01-17 Joseph Myers <joseph@codesourcery.com>
7068
7069 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7070 (FP_FAST_FMA): Do not define.
7071 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7072 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7073 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7074 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7075 !_SOFT_FLOAT]: Likewise.
7076 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7077 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7078 value.
7079 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7080 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7081 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7082 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7083 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7084 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7085 file.
7086
70872013-01-16 Andreas Schwab <schwab@suse.de>
7088
7089 [BZ #14327]
7090 * include/stdlib.h (__mktemp): Add declaration.
7091 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7092 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7093
70942013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7095
7096 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7097 definitions.
7098 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7099 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7100 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7101 definitions here.
7102 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7103 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7104 definitions.
7105 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7106 and ONE.
7107 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7108 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7109 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7110 definitions.
7111 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7112 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7113 definitions.
7114 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7115
7116 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7117
71182013-01-15 David S. Miller <davem@davemloft.net>
7119
7120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7121 trunc{,f} to libm-sysdep_routes.
7122 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7124 file.
7125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7127 file.
7128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7129 file.
7130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7132 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7133 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7134 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7135 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7136 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7137 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7138
7139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7140 nearbyint{,f} to libm-sysdep_routes.
7141 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7143 New file.
7144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7145 file.
7146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7147 New file.
7148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7149 file.
7150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7152 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7153 file.
7154 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7155 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7156 file.
7157 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7158 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7159 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7160
7161 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7162 libc_feholdexcept and libc_fesetenv.
7163
71642013-01-15 Mike Frysinger <vapier@gentoo.org>
7165
7166 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7167
71682013-01-14 David S. Miller <davem@davemloft.net>
7169
7170 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7171 (SPARC_ASM_VIS2_IFUNC): Likewise.
7172 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7174 use of 'siam' instruction.
7175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7176 Likewise.
7177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7178 Likewise.
7179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7180 Likewise.
7181 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7182 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7186 file.
7187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7188 file.
7189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7190 file.
7191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7192 file.
7193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7195 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7196 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7198 new VIS2 routines.
7199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7202 Likewise.
7203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7208 routines to libm-sysdep_routines.
7209 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7210
7211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7212 fdim/fdimf to libm-sysdep_routines.
7213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7214 file.
7215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7217 file.
7218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7221 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7222 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7223 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7224 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7225
72262013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7227
7228 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7229 to optimize copies.
7230
7231 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7232 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7234
7235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7236 local variable MPTWO.
7237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7238 Likewise.
7239
72402013-01-13 Mike Frysinger <vapier@gentoo.org>
7241
7242 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7243 GLOB_NOESCAPE.
7244
72452013-01-13 Mike Frysinger <vapier@gentoo.org>
7246
7247 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7248
72492013-01-13 Mike Frysinger <vapier@gentoo.org>
7250
7251 * manual/pattern.texi (glob_t): Document gl_flags.
7252 (glob64_t): Likewise.
7253
72542013-01-11 David S. Miller <davem@davemloft.net>
7255
7256 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7257 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7258 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
7259 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7260 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7261 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7262 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7263 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7264 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7265 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7266 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7267 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7268 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7269
7270 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7271 sparc V9 rather than using V8 code.
7272 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7273 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7274
7275 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7276 Move to...
7277 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7278 Here.
7279
72802013-01-11 Roland McGrath <roland@hack.frob.com>
7281
7282 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7283 not in the main loop.
7284 * configure: Regenerated.
7285
72862013-01-11 Joseph Myers <joseph@codesourcery.com>
7287
7288 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7289 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7290 to just #else.
7291 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7292 [!__GLIBC_HAVE_LONG_LONG] case.
7293 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7294 condition to just #else.
7295 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7296 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7297 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7298 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7299 unconditional.
7300 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7301 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7302 #elif condition to just #else.
7303 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7304 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7305 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7306 #elif condition to just #else.
7307
73082013-01-11 Steve Ellcey <sellcey@mips.com>
7309
7310 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7311 (EF_MIPS_ARCH_64): Fix value.
7312 (EF_MIPS_ARCH_32R2): New.
7313 (EF_MIPS_ARCH_64R2): New.
7314
73152013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7316
7317 * Makeconfig (+link-pie-before-libc): New.
7318 (+link-pie-after-libc): Likewise.
7319 (+link-pie-tests): Likewise.
7320 (+link-pie): Rewritten.
7321 (link-before-libc): Remove $(config-LDFLAGS).
7322 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7323 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7324 (config-LDFLAGS): Renamed to ...
7325 (rtld-LDFLAGS): This.
7326 (rtld-tests-LDFLAGS): New macro.
7327 (link-libc-rpath-link): Likewise.
7328 (link-libc-tests-rpath-link): Likewise.
7329 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7330 (link-libc): Prepand $(link-libc-rpath-link).
7331 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7332 (test-program-prefix): New macro.
7333 (test-via-rtld-prefix): Likewise.
7334 (test-program-cmd): Likewise.
7335 (host-test-program-cmd): Likewise.
7336 * Makefile ($(common-objpfx)testrun.sh): Replace
7337 $(run-program-prefix) with $(test-program-prefix).
7338 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7339 $(rtld-LDFLAGS).
7340 ($(common-objpfx)shlib.lds): Likewise.
7341 (build-module-helper): Likewise.
7342 ($(common-objpfx)format.lds): Likewise.
7343 * Rules (binaries-pie-tests): New.
7344 (binaries-pie-notests): Likewise.
7345 (binaries-pie): Rewritten.
7346 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7347 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7348 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7349 (make-test-out): Replace $(host-built-program-cmd) with
7350 $(host-test-program-cmd).
7351 * config.make.in (build-hardcoded-path-in-tests): New variable.
7352 * configure.in (--enable-hardcoded-path-in-tests): New configure
7353 option.
7354 (hardcoded_path_in_tests): New AC_SUBST.
7355 * configure: Regenerated.
7356 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7357 $(built-program-cmd) with $(test-program-cmd).
7358 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7359 (test_program_cmd): This.
7360 * elf/Makefile ($(objpfx)order.out): Run test with
7361 $(test-program-prefix).
7362 ($(objpfx)order2.out): Likewise.
7363 ($(objpfx)tst-initorder.out): Likewise.
7364 ($(objpfx)tst-initorder2.out): Likewise.
7365 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7366 $(test-program-cmd).
7367 ($(objpfx)tst-array1-static.out): Likewise.
7368 ($(objpfx)tst-array2.out): Likewise.
7369 ($(objpfx)tst-array3.out): Likewise.
7370 ($(objpfx)tst-array4.out): Likewise.
7371 ($(objpfx)tst-array5.out): Likewise.
7372 ($(objpfx)tst-array5-static.out): Likewise.
7373 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7374 $(test-program-cmd).
7375 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7376 $(run-program-prefix) with $(test-program-prefix).
7377 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7378 (test_program_prefix): This.
7379 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7380 $(run-program-prefix) with $(test-program-prefix).
7381 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7382 (test_program_prefix): This.
7383 * iconvdata/tst-tables.sh: Likewise.
7384 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7385 $(run-program-prefix) with $(test-program-prefix).
7386 ($(objpfx)tst-translit.out): Likewise.
7387 ($(objpfx)tst-gettext2.out): Likewise.
7388 ($(objpfx)tst-gettext4.out): Likewise.
7389 ($(objpfx)tst-gettext6.out): Likewise.
7390 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7391 (test_program_prefix): This.
7392 * intl/tst-gettext2.sh: Likewise.
7393 * intl/tst-gettext4.sh Likewise.
7394 * intl/tst-gettext6.sh: Likewise.
7395 * intl/tst-translit.sh: Likewise.
7396 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7397 with $(test-program-cmd).
7398 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7399 $(run-program-prefix) with $(test-program-prefix).
7400 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7401 (test_program_prefix): This.
7402 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7403 $(run-program-prefix) with $(test-program-prefix).
7404 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7405 (test_program_prefix): This.
7406 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7407 * posix/Makefile ($(objpfx)globtest.out): Replace
7408 $(run-via-rtld-prefix) and $(test-wrapper) with
7409 $(test-program-prefix) and $(test-via-rtld-prefix).
7410 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7411 $(test-program-prefix).
7412 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7413 $(host-test-program-cmd).
7414 (tst-spawn-ARGS): Likewise.
7415 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7416 $(test-program-prefix).
7417 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7418 (test_via_rtld_prefix): This.
7419 (test_wrapper): Renamed to ...
7420 (test_program_prefix): This.
7421 (run_program_prefix): Replaced by test_program_prefix.
7422 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7423 (test_program_prefix): This.
7424 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7425 with $(host-test-program-cmd).
7426 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7427 $(run-program-prefix) with $(test-program-prefix).
7428 ($(objpfx)tst-printf.out): Likewise.
7429 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7430 $(test-program-cmd).
7431 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7432 (test_program_prefix): This.
7433 * stdio-common/tst-unbputc.sh: Likewise.
7434 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7435 $(run-program-prefix) with $(test-program-prefix).
7436 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7437 (test_program_prefix): This.
7438 * string/Makefile ($(objpfx)tst-svc.out): Replace
7439 $(built-program-cmd) with $(test-program-cmd).
7440
74412013-01-11 Andreas Jaeger <aj@suse.de>
7442
7443 [BZ #15003]
7444 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7445 value. Sync with Linux 3.7.
7446
74472013-01-10 David S. Miller <davem@davemloft.net>
7448
7449 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7450 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7451 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7452
74532013-01-10 Roland McGrath <roland@hack.frob.com>
7454
7455 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7456 never set.
7457 * configure: Regenerated.
7458
74592013-01-10 David S. Miller <davem@davemloft.net>
7460
7461 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7462 sparc V9 rather than using V8 code.
7463 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7464 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7465
74662013-01-10 Roland McGrath <roland@hack.frob.com>
7467
7468 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7469 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7470 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7471 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7472 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7473 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7474 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7475 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7476 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7477 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7478 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7479 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7480 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7481 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7482 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7483 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7484 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7485 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7486 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7487 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7488 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7489 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7490 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7491 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7492 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7493 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7494 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7495
74962013-01-10 David S. Miller <davem@davemloft.net>
7497
7498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7499
75002013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7501
7502 * posix/Makefile (tests-static): New variable.
7503 (tests): Add $(tests-static).
7504 (tst-exec-static-ARGS): New variable.
7505 (tst-spawn-static-ARGS): Likewise.
7506 * posix/tst-exec-static.c: New file.
7507 * posix/tst-spawn-static.c: Likewise.
7508 * posix/tst-exec.c: Support run directly.
7509 * posix/tst-spawn.c: Likewise.
7510
75112013-01-10 Joseph Myers <joseph@codesourcery.com>
7512
7513 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7514 long.
7515 * math/bits/mathcalls.h (llrint): Likewise.
7516 (llround): Likewise.
7517 * stdlib/stdlib.h (struct drand48_data): Likewise.
7518 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7519 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7520 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7521 Likewise.
7522 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7523 Likewise.
7524 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7525 (elf_greg_t): Likewise.
7526 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7527 (__jmp_buf): Likewise.
7528 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7529 definitions.
7530 (llrint): Likewise, for all definitions.
7531 (llrintl): Likewise.
7532
7533 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7534 Remove [__GNUC__] condition.
7535 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7536 condition to just [__USE_ISOC99].
7537 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7538
75392013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7540
7541 [BZ #14200]
7542 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7543 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7544 defined.
7545 (_POSIX_V6_ILP32_OFF32): Likewise.
7546 (_XBS5_ILP32_OFF32): Likewise.
7547 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7548 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7549
75502013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7551
7552 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7553
7554 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7555 doubles __mpexp_twomm1. Adjust usage.
7556 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7557 Remove.
7558
75592013-01-10 Andreas Schwab <schwab@suse.de>
7560
7561 [BZ #14964]
7562 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7563 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7564
75652013-01-09 David S. Miller <davem@davemloft.net>
7566
7567 [BZ #15003]
7568 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7569 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7570 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7571 TCP_FASTOPEN): Define.
7572 (tcp_repair_opt): New structure.
7573 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7574 enum values.
7575 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7576 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7577 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7578 (tcp_cookie_transactions): New structure.
7579
75802013-01-09 Anton Blanchard <anton@samba.org>
7581
7582 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7583 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7584 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7585 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7586
75872013-01-09 Joseph Myers <joseph@codesourcery.com>
7588
7589 * include/features.h (__USE_ANSI): Remove.
7590
75912013-01-09 Roland McGrath <roland@hack.frob.com>
7592
7593 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7594
7595 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7596
75972013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7598
7599 * sysdeps/s390/fpu/libm-test-ulps: Update.
7600
7601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7602
7603 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7604 (__acr): Likewise.
7605 (__cpy): Likewise.
7606 (norm): Likewise.
7607 (denorm): Likewise.
7608 (__mp_dbl): Likewise.
7609 (__dbl_mp): Likewise.
7610 (add_magnitudes): Likewise.
7611 (sub_magnitudes): Likewise.
7612 (__add): Likewise.
7613 (__sub): Likewise.
7614 (__mul): Likewise.
7615 (__inv): Likewise.
7616 (__dvd): Likewise.
7617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7618 (__acr): Likewise.
7619 (__cpy): Likewise.
7620 (norm): Likewise.
7621 (denorm): Likewise.
7622 (__mp_dbl): Likewise.
7623 (__dbl_mp): Likewise.
7624 (add_magnitudes): Likewise.
7625 (sub_magnitudes): Likewise.
7626 (__add): Likewise.
7627 (__sub): Likewise.
7628 (__mul): Likewise.
7629 (__inv): Likewise.
7630 (__dvd): Likewise.
7631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7632 (__acr): Likewise.
7633 (__cpy): Likewise.
7634 (norm): Likewise.
7635 (denorm): Likewise.
7636 (__mp_dbl): Likewise.
7637 (__dbl_mp): Likewise.
7638 (add_magnitudes): Likewise.
7639 (sub_magnitudes): Likewise.
7640 (__add): Likewise.
7641 (__sub): Likewise.
7642 (__mul): Likewise.
7643 (__inv): Likewise.
7644 (__dvd): Likewise.
7645
76462013-01-08 Joseph Myers <joseph@codesourcery.com>
7647
7648 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7649 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7650 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7651 2 && __USE_EXTERN_INLINES]: Likewise.
7652
76532013-01-08 Andreas Jaeger <aj@suse.de>
7654
7655 [BZ# 14985]
7656 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7657 Remove.
7658 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7659 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7660
76612013-01-07 Anton Blanchard <anton@samba.org>
7662
7663 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7664 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7665 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7666 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7667 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7668 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7669 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7670 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7672 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7673 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7674 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7675 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7676 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7677 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7678 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7679 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7680 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7681 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7682 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7683 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7684 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7685 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7686 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7687 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7688 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7689 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7690 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7691 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7692 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7693 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7694 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7695 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7696 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7697 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7698 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7699 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7700 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7701 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7702 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7703 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7704 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7705 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7706
77072013-01-07 Joseph Myers <joseph@codesourcery.com>
7708
7709 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7710 (__MALLOC_PMT): Likewise.
7711 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7712 [__GNUC__], only on [_LIBC].
7713 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7714 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7715 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7716 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7717 forward declaration.
7718 (realloc_hook_ini): Likewise.
7719 (memalign_hook_ini): Likewise.
7720 (__libc_memalign): Do not use __MALLOC_PMT in variable
7721 declaration.
7722 (__libc_valloc): Likewise.
7723 (__libc_pvalloc): Likewise.
7724 (__libc_calloc): Likewise.
7725 (__posix_memalign): Likewise.
7726
7727 [BZ #14996]
7728 * math/s_casinh.c: Include <float.h>.
7729 (__casinh): Do not do computation with squaring and square root
7730 for large arguments.
7731 * math/s_casinhf.c: Include <float.h>.
7732 (__casinhf): Do not do computation with squaring and square root
7733 for large arguments.
7734 * math/s_casinhl.c: Include <float.h>.
7735 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7736 (__casinhl): Do not do computation with squaring and square root
7737 for large arguments.
7738 * math/libm-test.inc (casin_test): Add more tests.
7739 (casinh_test): Likewise.
7740 * sysdeps/i386/fpu/libm-test-ulps: Update.
7741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7742
77432013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7744
7745 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7746 (__x86_64_raw_data_cache_size): Likewise.
7747 (__x86_64_data_cache_size_half): Likewise.
7748 (__x86_64_raw_data_cache_size_half): Likewise.
7749 (__x86_64_shared_cache_size): Likewise.
7750 (__x86_64_raw_shared_cache_size): Likewise.
7751 (__x86_64_shared_cache_size_half): Likewise.
7752 (__x86_64_raw_shared_cache_size_half): Likewise.
7753 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7754 to ...
7755 (__x86_data_cache_size): This.
7756 (__x86_64_raw_data_cache_size): Renamed to ...
7757 (__x86_raw_data_cache_size): This.
7758 (__x86_64_data_cache_size_half): Renamed to ...
7759 (__x86_data_cache_size_half): This.
7760 (__x86_64_raw_data_cache_size_half): Renamed to ...
7761 (__x86_raw_data_cache_size_half): This.
7762 (__x86_64_shared_cache_size): Renamed to ...
7763 (__x86_shared_cache_size): This.
7764 (__x86_64_raw_shared_cache_size): Renamed to ...
7765 (__x86_raw_shared_cache_size): This.
7766 (__x86_64_shared_cache_size_half): Renamed to ...
7767 (__x86_shared_cache_size_half): This.
7768 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7769 (__x86_raw_shared_cache_size_half): This.
7770 * sysdeps/x86_64/memcpy.S: Updated.
7771 * sysdeps/x86_64/memset.S: Likewise.
7772 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7773 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7774 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7775
77762013-01-04 David S. Miller <davem@davemloft.net>
7777
7778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7779
77802013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7781
7782 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7783 1 to avoid redefinition warning.
7784 (__USE_GNU): Don't define.
7785 (init_signaling_nan): Protoize.
7786
7787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7788
77892013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7790
7791 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7793 (__cpymn): Likewise.
7794 (norm): Remove commented code.
7795 (denorm): Likewise.
7796 (__mp_dbl): Likewise.
7797 (__inv): Likewise.
7798 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7799 (__cpymn): Likewise.
7800 (norm): Remove commented code.
7801 (denorm): Likewise.
7802 (__mp_dbl): Likewise.
7803 (__inv): Likewise.
7804
7805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7806 mp_no value for 1.0 and 2.0.
7807 (norm): Use RADIXI instead of radixi.d.
7808 (denorm): Likewise.
7809 (__mul): Use 0.0 instead of zero.d.
7810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7811 mp_no value for 1.0 and 2.0.
7812 (norm): Use RADIXI instead of radixi.d.
7813 (denorm): Likewise.
7814 (__mul): Use 0.0 instead of zero.d.
7815
78162013-01-04 Joseph Myers <joseph@codesourcery.com>
7817
7818 [BZ #14994]
7819 * math/s_casinh.c (__casinh): Reduce finite argument to first
7820 quadrant then set signs of results at the end.
7821 * math/s_casinhf.c (__casinhf): Likewise.
7822 * math/s_casinhl.c (__casinhl): Likewise.
7823 * math/libm-test.inc (casin_test): Add more tests.
7824 (casinh_test): Likewise.
7825 * sysdeps/i386/fpu/libm-test-ulps: Update.
7826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7827
78282013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7829
7830 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7831
7832 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7833
7834 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7835 declarations.
7836 (denorm): Likewise.
7837 (__mp_dbl): Likewise.
7838 (__inv): Likewise.
7839
7840 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7841 and adjust the header comment.
7842
7843 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7844 variable name from declaration.
7845
78462013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7847
7848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7849 Initialize COMMON_CPUID_INDEX_7 element.
7850 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7851 (CPUID_RTM): Likewise.
7852 (HAS_RTM): Likewise.
7853 (COMMON_CPUID_INDEX_7): New enum.
7854
78552013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7856
7857 [BZ #14981]
7858 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7859 size is zero, record memory as freed.
7860
78612013-01-03 Andreas Jaeger <aj@suse.de>
7862
7863 * po/ia.po: Add new Interlingua translation.
7864
78652012-01-03 Allan McRae <allan@archlinux.org>
7866
7867 * locale/programs/localedef.c: Fix description of '--posix' flag.
7868
78692013-01-02 Joseph Myers <joseph@codesourcery.com>
7870
7871 * NEWS: Update dates in second copyright notice.
7872 * README: Update copyright dates in example.
7873 * manual/libc.texinfo: Update copyright dates.
7874 * scripts/test-installation.pl: Update copyright date in --version
7875 output.
7876
7877 * hurd/ctty-input.c: Fix copyright notice formatting.
7878 * hurd/ctty-output.c: Likewise.
7879 * hurd/dtable.c: Likewise.
7880 * hurd/hurd-raise.c: Likewise.
7881 * hurd/hurdprio.c: Likewise.
7882 * hurd/msgportdemux.c: Likewise.
7883 * misc/sys/file.h: Likewise.
7884 * misc/sys/ioctl.h: Likewise.
7885 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7886 * sysdeps/mach/hurd/chdir.c: Likewise.
7887 * sysdeps/mach/hurd/fchdir.c: Likewise.
7888 * sysdeps/mach/hurd/rename.c: Likewise.
7889 * sysdeps/mach/hurd/rmdir.c: Likewise.
7890 * sysdeps/mach/hurd/seekdir.c: Likewise.
7891 * sysdeps/mach/hurd/setsid.c: Likewise.
7892 * sysdeps/posix/wait3.c: Likewise.
7893
7894 * All files with FSF copyright notices: Update copyright dates
7895 using scripts/update-copyrights.
7896 * intl/plural.c: Regenerated.
7897 * locale/programs/charmap-kw.h: Likewise.
7898 * locale/programs/locfile-kw.h: Likewise.
7899
79002013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7901
7902 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7903 four values.
7904
7905 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7906 calculation loop and add branch prediction.
7907
7908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7909 check access beyond bounds of m1np.
7910
7911 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7912 MPTWO.
7913 (__inv): Remove local variable MPTWO to use the global
7914 constant.
7915 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7916 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7917 variable MPTWO.
7918 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7919 MP3HALFS static const.
7920
79212013-01-01 David S. Miller <davem@davemloft.net>
7922
7923 * po/ca.po: Update from translation team.
7924
79252013-01-01 Joseph Myers <joseph@codesourcery.com>
7926
7927 * scripts/update-copyrights: New file.
7928 * Makeconfig: Reformat copyright notice.
7929 * ctype/ctype.h: Likewise.
7930 * debug/swprintf_chk.c: Likewise.
7931 * elf/dl-cache.c: Likewise.
7932 * elf/dl-debug.c: Likewise.
7933 * elf/dl-object.c: Likewise.
7934 * grp/initgroups.c: Likewise.
7935 * hurd/Makefile: Likewise.
7936 * hurd/hurd/signal.h: Likewise.
7937 * hurd/hurdfault.c: Likewise.
7938 * hurd/hurdioctl.c: Likewise.
7939 * hurd/hurdlookup.c: Likewise.
7940 * hurd/intr-msg.c: Likewise.
7941 * iconv/gconv_open.c: Likewise.
7942 * libio/swprintf.c: Likewise.
7943 * locale/lc-ctype.c: Likewise.
7944 * locale/nl_langinfo.c: Likewise.
7945 * mach/Machrules: Likewise.
7946 * mach/Makefile: Likewise.
7947 * malloc/obstack.h: Likewise.
7948 * manual/Makefile: Likewise.
7949 * manual/tsort.awk: Likewise.
7950 * misc/bits/stab.def: Likewise.
7951 * nis/nis_print_group_entry.c: Likewise.
7952 * nis/nis_table.c: Likewise.
7953 * nis/nss_compat/compat-pwd.c: Likewise.
7954 * nis/nss_compat/compat-spwd.c: Likewise.
7955 * po/Makefile: Likewise.
7956 * posix/fnmatch.c: Likewise.
7957 * posix/regex.h: Likewise.
7958 * resolv/Makefile: Likewise.
7959 * resolv/nss_dns/dns-network.c: Likewise.
7960 * resolv/res_hconf.c: Likewise.
7961 * scripts/gen-sorted.awk: Likewise.
7962 * soft-fp/soft-fp.h: Likewise.
7963 * stdio-common/printf.h: Likewise.
7964 * stdlib/monetary.h: Likewise.
7965 * stdlib/random.c: Likewise.
7966 * stdlib/random_r.c: Likewise.
7967 * sysdeps/generic/Makefile: Likewise.
7968 * sysdeps/gnu/Makefile: Likewise.
7969 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7970 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7971 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7972 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7973 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7974 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7976 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7977 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7979 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7980 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7981 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7982 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7983 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7984 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7985 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7986 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7987 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7988 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7989 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7990 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7991 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7992 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7993 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7994 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7995 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7996 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7997 * sysdeps/mach/hurd/errnos.awk: Likewise.
7998 * sysdeps/mach/hurd/fork.c: Likewise.
7999 * sysdeps/mach/hurd/getcwd.c: Likewise.
8000 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8001 * sysdeps/mach/hurd/mmap.c: Likewise.
8002 * sysdeps/mach/hurd/utimes.c: Likewise.
8003 * sysdeps/mach/hurd/xmknod.c: Likewise.
8004 * sysdeps/posix/profil.c: Likewise.
8005 * sysdeps/posix/readdir_r.c: Likewise.
8006 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8007 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8008 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8009 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8011 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8012 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8013 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8015 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8016 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8017 * sysdeps/pthread/lio_listio.c: Likewise.
8018 * sysdeps/sparc/dl-procinfo.h: Likewise.
8019 * sysdeps/unix/i386/sysdep.S: Likewise.
8020 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8021 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8022 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8023 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8025 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8026 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8027 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8028 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8029 * sysdeps/wordsize-32/divdi3.c: Likewise.
8030 * time/sys/time.h: Likewise.
8031 * wcsmbs/Makefile: Likewise.
8032
80332013-01-01 David S. Miller <davem@davemloft.net>
8034
8035 * po/fr.po: Update from translation team.
8036
8037 * catgets/gencat.c: Update copyright year.
8038 * csu/version.c: Likewise.
8039 * debug/catchsegv.sh: Likewise.
8040 * debug/pcprofiledump.c: Likewise.
8041 * debug/xtrace.sh: Likewise.
8042 * elf/ldconfig.c: Likewise.
8043 * elf/ldd.bash.in: Likewise.
8044 * elf/pldd.c: Likewise.
8045 * elf/sotruss.ksh: Likewise.
8046 * elf/sprof.c: Likewise.
8047 * iconv/iconv_prog.c: Likewise.
8048 * iconv/iconvconfig.c: Likewise.
8049 * locale/programs/locale.c: Likewise.
8050 * locale/programs/localedef.c: Likewise.
8051 * login/programs/pt_chown.c: Likewise.
8052 * malloc/memusage.sh: Likewise.
8053 * malloc/memusagestat.c: Likewise.
8054 * malloc/mtrace.pl: Likewise.
8055 * nscd/nscd.c: Likewise.
8056 * nss/getent.c: Likewise.
8057 * nss/makedb.c: Likewise.
8058 * posix/getconf.c: Likewise.
8059
80602012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8061
8062 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8063 numbers.
8064
80652012-12-30 Mike Frysinger <vapier@gentoo.org>
8066
8067 * math/bits/mathcalls.h (modf): Use __nonnull.
8068
80692012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8070
8071 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8072 (split): Use macro CN instead of the bare value.
8073 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8074 could be used.
8075 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8076 instead of the bare value.
8077 (power1): Likewise.
8078
80792012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8080
8081 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8082 __ATAN_TWOM.
8083 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8084
8085 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8086 their values.
8087 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8088 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8089 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8090 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8091
80922012-12-28 Andreas Jaeger <aj@suse.de>
8093
8094 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8095 values are from Linux 3.7.
8096
8097 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8098 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8099
81002012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8101
8102 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8103 TRUE case.
8104
8105 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8106 (norm): Likewise.
8107 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8108 variables with preprocessor constants.
8109 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8110 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8111 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8112
81132012-12-27 Bruno Haible <bruno@clisp.org>
8114
8115 [BZ #14317]
8116 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8117 only if needed.
8118
81192012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8120
8121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8122 and use variable directly.
8123 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8124
8125 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8126 MPONE.
8127 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8128 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8129 variable MPONE.
8130 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8131 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8132 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8133 include directive. Remove local variable MPONE.
8134 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8135 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8136 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8137
81382012-12-25 David S. Miller <davem@davemloft.net>
8139
8140 * version.h (RELEASE): Set to "development".
8141 (VERSION): Set to "2.17.90".
8142 * NEWS: Add 2.18 section.
8143
81442012-12-21 David S. Miller <davem@davemloft.net>
8145
8146 * po/hr.po: Update from translation team.
8147
81482012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8149
8150 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8151
81522012-12-19 Steve Ellcey <sellcey@mips.com>
8153
8154 * NEWS: Mention new memcpy for MIPS.
8155
81562012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8157
8158 * manual/contrib.texi (Contributors): Spelling correction.
8159
81602012-12-15 David S. Miller <davem@davemloft.net>
8161
8162 * po/ru.po: Update from translation team.
8163
81642012-12-13 David S. Miller <davem@davemloft.net>
8165
8166 * NEWS: Mention IFUNC testsuite enhancements.
8167
8168 * po/pl.po: Update from translation team.
8169 * po/bg.po: Likewise.
8170
8171 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8172 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8173
81742012-12-11 David S. Miller <davem@davemloft.net>
8175
8176 * po/sv.po: Update from translation team.
8177
8178 * po/vi.po: Update from translation team.
8179
8180 * po/cs.po: Update from translation team.
8181
8182 * po/de.po: Update from translation team.
8183 * po/eo.po: Likewise.
8184 * po/nl.po: Likewise.
8185
81862012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8187
8188 [BZ #14246]
8189 * manual/argp.texi (Argp Helper Functions): Move node to follow
8190 Argp Parsing State.
8191
8192 [BZ #14872]
8193 * manual/conf.texi (Limits on File System Capacity): Mention if
8194 terminating null is included in the max size.
8195
81962012-12-10 Andreas Jaeger <aj@suse.de>
8197
8198 * po/cs.po: Update from translation team.
8199
82002012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8201
8202 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8203 void pointer and cast to uintptr_t.
8204 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8205 path.
8206 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8207 * sysdeps/s390/s390-64/memset.S: Likewise.
8208
82092012-12-08 Benno Schulenberg <bensberg@justemail.net>
8210
8211 [BZ #14833]
8212 * menual/message.texi (Message Translation): Fix typos.
8213 (Helper programs for gettext): Likewise.
8214
82152012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8216
8217 [BZ #14898]
8218 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8219 Change to -1.
8220
82212012-12-07 David S. Miller <davem@davemloft.net>
8222
8223 * po/libc.pot: Update.
8224
82252012-12-07 Richard Henderson <rth@redhat.com>
8226
8227 [BZ #10114]
8228 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8229 normal/normal case to before the switch.
8230 (_FP_DIV): Likewise.
8231
82322012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8233 Mike Frysinger <vapier@gentoo.org>
8234
8235 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8236 check for __NR_fadvise64_64.
8237
82382012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8239
8240 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8241 0, not just to plain "0" as a statement.
8242 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8243 with cw.
8244
82452012-12-06 Joseph Myers <joseph@codesourcery.com>
8246
8247 * NEWS: Use sourceware.org in Bugzilla URL.
8248
82492012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8250
8251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8252 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8253
8254 * stdio-common/tst-put-error.c (do_test): Add newline to the
8255 padded test to ensure flush.
8256
82572012-12-05 Jeff Law <law@redhat.com>
8258
8259 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8260
82612012-12-05 Joseph Myers <joseph@codesourcery.com>
8262
8263 * README: Don't refer to ports add-on as distributed separately.
8264 Mention AArch64 in list of systems supported in the ports add-on.
8265
8266 * LICENSES: Add more non-FSF copyright and license notices.
8267
8268 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8269 ((unused)).
8270
8271 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8272
8273 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8274 10000 as width of padded output.
8275
82762012-12-04 Joseph Myers <joseph@codesourcery.com>
8277
8278 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8279
8280 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8281 variable LX with __attribute__ ((unused)).
8282 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8283 Likewise.
8284 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8285 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8286 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8287 with __attribute__ ((unused)).
8288
82892012-12-04 David S. Miller <davem@abraco.davemloft.net>
8290
8291 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8292
82932012-12-04 Joseph Myers <joseph@codesourcery.com>
8294
8295 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8296 (CFLAGS-nldbl-acos.c): New variable.
8297 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8298 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8299 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8300 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8301 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8302 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8303 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8304 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8305 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8306 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8307 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8308 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8309 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8310 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8311 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8312 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8313 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8314 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8315 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8316 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8317 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8318 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8319 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8320 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8321 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8322 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8323 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8324 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8325 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8326 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8327 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8328 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8329 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8330 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8331 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8332 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8333 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8334 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8335 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8336 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8337 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8338 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8339 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8340 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8341 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8342 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8343 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8344 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8345 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8346 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8347 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8348 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8349 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8350 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8351 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8352 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8353 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8354 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8355 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8356 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8357 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8358 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8359 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8360 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8361 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8362 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8363 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8364 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8365 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8366 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8367 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8368 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8369 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8370 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8371 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8372 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8373 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8374 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8375 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8376 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8377 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8378 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8379 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8380 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8381 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8382 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8383 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8384 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8385 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8386 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8387 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8388 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8389 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8390 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8391 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8392 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8393 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8394
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8396 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8397
8398 [BZ #14914]
8399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8400 whole low double instead of just low 47 bits when splitting values
8401 into two parts.
8402
84032012-12-03 Allan McRae <allan@archlinux.org>
8404
8405 * manual/stdio.texi (Predefined Printf Handlers): Remove
8406 @hsep and @vsep usage.
8407
84082012-12-03 Mike Frysinger <vapier@gentoo.org>
8409
8410 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8411 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8412
84132012-12-03 Jeff Law <law@redhat.com>
8414
8415 * time/sys/time.h (settimeofday): Do not mark TV argument
8416 as __nonnull.
8417
84182012-12-01 Mike Frysinger <vapier@gentoo.org>
8419
8420 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8421 when currently writing and seek to current position when not.
8422 * libio/Makefile (tests): Remove bug-fclose1.
8423 * libio/bug-fclose1.c: Delete.
8424
84252012-12-01 Joseph Myers <joseph@codesourcery.com>
8426
8427 * manual/arith.texi (feenableexcept): Fix typo.
8428 (fedisableexcept): Likewise.
8429
84302012-11-30 Roland McGrath <roland@hack.frob.com>
8431
8432 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8433 second, differently-typed declaration, rather than a cast.
8434
84352012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8436
8437 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8438 * include/rpc/svc.h: ... here.
8439
84402012-11-30 Aurelien Jarno <aurel32@debian.org>
8441
8442 [BZ #13013]
8443 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8444 depending n and resplen2 to catch cases where answer
8445 equals answerp2.
8446
84472012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8448
8449 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8450 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8451
84522012-11-29 Mike Frysinger <vapier@gentoo.org>
8453
8454 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8455
84562012-11-29 Roland McGrath <roland@hack.frob.com>
8457
8458 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8459
84602012-11-28 Jeff Law <law@redhat.com>
8461
8462 [BZ #13761]
8463 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8464 dataset_temporary. Track alloca usage into alloca_used.
8465 If dataset is large allocate and release it via malloc/free.
8466
84672012-06-04 Florian Weimer <fweimer@redhat.com>
8468
8469 [BZ #14197]
8470 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8471
84722012-11-28 David S. Miller <davem@davemloft.net>
8473
8474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8475
84762012-11-28 Joseph Myers <joseph@codesourcery.com>
8477
8478 [BZ #14803]
8479 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8480 of pi/2 rounded to nearest to 64 bits.
8481 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8482 nearest to 64 bits.
8483 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8484 bits.
8485
84862012-11-28 Jeff Law <law@redhat.com>
8487 Martin Osvald <mosvald@redhat.com>
8488
8489 [BZ #14889]
8490 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8491 * sunrpc/svc.c: Include time.h.
8492 (__svc_accept_failed): New function.
8493 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8494 any reason other than EINTR, call __svc_accept_failed.
8495 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8496 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8497
84982012-11-28 Andreas Schwab <schwab@suse.de>
8499
8500 * scripts/abilist.awk: Also handle indirect functions in .opd
8501 section.
8502
85032012-11-28 Joseph Myers <joseph@codesourcery.com>
8504
8505 [BZ #13881]
8506 * sysdeps/x86/fpu/powl_helper.c: New file.
8507 * sysdeps/x86/fpu/Makefile: Likewise.
8508 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8509 (p3): New object.
8510 (__ieee754_powl): Use __powl_helper for finite arguments except
8511 integer exponents below 8.
8512 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8513 (p3): New object.
8514 (__ieee754_powl): Use __powl_helper for finite arguments except
8515 integer exponents below 8.
8516 * math/libm-test.inc (pow_test): Add more tests and enable some
8517 previously disabled tests.
8518 * sysdeps/i386/fpu/libm-test-ulps: Update.
8519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8520
85212012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8522 Carlos O'Donell <carlos_odonell@mentor.com>
8523
8524 * nss/makedb.c (is_prime): Assert that input is odd and greater
8525 than 4. Note that fact in a comment too.
8526 (next_prime): Add 4 to input.
8527
85282012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8529
8530 [BZ #11741]
8531 * libio/Makefile (tests): Add test case tst-fwrite-error.
8532 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8533 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8534 * libio/tst-fwrite-error.c: New test case.
8535
85362012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8537
8538 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8539 before casting to void *.
8540 * include/libc-internal.h (__pointer_type): New macro.
8541 (__integer_if_pointer_type_sub): Likewise.
8542 (__integer_if_pointer_type): Likewise.
8543 (cast_to_integer): Likewise.
8544 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8545 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8546 before casting to atomic64_t.
8547 (atomic_exchange_acq): Likewise.
8548 (__arch_exchange_and_add_body): Likewise.
8549 (__arch_add_body): Likewise.
8550 (atomic_add_negative): Likewise.
8551 (atomic_add_zero): Likewise.
8552
85532012-11-26 Joseph Myers <joseph@codesourcery.com>
8554
8555 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8556 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8557 (add_fdes): Likewise.
8558 (linear_search_fdes): Likewise.
8559 (binary_search_unencoded_fdes): Likewise.
8560
85612012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8562
8563 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8564
85652012-11-24 Adam Conrad <adconrad@0c3.net>
8566
8567 * configure.in: Autodetect C++ header directories.
8568 * configure: Regenerated.
8569
85702012-11-23 Mike Frysinger <vapier@gentoo.org>
8571
8572 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8573
85742012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8575
8576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8577
85782012-11-22 Joseph Myers <joseph@codesourcery.com>
8579
8580 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8581 LDBL_MANT_DIG == 106]: Disable some tests.
8582 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8583 Likewise.
8584 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8585 Likewise.
8586
8587 [BZ #14871]
8588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8589 input for small inputs. Return +/- pi/2 for large inputs.
8590 * math/libm-test.inc (atan_test): Add more tests.
8591
8592 * sysdeps/generic/unwind-dw2-fde-glibc.c
8593 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8594 __attribute__ ((unused)).
8595
8596 [BZ #14645]
8597 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8598 x * y if x and y are nonzero and z is zero.
8599
8600 [BZ #14811]
8601 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8602 nonzero exponents with absolute value below 0x1p-117 to +/-
8603 0x1p-117.
8604
8605 [BZ #14869]
8606 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8607 up arguments below 2**-450, not just those below 2**-500.
8608 * math/libm-test.inc (hypot_test): Add another test.
8609
8610 [BZ #14868]
8611 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8612 Return a+b for ratio over 2**120, not 2**60.
8613 * math/libm-test.inc (hypot_test): Add another test.
8614
8615 * math/libm-test.inc (clog_test): Use
8616 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8617 (clog10_test): Likewise.
8618
8619 [BZ #6778]
8620 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8621
86222012-11-22 Andreas Schwab <schwab@suse.de>
8623
8624 * sysdeps/i386/fpu/libm-test-ulps: Update.
8625
86262012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8627
8628 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8629 printf output with newline.
8630
86312012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8632
8633 [BZ #14865]
8634 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8635 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8636 -z nodlopen, -z initfirst and -z execstack support.
8637 * configure: Regenerated.
8638
8639 * elf/elf.h (DF_1_NODIRECT): New macro.
8640 (DF_1_IGNMULDEF): Likewise.
8641 (DF_1_NOKSYMS): Likewise.
8642 (DF_1_NOHDR): Likewise.
8643 (DF_1_EDITED): Likewise.
8644 (DF_1_NORELOC): Likewise.
8645 (DF_1_SYMINTPOSE): Likewise.
8646 (DF_1_GLOBAUDIT): Likewise.
8647 (DF_1_SINGLETON): Likewise.
8648 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8649 DT_1_SUPPORTED_MASK bits.
8650 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8651
86522012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8653
8654 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8655
86562012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8657
8658 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8659 macro.
8660
8661 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8662 (sendmmsg): Move declarations...
8663 * socket/sys/socket.h: ... here.
8664 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8665 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8666 include it from...
8667 * socket/recvmmsg.c: ... this new file.
8668 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8669 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8670 definition of __sendmmsg hidden.
8671 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8672 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8673 Move ENOSYS stub into and include it from...
8674 * socket/sendmmsg.c: ... this new file.
8675 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8676 (sysdep_routines): Move recvmmsg and sendmmsg...
8677 * socket/Makefile (routines): ... here.
8678 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8679 (GLIBC_PRIVATE): Add __sendmmsg.
8680 * include/sys/socket.h (__sendmmsg): Add declarations.
8681 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8682 sendmmsg.
8683
86842012-11-20 Joseph Myers <joseph@codesourcery.com>
8685
8686 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8687 variable I1 with __attribute__ ((unused)).
8688 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8689
86902012-11-19 Joseph Myers <joseph@codesourcery.com>
8691
8692 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8693 DUMMY variables with __attribute__ ((unused)).
8694
8695 * bits/byteswap.h: Include <bits/types.h>.
8696 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8697
86982012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8699
8700 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8701 string_t. Do not manually set errno.
8702 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8703 length with __strnlen. Make sure to both set errno and return it on
8704 failure.
8705
87062012-11-19 David S. Miller <davem@davemloft.net>
8707
8708 With help from Joseph Myers.
8709 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8710 very large arguments properly.
8711 * math/libm-test.inc (atan_test): New tests.
8712 (atan2_test): New tests.
8713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8715
87162012-11-19 Joseph Myers <joseph@codesourcery.com>
8717
8718 [BZ #14856]
8719 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8720 Define to 3.
8721
8722 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8723 [POSIX] (EADDRNOTAVAIL): Likewise.
8724 [POSIX] (EAFNOSUPPORT): Likewise.
8725 [POSIX] (EALREADY): Likewise.
8726 [POSIX] (ECONNABORTED): Likewise.
8727 [POSIX] (ECONNREFUSED): Likewise.
8728 [POSIX] (ECONNRESET): Likewise.
8729 [POSIX] (EDESTADDRREQ): Likewise.
8730 [POSIX] (EDQUOT): Likewise.
8731 [POSIX] (EHOSTUNREACH): Likewise.
8732 [POSIX] (EIDRM): Likewise.
8733 [POSIX] (EISCONN): Likewise.
8734 [POSIX] (ELOOP): Likewise.
8735 [POSIX] (EMULTIHOP): Likewise.
8736 [POSIX] (ENETDOWN): Likewise.
8737 [POSIX] (ENETUNREACH): Likewise.
8738 [POSIX] (ENOBUFS): Likewise.
8739 [POSIX] (ENODATA): Likewise.
8740 [POSIX] (ENOLINK): Likewise.
8741 [POSIX] (ENOMSG): Likewise.
8742 [POSIX] (ENOPROTOOPT): Likewise.
8743 [POSIX] (ENOSR): Likewise.
8744 [POSIX] (ENOSTR): Likewise.
8745 [POSIX] (ENOTCONN): Likewise.
8746 [POSIX] (ENOTSOCK): Likewise.
8747 [POSIX] (EOPNOTSUPP): Likewise.
8748 [POSIX] (EOVERFLOW): Likewise.
8749 [POSIX] (EPROTO): Likewise.
8750 [POSIX] (EPROTONOSUPPORT): Likewise.
8751 [POSIX] (EPROTOTYPE): Likewise.
8752 [POSIX] (ESTALE): Likewise.
8753 [POSIX] (ETIME): Likewise.
8754 [POSIX] (ETXTBSY): Likewise.
8755 [POSIX] (EWOULDBLOCK): Likewise.
8756 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8757 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8758 [POSIX] (SEEK_CUR): Likewise.
8759 [POSIX] (SEEK_END): Likewise.
8760 [POSIX || UNIX98] (mode_t): Do not require.
8761 [POSIX] (off_t): Likewise.
8762 [POSIX] (pid_t): Likewise.
8763 [POSIX] (sys/stat.h): Do not allow header.
8764 [POSIX] (unistd.h): Likewise.
8765 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8766 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8767 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8768 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8769 require.
8770 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8771 sigevent): Specify elements.
8772 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8773 entry.
8774 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8775 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8776
8777 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8778 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8779 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8780 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8781 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8782 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8783 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8784 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8785 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8786 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8787 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8788 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8789 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8790 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8791 Likewise.
8792 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8793 Likewise.
8794 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8795 Likewise.
8796 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8797 Likewise.
8798 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8799 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8800 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8801 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8802 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8803 Specify lower bound on value.
8804 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8805 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8806 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8807 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8808 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8809 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8810 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8811 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8812 value.
8813 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8814 as optional.
8815 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8816 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8817 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8818 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8819 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8820 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8821 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8822 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8823 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8824 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8825 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8826 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8827 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8828 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8829 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8830 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8831 entry.
8832 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8833 optional.
8834 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8835 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8836 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8837 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8838 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8839 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8840 Likewise.
8841 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8842 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8843 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8844 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8845 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8846 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8847 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8848 as optional.
8849 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8850 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8851 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8852 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8853 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8854 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8855 specify as optional.
8856 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8857 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8858 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8859 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8860 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8861 [XPG3] (NL_LANGMAX): Likewise.
8862 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8863 [POSIX || XPG3] (NL_NMAX): Likewise.
8864 [POSIX || XPG3] (NL_SETMAX): Likewise.
8865 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8866 [XPG3] (NZERO): Likewise.
8867 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8868 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8869 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8870 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8871 (REG_ERANGE): Expect.
8872 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8873 optional-constant.
8874 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8875 Use (void) in prototype.
8876 [POSIX] (*_t): Allow.
8877 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8878 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8879 (WRDE_BADVAL): Expect.
8880
8881 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8882 expect.
8883 [XPG3 || XPG4] (O_RSYNC): Likewise.
8884 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8885 Likewise.
8886 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8887 [XPG3 || XPG4] (sigqueue): Likewise.
8888 [XPG3 || XPG4] (sigtimedwait): Likewise.
8889 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8890 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8891 [XPG3 || XPG4] (vsnprintf): Likewise.
8892 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8893 Likewise.
8894 [XPG3 || XPG4] (blksize_t): Likewise.
8895 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8896 Likewise.
8897 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8898 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8899 [XPG3 || XPG4] (struct itimerspec): Likewise.
8900 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8901 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8902 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8903 [XPG3 || XPG4] (clockid_t): Likewise.
8904 [XPG3 || XPG4] (timer_t): Likewise.
8905 [XPG3 || XPG4] (clock_getres): Likewise.
8906 [XPG3 || XPG4] (clock_gettime): Likewise.
8907 [XPG3 || XPG4] (clock_settime): Likewise.
8908 [XPG3 || XPG4] (nanosleep): Likewise.
8909 [XPG3 || XPG4] (timer_create): Likewise.
8910 [XPG3 || XPG4] (timer_delete): Likewise.
8911 [XPG3 || XPG4] (timer_gettime): Likewise.
8912 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8913 [XPG3 || XPG4] (timer_settime): Likewise.
8914 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8915 [XPG3 || XPG4] (getlogin_r): Likewise.
8916 [XPG3 || XPG4] (pread): Likewise.
8917 [XPG3 || XPG4] (pthread_atfork): Likewise.
8918 [XPG3 || XPG4] (pwrite): Likewise.
8919
8920 [BZ #14835]
8921 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8922 <bits/siginfo.h>.
8923
89242012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8925
8926 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8927 finalizing MALLSTREAM.
8928
8929 * sysdeps/mach/hurd/syncfs.c: New file.
8930
89312012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8932
8933 [BZ #14719]
8934 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8935 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8936 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8937 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8938 (_nss_dns_gethostbyname4_r): Likewise.
8939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8940 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8941
89422012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8943
8944 [BZ #13763]
8945 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8946
89472012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8948
8949 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8950 * elf/cache.c (print_entry): Print ",AArch64" for
8951 FLAG_AARCH64_LIB64
8952
8953 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8954 * elf/cache.c (print_entry): Print ",hard-float" for
8955 FLAG_ARM_LIBHF.
8956
89572012-11-18 David S. Miller <davem@davemloft.net>
8958
8959 With help from Joseph Myers.
8960 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8961 cutoff to 2**-13.
8962 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8963 cutoff to 2**-25.
8964 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8965 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8966 small.
8967 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8968 * math/libm-test.inc (y0_test): New tests.
8969 (y1_test): New tests.
8970 * sysdeps/i386/fpu/libm-test-ulps: Update.
8971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8973
89742012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8975
8976 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8977 64-bit targets.
8978 * configure: Regenerated.
8979
89802012-11-17 David S. Miller <davem@davemloft.net>
8981
8982 [BZ #14811]
8983 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8984 nonzero exponents with absolute value below 0x1p-128 to +/-
8985 0x1p-128.
8986
89872012-11-17 Joseph Myers <joseph@codesourcery.com>
8988
8989 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8990
8991 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8992
8993 * posix/getconf-speclist.c: New file.
8994 * posix/posix-envs.def: Likewise.
8995 * posix/confstr.c (START_ENV_GROUP): New macro.
8996 (END_ENV_GROUP): Likewise.
8997 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8998 (KNOWN_PRESENT_ENV_STRING): Likewise.
8999 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9000 (UNKNOWN_ENVIRONMENT): Likewise.
9001 (confstr): Include posix-envs.def instead of handling
9002 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9003 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9004 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9005 (END_ENV_GROUP): Likewise.
9006 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9007 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9008 (UNKNOWN_ENVIRONMENT): Likewise.
9009 (__sysconf): Include posix-envs.def instead of handling associated
9010 cases directly here.
9011 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9012 preprocessing getconf-speclist.c rather than running getconf or
9013 generating empty file.
9014
90152012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9016
9017 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9018
90192012-11-16 Andrej Lajovic <natrij@gmail.com>
9020
9021 [BZ #14672]
9022 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9023
90242012-11-16 David S. Miller <davem@davemloft.net>
9025
9026 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9027 smaller than LDBL_EPSILON/2.0L, just return xm1.
9028
90292012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9030
9031 * elf/tst-array1.c (init): Set constructor priority to 1000.
9032 (fini): Set destructor priority to 1000.
9033 * elf/tst-array2dep.c: Likewise.
9034
90352012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9036
9037 [BZ #11741]
9038 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9039 (_IO_new_file_xsputn): Also return EOF if none of the input
9040 data was written when overflow failed.
9041 * libio/iopadn.c (_IO_padn): Likewise.
9042 * libio/iowpadn.c (_IO_wpadn): Likewise.
9043 * stdio-common/tst-put-error.c: Add copyright notice.
9044 (do_test): Add case for printing padded string.
9045 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9046 _IO_padn returned error.
9047 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9048 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9049 return EOF.
9050
90512012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9052
9053 * libio/libioP.h: Add comment note that the references to C++
9054 bits are now obsolete.
9055
90562012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9057
9058 * math/libm-test.inc (check_complex): Use asprintf.
9059
90602012-11-14 Joseph Myers <joseph@codesourcery.com>
9061
9062 * debug/pcprofiledump.c (print_version): Update copyright year.
9063 * malloc/memusagestat.c (print_version): Likewise.
9064
90652012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9066
9067 [BZ #14831]
9068 * elf/Makefile (tests): Add tst-audit8.
9069 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9070 ($(objpfx)tst-audit8.out): New target.
9071 (tst-audit8-ENV): New variable.
9072 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9073 audit if l_reloc_result is NULL.
9074 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9075 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9076 * elf/tst-audit8.c: New file.
9077
90782012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9079
9080 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9081 * misc/Makefile (CFLAGS-select.c): Define.
9082 * posix/Makefile (CFLAGS-pause.c): Define.
9083
90842012-11-13 David S. Miller <davem@davemloft.net>
9085
9086 * crypt/Makefile: Move test targets after toplevel Rules
9087 inclusion. Grab any necessary sysdep routines when linking.
9088 * crypt/md5.c (md5_process_block): Remove define, we will always
9089 name it __md5_process_block.
9090 (md5_finish_ctx): Update md5_process_block call.
9091 (md5_stream): Likewise.
9092 (md5_process_bytes): Likewise.
9093 (md5_process_block): Rename to __md5_process_block and move to ...
9094 * crypt/md5-block.c: ... here.
9095 * crypt/sha256.c (sha256_process_block): Move to ...
9096 * crypt/sha256-block.c: ... here.
9097 * crypt/sha512.c (sha512_process_block): Move to ...
9098 * crypt/sha512-block.c: ... here.
9099 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9100 path.
9101 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9102 * sysdeps/sparc/sparc64/multiarch/Makefile
9103 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9104 crypt subdir.
9105 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9106 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9107 multiarch changes.
9108 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9109 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9110 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9111 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9112 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9113 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9114 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9115 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9116 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9117 file.
9118 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9119 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9120 file.
9121 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9122
91232012-11-13 Joseph Myers <joseph@codesourcery.com>
9124
9125 * timezone/tzselect.ksh: Update from tzcode git revision
9126 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9127 * timezone/zdump.c: Likewise.
9128 * timezone/zic.c: Likewise.
9129 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9130 in TZVERSION setting, not $(PKGVERSION).
9131 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9132 REPORT_BUGS_TO settings.
9133
9134 [BZ #14838]
9135 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9136 macro.
9137
91382012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9139
9140 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9141 detection to immediately after _FP_ROUND().
9142 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9143 bits are 0.
9144
91452012-11-11 David S. Miller <davem@davemloft.net>
9146
9147 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9148 inttypes.h
9149 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9150 __close rather than their public counterparts.
9151
91522012-11-10 Joseph Myers <joseph@codesourcery.com>
9153
9154 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9155 file.
9156 [UNIX98] (sem_timedwait): Do not expect.
9157 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9158 [XPG4 || UNIX98] (sockatmark): Do not expect.
9159 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9160 (clock_getcpuclockid): Do not expect.
9161 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9162 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9163 Do not expect.
9164 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9165 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9166 [UNIX98] (vwscanf): Likewise.
9167 [UNIX98] (vswscanf): Likewise.
9168
91692012-11-09 Joseph Myers <joseph@codesourcery.com>
9170
9171 * timezone/version.h: Remove file.
9172 * timezone/README: Do not refer to version.h.
9173 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9174 $(objpfx)version.h.
9175 ($(objpfx)zdump.o): Likewise.
9176 ($(objpfx)version.h): New target.
9177
9178 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9179 2012i.
9180 * timezone/README: Don't mention modification to tzselect.ksh.
9181 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9182 work on unmodified tzselect.ksh. Substitute version numbers in
9183 tzselect.ksh.
9184
9185 * Makefile (format-me): Remove.
9186 (INSTALL): Adjust indentation. Use commands directly instead of
9187 using $(format-me).
9188
9189 * aclocal.m4 (ACX_PKGVERSION): New macro.
9190 (ACX_BUGURL): Likewise.
9191 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9192 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9193 (REPORT_BUGS_TO): Likewise.
9194 * configure: Regenerated.
9195 * config.h.in (PKGVERSION): New macro.
9196 (REPORT_BUGS_TO): Likewise.
9197 * config.make.in (PKGVERSION): New variable.
9198 (PKGVERSION_TEXI): Likewise.
9199 (REPORT_BUGS_TO): Likewise.
9200 (REPORT_BUGS_TEXI): Likewise.
9201 * Makefile (format-me): Use -I$(common-objpfx)manual.
9202 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9203 ($(common-objpfx)manual/%): New target.
9204 (manual/%): Remove target.
9205 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9206 (print_version): Use PKGVERSION.
9207 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9208 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9209 and REPORT_BUGS_TO.
9210 ($(objpfx)xtrace): Likewise.
9211 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9212 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9213 (print_version): Use PKGVERSION.
9214 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9215 (do_version): Use PKGVERSION.
9216 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9217 REPORT_BUGS_TO.
9218 (common-ldd-rewrite): Likewise.
9219 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9220 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9221 (print_version): Use PKGVERSION.
9222 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9223 * elf/pldd.c (argp_program_bug_address): Remove variable.
9224 (more_help): New function.
9225 (argp): Use more_help.
9226 (print_version): Use PKGVERSION.
9227 * elf/sln.c (main): Use PKGVERSION.
9228 (usage): Use REPORT_BUGS_TO.
9229 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9230 (top level): Use PKGVERSION.
9231 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9232 (print_version): Use PKGVERSION.
9233 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9234 (print_version): Use PKGVERSION.
9235 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9236 (print_version): Use PKGVERSION.
9237 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9238 (print_version): Use PKGVERSION.
9239 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9240 (print_version): Use PKGVERSION.
9241 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9242 (print_version): Use PKGVERSION.
9243 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9244 and BUGURL.
9245 ($(objpfx)memusage): Likewise.
9246 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9247 (do_version): Use PKGVERSION.
9248 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9249 (print_version): Use PKGVERSION.
9250 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9251 ($PKGVERSION): New variable.
9252 ($REPORT_BUGS_TO): Likewise.
9253 (usage): Use $REPORT_BUGS_TO.
9254 (top level): Use $PKGVERSION.
9255 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9256 ($(objpfx)pkgvers.texi): New rule.
9257 ($(objpfx)stamp-pkgvers): Likewise.
9258 * manual/install.texi: Include pkgvers.texi.
9259 (--with-pkgversion): Document new configure option.
9260 (--with-bugurl): Likewise.
9261 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9262 than necessarily for this particular distribution. Use
9263 REPORT_BUGS_TO for where to report bugs.
9264 * INSTALL: Regenerated.
9265 * manual/libc.texinfo: Include pkgvers.texi.
9266 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9267 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9268 (print_version): Use PKGVERSION.
9269 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9270 (print_version): Use PKGVERSION.
9271 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9272 (print_version): Use PKGVERSION.
9273 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9274 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9275 macro.
9276 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9277 (print_version): Use PKGVERSION.
9278 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9279 (print_version): Use PKGVERSION.
9280 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9281 and PKGVERSION.
9282
9283 * timezone/checktab.awk: Update from tzcode 2012i.
9284 * timezone/ialloc.c: Likewise.
9285 * timezone/private.h: Likewise.
9286 * timezone/scheck.c: Likewise.
9287 * timezone/tzfile.h: Likewise.
9288 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9289 (TZVERSION): Hardcode tzcode version number.
9290 * timezone/zdump.c: Update from tzcode 2012i.
9291 * timezone/zic.c: Likewise.
9292 * timezone/version.h: New file.
9293 * timezone/README: Describe version.h. Update upstream location.
9294
9295 [BZ #14824]
9296 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9297 (mktemp): Enable declaration.
9298 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9299 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9300 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9301 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9302 Likewise.
9303 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9304 Likewise.
9305 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9306 Likewise.
9307 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9308 Likewise.
9309 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9310 Likewise.
9311 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9312 Likewise.
9313
9314 [BZ #14821]
9315 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9316 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9317 for copies of such integer values.
9318 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9319 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9320
93212012-11-09 Andreas Jaeger <aj@suse.de>
9322
9323 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9324 definitions and declarations that are provided by
9325 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9326
93272012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9328
9329 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9330 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9331 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9332 definition.
9333
93342012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9335
9336 * elf/elf.h: Update comment before AArch64 relocations.
9337
93382012-11-07 David S. Miller <davem@davemloft.net>
9339
9340 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9341 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9342 (__start_context): Declare.
9343 (__makecontext_ret): Delete.
9344 (__makecontext): Hook up __start_context instead of
9345 __makecontext_ret.
9346 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9347 (sysdep_routines): Add __start_context when in stdlib.
9348
93492012-11-07 Joseph Myers <joseph@codesourcery.com>
9350
9351 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9352 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9353 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9354 hardcoded "nm".
9355 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9356 (READELF): New variable. Use it instead of hardcoded "readelf".
9357
93582012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9359
9360 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9361 * sysdeps/x86/Makefile: Here.
9362 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9363 * sysdeps/x86/tst-xmmymm.sh: This.
9364
93652012-11-07 Joseph Myers <joseph@codesourcery.com>
9366
9367 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9368 expectations.
9369 [UNIX98] (pthread_barrier_t): Do not expect.
9370 [UNIX98] (pthread_barrierattr_t): Likewise.
9371 [UNIX98] (pthread_spinlock_t): Likewise.
9372 [UNIX98] (pthread_barrier_destroy): Likewise.
9373 [UNIX98] (pthread_barrier_init): Likewise.
9374 [UNIX98] (pthread_barrier_wait): Likewise.
9375 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9376 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9377 [UNIX98] (pthread_barrierattr_init): Likewise.
9378 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9379 [UNIX98] (pthread_getcpuclockid): Likewise.
9380 [UNIX98] (pthread_mutex_timedlock): Likewise.
9381 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9382 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9383 [UNIX98] (pthread_sigmask): Likewise.
9384 [UNIX98] (pthread_spin_destroy): Likewise.
9385 [UNIX98] (pthread_spin_init): Likewise.
9386 [UNIX98] (pthread_spin_lock): Likewise.
9387 [UNIX98] (pthread_spin_trylock): Likewise.
9388 [UNIX98] (pthread_spin_unlock): Likewise.
9389 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9390 Do not expect.
9391 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9392 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9393 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9394 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9395 [XPG3 || XPG4] (pthread_key_t): Likewise.
9396 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9397 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9398 [XPG3 || XPG4] (pthread_once_t): Likewise.
9399 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9400 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9401 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9402 [XPG3 || XPG4] (pthread_t): Likewise.
9403
9404 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9405 not expect.
9406 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9407
9408 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9409 Change function return type to int.
9410
9411 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9412 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9413 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9414 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9415 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9416 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9417 [!POSIX] (posix_madvise): Likewise.
9418 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9419 && !UNIX98].
9420 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9421 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9422 (mode_t): Likewise.
9423 (posix_mem_offset): Likewise.
9424 (posix_typed_mem_get_info): Likewise.
9425 (posix_typed_mem_open): Likewise.
9426
9427 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9428 Change condition to [XOPEN2K8].
9429
9430 * conform/conformtest.pl: Preprocess allow-header data with -x c
9431 instead of from stdin.
9432 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9433 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9434 [C99-based standards] (cerfc): Likewise.
9435 [C99-based standards] (cexp2): Likewise.
9436 [C99-based standards] (cexpm1): Likewise.
9437 [C99-based standards] (clog10): Likewise.
9438 [C99-based standards] (clog1p): Likewise.
9439 [C99-based standards] (clog2): Likewise.
9440 [C99-based standards] (clgamma): Likewise.
9441 [C99-based standards] (ctgamma): Likewise.
9442 [C99-based standards] (cerff): Likewise.
9443 [C99-based standards] (cerfcf): Likewise.
9444 [C99-based standards] (cexp2f): Likewise.
9445 [C99-based standards] (cexpm1f): Likewise.
9446 [C99-based standards] (clog10f): Likewise.
9447 [C99-based standards] (clog1pf): Likewise.
9448 [C99-based standards] (clog2f): Likewise.
9449 [C99-based standards] (clgammaf): Likewise.
9450 [C99-based standards] (ctgammaf): Likewise.
9451 [C99-based standards] (cerfl): Likewise.
9452 [C99-based standards] (cerfcl): Likewise.
9453 [C99-based standards] (cexp2l): Likewise.
9454 [C99-based standards] (cexpm1l): Likewise.
9455 [C99-based standards] (clog10l): Likewise.
9456 [C99-based standards] (clog1pl): Likewise.
9457 [C99-based standards] (clog2l): Likewise.
9458 [C99-based standards] (clgammal): Likewise.
9459 [C99-based standards] (ctgammal): Likewise.
9460 * conform/data/inttypes.h-data [C99-based standards]: Include
9461 stdint.h-data. Remove all expectations for stdint.h contents.
9462 [C99-based standards] (PRI*): Do not allow.
9463 [C99-based standards] (SCN*): Likewise.
9464 [C99-based standards] (*_t): Likewise.
9465 [C99-based-standards] (PRId8): Expect macro.
9466 [C99-based-standards] (PRIi8): Likewise.
9467 [C99-based-standards] (PRIo8): Likewise.
9468 [C99-based-standards] (PRIu8): Likewise.
9469 [C99-based-standards] (PRIx8): Likewise.
9470 [C99-based-standards] (PRIX8): Likewise.
9471 [C99-based-standards] (SCNd8): Likewise.
9472 [C99-based-standards] (SCNi8): Likewise.
9473 [C99-based-standards] (SCNo8): Likewise.
9474 [C99-based-standards] (SCNu8): Likewise.
9475 [C99-based-standards] (SCNx8): Likewise.
9476 [C99-based-standards] (PRIdLEAST8): Likewise.
9477 [C99-based-standards] (PRIiLEAST8): Likewise.
9478 [C99-based-standards] (PRIoLEAST8): Likewise.
9479 [C99-based-standards] (PRIuLEAST8): Likewise.
9480 [C99-based-standards] (PRIxLEAST8): Likewise.
9481 [C99-based-standards] (PRIXLEAST8): Likewise.
9482 [C99-based-standards] (SCNdLEAST8): Likewise.
9483 [C99-based-standards] (SCNiLEAST8): Likewise.
9484 [C99-based-standards] (SCNoLEAST8): Likewise.
9485 [C99-based-standards] (SCNuLEAST8): Likewise.
9486 [C99-based-standards] (SCNxLEAST8): Likewise.
9487 [C99-based-standards] (PRIdFAST8): Likewise.
9488 [C99-based-standards] (PRIiFAST8): Likewise.
9489 [C99-based-standards] (PRIoFAST8): Likewise.
9490 [C99-based-standards] (PRIuFAST8): Likewise.
9491 [C99-based-standards] (PRIxFAST8): Likewise.
9492 [C99-based-standards] (PRIXFAST8): Likewise.
9493 [C99-based-standards] (SCNdFAST8): Likewise.
9494 [C99-based-standards] (SCNiFAST8): Likewise.
9495 [C99-based-standards] (SCNoFAST8): Likewise.
9496 [C99-based-standards] (SCNuFAST8): Likewise.
9497 [C99-based-standards] (SCNxFAST8): Likewise.
9498 [C99-based-standards] (PRId16): Likewise.
9499 [C99-based-standards] (PRIi16): Likewise.
9500 [C99-based-standards] (PRIo16): Likewise.
9501 [C99-based-standards] (PRIu16): Likewise.
9502 [C99-based-standards] (PRIx16): Likewise.
9503 [C99-based-standards] (PRIX16): Likewise.
9504 [C99-based-standards] (SCNd16): Likewise.
9505 [C99-based-standards] (SCNi16): Likewise.
9506 [C99-based-standards] (SCNo16): Likewise.
9507 [C99-based-standards] (SCNu16): Likewise.
9508 [C99-based-standards] (SCNx16): Likewise.
9509 [C99-based-standards] (PRIdLEAST16): Likewise.
9510 [C99-based-standards] (PRIiLEAST16): Likewise.
9511 [C99-based-standards] (PRIoLEAST16): Likewise.
9512 [C99-based-standards] (PRIuLEAST16): Likewise.
9513 [C99-based-standards] (PRIxLEAST16): Likewise.
9514 [C99-based-standards] (PRIXLEAST16): Likewise.
9515 [C99-based-standards] (SCNdLEAST16): Likewise.
9516 [C99-based-standards] (SCNiLEAST16): Likewise.
9517 [C99-based-standards] (SCNoLEAST16): Likewise.
9518 [C99-based-standards] (SCNuLEAST16): Likewise.
9519 [C99-based-standards] (SCNxLEAST16): Likewise.
9520 [C99-based-standards] (PRIdFAST16): Likewise.
9521 [C99-based-standards] (PRIiFAST16): Likewise.
9522 [C99-based-standards] (PRIoFAST16): Likewise.
9523 [C99-based-standards] (PRIuFAST16): Likewise.
9524 [C99-based-standards] (PRIxFAST16): Likewise.
9525 [C99-based-standards] (PRIXFAST16): Likewise.
9526 [C99-based-standards] (SCNdFAST16): Likewise.
9527 [C99-based-standards] (SCNiFAST16): Likewise.
9528 [C99-based-standards] (SCNoFAST16): Likewise.
9529 [C99-based-standards] (SCNuFAST16): Likewise.
9530 [C99-based-standards] (SCNxFAST16): Likewise.
9531 [C99-based-standards] (PRId32): Likewise.
9532 [C99-based-standards] (PRIi32): Likewise.
9533 [C99-based-standards] (PRIo32): Likewise.
9534 [C99-based-standards] (PRIu32): Likewise.
9535 [C99-based-standards] (PRIx32): Likewise.
9536 [C99-based-standards] (PRIX32): Likewise.
9537 [C99-based-standards] (SCNd32): Likewise.
9538 [C99-based-standards] (SCNi32): Likewise.
9539 [C99-based-standards] (SCNo32): Likewise.
9540 [C99-based-standards] (SCNu32): Likewise.
9541 [C99-based-standards] (SCNx32): Likewise.
9542 [C99-based-standards] (PRIdLEAST32): Likewise.
9543 [C99-based-standards] (PRIiLEAST32): Likewise.
9544 [C99-based-standards] (PRIoLEAST32): Likewise.
9545 [C99-based-standards] (PRIuLEAST32): Likewise.
9546 [C99-based-standards] (PRIxLEAST32): Likewise.
9547 [C99-based-standards] (PRIXLEAST32): Likewise.
9548 [C99-based-standards] (SCNdLEAST32): Likewise.
9549 [C99-based-standards] (SCNiLEAST32): Likewise.
9550 [C99-based-standards] (SCNoLEAST32): Likewise.
9551 [C99-based-standards] (SCNuLEAST32): Likewise.
9552 [C99-based-standards] (SCNxLEAST32): Likewise.
9553 [C99-based-standards] (PRIdFAST32): Likewise.
9554 [C99-based-standards] (PRIiFAST32): Likewise.
9555 [C99-based-standards] (PRIoFAST32): Likewise.
9556 [C99-based-standards] (PRIuFAST32): Likewise.
9557 [C99-based-standards] (PRIxFAST32): Likewise.
9558 [C99-based-standards] (PRIXFAST32): Likewise.
9559 [C99-based-standards] (SCNdFAST32): Likewise.
9560 [C99-based-standards] (SCNiFAST32): Likewise.
9561 [C99-based-standards] (SCNoFAST32): Likewise.
9562 [C99-based-standards] (SCNuFAST32): Likewise.
9563 [C99-based-standards] (SCNxFAST32): Likewise.
9564 [C99-based-standards] (PRId64): Likewise.
9565 [C99-based-standards] (PRIi64): Likewise.
9566 [C99-based-standards] (PRIo64): Likewise.
9567 [C99-based-standards] (PRIu64): Likewise.
9568 [C99-based-standards] (PRIx64): Likewise.
9569 [C99-based-standards] (PRIX64): Likewise.
9570 [C99-based-standards] (SCNd64): Likewise.
9571 [C99-based-standards] (SCNi64): Likewise.
9572 [C99-based-standards] (SCNo64): Likewise.
9573 [C99-based-standards] (SCNu64): Likewise.
9574 [C99-based-standards] (SCNx64): Likewise.
9575 [C99-based-standards] (PRIdLEAST64): Likewise.
9576 [C99-based-standards] (PRIiLEAST64): Likewise.
9577 [C99-based-standards] (PRIoLEAST64): Likewise.
9578 [C99-based-standards] (PRIuLEAST64): Likewise.
9579 [C99-based-standards] (PRIxLEAST64): Likewise.
9580 [C99-based-standards] (PRIXLEAST64): Likewise.
9581 [C99-based-standards] (SCNdLEAST64): Likewise.
9582 [C99-based-standards] (SCNiLEAST64): Likewise.
9583 [C99-based-standards] (SCNoLEAST64): Likewise.
9584 [C99-based-standards] (SCNuLEAST64): Likewise.
9585 [C99-based-standards] (SCNxLEAST64): Likewise.
9586 [C99-based-standards] (PRIdFAST64): Likewise.
9587 [C99-based-standards] (PRIiFAST64): Likewise.
9588 [C99-based-standards] (PRIoFAST64): Likewise.
9589 [C99-based-standards] (PRIuFAST64): Likewise.
9590 [C99-based-standards] (PRIxFAST64): Likewise.
9591 [C99-based-standards] (PRIXFAST64): Likewise.
9592 [C99-based-standards] (SCNdFAST64): Likewise.
9593 [C99-based-standards] (SCNiFAST64): Likewise.
9594 [C99-based-standards] (SCNoFAST64): Likewise.
9595 [C99-based-standards] (SCNuFAST64): Likewise.
9596 [C99-based-standards] (SCNxFAST64): Likewise.
9597 [C99-based-standards] (PRIdMAX): Likewise.
9598 [C99-based-standards] (PRIiMAX): Likewise.
9599 [C99-based-standards] (PRIoMAX): Likewise.
9600 [C99-based-standards] (PRIuMAX): Likewise.
9601 [C99-based-standards] (PRIxMAX): Likewise.
9602 [C99-based-standards] (PRIXMAX): Likewise.
9603 [C99-based-standards] (SCNdMAX): Likewise.
9604 [C99-based-standards] (SCNiMAX): Likewise.
9605 [C99-based-standards] (SCNoMAX): Likewise.
9606 [C99-based-standards] (SCNuMAX): Likewise.
9607 [C99-based-standards] (SCNxMAX): Likewise.
9608 [C99-based-standards] (PRIdPTR): Likewise.
9609 [C99-based-standards] (PRIiPTR): Likewise.
9610 [C99-based-standards] (PRIoPTR): Likewise.
9611 [C99-based-standards] (PRIuPTR): Likewise.
9612 [C99-based-standards] (PRIxPTR): Likewise.
9613 [C99-based-standards] (PRIXPTR): Likewise.
9614 [C99-based-standards] (SCNdPTR): Likewise.
9615 [C99-based-standards] (SCNiPTR): Likewise.
9616 [C99-based-standards] (SCNoPTR): Likewise.
9617 [C99-based-standards] (SCNuPTR): Likewise.
9618 [C99-based-standards] (SCNxPTR): Likewise.
9619 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9620 allow.
9621 * conform/data/stdint.h-data: Update comments to clarify
9622 requirements.
9623 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9624 type.
9625 [C99-based standards] (INT8_MAX): Likewise.
9626 [C99-based standards] (INT16_MIN): Likewise.
9627 [C99-based standards] (INT16_MAX): Likewise.
9628 [C99-based standards] (INT32_MIN): Likewise.
9629 [C99-based standards] (INT32_MAX): Likewise.
9630 [C99-based standards] (INT64_MIN): Likewise.
9631 [C99-based standards] (INT64_MAX): Likewise.
9632 [C99-based standards] (UINT8_MAX): Likewise.
9633 [C99-based standards] (UINT16_MAX): Likewise.
9634 [C99-based standards] (UINT32_MAX): Likewise.
9635 [C99-based standards] (UINT64_MAX): Likewise.
9636 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9637 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9638 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9639 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9640 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9641 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9642 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9643 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9644 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9645 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9646 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9647 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9648 [C99-based standards] (INT_FAST8_MIN): Likewise.
9649 [C99-based standards] (INT_FAST8_MAX): Likewise.
9650 [C99-based standards] (INT_FAST16_MIN): Likewise.
9651 [C99-based standards] (INT_FAST16_MAX): Likewise.
9652 [C99-based standards] (INT_FAST32_MIN): Likewise.
9653 [C99-based standards] (INT_FAST32_MAX): Likewise.
9654 [C99-based standards] (INT_FAST64_MIN): Likewise.
9655 [C99-based standards] (INT_FAST64_MAX): Likewise.
9656 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9657 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9658 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9659 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9660 [C99-based standards] (INTPTR_MIN): Likewise.
9661 [C99-based standards] (INTPTR_MAX): Likewise.
9662 [C99-based standards] (UINTPTR_MAX): Likewise.
9663 [C99-based standards] (INTMAX_MIN): Likewise.
9664 [C99-based standards] (INTMAX_MAX): Likewise.
9665 [C99-based standards] (UINTMAX_MAX): Likewise.
9666 [C99-based standards] (PTRDIFF_MIN): Likewise.
9667 [C99-based standards] (PTRDIFF_MAX): Likewise.
9668 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9669 [C99-based standards] (SIZE_MAX): Likewise.
9670 [C99-based standards] (WCHAR_MAX): Likewise.
9671 [C99-based standards] (WINT_MAX): Likewise.
9672 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9673 constraint on value.
9674 [C99-based standards] (WCHAR_MIN): Likewise.
9675 [C99-based standards] (WINT_MIN): Likewise.
9676 [C99-based standards] (*_t): Allow.
9677 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9678 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9679 Include math.h-data and complex.h-data. Remove all expectations
9680 of math.h and complex.h contents.
9681 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9682 at end of line.
9683 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9684 (struct tm): Expect tag.
9685 [C99-based-standards] (wcstof): Expect function.
9686 [C99-based-standards] (wcstold): Likewise.
9687 [C99-based-standards] (wcstoll): Likewise.
9688 [C99-based-standards] (wcstoull): Likewise.
9689 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9690 macro-int-constant. Specify type.
9691 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9692 constraint on value.
9693 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9694 Specify type.
9695 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9696 Specify value.
9697 [ISO C standards]: Do not allow headers.
9698 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9699 wcs[abcdefghijklmnopqrstuvwxyz]*.
9700 [ISO C standards] (*_t): Do not allow.
9701 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9702 Expect function.
9703 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9704 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9705 Specify type.
9706 [ISO C standards]: Do not allow headers.
9707 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9708 is[abcdefghijklmnopqrstuvwxyz]*.
9709 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9710 to[abcdefghijklmnopqrstuvwxyz]*.
9711 [ISO C standards] (*_t): Do not allow.
9712 * conform/data/stdalign.h-data: New file.
9713 * conform/data/stdbool.h-data: Likewise.
9714 * conform/data/stdnoreturn.h-data: Likewise.
9715
97162012-11-07 Roland McGrath <roland@hack.frob.com>
9717
9718 [BZ #14815]
9719 * manual/filesys.texi (Directory Entries): Typo fix.
9720 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9721
97222012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9723
9724 * elf/elf.h (EM_AARCH64): New macro.
9725 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9726 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9727 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9728 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9729 (R_AARCH64_TLSDESC): Likewise.
9730 (NT_ARM_TLS): Likewise.
9731 (NT_ARM_HW_BREAK): Likewise.
9732 (NT_ARM_HW_WATCH): Likewise.
9733
97342012-11-07 Joseph Myers <joseph@codesourcery.com>
9735
9736 [BZ #14811]
9737 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9738 (__ieee754_powl): Saturate nonzero exponents with absolute value
9739 below 0x1p-79 to +/- 0x1p-79.
9740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9741 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9742 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9743 nonzero exponents with absolute value below 0x1p-32 to +/-
9744 0x1p-32.
9745 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9746 (__ieee754_powl): Saturate nonzero exponents with absolute value
9747 below 0x1p-79 to +/- 0x1p-79.
9748 * math/libm-test.inc (pow_test): Add more tests.
9749
97502012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9751
9752 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9753 _dl_s390_cap_flags with kernel. Increase string length.
9754 (_dl_s390_platforms): Add z196 and zEC12.
9755
97562012-11-07 Joseph Myers <joseph@codesourcery.com>
9757
9758 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9759 Change XOPEN21K to XOPEN2K.
9760
97612012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9762
9763 * string/memmove.c: Use memcpy when possible.
9764
97652012-11-06 Andreas Jaeger <aj@suse.de>
9766
9767 * po/eo.po: Update from translation team.
9768
97692012-11-06 Joseph Myers <joseph@codesourcery.com>
9770
9771 [BZ #14793]
9772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9773 exponent and small x and y exponents, scale x or y up. Increase
9774 by 2 the exponent used in scaling up.
9775 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9776 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9777 * math/libm-test.inc (fma_test): Add more tests.
9778 (fma_test_towardzero): Likewise.
9779 (fma_test_downward): Likewise.
9780 (fma_test_upward): Likewise.
9781
97822012-11-05 Joseph Myers <joseph@codesourcery.com>
9783
9784 [BZ #14805]
9785 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9786 fenv_t *.
9787
9788 [BZ #14801]
9789 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9790 namespace for names of struct fields.
9791 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9792 fenv_t fields.
9793 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9794 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9795
97962012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9797
9798 [BZ #3665]
9799 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9800
98012012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9802
9803 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9804 PTR_DEMANGLE.
9805
9806 [BZ #5246]
9807 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9808 PTR_DEMANGLE.
9809
98102012-11-04 Joseph Myers <joseph@codesourcery.com>
9811
9812 [BZ #14797]
9813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9814 definitely overflow as x * y not x * y + z.
9815 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9816 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9817 * math/libm-test.inc (fma_test): Add more tests.
9818 (fma_test_towardzero): Likewise.
9819 (fma_test_downward): Likewise.
9820 (fma_test_upward): Likewise.
9821
98222012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9823
9824 [BZ #157]
9825
9826 * include/stub-tag.h: Remove file.
9827 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9828 '#include' of it.
9829 * manual/maint.texi (Porting): Don't reference it.
9830 * Makerules ($(objpfx)stubs): Likewise.
9831 * dirent/closedir.c: Don't include <stub-tag.h>.
9832 * dirent/dirfd.c: Likewise.
9833 * dirent/fdopendir.c: Likewise.
9834 * dirent/getdents.c: Likewise.
9835 * dirent/getdents64.c: Likewise.
9836 * dirent/opendir.c: Likewise.
9837 * dirent/readdir.c: Likewise.
9838 * dirent/readdir64.c: Likewise.
9839 * dirent/readdir64_r.c: Likewise.
9840 * dirent/readdir_r.c: Likewise.
9841 * dirent/rewinddir.c: Likewise.
9842 * dirent/seekdir.c: Likewise.
9843 * dirent/telldir.c: Likewise.
9844 * gmon/profil.c: Likewise.
9845 * grp/setgroups.c: Likewise.
9846 * inet/if_index.c: Likewise.
9847 * io/access.c: Likewise.
9848 * io/chdir.c: Likewise.
9849 * io/chmod.c: Likewise.
9850 * io/chown.c: Likewise.
9851 * io/close.c: Likewise.
9852 * io/dup.c: Likewise.
9853 * io/dup2.c: Likewise.
9854 * io/dup3.c: Likewise.
9855 * io/euidaccess.c: Likewise.
9856 * io/faccessat.c: Likewise.
9857 * io/fchdir.c: Likewise.
9858 * io/fchmod.c: Likewise.
9859 * io/fchmodat.c: Likewise.
9860 * io/fchown.c: Likewise.
9861 * io/fchownat.c: Likewise.
9862 * io/fcntl.c: Likewise.
9863 * io/flock.c: Likewise.
9864 * io/fstatfs.c: Likewise.
9865 * io/fstatfs64.c: Likewise.
9866 * io/fstatvfs.c: Likewise.
9867 * io/fstatvfs64.c: Likewise.
9868 * io/futimens.c: Likewise.
9869 * io/fxstat.c: Likewise.
9870 * io/fxstat64.c: Likewise.
9871 * io/fxstatat.c: Likewise.
9872 * io/fxstatat64.c: Likewise.
9873 * io/getcwd.c: Likewise.
9874 * io/isatty.c: Likewise.
9875 * io/lchmod.c: Likewise.
9876 * io/lchown.c: Likewise.
9877 * io/link.c: Likewise.
9878 * io/linkat.c: Likewise.
9879 * io/lseek.c: Likewise.
9880 * io/lseek64.c: Likewise.
9881 * io/lxstat64.c: Likewise.
9882 * io/mkdir.c: Likewise.
9883 * io/mkdirat.c: Likewise.
9884 * io/mkfifo.c: Likewise.
9885 * io/mkfifoat.c: Likewise.
9886 * io/open.c: Likewise.
9887 * io/open64.c: Likewise.
9888 * io/openat.c: Likewise.
9889 * io/openat64.c: Likewise.
9890 * io/pipe.c: Likewise.
9891 * io/pipe2.c: Likewise.
9892 * io/poll.c: Likewise.
9893 * io/posix_fadvise.c: Likewise.
9894 * io/posix_fadvise64.c: Likewise.
9895 * io/posix_fallocate.c: Likewise.
9896 * io/posix_fallocate64.c: Likewise.
9897 * io/read.c: Likewise.
9898 * io/readlink.c: Likewise.
9899 * io/readlinkat.c: Likewise.
9900 * io/rmdir.c: Likewise.
9901 * io/sendfile.c: Likewise.
9902 * io/sendfile64.c: Likewise.
9903 * io/statfs.c: Likewise.
9904 * io/statfs64.c: Likewise.
9905 * io/statvfs.c: Likewise.
9906 * io/statvfs64.c: Likewise.
9907 * io/symlink.c: Likewise.
9908 * io/symlinkat.c: Likewise.
9909 * io/ttyname.c: Likewise.
9910 * io/ttyname_r.c: Likewise.
9911 * io/umask.c: Likewise.
9912 * io/unlink.c: Likewise.
9913 * io/unlinkat.c: Likewise.
9914 * io/utime.c: Likewise.
9915 * io/utimensat.c: Likewise.
9916 * io/write.c: Likewise.
9917 * io/xmknod.c: Likewise.
9918 * io/xmknodat.c: Likewise.
9919 * io/xstat.c: Likewise.
9920 * io/xstat64.c: Likewise.
9921 * login/getpt.c: Likewise.
9922 * login/grantpt.c: Likewise.
9923 * login/unlockpt.c: Likewise.
9924 * math/e_acoshl.c: Likewise.
9925 * math/e_acosl.c: Likewise.
9926 * math/e_asinl.c: Likewise.
9927 * math/e_atan2l.c: Likewise.
9928 * math/e_atanhl.c: Likewise.
9929 * math/e_coshl.c: Likewise.
9930 * math/e_expl.c: Likewise.
9931 * math/e_fmodl.c: Likewise.
9932 * math/e_gammal_r.c: Likewise.
9933 * math/e_hypotl.c: Likewise.
9934 * math/e_j0l.c: Likewise.
9935 * math/e_j1l.c: Likewise.
9936 * math/e_jnl.c: Likewise.
9937 * math/e_lgammal_r.c: Likewise.
9938 * math/e_log10l.c: Likewise.
9939 * math/e_log2l.c: Likewise.
9940 * math/e_logl.c: Likewise.
9941 * math/e_powl.c: Likewise.
9942 * math/e_rem_pio2l.c: Likewise.
9943 * math/e_sinhl.c: Likewise.
9944 * math/e_sqrtl.c: Likewise.
9945 * math/fclrexcpt.c: Likewise.
9946 * math/fedisblxcpt.c: Likewise.
9947 * math/feenablxcpt.c: Likewise.
9948 * math/fegetenv.c: Likewise.
9949 * math/fegetexcept.c: Likewise.
9950 * math/fegetround.c: Likewise.
9951 * math/feholdexcpt.c: Likewise.
9952 * math/fesetenv.c: Likewise.
9953 * math/fesetround.c: Likewise.
9954 * math/feupdateenv.c: Likewise.
9955 * math/fgetexcptflg.c: Likewise.
9956 * math/fraiseexcpt.c: Likewise.
9957 * math/fsetexcptflg.c: Likewise.
9958 * math/ftestexcept.c: Likewise.
9959 * math/k_cosl.c: Likewise.
9960 * math/k_rem_pio2l.c: Likewise.
9961 * math/k_sinl.c: Likewise.
9962 * math/k_tanl.c: Likewise.
9963 * math/s_asinhl.c: Likewise.
9964 * math/s_atanl.c: Likewise.
9965 * math/s_cbrtl.c: Likewise.
9966 * math/s_erfl.c: Likewise.
9967 * math/s_expm1l.c: Likewise.
9968 * math/s_log1pl.c: Likewise.
9969 * math/s_tanhl.c: Likewise.
9970 * misc/acct.c: Likewise.
9971 * misc/brk.c: Likewise.
9972 * misc/chflags.c: Likewise.
9973 * misc/chroot.c: Likewise.
9974 * misc/fchflags.c: Likewise.
9975 * misc/fgetxattr.c: Likewise.
9976 * misc/flistxattr.c: Likewise.
9977 * misc/fremovexattr.c: Likewise.
9978 * misc/fsetxattr.c: Likewise.
9979 * misc/fsync.c: Likewise.
9980 * misc/ftruncate.c: Likewise.
9981 * misc/futimes.c: Likewise.
9982 * misc/futimesat.c: Likewise.
9983 * misc/getdomain.c: Likewise.
9984 * misc/getdtsz.c: Likewise.
9985 * misc/gethostid.c: Likewise.
9986 * misc/gethostname.c: Likewise.
9987 * misc/getloadavg.c: Likewise.
9988 * misc/getpagesize.c: Likewise.
9989 * misc/getsysstats.c: Likewise.
9990 * misc/getxattr.c: Likewise.
9991 * misc/gtty.c: Likewise.
9992 * misc/ioctl.c: Likewise.
9993 * misc/lgetxattr.c: Likewise.
9994 * misc/listxattr.c: Likewise.
9995 * misc/llistxattr.c: Likewise.
9996 * misc/lremovexattr.c: Likewise.
9997 * misc/lsetxattr.c: Likewise.
9998 * misc/lutimes.c: Likewise.
9999 * misc/madvise.c: Likewise.
10000 * misc/mincore.c: Likewise.
10001 * misc/mlock.c: Likewise.
10002 * misc/mlockall.c: Likewise.
10003 * misc/mmap.c: Likewise.
10004 * misc/mprotect.c: Likewise.
10005 * misc/msync.c: Likewise.
10006 * misc/munlock.c: Likewise.
10007 * misc/munlockall.c: Likewise.
10008 * misc/munmap.c: Likewise.
10009 * misc/preadv.c: Likewise.
10010 * misc/preadv64.c: Likewise.
10011 * misc/ptrace.c: Likewise.
10012 * misc/pwritev.c: Likewise.
10013 * misc/pwritev64.c: Likewise.
10014 * misc/readv.c: Likewise.
10015 * misc/reboot.c: Likewise.
10016 * misc/remap_file_pages.c: Likewise.
10017 * misc/removexattr.c: Likewise.
10018 * misc/revoke.c: Likewise.
10019 * misc/select.c: Likewise.
10020 * misc/setdomain.c: Likewise.
10021 * misc/setegid.c: Likewise.
10022 * misc/seteuid.c: Likewise.
10023 * misc/sethostid.c: Likewise.
10024 * misc/sethostname.c: Likewise.
10025 * misc/setregid.c: Likewise.
10026 * misc/setreuid.c: Likewise.
10027 * misc/setxattr.c: Likewise.
10028 * misc/sstk.c: Likewise.
10029 * misc/stty.c: Likewise.
10030 * misc/swapoff.c: Likewise.
10031 * misc/swapon.c: Likewise.
10032 * misc/sync.c: Likewise.
10033 * misc/syncfs.c: Likewise.
10034 * misc/syscall.c: Likewise.
10035 * misc/truncate.c: Likewise.
10036 * misc/ualarm.c: Likewise.
10037 * misc/usleep.c: Likewise.
10038 * misc/ustat.c: Likewise.
10039 * misc/utimes.c: Likewise.
10040 * misc/vhangup.c: Likewise.
10041 * misc/writev.c: Likewise.
10042 * posix/_exit.c: Likewise.
10043 * posix/alarm.c: Likewise.
10044 * posix/execve.c: Likewise.
10045 * posix/fexecve.c: Likewise.
10046 * posix/fork.c: Likewise.
10047 * posix/fpathconf.c: Likewise.
10048 * posix/getaddrinfo.c: Likewise.
10049 * posix/getegid.c: Likewise.
10050 * posix/geteuid.c: Likewise.
10051 * posix/getgid.c: Likewise.
10052 * posix/getgroups.c: Likewise.
10053 * posix/getlogin.c: Likewise.
10054 * posix/getlogin_r.c: Likewise.
10055 * posix/getpgid.c: Likewise.
10056 * posix/getpid.c: Likewise.
10057 * posix/getppid.c: Likewise.
10058 * posix/getresgid.c: Likewise.
10059 * posix/getresuid.c: Likewise.
10060 * posix/getsid.c: Likewise.
10061 * posix/getuid.c: Likewise.
10062 * posix/glob64.c: Likewise.
10063 * posix/nanosleep.c: Likewise.
10064 * posix/pathconf.c: Likewise.
10065 * posix/pause.c: Likewise.
10066 * posix/posix_madvise.c: Likewise.
10067 * posix/pread.c: Likewise.
10068 * posix/pread64.c: Likewise.
10069 * posix/pwrite.c: Likewise.
10070 * posix/pwrite64.c: Likewise.
10071 * posix/sched_getaffinity.c: Likewise.
10072 * posix/sched_getp.c: Likewise.
10073 * posix/sched_gets.c: Likewise.
10074 * posix/sched_primax.c: Likewise.
10075 * posix/sched_primin.c: Likewise.
10076 * posix/sched_rr_gi.c: Likewise.
10077 * posix/sched_setaffinity.c: Likewise.
10078 * posix/sched_setp.c: Likewise.
10079 * posix/sched_sets.c: Likewise.
10080 * posix/sched_yield.c: Likewise.
10081 * posix/setgid.c: Likewise.
10082 * posix/setlogin.c: Likewise.
10083 * posix/setpgid.c: Likewise.
10084 * posix/setresgid.c: Likewise.
10085 * posix/setresuid.c: Likewise.
10086 * posix/setsid.c: Likewise.
10087 * posix/setuid.c: Likewise.
10088 * posix/sleep.c: Likewise.
10089 * posix/spawni.c: Likewise.
10090 * posix/sysconf.c: Likewise.
10091 * posix/times.c: Likewise.
10092 * posix/wait.c: Likewise.
10093 * posix/wait3.c: Likewise.
10094 * posix/wait4.c: Likewise.
10095 * posix/waitpid.c: Likewise.
10096 * resolv/gai_sigqueue.c: Likewise.
10097 * resource/getpriority.c: Likewise.
10098 * resource/getrlimit.c: Likewise.
10099 * resource/getrusage.c: Likewise.
10100 * resource/nice.c: Likewise.
10101 * resource/setpriority.c: Likewise.
10102 * resource/setrlimit.c: Likewise.
10103 * resource/ulimit.c: Likewise.
10104 * rt/aio_cancel.c: Likewise.
10105 * rt/aio_fsync.c: Likewise.
10106 * rt/aio_read.c: Likewise.
10107 * rt/aio_sigqueue.c: Likewise.
10108 * rt/aio_suspend.c: Likewise.
10109 * rt/aio_write.c: Likewise.
10110 * rt/clock_getres.c: Likewise.
10111 * rt/clock_gettime.c: Likewise.
10112 * rt/clock_nanosleep.c: Likewise.
10113 * rt/clock_settime.c: Likewise.
10114 * rt/lio_listio.c: Likewise.
10115 * rt/mq_close.c: Likewise.
10116 * rt/mq_getattr.c: Likewise.
10117 * rt/mq_notify.c: Likewise.
10118 * rt/mq_open.c: Likewise.
10119 * rt/mq_receive.c: Likewise.
10120 * rt/mq_send.c: Likewise.
10121 * rt/mq_setattr.c: Likewise.
10122 * rt/mq_timedreceive.c: Likewise.
10123 * rt/mq_timedsend.c: Likewise.
10124 * rt/mq_unlink.c: Likewise.
10125 * rt/shm_open.c: Likewise.
10126 * rt/shm_unlink.c: Likewise.
10127 * rt/timer_create.c: Likewise.
10128 * rt/timer_delete.c: Likewise.
10129 * rt/timer_getoverr.c: Likewise.
10130 * rt/timer_gettime.c: Likewise.
10131 * rt/timer_settime.c: Likewise.
10132 * setjmp/__longjmp.c: Likewise.
10133 * setjmp/setjmp.c: Likewise.
10134 * signal/kill.c: Likewise.
10135 * signal/killpg.c: Likewise.
10136 * signal/raise.c: Likewise.
10137 * signal/sigaction.c: Likewise.
10138 * signal/sigaltstack.c: Likewise.
10139 * signal/sigblock.c: Likewise.
10140 * signal/sigignore.c: Likewise.
10141 * signal/sigintr.c: Likewise.
10142 * signal/signal.c: Likewise.
10143 * signal/sigpause.c: Likewise.
10144 * signal/sigpending.c: Likewise.
10145 * signal/sigqueue.c: Likewise.
10146 * signal/sigreturn.c: Likewise.
10147 * signal/sigset.c: Likewise.
10148 * signal/sigsetmask.c: Likewise.
10149 * signal/sigstack.c: Likewise.
10150 * signal/sigsuspend.c: Likewise.
10151 * signal/sigtimedwait.c: Likewise.
10152 * signal/sigvec.c: Likewise.
10153 * signal/sigwait.c: Likewise.
10154 * signal/sigwaitinfo.c: Likewise.
10155 * signal/sysv_signal.c: Likewise.
10156 * socket/accept.c: Likewise.
10157 * socket/accept4.c: Likewise.
10158 * socket/bind.c: Likewise.
10159 * socket/connect.c: Likewise.
10160 * socket/getpeername.c: Likewise.
10161 * socket/getsockname.c: Likewise.
10162 * socket/getsockopt.c: Likewise.
10163 * socket/isfdtype.c: Likewise.
10164 * socket/listen.c: Likewise.
10165 * socket/recv.c: Likewise.
10166 * socket/recvfrom.c: Likewise.
10167 * socket/recvmsg.c: Likewise.
10168 * socket/send.c: Likewise.
10169 * socket/sendmsg.c: Likewise.
10170 * socket/sendto.c: Likewise.
10171 * socket/setsockopt.c: Likewise.
10172 * socket/shutdown.c: Likewise.
10173 * socket/sockatmark.c: Likewise.
10174 * socket/socket.c: Likewise.
10175 * socket/socketpair.c: Likewise.
10176 * stdio-common/ctermid.c: Likewise.
10177 * stdio-common/cuserid.c: Likewise.
10178 * stdio-common/remove.c: Likewise.
10179 * stdio-common/rename.c: Likewise.
10180 * stdio-common/renameat.c: Likewise.
10181 * stdio-common/tempname.c: Likewise.
10182 * stdlib/getcontext.c: Likewise.
10183 * stdlib/makecontext.c: Likewise.
10184 * stdlib/setcontext.c: Likewise.
10185 * stdlib/swapcontext.c: Likewise.
10186 * stdlib/system.c: Likewise.
10187 * streams/fattach.c: Likewise.
10188 * streams/fdetach.c: Likewise.
10189 * streams/getmsg.c: Likewise.
10190 * streams/getpmsg.c: Likewise.
10191 * streams/putmsg.c: Likewise.
10192 * streams/putpmsg.c: Likewise.
10193 * sysdeps/unix/bsd/getpt.c: Likewise.
10194 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10195 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10196 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10198 Likewise.
10199 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10200 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10201 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10202 * sysvipc/msgctl.c: Likewise.
10203 * sysvipc/msgget.c: Likewise.
10204 * sysvipc/msgrcv.c: Likewise.
10205 * sysvipc/msgsnd.c: Likewise.
10206 * sysvipc/semctl.c: Likewise.
10207 * sysvipc/semget.c: Likewise.
10208 * sysvipc/semop.c: Likewise.
10209 * sysvipc/semtimedop.c: Likewise.
10210 * sysvipc/shmat.c: Likewise.
10211 * sysvipc/shmctl.c: Likewise.
10212 * sysvipc/shmdt.c: Likewise.
10213 * sysvipc/shmget.c: Likewise.
10214 * termios/tcdrain.c: Likewise.
10215 * termios/tcflow.c: Likewise.
10216 * termios/tcflush.c: Likewise.
10217 * termios/tcgetattr.c: Likewise.
10218 * termios/tcgetpgrp.c: Likewise.
10219 * termios/tcsendbrk.c: Likewise.
10220 * termios/tcsetattr.c: Likewise.
10221 * termios/tcsetpgrp.c: Likewise.
10222 * time/adjtime.c: Likewise.
10223 * time/clock.c: Likewise.
10224 * time/getitimer.c: Likewise.
10225 * time/gettimeofday.c: Likewise.
10226 * time/setitimer.c: Likewise.
10227 * time/settimeofday.c: Likewise.
10228 * time/stime.c: Likewise.
10229 * time/time.c: Likewise.
10230
102312012-11-04 Pino Toscano <toscano.pino@tiscali.it>
10232
10233 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10234 /usr/old/bin.
10235
10236 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10237 instead of spaces.
10238 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10239
102402012-11-03 Joseph Myers <joseph@codesourcery.com>
10241
10242 [BZ #14796]
10243 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10244 FE_TONEAREST before applying Dekker multiplication and Knuth
10245 addition. Clear inexact exceptions and check for exact zero
10246 results afterwards.
10247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10248 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10249 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10250 * math/libm-test.inc (fma_test): Add more tests.
10251 (fma_test_towardzero): Likewise.
10252 (fma_test_downward): Likewise.
10253 (fma_test_upward): Likewise.
10254 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10255 function.
10256 (libc_fesetround): New macro.
10257 (libc_fesetroundf): Likewise.
10258 (libc_fesetroundl): Likewise.
10259 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10260 function.
10261 (libc_fesetround_387): Likewise.
10262 (libc_fesetroundf): New macro.
10263 (libc_fesetround): Likewise.
10264 (libc_fesetroundl): Likewise.
10265 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10266 function.
10267 (libc_fesetroundf): New macro.
10268 (libc_fesetround): Likewise.
10269 (libc_fesetroundl): Likewise.
10270 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10271 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10272 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10273 libm_hidden_ver.
10274 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10275 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10276 libm_hidden_def.
10277 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10278 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10279 libm_hidden_ver.
10280 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10281 libm_hidden_def.
10282
10283 [BZ #3439]
10284 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10285 integer constant usable in #if and use that to give value to enum
10286 constant.
10287 (FE_DIVBYZERO): Likewise.
10288 (FE_UNDERFLOW): Likewise.
10289 (FE_OVERFLOW): Likewise.
10290 (FE_INVALID): Likewise.
10291 (FE_INVALID_SNAN): Likewise.
10292 (FE_INVALID_ISI): Likewise.
10293 (FE_INVALID_IDI): Likewise.
10294 (FE_INVALID_ZDZ): Likewise.
10295 (FE_INVALID_IMZ): Likewise.
10296 (FE_INVALID_COMPARE): Likewise.
10297 (FE_INVALID_SOFTWARE): Likewise.
10298 (FE_INVALID_SQRT): Likewise.
10299 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10300 (FE_TONEAREST): Likewise.
10301 (FE_TOWARDZERO): Likewise.
10302 (FE_UPWARD): Likewise.
10303 (FE_DOWNWARD): Likewise.
10304 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10305 (FE_DIVBYZERO): Likewise.
10306 (FE_OVERFLOW): Likewise.
10307 (FE_UNDERFLOW): Likewise.
10308 (FE_INEXACT): Likewise.
10309 (FE_TONEAREST): Likewise.
10310 (FE_DOWNWARD): Likewise.
10311 (FE_UPWARD): Likewise.
10312 (FE_TOWARDZERO): Likewise.
10313 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10314 (FE_UNDERFLOW): Likewise.
10315 (FE_OVERFLOW): Likewise.
10316 (FE_DIVBYZERO): Likewise.
10317 (FE_INVALID): Likewise.
10318 (FE_TONEAREST): Likewise.
10319 (FE_TOWARDZERO): Likewise.
10320 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10321 (FE_OVERFLOW): Likewise.
10322 (FE_UNDERFLOW): Likewise.
10323 (FE_DIVBYZERO): Likewise.
10324 (FE_INEXACT): Likewise.
10325 (FE_TONEAREST): Likewise.
10326 (FE_TOWARDZERO): Likewise.
10327 (FE_UPWARD): Likewise.
10328 (FE_DOWNWARD): Likewise.
10329 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10330 (FE_DIVBYZERO): Likewise.
10331 (FE_OVERFLOW): Likewise.
10332 (FE_UNDERFLOW): Likewise.
10333 (FE_INEXACT): Likewise.
10334 (FE_TONEAREST): Likewise.
10335 (FE_DOWNWARD): Likewise.
10336 (FE_UPWARD): Likewise.
10337 (FE_TOWARDZERO): Likewise.
10338
103392012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10340
10341 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10342
103432012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10344
10345 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10346 commands. Quote $PWD.
10347 (blacklist_exports): Don't use remove_newlines. Replace "declare
10348 -x" by "export".
10349 (remove_newlines): Remove.
10350
103512012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10352
10353 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10354 * stdlib/stdlib.h (atof): Moved to ...
10355 * include/bits/stdlib-float.h: Here. New file.
10356 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10357 * stdlib/bits/stdlib-float.h: New file.
10358 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10359 -mno-sse -mno-mmx.
10360 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10361 <xmmintrin.h>.
10362
103632012-11-02 Joseph Myers <joseph@codesourcery.com>
10364
10365 * conform/conformtest.pl (@headers): Add fenv.h.
10366 * conform/data/fenv.h-data: New file.
10367 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10368 include of <math/fenv.h>.
10369
10370 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10371 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10372 && !UNIX98]. Enables tests for XOPEN2K8.
10373 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10374 POSIX2008]: Likewise.
10375
10376 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10377 (struct rusage): Do not expect type or its members.
10378
10379 [BZ #3439]
10380 * math/math.h (FP_NAN): Define macro to integer constant usable in
10381 #if and use that to give value to enum constant.
10382 (FP_INFINITE): Likewise.
10383 (FP_ZERO): Likewise.
10384 (FP_SUBNORMAL): Likewise.
10385 (FP_NORMAL): Likewise.
10386
103872012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10388
10389 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10390 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10391 arguments.
10392
103932012-11-02 Roland McGrath <roland@hack.frob.com>
10394
10395 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10396 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10397 autoconf-time if not.
10398 * configure.in: Remove AC_PREREQ.
10399
104002012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10401
10402 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10403 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10404 of the internal implementation.
10405
104062012-11-02 Joseph Myers <joseph@codesourcery.com>
10407
10408 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10409 except include of <misc/sys/syslog.h>.
10410
104112012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10412
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10414 function returns with a NULL context exit with zero.
10415
104162012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10417
10418 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10419
104202012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10421
10422 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10423 (run_program_cmd): This.
10424 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10425 (tst_langinfo): New variable. Use it.
10426
104272012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10428
10429 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10430 floating point opcodes.
10431
104322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10433
10434 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10435 variable.
10436
10437 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10438
10439 * sysdeps/mach/hurd/powerpc: Remove directory.
10440 * sysdeps/mach/powerpc: Likewise.
10441
104422012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10443
10444 * scripts/check-local-headers.sh: Ignore c++ headers.
10445
104462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10447
10448 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10449 __libc_cleanup_region_start argument.
10450
104512012-11-01 Joseph Myers <joseph@codesourcery.com>
10452
10453 [BZ #14784]
10454 [BZ #14785]
10455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10456 x * y using scaling, not as x * y + z.
10457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10458 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10459 * math/libm-test.inc (fma_test): Add more tests.
10460 (fma_test_towardzero): Likewise.
10461 (fma_test_downward): Likewise.
10462 (fma_test_upward): Likewise.
10463
104642012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10465
10466 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10467
104682012-10-31 Joseph Myers <joseph@codesourcery.com>
10469
10470 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10471 New variable.
10472
104732012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10474
10475 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10476
104772012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10478
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10480 Fix sort order.
10481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10482 Likewise.
10483
104842012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10485
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10487 Fix the order of the list for glibc 2.17.
10488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10489 Likewise.
10490
104912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10492
10493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10494
104952012-10-31 Joseph Myers <joseph@codesourcery.com>
10496
10497 [BZ #14610]
10498 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10499 for low part of x being zero before using __atanl (y).
10500 * math/libm-test.inc (atan2_test): Add another test.
10501
10502 * manual/install.texi (Configuring and compiling): Document
10503 general use of test-wrapper and test-wrapper-env.
10504 * INSTALL: Regenerated.
10505
10506 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10507 (__fma): Do not extract and scale down low bits on after-rounding
10508 systems when result rounded to normal precision would have normal
10509 exponent.
10510 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10511 (__fmal): Do not extract and scale down low bits on after-rounding
10512 systems when result rounded to normal precision would have normal
10513 exponent.
10514 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10515 (__fmal): Do not extract and scale down low bits on after-rounding
10516 systems when result rounded to normal precision would have normal
10517 exponent.
10518 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10519 macro.
10520 (fma_test): Add more tests.
10521 (fma_test_towardzero): Likewise.
10522 (fma_test_downward): Likewise.
10523 (fma_test_upward): Likewise.
10524
105252012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10526
10527 * sysdeps/i386/tininess.h: Renamed to ...
10528 * sysdeps/x86/tininess.h: This.
10529 * sysdeps/x86_64/tininess.h: Removed.
10530
105312012-10-30 Joseph Myers <joseph@codesourcery.com>
10532
10533 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10534 input. Use $(build-program-cmd).
10535 ($(objpfx)tst-array1-static.out): Likewise.
10536 ($(objpfx)tst-array2.out): Likewise.
10537 ($(objpfx)tst-array3.out): Likewise.
10538 ($(objpfx)tst-array4.out): Likewise.
10539 ($(objpfx)tst-array5.out): Likewise.
10540 ($(objpfx)tst-array5-static.out): Likewise.
10541
105422012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10543
10544 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10545 if defined.
10546
10547 * nss/nsswitch.h (nss_interface_function): Provide new
10548 macro for use with NSS functions.
10549 * grp/initgroups.c: Use new macro.
10550 * nss/getXXbyYY.c: Likewise.
10551 * nss/getXXbyYY_r.c: Likewise.
10552 * nss/getXXent.c: Likewise.
10553 * nss/getXXent_r.c: Likewise.
10554 * sysdeps/posix/getaddrinfo.c: Likewise.
10555
105562012-10-30 Andreas Jaeger <aj@suse.de>
10557
10558 * po/ru.po: Update Russion translation from translation project.
10559
105602012-10-30 Joseph Myers <joseph@codesourcery.com>
10561
10562 [BZ #14152]
10563 [BZ #14783]
10564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10565 result and shift together with sticky bit instead of replicating
10566 round-to-nearest rounding.
10567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10569 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10570 missing underflow exceptions.
10571 (fma_test_towardzero): Add more tests.
10572 (fma_test_downward): Likewise.
10573 (fma_test_upward): Likewise.
10574
10575 [BZ #14047]
10576 * sysdeps/generic/tininess.h: New file.
10577 * sysdeps/i386/tininess.h: Likewise.
10578 * sysdeps/sh/tininess.h: Likewise.
10579 * sysdeps/x86_64/tininess.h: Likewise.
10580 * stdlib/tst-strtod-underflow.c: Likewise.
10581 * stdlib/tst-tininess.c: Likewise.
10582 * stdlib/strtod_l.c: Include <tininess.h>.
10583 (round_and_return): Do not set errno for exact underflow cases.
10584 Force an underflow exception when setting errno for underflow.
10585 Determine underflow based on rounding to normal precision if
10586 TININESS_AFTER_ROUNDING.
10587 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10588 ERANGE for exact underflow cases.
10589 * stdlib/Makefile (tests): Add tst-tininess and
10590 tst-strtod-underflow.
10591 ($(objpfx)tst-tininess): Use $(link-libm).
10592 ($(objpfx)tst-strtod-underflow): Likewise.
10593
105942012-10-30 Andreas Jaeger <aj@suse.de>
10595
10596 [BZ#14767]
10597 * elf/Makefile (tests): Remove conditional for have-initfini-array
10598 since this is now always required and the variable does not exist
10599 anymore.
10600 (tests-static): Likewise.
10601 (modules-names): Likewise.
10602
10603 * po/eo.po: Add Esperanto translation from translation project.
10604
10605 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10606 merged with constructor/destructor.
10607 (init_array): Likewise.
10608 * elf/tst-array2dep.c (fini_array): Likewise.
10609 (init_array): Likewise.
10610
106112012-10-29 Mike Frysinger <vapier@gentoo.org>
10612
10613 * manual/message.texi: Delete @cartouche tags.
10614
106152012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10616
10617 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10618 EOPNOTSUPP.
10619 * sysdeps/mach/hurd/fsync.c: Likewise.
10620
10621 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10622 [_POSIX_REALTIME_SIGNALS]: Change condition to
10623 [_POSIX_REALTIME_SIGNALS > 0].
10624
106252012-10-27 Andreas Jaeger <aj@suse.de>
10626
10627 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10628 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10629 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10630 [__WORDSIZE != 64]: Likewise.
10631
106322012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10633
10634 * iconvdata/tst-table.sh: Remove ${SHELL}.
10635 * iconvdata/tst-tables.sh: Likewise.
10636
106372012-10-25 David S. Miller <davem@davemloft.net>
10638
10639 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10640 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10641 of strtoull.
10642
10643 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10644 ifunc-impl-list.c
10645 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10646 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10647 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10648 file.
10649
106502012-10-25 Roland McGrath <roland@hack.frob.com>
10651
10652 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10653 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10654 __getdirentries.
10655
106562012-10-25 Joseph Myers <joseph@codesourcery.com>
10657 Jim Blandy <jimb@codesourcery.com>
10658
10659 * scripts/cross-test-ssh.sh: New file.
10660 * manual/install.texi (Configuring and compiling): Document use of
10661 cross-test-ssh.sh.
10662 * INSTALL: Regenerated.
10663
106642012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10665
10666 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10667 EOPNOTSUPP.
10668
106692012-10-25 Joseph Myers <joseph@codesourcery.com>
10670
10671 * Makeconfig (run-program-prefix): Fix comment.
10672
106732012-10-24 Joseph Myers <joseph@codesourcery.com>
10674 Jim Blandy <jimb@codesourcery.com>
10675
10676 * Makeconfig (test-wrapper): New variable,
10677 (test-wrapper-env): Likewise.
10678 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10679 (run-built-tests): Define to yes.
10680 (run-program-prefix): Use $(test-wrapper).
10681 (built-program-cmd): Likewise.
10682 * Rules (make-test-out): Use $(test-wrapper-env) and
10683 $(host-built-program-cmd).
10684 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10685 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10686 tst-pathopt.sh.
10687 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10688 $(test-wrapper-env) to tst-rtld-load-self.sh.
10689 ($(objpfx)order2.out): Use $(test-wrapper).
10690 ($(objpfx)tst-initorder.out): Likewise.
10691 ($(objpfx)tst-initorder2.out): Likewise.
10692 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10693 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10694 (test_wrapper_env): New variable. Use it to run ld.so.
10695 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10696 Use it to run ld.so.
10697 (test_wrapper_env): Likewise.
10698 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10699 $(test-wrapper) to run-iconv-test.sh.
10700 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10701 (ICONV): Use $test_wrapper.
10702 * posix/Makefile ($(objpfx)globtest.out): Pass
10703 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10704 globtest.sh, not $(run-program-prefix).
10705 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10706 (test_wrapper): Likewise.
10707 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10708 set together with run_via_rtld_prefix.
10709 (run_program_prefix): Define in terms of test_wrapper and
10710 run_via_rtld_prefix.
10711
107122012-10-24 Roland McGrath <roland@hack.frob.com>
10713
10714 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10715 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10716 Targets removed.
10717
10718 [BZ #14743]
10719 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10720 Declare __clock_getres, __clock_gettime, __clock_settime,
10721 __clock_nanosleep, and __clock_getcpuclockid.
10722 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10723 Remove librt_hidden_def (clock_gettime).
10724 * sysdeps/unix/clock_gettime.c: Likewise.
10725 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10726 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10727 * rt/clock_getres.c: Define __clock_getres as an alias.
10728 * sysdeps/posix/clock_getres.c: Likewise.
10729 * rt/clock_settime.c: Define __clock_settime as an alias.
10730 * sysdeps/unix/clock_settime.c: Likewise.
10731 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10732 * sysdeps/unix/clock_nanosleep.c: Likewise.
10733 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10734 * rt/clock-compat.c: New file.
10735 * rt/Makefile (librt-routines): Add clock-compat and move
10736 $(clock-routines) to ...
10737 (routines): ... here, new variable.
10738 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10739 Don't add get_clockfreq here.
10740 * rt/Versions (libc: GLIBC_2.17): New version set.
10741 Add clock_* symbols here.
10742 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10743 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10744 (GLIBC_2.17): Add clock_* symbols.
10745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10747 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10749 Likewise.
10750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10751 Likewise.
10752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10756 * NEWS: Mention the move.
10757
10758 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10759 Use __open, __read, __close rather than their public counterparts.
10760 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10761 (__get_clockfreq_via_cpuinfo): Likewise.
10762 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10763 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10764
10765 * config.h.in (HAVE_IFUNC): New #undef.
10766 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10767 was successful.
10768 * configure: Regenerated.
10769
107702012-10-24 Mike Frysinger <vapier@gentoo.org>
10771
10772 * configure.in: Move READELF check to start of file.
10773 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10774 libc_cv_asm_gnu_indirect_function in the process.
10775 * configure: Regenerated.
10776
107772012-10-24 Mike Frysinger <vapier@gentoo.org>
10778
10779 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10780 send the output to /dev/null.
10781 (libc_cv_cc_with_libunwind): Likewise.
10782 (libc_cv_as_noexecstack): Likewise.
10783 * configure: Regenerate.
10784
107852012-10-24 Joseph Myers <joseph@codesourcery.com>
10786
10787 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10788
10789 * posix/globtest.sh (TMPDIR): Do not set.
10790 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10791 (testout): Likewise.
10792
107932012-10-24 Andreas Jaeger <aj@suse.de>
10794
10795 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10796 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10797 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10798 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10799 posix_fadvise64, posix_fallocate64.
10800
10801 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10802 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10803 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10804 Likewise.
10805 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10806 Likewise.
10807 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10808
10809 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10810 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10811 <bits/fcntl-linux.h>.
10812 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10813
10814 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10815 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10816 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10817 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10818 [__WORDSIZE != 64]: Likewise.
10819
108202012-10-23 Joseph Myers <joseph@codesourcery.com>
10821
10822 * Makeconfig (run-built-tests): New variable.
10823 * Rules [$(cross-compiling) = yes]: Change condition to
10824 [$(run-built-tests) = no].
10825 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10826 to [$(run-built-tests) = yes].
10827 * elf/Makefile [$(cross-compiling) = no]: Likewise
10828 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10829 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10830 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10831 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10832 * io/Makefile [$(cross-compiling) = no]: Likewise.
10833 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10834 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10835 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10836 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10837 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10838 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10839 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10840 * string/Makefile [$(cross-compiling) = no]: Likewise.
10841
10842 * posix/Makefile ($(objpfx)globtest.out): Pass
10843 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10844 $(rtld-installed-name).
10845 * posix/globtest.sh (elf_objpfx): Remove variable.
10846 (rtld_installed_name): Likewise.
10847 (library_path): Likewise.
10848 (run_program_prefix): New variable. Use for running globtest
10849 binary.
10850
108512012-10-23 Jim Blandy <jimb@codesourcery.com>
10852 Joseph Myers <joseph@codesourcery.com>
10853
10854 * Makeconfig (host-built-program-cmd): New variable.
10855 * elf/Makefile (tst-stackguard1-ARGS): Use
10856 $(host-built-program-cmd).
10857 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10858 (tst-spawn-ARGS): Likewise.
10859 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10860
108612012-10-23 Joseph Myers <joseph@codesourcery.com>
10862 Jim Blandy <jimb@codesourcery.com>
10863
10864 * Makeconfig (run-via-rtld-prefix): New variable.
10865 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10866 (built-program-cmd): Likewise.
10867
108682012-10-22 Andreas Jaeger <aj@suse.de>
10869
10870 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10871 __O_RSYNC if it exists, otherwise to O_SYNC.
10872
108732012-10-22 Jim Blandy <jimb@codesourcery.com>
10874 Joseph Myers <joseph@codesourcery.com>
10875
10876 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10877 /dev/null.
10878 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10879 from /dev/null
10880 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10881 /dev/null.
10882
108832012-10-22 Andreas Jaeger <aj@suse.de>
10884
10885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10886 Define always.
10887 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10888
10889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10890 bits/fcntl-linux.h.
10891
10892 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10893 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10894
10895 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10896 to __O_LARGEFILE.
10897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10898 to __O_LARGEFILE.
10899
109002012-10-21 Jim Blandy <jimb@codesourcery.com>
10901 Joseph Myers <joseph@codesourcery.com>
10902
10903 * config.make.in (NM): New variable.
10904
109052012-10-21 Andreas Jaeger <aj@suse.de>
10906
10907 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10908 definitions and declarations that are provided by
10909 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10910
109112012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10912
10913 [BZ #14683]
10914 * elf/Makefile (tests-static): Add tst-leaks1-static.
10915 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10916 ($(objpfx)tst-leaks1-static): New rule.
10917 ($(objpfx)tst-leaks1-static-mem): Likewise.
10918 (tst-leaks1-static-ENV): New macro.
10919 * elf/dl-open.c (dl_open_worker): Check the main application
10920 only if SHARED is defined.
10921 * elf/tst-leaks1-static.c: New file.
10922
109232012-10-20 Andreas Jaeger <aj@suse.de>
10924
10925 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10926 generic values for Linux.
10927 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10928 and declarations that are provided by <bits/fcntl-linux.h> and
10929 include <bits/fcntl-linux.h>.
10930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10932
109332012-10-20 Roland McGrath <roland@hack.frob.com>
10934
10935 * io/fcntl.h: Move include of <bits/types.h> to the top and
10936 include it unconditionally.
10937
109382012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10939
10940 * wcsmbs/Makefile (tests-ifunc): New variable.
10941 (tests): Add $(tests-ifunc).
10942 * wcsmbs/test-wcschr-ifunc.c: New file.
10943 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10944 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10945 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10946 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10947 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10948
10949 * string/Makefile (tests-ifunc): New variable.
10950 (tests): Add $(tests-ifunc).
10951 * string/test-memccpy.c (TEST_NAME): New macro.
10952 * string/test-memchr.c (TEST_NAME): Likewise.
10953 * string/test-memcmp.c (TEST_NAME): Likewise.
10954 * string/test-memcpy.c (TEST_NAME): Likewise.
10955 * string/test-memmem.c (TEST_NAME): Likewise.
10956 * string/test-memmove.c (TEST_NAME): Likewise.
10957 * string/test-memset.c (TEST_NAME): Likewise.
10958 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10959 * string/test-stpcpy.c (TEST_NAME): Likewise.
10960 * string/test-stpncpy.c (TEST_NAME): Likewise.
10961 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10962 * string/test-strcasestr.c (TEST_NAME): Likewise.
10963 * string/test-strcat.c (TEST_NAME): Likewise.
10964 * string/test-strchr.c (TEST_NAME): Likewise.
10965 * string/test-strcmp.c(TEST_NAME): Likewise.
10966 * string/test-strcpy.c (TEST_NAME): Likewise.
10967 * string/test-strcspn.c (TEST_NAME): Likewise.
10968 * string/test-strlen.c (TEST_NAME): Likewise.
10969 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10970 * string/test-strncmp.c (TEST_NAME): Likewise.
10971 * string/test-strncpy.c (TEST_NAME): Likewise.
10972 * string/test-strnlen.c (TEST_NAME): Likewise.
10973 * string/test-strpbrk.c (TEST_NAME): Likewise.
10974 * string/test-strrchr.c (TEST_NAME): Likewise.
10975 * string/test-strspn.c (TEST_NAME): Likewise.
10976 * string/test-strstr.c (TEST_NAME): Likewise.
10977 * string/test-bcopy-ifunc.c: New file.
10978 * string/test-bzero-ifunc.c: Likewise.
10979 * string/test-memccpy-ifunc.c: Likewise.
10980 * string/test-memchr-ifunc.c: Likewise.
10981 * string/test-memcmp-ifunc.c: Likewise.
10982 * string/test-memcpy-ifunc.c: Likewise.
10983 * string/test-memmem-ifunc.c: Likewise.
10984 * string/test-memmove-ifunc.c: Likewise.
10985 * string/test-mempcpy-ifunc.c: Likewise.
10986 * string/test-memset-ifunc.c: Likewise.
10987 * string/test-rawmemchr-ifunc.c: Likewise.
10988 * string/test-stpcpy-ifunc.c: Likewise.
10989 * string/test-stpncpy-ifunc.c: Likewise.
10990 * string/test-strcasecmp-ifunc.c: Likewise.
10991 * string/test-strcasestr-ifunc.c: Likewise.
10992 * string/test-strcat-ifunc.c: Likewise.
10993 * string/test-strchr-ifunc.c: Likewise.
10994 * string/test-strchrnul-ifunc.c: Likewise.
10995 * string/test-strcmp-ifunc.c: Likewise.
10996 * string/test-strcpy-ifunc.c: Likewise.
10997 * string/test-strcspn-ifunc.c: Likewise.
10998 * string/test-strlen-ifunc.c: Likewise.
10999 * string/test-strncasecmp-ifunc.c: Likewise.
11000 * string/test-strncat-ifunc.c: Likewise.
11001 * string/test-strncmp-ifunc.c: Likewise.
11002 * string/test-strncpy-ifunc.c: Likewise.
11003 * string/test-strnlen-ifunc.c: Likewise.
11004 * string/test-strpbrk-ifunc.c: Likewise.
11005 * string/test-strrchr-ifunc.c: Likewise.
11006 * string/test-strspn-ifunc.c: Likewise.
11007 * string/test-strstr-ifunc.c: Likewise.
11008
11009 * debug/Makefile (tests-ifunc): New variable.
11010 (tests): Add $(tests-ifunc).
11011 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11012 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11013 * debug/test-stpcpy_chk-ifunc.c: New file.
11014 * debug/test-strcpy_chk-ifunc.c: Likewise.
11015
110162012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11017
11018 [BZ #13601]
11019 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11020 header is not read in.
11021
110222012-10-19 Joseph Myers <joseph@codesourcery.com>
11023
11024 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11025 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11026 directly. Pass built executable to script as
11027 $(built-program-cmd).
11028 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11029 $testprogram without using LD_LIBRARY_PATH and $ldso.
11030
11031 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11032 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11033 $(rtld-installed-name).
11034 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11035 (rtld_installed_name): Likewise.
11036 (library_path): Likewise.
11037 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11038 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11039 $(run-program-prefix) to tst-tables.sh.
11040 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11041 it to run tst-table-from and tst-table-to.
11042 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11043 Pass it to tst-table.sh.
11044 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11045 $(run-program-prefix) to tst-gettext.sh.
11046 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11047 tst-translit.sh.
11048 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11049 tst-gettext2.sh.
11050 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11051 to run tst-gettext.
11052 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11053 to run tst-gettext2.
11054 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11055 to run tst-translit.
11056 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11057 $(run-program-prefix) to tst-mtrace.sh.
11058 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11059 to run tst-mtrace.
11060 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11061 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11062 $(rtld-installed-name).
11063 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11064 (rtld_installed_name): Likewise.
11065 (run_program_prefix): New variable. Use it to run wordexp-test.
11066
11067 * Makeconfig (ARCH): Remove all definitions.
11068 (machine): Likewise.
11069 [ARCH]: Remove conditional code.
11070 [!objdir]: Give error.
11071 [!objdir] (objpfx): Remove.
11072 [!objdir] (common-objpfx): Likewise.
11073 [!objdir] (common-objdir): Likewise.
11074 * configure.in (config_makefile): Remove. Hardcode Makefile in
11075 AC_CONFIG_FILES call.
11076 * configure: Regenerated.
11077
11078 [BZ #13888]
11079 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11080 or TMPDIR.
11081 (testout): Likewise.
11082
11083 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11084 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11085 $(rtld-installed-name).
11086 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11087 (rtld_installed_name): Likwise.
11088 (runit): Remove function.
11089 (run_getconf): New variable, Use it for running getconf binary.
11090
110912012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11092
11093 [BZ #14716]
11094 * string/test-memmem.c (check_result): New function.
11095 (do_one_test): Use it.
11096 (check1): New function.
11097 (test_main): Use it.
11098
110992012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11100
11101 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11102
111032012-10-18 Joseph Myers <joseph@codesourcery.com>
11104
11105 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11106 (_G_LSEEK64): Likewise.
11107 (_G_MMAP64): Likewise.
11108 (_G_FSTAT64): Likewise.
11109 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11110 (_G_LSEEK64): Likewise.
11111 (_G_MMAP64): Likewise.
11112 (_G_FSTAT64): Likewise.
11113 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11114 unconditional. Call __mmap64 directly.
11115 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11116 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11117 __lseek64 directly.
11118 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11119 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11120 __mmap64 directly.
11121 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11122 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11123 __lseek64 directly.
11124 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11125 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11126 __lseek64 directly.
11127 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11128 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11129 __lseek64 directly.
11130 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11131 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11132 __fxstat64 directly.
11133 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11134 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11135 unconditional.
11136 (freopen64) [!_G_OPEN64]: Remove conditional code.
11137 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11138 unconditional.
11139 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11140 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11141 unconditional.
11142 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11143 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11144 unconditional.
11145 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11146 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11147 unconditional.
11148 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11149 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11150 unconditional.
11151 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11152 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11153 unconditional.
11154 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11155 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11156 unconditional.
11157 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11158
111592012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11160
11161 [BZ #12140]
11162 * manual/memory.texi (Malloc Tunable Parameters): Add note
11163 about free list pointers overwriting some perturb bytes.
11164 Wording suggested by Roland McGrath.
11165
111662012-10-17 Joseph Myers <joseph@codesourcery.com>
11167
11168 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11169 (lgamma_test): Likewise.
11170 (tgamma_test): Likewise.
11171
111722012-10-16 Florian Weimer <fweimer@redhat.com>
11173
11174 [BZ #14700]
11175 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11176 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11177
111782012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11179
11180 * NEWS: Mention BZ #14716.
11181 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11182 when removing AVAILABLE1_USES_J macro.
11183
111842012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11185
11186 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11187 (__bswap_64): __uint64_t for unsigned 64-bit int.
11188
111892012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11190
11191 * include/string.h (memmem): Declare libc hidden alias.
11192 * string/memmem.c (memmem): Define libc hidden alias.
11193 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11194 __read, __close instead of open, read, close.
11195
111962012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11197
11198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11199 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11200 global and hidden.
11201 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11202 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11203 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11204 Likewise.
11205 (__rawmemchr_sse2): Likewise.
11206 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11207 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11208 (__strchr_sse2): Likewise.
11209 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11210 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11211 (__strcasecmp_sse2): Likewise.
11212 (__strncasecmp_sse2): Likewise.
11213 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11214 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11215 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11216 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11217 (__strrchr_sse2): Likewise.
11218 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11219 ifunc-impl-list.c.
11220 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11221 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11222 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11223 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11224 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11225 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11226 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11227 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11228 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11229 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11230 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11231 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11232 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11233 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11234 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11235 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11236 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11237 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11238 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11239 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11240 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11241 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11242 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11243 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11244 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11245 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11246 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11247 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11248 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11249 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11250
11251 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11252 global and hidden.
11253 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11254 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11255 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11256 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11257 Likewise.
11258 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11259 Likewise.
11260 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11261 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11262 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11263 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11264 ifunc-impl-list.c.
11265 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11266 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11267 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11268 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11269 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11270 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11271 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11272 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11273 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11274 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11275 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11276 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11277 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11278 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11279 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11280 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11281 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11282 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11283 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11284 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11285 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11286 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11287 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11288 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11289 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11290 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11291 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11292 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11293 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11294 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11295 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11296 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11297 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11298 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11299 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11300 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11301 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11302 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11303 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11304 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11305 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11306
11307 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11308 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11309 * include/ifunc-impl-list.h: New file.
11310 * misc/ifunc-impl-list.c: Likewise.
11311 * misc/Makefile (routines): Add ifunc-impl-list.
11312 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11313 * string/test-string.h: Include <ifunc-impl-list.h>.
11314 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11315 impl_array): New variables.
11316 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11317 are defined.
11318 (test_init): Call __libc_ifunc_impl_list to initialize
11319 func_list if TEST_IFUNC and TEST_NAME are defined.
11320
11321 * string/Makefile (strop-tests): Add bcopy and bzero.
11322 * string/test-bcopy.c: New file.
11323 * string/test-bzero.c: Likewise.
11324 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11325 defined.
11326 * string/test-memset.c: Support bzero test if TEST_BZERO is
11327 defined.
11328 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11329 __libc_memmove.
11330 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11331 __libc_memset.
11332 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11333 of memset.
11334
113352012-10-10 Joseph Myers <joseph@codesourcery.com>
11336
11337 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11338 * configure: Regenerated.
11339
11340 * Makeconfig (+link-static-before-libc): Don't include
11341 $(link-static-libc).
11342
11343 * libio/libio.h (_IO_pos_t): Remove.
11344
113452012-10-10 Alexandre Oliva <aoliva@redhat.com>
11346
11347 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11348 McGrath.
11349
113502012-10-10 Alexandre Oliva <aoliva@redhat.com>
11351
11352 * crypt/crypt-entry.c: Include fips-private.h.
11353 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11354 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11355 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11356 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11357
113582012-10-10 Alexandre Oliva <aoliva@redhat.com>
11359
11360 * crypt/crypt-private.h: Include stdbool.h.
11361 (_ufc_setup_salt_r): Return bool.
11362 * crypt/crypt-entry.c: Include errno.h.
11363 (__crypt_r): Return NULL with EINVAL for bad salt.
11364 * crypt/crypt_util.c (bad_for_salt): New.
11365 (_ufc_setup_salt_r): Check that salt is long enough and within
11366 the specified alphabet.
11367 * crypt/badsalttest.c: New file.
11368 * crypt/Makefile (tests): Add it.
11369 ($(objpfx)badsalttest): New.
11370
113712012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11372
11373 * NEWS: Add entry for BZ #14602.
11374
113752012-10-09 Joseph Myers <joseph@codesourcery.com>
11376
11377 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11378 type-generic.
11379 * math/libm-test.inc: Update comment listing what functions and
11380 macros are tested.
11381 (isgreater_test): New function.
11382 (isgreaterequal_test): Likewise.
11383 (isless_test): Likewise.
11384 (islessequal_test): Likewise.
11385 (islessgreater_test): Likewise.
11386 (isunordered_test): Likewise.
11387 (main): Call the new functions.
11388
113892012-10-09 Roland McGrath <roland@hack.frob.com>
11390
11391 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11392 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11393 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11394 * sysdeps/i386/configure: Regenerated.
11395 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11396 * sysdeps/mach/configure: Regenerated.
11397 * sysdeps/mach/hurd/configure: Regenerated.
11398 * sysdeps/powerpc/configure: Regenerated.
11399 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11400 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11401 * sysdeps/s390/s390-32/configure: Regenerated.
11402 * sysdeps/s390/s390-64/configure: Regenerated.
11403 * sysdeps/sh/configure: Regenerated.
11404 * sysdeps/sparc/configure: Regenerated.
11405 * sysdeps/unix/sysv/linux/configure: Regenerated.
11406 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11407 * sysdeps/x86_64/configure: Regenerated.
11408
11409 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11410 defined. Don't check if MAP is NULL.
11411
114122012-10-09 Joseph Myers <joseph@codesourcery.com>
11413
11414 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11415 (_G_stat64): Likewise.
11416 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11417 (_G_stat64): Likewise.
11418 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11419 instead of struct _G_stat64.
11420 * libio/fileops.c (mmap_remap_check): Likewise.
11421 (decide_maybe_mmap): Likewise.
11422 (_IO_new_file_seekoff): Likewise.
11423 (_IO_file_stat): Likewise.
11424 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11425 _G_off64_t.
11426 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11427 instead of struct _G_stat64.
11428 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11429
114302012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11431
11432 [BZ #14602]
11433 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11434 Replace with ...
11435 (CHECK_EOL): New macro.
11436 (two_way_short_needle): Check beginning of haystack for EOL. Use
11437 CHECK_EOL.
11438 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11439 Replace with CHECK_EOL.
11440 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11441 Replace with CHECK_EOL.
11442
114432012-10-08 Joseph Myers <joseph@codesourcery.com>
11444
11445 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11446 type-generic.
11447 * math/libm-test.inc: Update comment listing what functions and
11448 macros are tested.
11449 (finite_test): New function.
11450 (isinf_test): Likewise.
11451 (isnan_test): Likewise.
11452 (fpclassify_test): Test subnormal input.
11453 (isfinite_test): Likewise.
11454 (isnormal_test): Likewise.
11455 (main): Call the new functions.
11456
114572012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11458
11459 [BZ #14660]
11460 * Makerules (%.dynsym): Force C locale when running
11461 $(OBJDUMP) --dynamic-syms.
11462
114632012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11464
11465 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11466 <stdint.h>.
11467
114682012-10-06 David S. Miller <davem@davemloft.net>
11469
11470 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11471 upper 32-bits of the length value in %o2 since we use branch-on-register
11472 tests which consider the entire 64-bit register.
11473
114742012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11475
11476 * string/test-strstr.c (check2): Add a test for page boundary.
11477
114782012-10-05 David S. Miller <davem@davemloft.net>
11479
11480 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11481 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11482 file.
11483 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11484 sysdep_routines.
11485 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11486 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11487 and bzero when HWCAP_SPARC_CRYPTO is present.
11488
114892012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11490
11491 [BZ #14602]
11492 * string/test-strstr.c (check2): New function.
11493 (test_main): Call check2.
11494
11495 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11496 and bug-strchr1.
11497 * string/bug-strcasestr1.c (do_test): Moved to ...
11498 * string/test-strcasestr.c (check1): Here. New function.
11499 (do_one_test): Break out result checking code into ...
11500 (check_result): This. New function.
11501 (do_one_test): Call check_result.
11502 (test_main): Call check1.
11503 * string/bug-strchr1.c (do_test): Moved to ...
11504 * string/test-strchr.c (check1): Here. New function.
11505 (do_one_test): Break out result checking code into ...
11506 (check_result): This. New function.
11507 (do_one_test): Call check_result.
11508 (test_main): Call check1.
11509 * string/bug-strstr1.c (main): Moved to ...
11510 * string/test-strstr.c (check1): Here. New function.
11511 (do_one_test): Break out result checking code into ...
11512 (check_result): This. New function.
11513 (do_one_test): Call check_result.
11514 (test_main): Call check1.
11515 * string/bug-strcasestr1.c: Removed.
11516 * string/bug-strchr1.c: Likewise.
11517 * string/bug-strstr1.c: Likewise.
11518
11519 * elf/Makefile (dl-routines): Add hwcaps.
11520 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11521 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11522 (_dl_important_hwcaps): Moved to ...
11523 * elf/dl-hwcaps.c: Here. New file.
11524 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11525
11526 [BZ #14557]
11527 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11528 if IS_IN_rtld isn't defined.
11529
11530 * elf/dl-support.c (_dl_sysinfo_map): New.
11531 Include "get-dynamic-info.h" and "setup-vdso.h".
11532 (_dl_non_dynamic_init): Call setup_vdso.
11533 * elf/dynamic-link.h: Don't include <assert.h>.
11534 (elf_get_dynamic_info): Moved to ...
11535 * elf/get-dynamic-info.h: Here. New file.
11536 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11537 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11538 * elf/setup-vdso.h: Here. New file.
11539 * elf/rtld.c: Include "setup-vdso.h".
11540 (dl_main): Call setup_vdso.
11541
115422012-10-05 Joseph Myers <joseph@codesourcery.com>
11543
11544 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11545 creal in comment listing functions tested. List finite, isinf,
11546 isnan, isless, islessequal, isgreater, isgreaterequal,
11547 islessgreater, isunordered, lgamma_r and pow10 as functions and
11548 macros not tested. Mention which functions not tested are aliases
11549 for other functions. Fix typo. Note that signs of NaNs are not
11550 tested.
11551
11552 * scripts/config.guess: Update from config.git.
11553 * scripts/config.sub: Likewise.
11554
115552012-10-04 Roland McGrath <roland@hack.frob.com>
11556
11557 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11558 * misc/madvise.c (madvise): Renamed to __madvise.
11559 Make madvise a weak alias.
11560 * include/sys/mman.h: Declare __madvise.
11561 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11562 * sysdeps/unix/syscalls.list
11563 (madvise): Make __madvise the strong name, and madvise a weak alias.
11564 * sysdeps/unix/sysv/linux/syscalls.list
11565 (madvise, mmap): Remove redundant entries.
11566 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11567 * malloc/malloc.c (mtrim): Likewise.
11568 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11569
115702012-10-03 Roland McGrath <roland@hack.frob.com>
11571
11572 * sysdeps/mach/hurd/dl-cache.c: File removed.
11573 * config.h.in (USE_LDCONFIG): New #undef.
11574 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11575 * configure: Regenerated.
11576 * elf/Makefile (dl-routines): Add dl-cache only under
11577 [$(use-ldconfig) = yes].
11578 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11579 cache on [USE_LDCONFIG].
11580 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11581 [USE_LDCONFIG].
11582 * elf/rtld.c (dl_main): Likewise.
11583
115842012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11585
11586 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11587 _SC_LEVEL4_CACHE_LINESIZE.
11588
115892012-10-03 Roland McGrath <roland@hack.frob.com>
11590
11591 * sysdeps/unix/bsd/confstr.h: File removed.
11592
115932012-10-02 Alexandre Oliva <aoliva@redhat.com>
11594
11595 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11596 sys/sdt-config.h.
11597
115982012-10-02 Roland McGrath <roland@hack.frob.com>
11599
11600 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11601 Make 'mapoff' field ElfW(Off) rather than off_t.
11602
116032012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11604
11605 * nscd/Makefile: Remove nscd-cflags and all its users.
11606 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11607 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11608
11609 [BZ #10631]
11610 * malloc.c (malloc_printerr): Clarify error message.
11611
116122012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11613
11614 [BZ #14648]
11615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11616 Set bit_FMA_Usable if FMA is supported.
11617 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11618 macro.
11619 (bit_FMA4_Usable): Updated.
11620 (index_FMA_Usable): New macro.
11621 (CPUID_FMA): Likewise
11622 (HAS_FMA): Defined with bit_FMA_Usable.
11623
116242012-10-01 Roland McGrath <roland@hack.frob.com>
11625
11626 * bits/types.h (__swblk_t): Type removed.
11627 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11628 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11629 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11630 (__SWBLK_T_TYPE): Likewise.
11631 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11632 (__SWBLK_T_TYPE): Likewise.
11633 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11634 (__SWBLK_T_TYPE): Likewise.
11635 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11636 (__SWBLK_T_TYPE): Likewise.
11637
116382012-10-01 Patsy Franklin <pfrankli@redhat.com>
11639 Honza Horak <hhorak@redhat.com>
11640
11641 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11642 (xdr_mapname): Use YPMAXMAP as maxsize.
11643 (xdr_peername): Use YPMAXPEER as maxsize.
11644 (xdr_keydat): Use YPAXRECORD as maxsize.
11645 (xdr_valdat): Use YPMAXRECORD as maxsize.
11646
116472012-10-01 Roland McGrath <roland@hack.frob.com>
11648
11649 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11650
11651 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11652 * csu/init-first.c: ... here.
11653 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11654 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11655 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11656 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11657 * sysdeps/i386/init-first.c: File removed.
11658 * sysdeps/sh/init-first.c: File removed.
11659
116602012-10-01 Joseph Myers <joseph@codesourcery.com>
11661
11662 [BZ #14645]
11663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11664 if x * y might underflow to zero and z is zero.
11665 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11666 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11667 * math/libm-test.inc (min_subnorm_value): New variable.
11668 (fma_test): Add more tests.
11669 (fma_test_towardzero): Likewise.
11670 (fma_test_downward): Likewise
11671 (fma_test_upward): Likewise.
11672 (initialize): Set min_subnorm_value.
11673
116742012-09-29 Joseph Myers <joseph@codesourcery.com>
11675
11676 [BZ #14638]
11677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11678 0 + 0.
11679 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11680 mode for addition resulting in exact zero.
11681 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11683 exact 0 + 0.
11684 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11685 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11686 * math/libm-test.inc (fma_test): Add more tests.
11687 (fma_test_towardzero): New function.
11688 (fma_test_downward): Likewise.
11689 (fma_test_upward): Likewise.
11690 (main): Call the new functions.
11691
116922012-09-28 David S. Miller <davem@davemloft.net>
11693
11694 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11695
116962012-09-28 Roland McGrath <roland@hack.frob.com>
11697
11698 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11699 instead of SIGALRM.
11700
11701 * sysdeps/gnu/_G_config.h: Moved to ...
11702 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11703 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11704 * sysdeps/generic/_G_config.h: ... here.
11705
11706 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11707
11708 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11709
11710 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11711 Conditionalize target on [libnss_test1.so-version].
11712
11713 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11714
11715 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11716 (elfobjdir): Move out of conditionals.
11717
11718 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11719 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11720 (__nss_lookup_function): Conditionalize label remove_from_tree on
11721 [!DO_STATIC_NSS || SHARED], matching its only use.
11722
117232012-09-28 David S. Miller <davem@davemloft.net>
11724
11725 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11726 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11727 file.
11728 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11729 sysdep_routines.
11730 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11732 when HWCAP_SPARC_CRYPTO is present.
11733
117342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11735
11736 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11737
117382012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11739
11740 [BZ #6530]
11741 * stdio-common/vfprintf.c (process_string_arg): Revert
11742 2000-07-22 change.
11743
117442011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11745
11746 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11747 for testcase.
11748 * stdio-common/tst-sprintf.c: Include <locale.h>
11749 (main): Test sprintf's handling of incomplete multibyte
11750 characters.
11751
117522012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11753
11754 * elf/dl-runtime.c (VERSYMIDX): Removed.
11755 * elf/dl-version.c (VERSYMIDX): Likewise.
11756 * elf/do-rel.h (VERSYMIDX): Likewise.
11757 (VALIDX): Likewise.
11758 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11759 * elf/rtld.c (VALIDX): Likewise.
11760 (ADDRIDX): Likewise.
11761 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11762 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11763 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
11764 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11765 (VALIDX): Likewise.
11766 (ADDRIDX): Likewise.
11767
117682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11769
11770 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11771
117722012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11773
11774 [BZ #11438]
11775 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11776 to global scope.
11777 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11778 addresses are in the same scope as 192.0.2/24.
11779 * posix/gai.conf: Document new scope table defaults.
11780
117812012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11782
11783 [BZ #5298]
11784 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11785 for ftell. Compute offsets from write pointers instead.
11786 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11787
117882012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11789
11790 [BZ #14543]
11791 * libio/Makefile (tests): New test case tst-fseek.
11792 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11793 combination works in wide mode.
11794 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11795 state when the external buffer state changes.
11796
117972012-09-27 David S. Miller <davem@davemloft.net>
11798
11799 [BZ #14376]
11800 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11801 pass reloc->r_addend in as the 'high' argument to
11802 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11803
11804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11805
118062012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11807
11808 * rt/tst-aio2.c: Include <pthread.h>.
11809 * rt/tst-aio3.c: Likewise.
11810
118112012-09-27 Steve Ellcey <sellcey@mips.com>
11812
11813 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11814
118152012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11816
11817 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11818 contents on [SHARED].
11819
118202012-09-26 Marek Polacek <polacek@redhat.com>
11821
11822 [BZ #14530]
11823 [BZ #13741]
11824 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11825 for C++ and GCC <4.3 as well as for non GCC compilers.
11826
118272012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11828
11829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11830
118312012-09-25 Roland McGrath <roland@hack.frob.com>
11832
11833 * Makefile.in (all, install): Declare with .PHONY.
11834 Reported by Michael Hope <michael.hope@linaro.org>.
11835
118362012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11837
11838 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11839 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11840 system header.
11841 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11842 Likewise.
11843 (sydep_routines): Add the new and the internal functions.
11844 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11845 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11847 (GLIBC_2.17): Add the new function.
11848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11849 (GLIBC_2.17): Likewise.
11850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11851 (GLIBC_2.17): Likewise.
11852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11853 (GLIBC_2.17): Likewise.
11854 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11855
118562012-09-25 Alan Modra <amodra@gmail.com>
11857
11858 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11859 Add release barrier before setting once_control to say
11860 initialisation is done. Add hints on lwarx. Use macro in
11861 place of isync.
11862 (clear_once_control): Add release barrier.
11863
118642012-09-25 Joseph Myers <joseph@codesourcery.com>
11865
11866 [BZ #13629]
11867 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11868 specially.
11869 * math/s_clog10.c (__clog10): Likewise.
11870 * math/s_clog10f.c (__clog10f): Likewise.
11871 * math/s_clog10l.c (__clog10l): Likewise.
11872 * math/s_clogf.c (__clogf): Likewise.
11873 * math/s_clogl.c (__clogl): Likewise.
11874 * math/Makefile (libm-calls): Add x2y2m1.
11875 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11876 (__x2y2m1): Likewise.
11877 (__x2y2m1l): Likewise.
11878 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11879 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11880 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11881 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11882 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11883 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11884 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11885 * sysdeps/i386/fpu/libm-test-ulps: Update.
11886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11887
11888 [BZ #14621]
11889 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11890 int as type of variable DEPTH.
11891 (glob): Use size_t instead of int as type of variables NEWCOUNT
11892 and OLD_PATHC.
11893
118942012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11895
11896 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11897 Add s_sincosf-sse2.
11898 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11899 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11900 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11901 macros for using routine as __sincosf_ia32.
11902 Use macro for function declaration and weak_alias.
11903 * sysdeps/i386/fpu/libm-test-ulps: Update.
11904
11905 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11907
11908 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
11909 subnormal argument.
11910 * math/s_cexpf.c (__cexpf): Likewise.
11911 * math/s_csinf.c (__csinf): Likewise.
11912 * math/s_csinhf.c (__csinhf): Likewise.
11913 * math/s_ctanf.c (__ctanf): Likewise.
11914 * math/s_ctanhf.c (__ctanhf): Likewise.
11915 * math/s_ccosh.c (__ccoshf): Likewise.
11916 * math/s_cexp.c (__cexpl): Likewise.
11917 * math/s_csin.c (__csin): Likewise.
11918 * math/s_csinh.c (__csinh): Likewise.
11919 * math/s_ctan.c (__ctan): Likewise.
11920 * math/s_ctanh.c (ctanh): Likewise.
11921 * math/s_ccoshl.c (__ccoshl): Likewise.
11922 * math/s_cexpl.c (__cexpl): Likewise.
11923 * math/s_csinl.c (__csinl): Likewise.
11924 * math/s_csinhl.c (__csinhl): Likewise.
11925 * math/s_ctanl.c (__ctanl): Likewise.
11926 * math/s_ctanhl.c (__ctanhl): Likewise.
11927
119282012-09-25 Joseph Myers <joseph@codesourcery.com>
11929
11930 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11931 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11932 (_IO_off_t): Define to __off_t, not _G_off_t.
11933 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11934 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11935 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11936 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11937 type of __dummy and __dummy2 fields.
11938 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11939 (_G_ssize_t): Likewise.
11940 (_G_off_t): Likewise.
11941 (_G_pid_t): Likewise.
11942 (_G_uid_t): Likewise.
11943 (_G_wchar_t): Likewise.
11944 (_G_wint_t): Likewise.
11945 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11946 (_G_ssize_t): Likewise.
11947 (_G_off_t): Likewise.
11948 (_G_pid_t): Likewise.
11949 (_G_uid_t): Likewise.
11950 (_G_wchar_t): Likewise.
11951 (_G_wint_t): Likewise.
11952 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11953 (_G_ssize_t): Likewise.
11954 (_G_off_t): Likewise.
11955 (_G_pid_t): Likewise.
11956 (_G_uid_t): Likewise.
11957 (_G_wchar_t): Likewise.
11958 (_G_wint_t): Likewise.
11959
119602012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11961
11962 * malloc/arena.c: Include malloc-sysdep.h.
11963 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11964 is sufficient to shrink the heap or an unmap is needed.
11965 * sysdeps/generic/malloc-sysdep.h: New file. Define
11966 new function check_may_shrink_heap.
11967 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11968 new function check_may_shrink_heap.
11969
119702012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11971
11972 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11973 comments.
11974
119752012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11976
11977 * catgets/test-gencat.sh: Add "set -e".
11978 * elf/tst-pathopt.sh: Likewise.
11979 * grp/tst_fgetgrent.sh: Likewise.
11980 * iconvdata/run-iconv-test.sh: Likewise.
11981 * intl/tst-gettext.sh: Likewise.
11982 * intl/tst-gettext2.sh: Likewise.
11983 * intl/tst-gettext4.sh: Likewise.
11984 * intl/tst-gettext6.sh: Likewise.
11985 * intl/tst-translit.sh: Likewise.
11986 * io/ftwtest-sh: Likewise.
11987 * libio/test-freopen.sh: Likewise.
11988 * malloc/tst-mtrace.sh: Likewise.
11989 * posix/globtest.sh: Likewise.
11990 * posix/tst-getconf.sh: Likewise.
11991 * posix/wordexp-tst.sh: Likewise.
11992 * stdio-common/tst-printf.sh: Likewise.
11993 * stdio-common/tst-unbputc.sh: Likewise.
11994 * stdlib/tst-fmtmsg.sh: Likewise.
11995 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11996 * catgets/Makefile: Do not specify -e option when running
11997 testsuite shell scripts.
11998 * elf/Makefile: Likewise.
11999 * grp/Makefile: Likewise.
12000 * iconvdata/Makefile: Likewise.
12001 * intl/Makefile: Likewise.
12002 * io/Makefile: Likewise.
12003 * libio/Makefile: Likewise.
12004 * malloc/Makefile: Likewise.
12005 * posix/Makefile: Likewise.
12006 * stdio-common/Makefile: Likewise.
12007 * stdlib/Makefile: Likewise.
12008 * sysdeps/x86_64/Makefile: Likewise.
12009
12010 * io/ftwtest-sh: Add copyright header.
12011 * posix/globtest.sh: Likewise.
12012 * posix/tst-getconf.sh: Likewise.
12013 * posix/wordexp-tst.sh: Likewise.
12014 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12015
120162012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12017
12018 [BZ #13679]
12019 * Makeconfig (+link): Defined as $(+link-static) if
12020 $(build-shared) isn't yes.
12021 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12022 isn't yes.
12023 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12024
12025 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12026
12027 [BZ #14562]
12028 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12029 new chunk size with MALLOC_ALIGN_MASK.
12030
120312012-09-24 Joseph Myers <joseph@codesourcery.com>
12032
12033 [BZ #5044]
12034 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12035 <rounding-mode.h>.
12036 (__printf_fphex): Determine rounding using get_rounding_mode and
12037 round_away.
12038 * stdio-common/tst-printf-round.c (struct hex_test): New
12039 structure.
12040 (hex_tests): New variable.
12041 (test_hex_in_one_mode): New function.
12042 (do_test): Also run tests for hex float output.
12043
120442012-09-21 Joseph Myers <joseph@codesourcery.com>
12045
12046 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12047 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12048 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12049 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12050 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12051 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12052 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12053 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12054
120552012-09-20 Joseph Myers <joseph@codesourcery.com>
12056
12057 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12058 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12059 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12060 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12061
120622012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12063
12064 [BZ #14579]
12065 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12066 mode only.
12067 * elf/tst-rtld-load-self.sh: New test.
12068 * elf/Makefile: Run it.
12069
120702012-09-18 Joseph Myers <joseph@codesourcery.com>
12071
12072 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12073 (tst-writev-ENV): Remove.
12074 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12075
120762012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12077
12078 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12079
120802012-09-17 Joseph Myers <joseph@codesourcery.com>
12081
12082 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12083 unconditional.
12084 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12085 Likewise.
12086 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12087 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12088 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12089 Likewise.
12090
120912012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12092
12093 [BZ #14587]
12094 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12095 * config.make.in (have-cpp-asm-debuginfo): Removed.
12096 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12097 * configure: Regenerated.
12098
120992012-09-14 Joseph Myers <joseph@codesourcery.com>
12100
12101 [BZ #5044]
12102 * stdio-common/printf_fp.c: Include <stdbool.h> and
12103 <rounding-mode.h>.
12104 (___printf_fp): Determine rounding using get_rounding_mode and
12105 round_away.
12106 * stdio-common/tst-printf-round.c: New file.
12107 * stdio-common/Makefile (tests): Add tst-printf-round.
12108 (link-libm): New variable.
12109 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12110
121112012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12112
12113 [BZ #14576]
12114 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12115 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12116 Likewise.
12117 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12118 Likewise.
12119
121202012-09-13 Joseph Myers <joseph@codesourcery.com>
12121
12122 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12123 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12124 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12125 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12126
121272012-09-12 Joseph Myers <joseph@codesourcery.com>
12128
12129 [BZ #14518]
12130 * include/rounding-mode.h: New file.
12131 * sysdeps/generic/get-rounding-mode.h: Likewise.
12132 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12133 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12134 (MAX_VALUE): New macro.
12135 (MIN_VALUE): Likewise.
12136 (overflow_value): New function.
12137 (underflow_value): Likewise.
12138 (round_and_return): Use overflow_value and underflow_value to
12139 determine return values in overflow and underflow cases. Use
12140 round_away to determine rounding depending on rounding mode.
12141 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12142 determine return values in overflow and underflow cases.
12143 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12144 (struct test_results): New structure.
12145 (struct test): Use struct test_results to store expected results
12146 for all rounding modes.
12147 (TEST): Include expected results for all rounding modes.
12148 (test_in_one_mode): New function.
12149 (do_test): Use test_in_one_mode to compute and check results.
12150 Check results for all rounding modes.
12151 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12152 $(link-libm).
12153
121542012-12-09 Allan McRae <allan@archlinux.org>
12155
12156 * sysdeps/i386/fpu/libm-test-ulps: Update
12157
121582012-09-11 Joseph Myers <joseph@codesourcery.com>
12159
12160 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12161 (_G_int32_t): Likewise.
12162 (_G_uint16_t): Likewise.
12163 (_G_uint32_t): Likewise.
12164 (_G_HAVE_BOOL): Likewise.
12165 (_G_HAVE_ATEXIT): Likewise.
12166 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12167 (_G_HAVE_IO_FILE_OPEN): Likewise.
12168 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12169 (_G_int32_t): Likewise.
12170 (_G_uint16_t): Likewise.
12171 (_G_uint32_t): Likewise.
12172 (_G_HAVE_BOOL): Likewise.
12173 (_G_HAVE_ATEXIT): Likewise.
12174 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12175 (_G_HAVE_IO_FILE_OPEN): Likewise.
12176 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12177 (_G_int32_t): Likewise.
12178 (_G_uint16_t): Likewise.
12179 (_G_uint32_t): Likewise.
12180 (_G_HAVE_BOOL): Likewise.
12181 (_G_HAVE_ATEXIT): Likewise.
12182 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12183 (_G_HAVE_IO_FILE_OPEN): Likewise.
12184
121852012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12186
12187 * csu/libc-tls.c: Update copyright years.
12188
121892012-09-10 Joseph Myers <joseph@codesourcery.com>
12190
12191 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12192 [!_G_USING_THUNKS]: Remove conditional code.
12193 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12194 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12195
12196 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12197 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12198 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12199 (_G_VTABLE_LABEL_PREFIX): Likewise.
12200 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12201 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12202 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12203 (_G_VTABLE_LABEL_PREFIX): Likewise.
12204 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12205 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12206 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12207 (_G_VTABLE_LABEL_PREFIX): Likewise.
12208 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12209
122102012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12211
12212 * libio/Makefile: Include ../Makeconfig before tests.
12213 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12214 only if $(build-shared) is yes.
12215
12216 * iconv/gconv_db.c: Update copyright years.
12217
122182012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12219
12220 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12221 unwind info if defined PIC. Fix special cases description.
12222 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12223
12224 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12225 DP_HI_MASK entry.
12226 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12227
122282012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12229
12230 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12231
12232 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12233 is NULL.
12234
12235 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12236 (LDLIBS-tst-chk4): This.
12237 (LDFLAGS-tst-chk5): Renamed to ...
12238 (LDLIBS-tst-chk5): This.
12239 (LDFLAGS-tst-chk6): Renamed to ...
12240 (LDLIBS-tst-chk6): This.
12241 (LDFLAGS-tst-lfschk4): Renamed to ...
12242 (LDLIBS-tst-lfschk4): This.
12243 (LDFLAGS-tst-lfschk5): Renamed to ...
12244 (LDLIBS-tst-lfschk5): This.
12245 (LDFLAGS-tst-lfschk6): Renamed to ...
12246 (LDLIBS-tst-lfschk6): This.
12247
12248 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12249 on $(common-objpfx)soversions.mk.
12250
122512012-09-07 Joseph Myers <joseph@codesourcery.com>
12252
12253 [BZ #10014]
12254 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12255 example host name.
12256
122572012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12258
12259 * malloc/arena.c (arena_get_retry): New function that gets
12260 another arena for the caller to try its request on.
12261 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12262 current arena cannot fulfill the request.
12263 (__libc_memalign): Likewise.
12264 (__libc_memalign): Likewise.
12265 (__libc_pvalloc): Likewise.
12266 (__libc_calloc): Likewise.
12267
122682012-09-05 John Tobey <john.tobey@gmail.com>
12269
12270 [BZ #13542]
12271 * manual/arith.texi (Operations on Complex): Fix description
12272 of carg branch cut.
12273
122742012-09-06 Joseph Myers <joseph@codesourcery.com>
12275
12276 [BZ #10014]
12277 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12278 host name.
12279
12280 [BZ #10038]
12281 * manual/memory.texi (Memory): Make order of menu items match
12282 order of sections.
12283
122842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12285
12286 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12287 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12288 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12289
122902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12291
12292 * csu/libc-tls.c (static_dtv): Renamed to ...
12293 (_dl_static_dtv): This. Make it global.
12294 (_dl_initial_dtv): Removed.
12295 (__libc_setup_tls): Updated.
12296 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12297 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12298 DL_INITIAL_DTV.
12299
123002012-09-06 Petr Machata <pmachata@redhat.com>
12301
12302 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12303 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12304 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12305 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12306
123072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12308
12309 [BZ #14545]
12310 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12311 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12312 freeing dtv[-1].
12313
123142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12315
12316 [BZ #14544]
12317 * Makeconfig (link-static-before-libc): Replace $(+prector)
12318 with $(+prectorT).
12319 (link-static-after-libc): Replace $(+postctor) with
12320 $(+postctorT).
12321 (link-bounded): Replace $(+prector)/$(+postctor) with
12322 $(+prectorT)/$(+postctorT).
12323 (+prectorT): New macro.
12324 (+postctorT): Likewise.
12325
123262012-09-06 Joseph Myers <joseph@codesourcery.com>
12327
12328 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12329 (round_str): Handle values above the maximum for IBM long double
12330 as inexact.
12331 * stdlib/tst-strtod-round.c (tests): Regenerated.
12332
123332012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12334
12335 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12336 assembler flag.
12337 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12338 zarch_nohighgprs around the zarch optimized routines.
12339 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12340 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12341 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12342 for zarch.
12343
123442012-09-05 David S. Miller <davem@davemloft.net>
12345
12346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12347
12348 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12349 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12350 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12351 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12352 entries.
12353
123542012-09-05 Alexandre Oliva <aoliva@redhat.com>
12355
12356 * malloc/arena.c: Fold copyright years.
12357 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12358
123592012-09-05 Alexandre Oliva <aoliva@redhat.com>
12360
12361 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12362
123632012-09-05 Alexandre Oliva <aoliva@redhat.com>
12364
12365 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12366
123672012-09-05 Alexandre Oliva <aoliva@redhat.com>
12368
12369 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12370 change internal state upon failure.
12371
123722012-09-05 Alexandre Oliva <aoliva@redhat.com>
12373
12374 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12375 * malloc/memusage.c (mmap): Likewise.
12376 (mmap64, mremap): Likewise. Adjust name in comment.
12377
123782012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12379
12380 * libio/fileops.c: Fix typos in comments.
12381 * libio/oldfileops.c: Likewise.
12382 * libio/wfileops.c: Likewise.
12383
123842012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12385
12386 [BZ #1349]
12387 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12388 (tst-malloc-usable-ENV): Set environment for test case.
12389 * malloc/hooks.c (malloc_check_get_size): New function to get
12390 requested size.
12391 * malloc/malloc.c (musable): Use malloc_check_get_size.
12392 * malloc/tst-malloc-usable.c: New test case.
12393
123942012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12395
12396 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12397
123982012-09-05 Allan McRae <allan@archlinux.org>
12399
12400 [BZ #13966]
12401 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12402 determine header location.
12403 * configure: Regenerated.
12404
124052012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12406
12407 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12408 float format.
12409 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12410 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12411 format.
12412 (test): Regenerate.
12413
124142012-09-04 David S. Miller <davem@davemloft.net>
12415
12416 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12417 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12418 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12419
124202012-09-04 Florian Weimer <fweimer@redhat.com>
12421
12422 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12423 failures.
12424
12425 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12426
124272012-09-04 Joseph Myers <joseph@codesourcery.com>
12428
12429 [BZ #9914]
12430 * libio/iogetdelim.c: Include <limits.h>.
12431 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12432 + len + 1 would overflow.
12433
124342012-09-03 Andreas Jaeger <aj@suse.de>
12435
12436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12437 * sysdeps/i386/fpu/libm-test-ulps: Update.
12438
124392012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12440
12441 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12442 Add s_sinf-sse2, s_conf-sse2.
12443
12444 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12445 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12446 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12447 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12448
12449 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12450 for using routine as __sinf_ia32.
12451 Use macro for function declaration and weak_alias.
12452 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12453 for using routine as __cosf_ia32.
12454 Use macro for function declaration and weak_alias.
12455
12456 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12457 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12458
12459 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12460 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12462
12463 * math/libm-test.inc (cos_test): Add more test cases.
12464 (sin_test): Likewise.
12465 (sincos_test): Likewise.
12466
124672012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12468
12469 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12470 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12471 hidden.
12472 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12473
124742012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12475
12476 [BZ #14538]
12477 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12478 first element of the GOT.
12479 (elf_machine_load_address): Return the difference between
12480 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12481
124822012-09-01 Allan McRae <allan@archlinux.org>
12483
12484 [BZ #13412]
12485 * configure.in (AWK): Require gawk version 3.0 or later.
12486 * configure: Regenerated.
12487
124882012-09-01 Joseph Myers <joseph@codesourcery.com>
12489
12490 * sysdeps/unix/sysv/linux/kernel-features.h
12491 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12492 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12493 [__NR_clock_getres]: Make code unconditional.
12494 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12495 (clock_getcpuclockid): Remove code left unreachable by removal of
12496 conditionals.
12497 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12498 code unconditional.
12499 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12500 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12501 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12502 Make code unconditional.
12503 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12504 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12505 * sysdeps/unix/sysv/linux/clock_settime.c
12506 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12507 conditional code.
12508 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12509 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12510
125112012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12512
12513 [BZ #14476]
12514 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12515 scripts/test-installation.pl.
12516
12517 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12518 and $ld_so_version if it is set.
12519
125202012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12521
12522 [BZ #14516]
12523 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12524 failure if reading from procfs failed.
12525 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12526
125272012-08-27 Joseph Myers <joseph@codesourcery.com>
12528
12529 * sysdeps/unix/sysv/linux/kernel-features.h
12530 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12531 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12532 Remove conditional code.
12533 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12534 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12535 Remove conditional code.
12536 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12537 * sysdeps/unix/sysv/linux/i386/fxstat.c
12538 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12539 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12540 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12541 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12542 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12543 * sysdeps/unix/sysv/linux/i386/lxstat.c
12544 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12545 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12546 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12547 Remove conditional code.
12548 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12549 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12550 Remove conditional code.
12551 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12552 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12553 <kernel-features.h>.
12554 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12555 Remove.
12556 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12557 Remove conditional code.
12558 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12559 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12560 Remove conditional.
12561
125622012-08-27 Mike Frysinger <vapier@gentoo.org>
12563
12564 [BZ #5400]
12565 * NEWS: Add fixed bug number.
12566
125672012-08-27 Joseph Myers <joseph@codesourcery.com>
12568
12569 [BZ #14519]
12570 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12571 underflowing exponent in case of negative sign.
12572 * stdlib/tst-strtod-round-data: Add more tests.
12573 * stdlib/tst-strtod-round.c (tests): Regenerated.
12574
12575 [BZ #3479]
12576 * stdlib/strtod_l.c (NDIG): Remove.
12577 (HEXNDIG): Likewise.
12578 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12579 smallest representable value.
12580 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12581 lie within an exact representation of 1/2 ulp of the result.
12582 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12583 unconditionally.
12584 (TENS_P9_IDX): Define unconditionally.
12585 (TENS_P9_SIZE): Likewise.
12586 (TENS_P10_IDX): Likewise.
12587 (TENS_P10_SIZE): Likewise.
12588 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12589 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12590 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12591 entries for 10^2^13 and 10^2^14.
12592 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12593 (TENS_P13_IDX): Define.
12594 (TENS_P13_SIZE): Likewise.
12595 (TENS_P14_IDX): Likewise.
12596 (TENS_P14_SIZE): Likewise.
12597 (_fpioconst_pow10): Change array size to
12598 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12599 unconditional.
12600 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12601 1024]: Add entries for 10^2^13 and 10^2^14.
12602 [LAST_POW10 > _LAST_POW10]: Remove #error.
12603 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12604 (_fpioconst_pow10): Change array size to
12605 FPIOCONST_POW10_ARRAY_SIZE.
12606 * stdlib/gen-fpioconst.c: New file.
12607 * stdlib/gen-tst-strtod-round.c: Likewise.
12608 * stdlib/tst-strtod-round-data: Likewise.
12609 * stdlib/tst-strtod-round.c: Likewise.
12610 * stdlib/Makefile (tests): Add tst-strtod-round.
12611
12612 [BZ #14459]
12613 * stdlib/strtod_l.c: Include <stdint.h>.
12614 (NDEBUG): Do not define.
12615 (round_and_return): Change EXPONENT parameter to type intmax_t.
12616 Rearrange calculations to avoid internal overflow possibilities.
12617 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12618 Rearrange calculations to avoid internal overflow possibilities.
12619 Assert that number fits inside MPNSIZE limbs.
12620 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12621 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12622 calculations and add assertions to avoid internal overflow
12623 possibilities. Add casts to avoid signed/unsigned operations.
12624 * stdlib/tst-strtod-overflow.c: New file.
12625 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12626
126272012-08-25 Marek Polacek <polacek@redhat.com>
12628
12629 * time/time.h: Fix some typos in comments.
12630
126312012-08-23 Roland McGrath <roland@hack.frob.com>
12632
12633 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12634 * posix/tst-rfc3484-2.c: Likewise.
12635 * posix/tst-rfc3484-3.c: Likewise.
12636
126372012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12638
12639 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12640 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12641
126422012-08-23 Joseph Myers <joseph@codesourcery.com>
12643
12644 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12645 #include of fxstatat64.c.
12646
126472012-08-22 Roland McGrath <roland@hack.frob.com>
12648
12649 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12650 * shadow/getspent_r.c: Likewise.
12651 * shadow/getspnam.c: Likewise.
12652 * shadow/getspnam_r.c: Likewise.
12653 * gshadow/getsgent.c: Likewise.
12654 * gshadow/getsgent_r.c: Likewise.
12655 * gshadow/getsgnam.c: Likewise.
12656 * gshadow/getsgnam_r.c: Likewise.
12657 * inet/getnetbyad.c: Likewise.
12658 * inet/getnetbyad_r.c: Likewise.
12659 * inet/getnetbynm.c: Likewise.
12660 * inet/getnetbynm_r.c: Likewise.
12661 * inet/getnetent.c: Likewise.
12662 * inet/getnetent_r.c: Likewise.
12663 * inet/getproto.c: Likewise.
12664 * inet/getproto_r.c: Likewise.
12665 * inet/getprtent.c: Likewise.
12666 * inet/getprtent_r.c: Likewise.
12667 * inet/getprtname.c: Likewise.
12668 * inet/getprtname_r.c: Likewise.
12669 * inet/getrpcbyname.c: Likewise.
12670 * inet/getrpcbyname_r.c: Likewise.
12671 * inet/getrpcbynumber.c: Likewise.
12672 * inet/getrpcbynumber_r.c: Likewise.
12673 * inet/getrpcent.c: Likewise.
12674 * inet/getrpcent_r.c: Likewise.
12675 * inet/getaliasent.c: Likewise.
12676 * inet/getaliasent_r.c: Likewise.
12677 * inet/getaliasname.c: Likewise.
12678 * inet/getaliasname_r.c: Likewise.
12679 * nscd/getgrgid_r.c: Likewise.
12680 * nscd/getgrnam_r.c: Likewise.
12681 * nscd/gethstbyad_r.c: Likewise.
12682 * nscd/gethstbynm3_r.c: Likewise.
12683 * nscd/getpwnam_r.c: Likewise.
12684 * nscd/getpwuid_r.c: Likewise.
12685 * nscd/getsrvbynm_r.c: Likewise.
12686 * nscd/getsrvbypt_r.c: Likewise.
12687 * nscd/gai.c: Likewise.
12688
12689 * configure.in (build_nscd): New substituted variable, set
12690 by --disable-build-nscd and defaults to $use_nscd.
12691 * configure: Regenerated.
12692 * config.make.in (build-nscd): New substituted variable.
12693 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12694 Change conditional to require [$(build-nscd) = yes] as well.
12695 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12696
12697 [BZ# 13696]
12698 * configure.in (use_nscd): New substituted variable, set by
12699 --disable-nscd. If enabled, define USE_NSCD.
12700 * configure: Regenerated.
12701 * config.h.in: Add USE_NSCD.
12702 * config.make.in (use-nscd): New substituted variable.
12703 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12704 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12705 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12706 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12707 (CFLAGS-getgrnam_r.c): Likewise.
12708 (CFLAGS-initgroups.c): Likewise.
12709 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12710 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12711 Variables removed.
12712 * inet/getnetgrent_r.c
12713 (nscd_setnetgrent): New function, broken out of ...
12714 (setnetgrent): ... here. Call it.
12715 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12716 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12717 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12718 * nscd/Makefile (routines, aux): Move definitions after include of
12719 Makeconfig. Conditionalize on [$(use-nscd) != no].
12720 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12721 Conditionalize on [USE_NSCD].
12722 (is_nscd, nscd_init_cb): Likewise.
12723 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12724 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12725 * nss/nss_db/db-init.c: Likewise.
12726 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12727 [USE_NSCD].
12728 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12729 (make_request): Use it.
12730 (cache_valid_p): New function.
12731 (__check_pf): Use it.
12732 * NEWS: Add item for --disable-nscd.
12733
127342012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12735
12736 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12737 to support sed >= 4.2.1-20-ga9bf076.
12738 * configure: Regenerated.
12739
127402012-08-22 Roland McGrath <roland@hack.frob.com>
12741
12742 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12743 Conditionalize whole body on [IREL].
12744
127452012-08-22 Jeff Law <law@redhat.com>
12746
12747 [BZ #14505]
12748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12749 if the family is PF_UNSPEC.
12750
127512012-08-22 Mike Frysinger <vapier@gentoo.org>
12752
12753 * Makerules (lib-version): Rename from V.
12754 (install-lib-nosubdir): Change V to lib-version.
12755
127562012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12757
12758 [BZ #14252]
12759 * powerpc32/power6/wcschr.c: New file.
12760 * powerpc32/power6/wcscpy.c: New file.
12761 * powerpc32/power6/wcsrchr.c: New file.
12762 * powerpc64/power6/wcschr.c: New file.
12763 * powerpc64/power6/wcscpy.c: New file.
12764 * powerpc64/power6/wcsrchr.c: New file.
12765
127662012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12767
12768 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12769 (two_way_short_needle): Use it.
12770 * string/strstr.c (AVAILABLE1_USES_J): Define.
12771 * string/strcasestr.c: Likewise.
12772
12773 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12774 array references.
12775 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12776
12777 [BZ #11607]
12778 * NEWS: Add an entry.
12779 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12780 define their defaults.
12781 (two_way_short_needle): Detect end-of-string on-the-fly.
12782 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12783 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12784 * string/bug-strcasestr1.c: New test.
12785 * string/Makefile: Run it.
12786
127872012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12788
12789 [BZ #11607]
12790 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12791 the first character.
12792
127932012-08-21 Roland McGrath <roland@hack.frob.com>
12794
12795 * csu/elf-init.c (__libc_csu_irel): Function removed.
12796 * csu/libc-start.c (apply_irel): New function.
12797 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12798
127992012-08-21 Joseph Myers <joseph@codesourcery.com>
12800
12801 * sysdeps/unix/sysv/linux/kernel-features.h
12802 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12803 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12804 <kernel-features.h>.
12805 [__NR_fadvise64_64]: Make code unconditional.
12806 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12807 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12808 !__NR_fadvise64_64)]: Likewise.
12809 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12810 !__NR_fadvise64_64))]: Likewise.
12811 [__NR_fadvise64]: Make code unconditional.
12812 [!__NR_fadvise64]: Remove conditional code.
12813 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12814 <kernel-features.h>.
12815 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12816 unconditional.
12817 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12818 conditional code.
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12820 not include <kernel-features.h>.
12821 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12822 unconditional.
12823 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12824 conditional code.
12825 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12826 include <kernel-features.h>.
12827 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12828 unconditional.
12829 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12830 conditional code.
12831
128322012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12833
12834 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12835 slight instruction rearrangements per scrollpipe analysis.
12836 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12837
128382012-08-20 Roland McGrath <roland@hack.frob.com>
12839
12840 * manual/syslog.texi (syslog; vsyslog, closelog):
12841 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12842 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12843
12844 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12845 DSOCAPS to match condition on defining it.
12846
128472012-08-20 Joseph Myers <joseph@codesourcery.com>
12848
12849 * sysdeps/unix/sysv/linux/kernel-features.h
12850 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12852 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12853 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12855 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12856 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12858 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12859 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12860
12861 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12862 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12863
12864 * sysdeps/unix/sysv/linux/kernel-features.h
12865 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12866 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12867 unconditional.
12868 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12869 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12870 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12871 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12872 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12873 Make code unconditional.
12874 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12875 (__mmap64) [!__NR_mmap2]: Likewise.
12876 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12877 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12878 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12879 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12880 [__NR_mmap2]: Make code unconditional.
12881 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12882 (__mmap64) [!__NR_mmap2]: Likewise.
12883
128842012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12885
12886 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12887
128882012-08-18 Andreas Jaeger <aj@suse.de>
12889
12890 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12891
128922012-08-18 Mike Frysinger <vapier@gentoo.org>
12893
12894 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12895 * include/unistd.h (__have_sock_cloexec): Likewise.
12896 (__have_pipe2): Likewise.
12897 (__have_dup3): Likewise.
12898
128992012-08-18 Mike Frysinger <vapier@gentoo.org>
12900
12901 [BZ #9685]
12902 * include/unistd.h (__have_pipe2): Change define into an extern int.
12903 (__have_dup3): Likewise.
12904 * socket/have_sock_cloexec.c: Include fcntl.h.
12905 (__have_pipe2): New variable.
12906 (__have_dup3): Likewise.
12907
129082012-08-17 Mike Frysinger <vapier@gentoo.org>
12909
12910 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12911
129122012-08-17 Marek Polacek <polacek@redhat.com>
12913
12914 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12915 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12916
129172012-08-17 Roland McGrath <roland@hack.frob.com>
12918
12919 * configure.in: Add AC_SUBST for sysheaders.
12920 * configure: Regenerated.
12921 * config.make.in (sysheaders): New substituted variable.
12922
12923 * sysdeps/unix/mkfifo.c: Moved ...
12924 * sysdeps/posix/mkfifo.c: ... here.
12925 * sysdeps/unix/mkfifoat.c: Moved ...
12926 * sysdeps/posix/mkfifoat.c: ... here.
12927
12928 * sysdeps/unix/utime.c: Moved ...
12929 * sysdeps/posix/utime.c: ... here.
12930
12931 * sysdeps/unix/time.c: Moved ...
12932 * sysdeps/posix/time.c: ... here.
12933 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12934 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
12935
12936 * sysdeps/unix/nice.c: Moved ...
12937 * sysdeps/posix/nice.c: ... here.
12938
12939 * sysdeps/unix/alarm.c: Moved ...
12940 * sysdeps/posix/alarm.c: ... here.
12941
12942 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12943
129442012-08-17 Jeff Law <law@redhat.com>
12945
12946 * intl/Makefile (codeset_mo): New variable.
12947 ($(codeset_mo)): New target.
12948 (tst-codeset.out): Depend on that. Remove explicit rule.
12949 (tst-gettext3.out, tst-gettext5.out): Likewise.
12950 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12951 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12952 * intl/tst-codeset.sh: Remove.
12953 * intl/tst-gettext3.sh: Likewise.
12954 * intl/tst-gettext5.sh: Likewise.
12955
129562012-08-17 Roland McGrath <roland@hack.frob.com>
12957
12958 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12959 * sysdeps/unix/syscalls.list: ... here.
12960
12961 * sysdeps/posix/getaddrinfo.c
12962 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12963 (gaiconf_init, gaiconf_reload): Use them.
12964 [!_STATBUF_ST_NSEC]
12965 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12966 Define using time_t rather than struct timespec.
12967
12968 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12969 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12970 Macros removed.
12971 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12972 [!NO_THREADS].
12973 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12974 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12975 Likewise.
12976
12977 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12978 __libc_cleanup_push argument.
12979
12980 * bits/param.h: New file.
12981 * misc/sys/param.h: New file.
12982 * include/sys/param.h: New file.
12983 * misc/Makefile (headers): Add bits/param.h.
12984 * sysdeps/generic/sys/param.h: File removed.
12985 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12986 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12987 * sysdeps/mach/hurd/bits/param.h: New file.
12988 * sysdeps/mach/hurd/sys/param.h: File removed.
12989
12990 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12991 last change.
12992
12993 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12994 [_IO_MTSAFE_IO].
12995 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12996 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12997 New macros.
12998
12999 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13000 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13001 rather than -D_IO_MTSAFE_IO conditionally.
13002 * stdio-common/Makefile (CPPFLAGS): Likewise.
13003 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13004 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13005 Use $(libio-mtsafe).
13006 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13007 of -D_IO_MTSAFE_IO.
13008 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13009 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13010 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13011 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13012 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13013 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13014 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13015 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13016 (CFLAGS-fread_u_chk.c): Likewise.
13017 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13018 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13019 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13020 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13021 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13022 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13023 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13024 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13025 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13026
13027 * libio/Makefile: Test [$(libc-reentrant) = yes]
13028 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13029
13030 * Makeconfig
13031 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13032 * sysdeps/pthread/configure: File removed.
13033 * sysdeps/pthread/Makeconfig: New file.
13034 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13035 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13036
130372012-08-16 Gary Benson <gbenson@redhat.com>
13038
13039 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13040 unmapping the first object in a namespace.
13041
130422012-08-16 Roland McGrath <roland@hack.frob.com>
13043
13044 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13045 (__internal_setnetgrent): ... this. Add internal_function to
13046 definition. Add libc_hidden_def.
13047 (setnetgrent): Update caller.
13048 (internal_endnetgrent): Renamed to ...
13049 (__internal_endnetgrent): ... this. Add internal_function to
13050 definition. Add libc_hidden_def.
13051 (endnetgrent): Update caller.
13052 (internal_getnetgrent_r): Renamed to ...
13053 (__internal_getnetgrent_r): ... this. Add internal_function to
13054 definition. Add libc_hidden_def.
13055 (__getnetgrent_r): Update caller.
13056 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13057
130582012-08-16 Joseph Myers <joseph@codesourcery.com>
13059
13060 * stdlib/longlong.h: Update from GCC.
13061
130622012-08-16 Roland McGrath <roland@hack.frob.com>
13063
13064 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13065 on _QL, which is set by umul_ppmm but never used.
13066 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13067 variables, which are set by GMP macros but never used.
13068 * stdio-common/_itowa.c (_itowa): Likewise.
13069 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13070 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13071
130722012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13073
13074 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13075 struct La_sh_regs is not constant.
13076 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13077 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13078 and struct La_sparc64_regs are not constant.
13079
130802012-08-16 Joseph Myers <joseph@codesourcery.com>
13081
13082 * sysdeps/unix/sysv/linux/kernel-features.h
13083 (__ASSUME_POSIX_TIMERS): Remove.
13084 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13085 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13086 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13087 Make code unconditional.
13088 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13089 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13090 Make code unconditional.
13091 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13092 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13093 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13094 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13095 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13096 Make code unconditional.
13097 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13098 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13099 (__libc_missing_posix_timers): Remove.
13100
131012012-08-15 Roland McGrath <roland@hack.frob.com>
13102
13103 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13104 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13105
13106 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13107
13108 * elf/dl-sym.c: Include <stdlib.h>.
13109
13110 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13111 constants, which avoids warnings in 32-bit builds.
13112
13113 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13114 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13115
13116 * misc/lseek.c: File moved to ...
13117 * io/lseek.c: ... here.
13118
13119 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13120
13121 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13122 shifting LEN more than 31 bits at once.
13123
131242012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13125
13126 [BZ #14195]
13127 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13128 segmentation fault for a case of two empty input strings.
13129 * string/test-strncasecmp.c (check1): Renamed to...
13130 (bz12205): ...this.
13131 (bz14195): Add new testcase for two empty input strings and N > 0.
13132 (test_main): Call new testcase, adapt for renamed function.
13133
131342012-08-15 Andreas Jaeger <aj@suse.de>
13135
13136 [BZ #14090]
13137 * crypt/md5test2.c: New test, based on test supplied by Serge
13138 Belyshev <belyshev@depni.sinp.msu.ru>.
13139 * crypt/Makefile (xtests): Add md5test-giant..
13140 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13141
131422012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13143
13144 [BZ #14090]
13145 * crypt/md5.c (md5_process_block): Don't assume the buffer
13146 length is less than 2**32.
13147 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13148 length is less than 2**64.
13149
131502012-08-15 Roland McGrath <roland@hack.frob.com>
13151
13152 * string/str-two-way.h: Include <sys/param.h>.
13153 (MAX): Macro removed.
13154
13155 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13156 Move #define and #undef of memmove to just before and after
13157 including <string.h>.
13158
13159 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13160 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13161 and after including <string.h>. Move declarations of
13162 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13163 to before #include "string/memmove.c".
13164
13165 * include/dirent.h: Declare __getdirentries.
13166
13167 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13168 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13169
131702012-08-14 Mike Frysinger <vapier@gentoo.org>
13171
13172 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13173 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13174 * sysdeps/i386/configure: Regenerated.
13175 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13176 STABS_CURRENT_FILE, and STABS_FUN.
13177 (END): Remove call to STABS_FUN_END.
13178 (STABS_CURRENT_FILE1): Delete.
13179 (STABS_CURRENT_FILE): Likewise.
13180 (STABS_FUN): Likewise.
13181 (STABS_FUN_END): Likewise.
13182 (STABS_FUN2): Likewise.
13183 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13184 * sysdeps/x86_64/configure: Regenerated.
13185
131862012-08-14 Roland McGrath <roland@hack.frob.com>
13187
13188 * elf/dl-open.c: Include <atomic.h>.
13189 * elf/dl-lookup.c: Likewise.
13190
131912012-08-14 Joseph Myers <joseph@codesourcery.com>
13192
13193 * sysdeps/unix/sysv/linux/kernel-features.h
13194 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13195 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13196 unconditionally.
13197 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13198 unconditionally.
13199 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13200 condition on __ASSUME_CLONE_THREAD_FLAGS.
13201
132022012-08-14 Andreas Jaeger <aj@suse.de>
13203
13204 * sysdeps/i386/fpu/libm-test-ulps: Update.
13205
132062012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13207
13208 * include/atomic.h (atomic_exchange_and_add): Split into ...
13209 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13210 New atomic macros.
13211
132122012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13213
13214 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13215
132162012-08-13 Jeff Law <law@redhat.com>
13217
13218 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13219 null byte in the output string.
13220
132212012-08-10 Joseph Myers <joseph@codesourcery.com>
13222
13223 * sysdeps/unix/sysv/linux/kernel-features.h
13224 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13225 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13226 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13227 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13228 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13229 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13230 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13231
132322012-08-09 Jeff Law <law@redhat.com>
13233
13234 [BZ #13939]
13235 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13236 When avoid_arena is set, don't retry in the that arena. Pick the
13237 next one, whatever it might be.
13238 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13239 (arena_lock): Pass in new parameter to arena_get2.
13240 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13241 arena_get2.
13242 (__libc_malloc): Unify retrying after main arena failure with
13243 __libc_memalign version.
13244 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13245
132462012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13247
13248 [BZ #14166]
13249 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13250 to __redirect_strstr.
13251 (__strstr_sse42): Use typeof __redirect_strstr.
13252 (__strstr_ia32): Likewise.
13253 (__libc_strstr): New prototype.
13254 (strstr): Renamed to ...
13255 (__libc_strstr): This.
13256 (strstr): New strong alias of __libc_strstr.
13257 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13258 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13259 __redirect_time.
13260 Include <time.h>.
13261 (__libc_time): New prototype.
13262 (time_ifunc): Replace time with __libc_time.
13263 (time): New strong alias and hidden definition of __libc_time.
13264 (__GI_time): Remove strong alias.
13265 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13266 Include <stddef.h>.
13267 (memmove): Redefined to __redirect_memmove.
13268 (__memmove_sse2): Use typeof __redirect_memmove.
13269 (__memmove_ssse3): Likewise.
13270 (__memmove_ssse3_back): Likewise.
13271 (__libc_memmove): New prototype.
13272 (memmove): Renamed to ...
13273 (__libc_memmove): This.
13274 (memmove): New strong alias of __libc_memmove.
13275
132762012-08-08 Mark Salter <msalter@redhat.com>
13277
13278 * elf/elf.h
13279 (R_MN10300_TLS_GD): Define.
13280 (R_MN10300_TLS_LD): Likewise.
13281 (R_MN10300_TLS_LDO): Likewise.
13282 (R_MN10300_TLS_GOTIE): Likewise.
13283 (R_MN10300_TLS_IE): Likewise.
13284 (R_MN10300_TLS_LE): Likewise.
13285 (R_MN10300_TLS_DTPMOD): Likewise.
13286 (R_MN10300_TLS_DTPOFF): Likewise.
13287 (R_MN10300_TLS_TPOFF): Likewise.
13288 (R_MN10300_SYM_DIFF): Likewise.
13289 (R_MN10300_ALIGN): Likewise.
13290 (R_MN10300_NUM): Update.
13291
132922012-08-08 Joseph Myers <joseph@codesourcery.com>
13293
13294 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13295 Remove.
13296
132972012-08-08 Roland McGrath <roland@hack.frob.com>
13298
13299 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13300
13301 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13302 sysdeps/unix -> sysdeps/posix move.
13303 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13304
133052012-08-07 Allan McRae <allan@archlinux.org>
13306
13307 [BZ #14303]
13308 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13309 (SUNOS_CPP): Likewise.
13310 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13311 not found.
13312 (open_input): Call CPP using execvp.
13313
133142012-08-07 Joseph Myers <joseph@codesourcery.com>
13315
13316 * sysdeps/unix/sysv/linux/kernel-features.h
13317 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13318 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13319 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13320 (__ASSUME_WAITID_SYSCALL): Likewise.
13321 * sysdeps/unix/sysv/linux/dl-execstack.c
13322 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13323 code unconditional.
13324 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13325 conditional code.
13326 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13327 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13328 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13329 code.
13330 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13331 unconditional.
13332 [__ASSUME_WAITID_SYSCALL]: Likewise.
13333 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13334
133352012-08-07 Roland McGrath <roland@hack.frob.com>
13336
13337 * sysdeps/unix/closedir.c: Renamed to ...
13338 * sysdeps/posix/closedir.c: ... here.
13339 * sysdeps/unix/dirfd.c: Renamed to ...
13340 * sysdeps/posix/dirfd.c: ... here.
13341 * sysdeps/unix/dirstream.h: Renamed to ...
13342 * sysdeps/posix/dirstream.h: ... here.
13343 * sysdeps/unix/fdopendir.c: Renamed to ...
13344 * sysdeps/posix/fdopendir.c: ... here.
13345 * sysdeps/unix/opendir.c: Renamed to ...
13346 * sysdeps/posix/opendir.c: ... here.
13347 * sysdeps/unix/readdir.c: Renamed to ...
13348 * sysdeps/posix/readdir.c: ... here.
13349 * sysdeps/unix/readdir_r.c: Renamed to ...
13350 * sysdeps/posix/readdir_r.c: ... here.
13351 * sysdeps/unix/rewinddir.c: Renamed to ...
13352 * sysdeps/posix/rewinddir.c: ... here.
13353 * sysdeps/unix/seekdir.c: Renamed to ...
13354 * sysdeps/posix/seekdir.c: ... here.
13355 * sysdeps/unix/telldir.c: Renamed to ...
13356 * sysdeps/posix/telldir.c: ... here.
13357 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13358 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13359 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13360 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13361
13362 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13363 * bits/fcntl.h: ... here.
13364
13365 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13366 not 0.
13367 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13368 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13369 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13370 (struct flock): Move l_start, l_len to the beginning.
13371 Use __pid_t for l_pid.
13372 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13373 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13374 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13375 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13376 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13377 [__USE_LARGEFILE64] (struct flock64): New type.
13378 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13379
13380 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13381 * bits/dirent.h: ... here.
13382
13383 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13384 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13385
133862012-08-07 Joseph Myers <joseph@codesourcery.com>
13387
13388 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13389 Change from 2.6.0 to 2.6.16.
13390 * sysdeps/unix/sysv/linux/configure: Regenerated.
13391 * sysdeps/unix/sysv/linux/kernel-features.h
13392 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13393 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13394 version.
13395 (__ASSUME_UTIMES): Likewise.
13396 (__ASSUME_CLONE_STOPPED): Remove.
13397 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13398 architectures, not kernel version.
13399 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13400 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13401 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13402 (__ASSUME_WAITID_SYSCALL): Likewise.
13403 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13404 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13405 * README: State 2.6.16 as minimum Linux kernel version. Do not
13406 refer to older versions.
13407
134082012-08-06 Roland McGrath <roland@hack.frob.com>
13409
13410 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13411 Define alphasort64 as an alias.
13412 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13413 Define versionsort64 as an alias.
13414 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13415 Define scandir64 as an alias.
13416 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13417 Define scandirat64 as an alias.
13418 * dirent/alphasort64.c (alphasort64):
13419 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13420 * dirent/versionsort64.c: Likewise.
13421 * dirent/scandir64.c: Likewise.
13422 * dirent/scandirat64.c: Likewise.
13423 * sysdeps/wordsize-64/alphasort.c: File removed.
13424 * sysdeps/wordsize-64/alphasort64.c: File removed.
13425 * sysdeps/wordsize-64/scandir.c: File removed.
13426 * sysdeps/wordsize-64/scandir64.c: File removed.
13427 * sysdeps/wordsize-64/scandirat.c: File removed.
13428 * sysdeps/wordsize-64/scandirat64.c: File removed.
13429 * sysdeps/wordsize-64/versionsort.c: File removed.
13430 * sysdeps/wordsize-64/versionsort64.c: File removed.
13431 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13432 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13433 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13434 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13435 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13436 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13437 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13438 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13439
13440 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13441 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13442 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13443 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13444 [defined __arch64__ || defined __sparcv9]
13445 (__INO_T_MATCHES_INO64_T): New macro.
13446 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13447 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13448 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13449 * sysdeps/unix/sysv/linux/bits/dirent.h
13450 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13451 (_DIRENT_MATCHES_DIRENT64): New macro.
13452
13453 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13454 Define lockf64 as an alias.
13455 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13456 Define fseeko64 as an alias.
13457 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13458 Define ftello64 as an alias.
13459 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13460 Define _IO_fgetpos64 and fgetpos64 as aliases.
13461 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13462 Define _IO_fsetpos64 and fsetpos64 as aliases.
13463 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13464 Conditionalize body on this.
13465 * libio/fseeko64.c: Likewise.
13466 * libio/ftello64.c: Likewise.
13467 * libio/iofgetpos64.c: Likewise.
13468 * libio/iofsetpos64.c: Likewise.
13469 * sysdeps/wordsize-64/lockf.c: File removed.
13470 * sysdeps/wordsize-64/lockf64.c: File removed.
13471 * sysdeps/wordsize-64/fseeko.c: File removed.
13472 * sysdeps/wordsize-64/fseeko64.c: File removed.
13473 * sysdeps/wordsize-64/ftello.c: File removed.
13474 * sysdeps/wordsize-64/ftello64.c: File removed.
13475 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13476 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13477 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13478 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13479 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13480 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13481 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13482 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13483 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13484 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13485 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13486 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13487 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13488 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13489
13490 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13492 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13493 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13494 [defined __arch64__ || defined __sparcv9]
13495 (__OFF_T_MATCHES_OFF64_T): New macro.
13496 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13497 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13498 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13499 (__OFF_T_MATCHES_OFF64_T): New macro.
13500
135012012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13502
13503 * stdlib/secure-getenv.c (__secure_getenv): Replace
13504 GLIBC_2_16 with GLIBC_2_17.
13505
135062012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13507
13508 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13509 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13510
135112012-08-03 David S. Miller <davem@davemloft.net>
13512
13513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13514
135152012-08-03 Joseph Myers <joseph@codesourcery.com>
13516
13517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13518 Remove.
13519 (__ASSUME_CORRECT_SI_PID): Likewise.
13520 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13521 (__ASSUME_TMPFS_NAME): Likewise.
13522 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13523 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13524 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13525 (HAVE_AUX_SECURE): Make definition unconditional.
13526 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13527 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13528
135292012-08-03 Roland McGrath <roland@hack.frob.com>
13530
13531 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13532 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13533 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13534 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13535 __eloop_threshold instead of SYMLOOP_MAX.
13536
13537 * sysdeps/generic/eloop-threshold.h: New file.
13538 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13539 of MAXSYMLINKS.
13540 * elf/chroot_canon.c (chroot_canon): Likewise.
13541
135422012-08-03 Joseph Myers <joseph@codesourcery.com>
13543
13544 [BZ #13717]
13545 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13546 Change to 2.6.0 everywhere.
13547 * sysdeps/unix/sysv/linux/configure: Regenerated.
13548 * sysdeps/unix/sysv/linux/kernel-features.h
13549 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13550 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13551 kernel versions.
13552 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13553 (__ASSUME_FUTEX_REQUEUE): Remove.
13554 (__ASSUME_STATFS64): Define unconditionally.
13555 (__ASSUME_AT_SECURE): Likewise.
13556 (__ASSUME_CORRECT_SI_PID): Likewise.
13557 (__ASSUME_TGKILL): Define without depending on kernel version for
13558 i386.
13559 (__ASSUME_UTIMES): Likewise.
13560 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13561 kernel version.
13562 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13563 (__ASSUME_TMPFS_NAME): Likewise.
13564 * README: Update reference to Linux kernel versions.
13565
135662012-08-02 Marek Polacek <polacek@redhat.com>
13567
13568 [BZ# 14150]
13569 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13570 libc_cv_asm_type_prefix with %.
13571 * configure: Regenerated.
13572 * include/libc-symbols.h: Remove comment about
13573 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13574 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13575 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13576 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13577 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13578 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13579 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13580 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13581 * elf/tst-unique2mod1.c: Likewise.
13582 * elf/tst-unique1mod2.c: Likewise.
13583 * elf/tst-unique1mod1.c: Likewise.
13584 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13585 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13586 Replace ASM_TYPE_DIRECTIVE with .type.
13587 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13588 * sysdeps/i386/sysdep.h: Likewise.
13589 * sysdeps/x86_64/sysdep.h: Likewise.
13590 * sysdeps/sh/sysdep.h: Likewise.
13591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13592 Do not define ASM_TYPE_DIRECTIVE.
13593 * sysdeps/powerpc/sysdep.h: Likewise.
13594 * sysdeps/powerpc/powerpc32/sysdep.h:
13595 Replace ASM_TYPE_DIRECTIVE with .type.
13596 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13597 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13598 * sysdeps/i386/fpu/e_powf.S: Likewise.
13599 * sysdeps/i386/fpu/e_expl.S: Likewise.
13600 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13601 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13602 * sysdeps/i386/fpu/e_pow.S: Likewise.
13603 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13604 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13605 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13606 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13607 * sysdeps/i386/fpu/e_log2.S: Likewise.
13608 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13609 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13610 * sysdeps/i386/fpu/e_powl.S: Likewise.
13611 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13612 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13613 * sysdeps/i386/fpu/e_logl.S: Likewise.
13614 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13615 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13616 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13617 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13618 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13619 * sysdeps/i386/fpu/e_log.S: Likewise.
13620 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13621 * sysdeps/i386/fpu/e_logf.S: Likewise.
13622 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13623 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13624 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13625 * sysdeps/i386/fpu/e_log10.S: Likewise.
13626 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13627 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13628 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13629 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13630 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13631 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13632 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13633 * sysdeps/i386/i686/strtok.S: Likewise.
13634 * sysdeps/i386/i386-mcount.S: Likewise.
13635 * sysdeps/i386/strtok.S: Likewise.
13636 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13637 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13638 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13639 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13640 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13641 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13642 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13643 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13644 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13645 * sysdeps/x86_64/_mcount.S: Likewise.
13646 * sysdeps/x86_64/strtok.S: Likewise.
13647 * sysdeps/sh/_mcount.S: Likewise.
13648
136492012-08-01 Roland McGrath <roland@hack.frob.com>
13650
13651 * libio/iofopen.c: Include <fcntl.h>.
13652 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13653 (_IO_fopen64, fopen64): Define as aliases.
13654 * libio/iofopen64.c: Include <fcntl.h>.
13655 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13656 Conditionalize body on this.
13657 * sysdeps/wordsize-64/iofopen.c: File removed.
13658 * sysdeps/wordsize-64/iofopen64.c: File removed.
13659
136602012-08-01 Marek Polacek <polacek@redhat.com>
13661
13662 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13663 Use dlfcn directly instead of a variable.
13664 (binfmt-subdir): Do not define.
13665 (dlfcn): Likewise.
13666
136672012-08-01 Joseph Myers <joseph@codesourcery.com>
13668
13669 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13670 Remove all definitions.
13671 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13672 <kernel-features.h>.
13673 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13674 (miss_F_GETOWN_EX): Remove all definitions.
13675 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13676 macro definition.
13677 [!__ASSUME_FCNTL64]: Remove conditional code.
13678 [__ASSUME_FCNTL64]: Make code unconditional.
13679 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13680 <kernel-features.h>.
13681 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13682 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13683 (lockf64) [__NR_fcntl64]: Make code unconditional.
13684 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13685
13686 * sysdeps/unix/sysv/linux/kernel-features.h
13687 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13688 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13689 Make code unconditional.
13690 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13691 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13693 [__NR_vfork]: Make code unconditional.
13694 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13695 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13697 [__NR_vfork]: Make code unconditional.
13698 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13699 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13700
137012012-08-01 Roland McGrath <roland@hack.frob.com>
13702
13703 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13704 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13705
13706 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13707 Define mkstemp64 as an alias.
13708 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13709 Define mkstemps64 as an alias.
13710 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13711 Define mkostemp64 as an alias.
13712 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13713 Define mkostemps64 as an alias.
13714 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13715 Conditionalize body on this.
13716 * misc/mkostemp64.c: Likewise.
13717 * misc/mkostemps64.c: Likewise.
13718 * misc/mkstemps64.c: Likewise.
13719 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13720 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13721 * sysdeps/wordsize-64/mkostemp.c: File removed.
13722 * sysdeps/wordsize-64/mkstemp.c: File removed.
13723 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13724 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13725 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13726 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13727
13728 [BZ #14138]
13729 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13730 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13731 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13732 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13733
13734 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13735 compat_symbol macros from <shlib-compat.h> rather than the underlying
13736 default_symbol_version and symbol_version macros, so that DEFAULT
13737 lines in shlib-versions are respected.
13738 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13739
137402012-08-01 Florian Weimer <fweimer@redhat.com>
13741
13742 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13743 Declare with warn_unused_result.
13744 (setgid, setregid, setegid, setresgid): Likewise.
13745 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13746 Likewise.
13747 * WUR-REPORT: Remove set*id functions.
13748
137492012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13750
13751 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13752
137532012-07-31 Roland McGrath <roland@hack.frob.com>
13754
13755 [BZ #10191]
13756 * include/sys/socket.h (__libc_accept, __libc_accept4):
13757 Add attribute_hidden.
13758 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13759
13760 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13761 use of PTR_MANGLE.
13762 * inet/getnetgrent_r.c (setup): Likewise.
13763
13764 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13765
137662012-07-31 David S. Miller <davem@davemloft.net>
13767
13768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13769
137702012-07-31 Joseph Myers <joseph@codesourcery.com>
13771
13772 [BZ #13629]
13773 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13774 value between 1.0 and 2.0 and smaller part has absolute value less
13775 than 1.0.
13776 * math/s_clog10.c (__clog10): Likewise.
13777 * math/s_clog10f.c (__clog10f): Likewise.
13778 * math/s_clog10l.c (__clog10l): Likewise.
13779 * math/s_clogf.c (__clogf): Likewise.
13780 * math/s_clogl.c (__clogl): Likewise.
13781 * math/libm-test.inc (clog_test): Add more tests.
13782 (clog10_test): Likewise.
13783 * sysdeps/i386/fpu/libm-test-ulps: Update.
13784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13785
137862012-07-31 Florian Weimer <fweimer@redhat.com>
13787
13788 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13789 Exit with zero in case no suitable GID is found, and write a
13790 message to standard error.
13791
137922012-07-30 Roland McGrath <roland@hack.frob.com>
13793
13794 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13795 rather than to 1.
13796 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13797 (MAXPATHLEN): Removed.
13798 (NOGROUP, NODEV): New macros.
13799 (setbit, clrbit, isset, isclr): New macros.
13800 (howmany, roundup, powerof2): New macros.
13801 (DEV_BSIZE): New macro.
13802
13803 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13804 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13805
13806 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13807 definition on [!__NO_LONG_DOUBLE_MATH].
13808
13809 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13810 PTR_MANGLE and PTR_DEMANGLE.
13811
13812 * socket/accept4.c (accept4): Rename to __libc_accept4.
13813 Define accept4 as a weak alias.
13814
13815 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13816 on [_DIRENT_HAVE_D_TYPE].
13817 * io/ftw.c (ftw_dir): Likewise.
13818
13819 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13820
13821 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13822
13823 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13824 Use the BSD numbers rather than the arbitrary ones we had.
13825 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13826 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13827 (SIGXCPU, SIGXFSZ): New macros.
13828 (_NSIG): Now 32.
13829
13830 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13831 initializer on [_LIBC_REENTRANT].
13832
13833 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13834 definitions inside [_POSIX_MAPPED_FILES].
13835
13836 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13837
13838 * dirent/opendir.c: Include <fcntl.h>.
13839
13840 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13841 (__libc_getspecific): Likewise.
13842 (__libc_key_create): Likewise.
13843
13844 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13845 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13846 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13847 (tmpfile64): Define as alias.
13848 * sysdeps/wordsize-64/tmpfile.c: File removed.
13849 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13850 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13851 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13852
13853 * stdio-common/vfscanf.c: Include <stdbool.h>.
13854 * nss/makedb.c: Likewise.
13855 * stdio-common/_i18n_number.h: Likewise.
13856 * argp/argp-help.c: Likewise.
13857 * posix/wordexp.c: Likewise.
13858 * sysdeps/posix/spawni.c: Likewise.
13859 * nss/nss_files/files-initgroups.c: Likewise.
13860 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13861 * nss/nss_files/files-initgroups.c: Likewise.
13862 * nss/nss_db/db-netgrp.c: Likewise.
13863 * nss/nss_db/db-initgroups.c: Likewise.
13864 * io/fchmodat.c: Include <sys/stat.h>.
13865
13866 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13867 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13868
13869 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13870 [HAVE_MMAP].
13871
13872 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13873 Add multiple inclusion protection.
13874
138752012-07-27 David S. Miller <davem@davemloft.net>
13876
13877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13878
138792012-07-27 Gary Benson <gbenson@redhat.com>
13880
13881 [BZ #14298]
13882 * elf/rtld.c: Include <stap-probe.h>.
13883 (dl_main): Added static probes "init_start" and "init_complete".
13884 * elf/dl-load.c: Include <stap-probe.h>.
13885 (lose): Take new parameter "nsid".
13886 Added static probe "map_failed".
13887 (_dl_map_object_from_fd): Pass namespace id to lose.
13888 Added static probe "map_start".
13889 (open_verify): Pass namespace id to lose.
13890 * elf/dl-open.c: Include <stap-probe.h>.
13891 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13892 and "reloc_complete".
13893 * elf/dl-close.c: Include <stap-probe.h>.
13894 (_dl_close_worker): Added static probes "unmap_start" and
13895 "unmap_complete".
13896 * elf/rtld-debugger-interface.txt: New file documenting the above.
13897
138982012-07-26 Roland McGrath <roland@hack.frob.com>
13899
13900 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13901 rather than a string variable.
13902 * sunrpc/rpc_main.c (h_output): Likewise.
13903 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13904
139052012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13906
13907 * inet/check_native.c: New file.
13908
139092012-07-26 Joseph Myers <joseph@codesourcery.com>
13910
13911 [BZ #13629]
13912 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13913 if larger part has absolute value 1.0.
13914 * math/s_clog10.c (__clog10): Likewise.
13915 * math/s_clog10f.c (__clog10f): Likewise.
13916 * math/s_clog10l.c (__clog10l): Likewise.
13917 * math/s_clogf.c (__clogf): Likewise.
13918 * math/s_clogl.c (__clogl): Likewise.
13919 * math/libm-test.inc (clog_test): Add more tests.
13920 (clog10_test): Likewise.
13921 * sysdeps/i386/fpu/libm-test-ulps: Update.
13922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13923
13924 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13925 (pltexit): Likewise.
13926 (La_regs): Likewise.
13927 (La_retval): Likewise.
13928 (int_retval): Likewise.
13929 Update #error for removed macros to refer only to definitions in
13930 tst-audit.h.
13931 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13932 macro.
13933 (pltexit): Likewise.
13934 (La_regs): Likewise.
13935 (La_retval): Likewise.
13936 (int_retval): Likewise.
13937 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13938 macro.
13939 (pltexit): Likewise.
13940 (La_regs): Likewise.
13941 (La_retval): Likewise.
13942 (int_retval): Likewise.
13943 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13944 macro.
13945 (pltexit): Likewise.
13946 (La_regs): Likewise.
13947 (La_retval): Likewise.
13948 (int_retval): Likewise.
13949 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13950 macro.
13951 (pltexit): Likewise.
13952 (La_regs): Likewise.
13953 (La_retval): Likewise.
13954 (int_retval): Likewise.
13955 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13956 macro.
13957 (pltexit): Likewise.
13958 (La_regs): Likewise.
13959 (La_retval): Likewise.
13960 (int_retval): Likewise.
13961 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13962 macro.
13963 (pltexit): Likewise.
13964 (La_regs): Likewise.
13965 (La_retval): Likewise.
13966 (int_retval): Likewise.
13967 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13968 macro definitions in tst-audit.h.
13969 * sysdeps/i386/tst-audit.h: New file.
13970 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13971 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13972 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13973 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13974 * sysdeps/sh/tst-audit.h: Likewise.
13975 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13976 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13977 * sysdeps/x86_64/tst-audit.h: Likewise.
13978
139792012-07-26 Andreas Jaeger <aj@suse.de>
13980
13981 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13982 ptrace.
13983
13984 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13985 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13986 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13987 PTRACE_O_MASK.
13988 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13989 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13990 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13991
13992 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13993 value.
13994
13995 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13996 _sigsys.
13997 (si_call_addr, si_syscall, si_arch): Define new macro.
13998 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13999 _sigsys.
14000 (si_call_addr, si_syscall, si_arch): Define new marcro.
14001 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14002 _sigsys.
14003 (si_call_addr, si_syscall, si_arch): Define new macro.
14004 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14005 _sigsys.
14006 (si_call_addr, si_syscall, si_arch): Define new macro.
14007
140082012-07-25 Joseph Myers <joseph@codesourcery.com>
14009
14010 [BZ #13717]
14011 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14012 Change to 2.4.21 where previously 2.4.1.
14013 * sysdeps/unix/sysv/linux/configure: Regenerated.
14014 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14015 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14016 Linux kernel version.
14017 (__ASSUME_STD_AUXV): Remove.
14018 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14019 kernel version.
14020 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14021 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14022 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14023 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14024 (__ASSUME_NETLINK_SUPPORT): Likewise.
14025 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14026 (__no_netlink_support): Remove conditional definition.
14027 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14028 Remove.
14029 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14030 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14031 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14032 (if_nameindex_ioctl): Remove.
14033 (if_nameindex_netlink): Do not handle __no_netlink_support.
14034 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14035 code.
14036 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14037 Remove conditional code.
14038 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14039 code.
14040 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14041 unconditional.
14042 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14043 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14044 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14045 Remove.
14046 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14047 [!__ASSUME_STD_AUXV]: Remove conditional code.
14048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14049 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14050 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14052 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14053 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14054 code.
14055 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14057 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14058 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14059 conditional code.
14060 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14062 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14063 code.
14064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14065 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14066 conditional code.
14067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14068 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14069 code unconditional.
14070 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14071 conditional code.
14072 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14073 unconditional.
14074 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14075 conditional code.
14076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14077 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14078 unconditional.
14079 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14080 conditional code.
14081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14082 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14083 code unconditional.
14084 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14085 conditional code.
14086 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14087 unconditional.
14088 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14089 conditional code.
14090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14091 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14092 code unconditional.
14093 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14094 conditional code.
14095 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14096 unconditional.
14097 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14098 conditional code.
14099
141002012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14101
14102 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14103 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14104 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14105 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14106 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14107 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14108 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14109 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14110 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14111 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14112 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14113 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14114 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14115 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14116 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14117 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14118 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14119 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14120 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14121 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14122 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14123 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14124 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14125
141262012-07-25 Florian Weimer <fweimer@redhat.com>
14127
14128 * Versions.def: Add GLIBC_2.17.
14129 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14130 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14131 Introduce __libc_secure_getenv.
14132 * stdlib/Versions (2.17): Add secure_getenv
14133 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14134 * stdlib/secure-getenv.c: Rename __secure_getenv to
14135 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14136 symbol __secure_getenv for GLIBC_2.0.
14137 * stdlib/tst-secure-getenv.c: New.
14138 * stdlib/Makefile (tests): Add testcase.
14139 * manual/startup.texi (Environment Access): Document
14140 secure_getenv.
14141 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14142 __libc_secure_getenv.
14143 * inet/ruserpass.c (ruserpass): Likewise.
14144 * malloc/mtrace.c (mtrace): Likewise.
14145 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14146 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14147 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14148 * sysdeps/posix/tempname.c: Likewise. Evaluate
14149 HAVE_SECURE_GETENV.
14150 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14151 __secure_getenv to __libc_secure_getenv.
14152 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14154 Likewise.
14155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14156 Likewise.
14157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14159 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14164
141652012-07-25 Joseph Myers <joseph@codesourcery.com>
14166
14167 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14168 (struct La_i86_retval): Likewise.
14169 (struct La_x86_64_regs): Likewise.
14170 (struct La_x86_64_retval): Likewise.
14171 (struct La_x32_regs): Likewise.
14172 (struct La_x32_retval): Likewise.
14173 (struct La_ppc32_regs): Likewise.
14174 (struct La_ppc32_retval): Likewise.
14175 (struct La_ppc64_regs): Likewise.
14176 (struct La_ppc64_retval): Likewise.
14177 (struct La_sh_regs): Likewise.
14178 (struct La_sh_retval): Likewise.
14179 (struct La_s390_32_regs): Likewise.
14180 (struct La_s390_32_retval): Likewise.
14181 (struct La_s390_64_regs): Likewise.
14182 (struct La_s390_64_retval): Likewise.
14183 (struct La_sparc32_regs): Likewise.
14184 (struct La_sparc32_retval): Likewise.
14185 (struct La_sparc64_regs): Likewise.
14186 (struct La_sparc64_retval): Likewise.
14187 (struct audit_ifaces): Remove architecture-specific pltenter and
14188 pltexit members.
14189 * sysdeps/i386/ldsodefs.h: New file.
14190 * sysdeps/powerpc/ldsodefs.h: Likewise.
14191 * sysdeps/s390/ldsodefs.h: Likewise.
14192 * sysdeps/sh/ldsodefs.h: Likewise.
14193 * sysdeps/sparc/ldsodefs.h: Likewise.
14194 * sysdeps/x86_64/ldsodefs.h: Likewise.
14195
141962012-07-25 Marek Polacek <polacek@redhat.com>
14197
14198 [BZ #6808]
14199 * math/libm-test.inc (yn_test): Add another test.
14200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14201 to ERANGE when the result is +-Inf.
14202 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14203 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14204 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14205 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14206
142072012-07-24 Joseph Myers <joseph@codesourcery.com>
14208
14209 * conform/data/time.h-data (NULL): Use macro-constant. Require
14210 equal to 0.
14211 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14212 clock_t.
14213 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14214
142152012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14216
14217 * configure.in <sysdeps resolving>: Correct printing
14218 Implies_before.
14219 * configure: Regenerate.
14220
142212012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14222
14223 * math/w_ilogb.c: Include <limits.h>.
14224 * math/w_ilogbl.c: Likewise.
14225
142262012-07-20 Joseph Myers <joseph@codesourcery.com>
14227
14228 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14229 va_copy. Document allowing for unavailable va_copy only as
14230 pre-C99 compatibility.
14231 * manual/string.texi (Copying and Concatenation): Use va_copy
14232 instead of __va_copy in concat example.
14233
142342012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14235
14236 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14237 (__sendto): Use create_address_port. Initialize APORT and deallocate
14238 it if not null.
14239
14240 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14241 with O_NOLINK passed to __file_name_lookup.
14242
14243 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14244 with O_NOLINK passed to __file_name_lookup.
14245
14246 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14247 negative N or less than NGIDS.
14248
14249 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14250 type to string_t. Set ERANGE as errno and return it if NAME is not big
14251 enough. Use memcpy instead of strncpy.
14252
142532012-07-20 Joseph Myers <joseph@codesourcery.com>
14254
14255 * elf/Makefile (check-data): Remove.
14256 (localplt.data): New vpath directive.
14257 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14258 instead of $(check-data).
14259 * scripts/data/localplt-generic.data: Move to ...
14260 * sysdeps/generic/localplt.data: ... here.
14261 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14262 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14263 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14265 ... here.
14266 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14268 ... here.
14269 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14271 ... here.
14272 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14274 ... here.
14275 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14277 ... here.
14278 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14280 ... here.
14281
142822012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14283
14284 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14285 PPC32 and PPC64 files.
14286 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14287 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14288
142892012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14290
14291 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14292 __makecontext_ret to ...
14293 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14294 ... here and call exit if uc_link is NULL. New file.
14295 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14296 __makecontext_ret.S.
14297 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14298 __makecontext_ret to ...
14299 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14300 ... here and call exit if uc_link is NULL. New file.
14301 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14302 __makecontext_ret.S.
14303
143042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14305
14306 * elf/elf.h (R_390_IRELATIVE): New definition.
14307 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14308 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14309 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14310 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14311 (elf_machine_lazy_rel): Likewise.
14312 * sysdeps/s390/dl-irel.h: New file.
14313 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14314 * sysdeps/s390/s390-64/memset.S: New asm code.
14315 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14316 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14317 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14318 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14319 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14320 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14321 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14322 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14323 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14324 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14325 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14326 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14327 * sysdeps/s390/s390-32/memset.S: New asm code.
14328 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14329
143302012-07-17 Marek Polacek <polacek@redhat.com>
14331
14332 [BZ #14349]
14333 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14334 * sysdeps/s390/s390-64/configure.in: Likewise.
14335 * sysdeps/sparc/configure.in: Likewise.
14336 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14337 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14338 * sysdeps/i386/configure.in: Likewise.
14339 * sysdeps/x86_64/configure.in: Likewise.
14340 * sysdeps/sh/configure.in: Likewise.
14341 * sysdeps/s390/s390-32/configure: Regenerated.
14342 * sysdeps/s390/s390-64/configure: Likewise.
14343 * sysdeps/x86_64/configure: Likewise.
14344 * sysdeps/sh/configure: Likewise.
14345 * sysdeps/powerpc/powerpc64/configure: Likewise.
14346 * sysdeps/powerpc/powerpc32/configure: Likewise.
14347 * sysdeps/sparc/configure: Likwise.
14348 * sysdeps/i386/configure: Likewise.
14349
14350 * elf/dl-open.c: Comment fixes.
14351
143522012-07-17 Joseph Myers <joseph@codesourcery.com>
14353
14354 * Makefile [CXX] (check-data): Remove.
14355 [CXX] (c++-types.data): New vpath directive.
14356 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14357 vpath. Do not allow for C++ type data being missing.
14358 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14359 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14360 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14361 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14362 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14363 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14364 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14366 ... here.
14367 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14369 ... here.
14370 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14372 ... here.
14373 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14375 ... here.
14376 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14378 ... here.
14379 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14381 ... here.
14382 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14384 ... here.
14385 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14387
14388 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14389 definitions to architecture-specific files.
14390 (TLS_IE): Likewise.
14391 (TLS_LD): Likewise.
14392 (TLS_GD): Likewise.
14393 * sysdeps/i386/tls-macros.h: New file.
14394 * sysdeps/powerpc/tls-macros.h: Likewise.
14395 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14396 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14397 * sysdeps/sh/tls-macros.h: Likewise.
14398 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14399 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14400 * sysdeps/x86_64/tls-macros.h: Likewise.
14401
144022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14403
14404 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14405 zero value for regular exit case.
14406
14407 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14408 (__start_context): Preserve zero value for regular exit case.
14409
144102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14411 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14412
14413 * manual/setjmp.texi (setcontext): Clarify normal process
14414 termination when uc_link is the null pointer.
14415 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14416 exit call.
14417
144182012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14419
14420 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14421 preprocessor. Test for each exception mask separately.
14422
144232012-07-16 Andreas Jaeger <aj@suse.de>
14424
14425 * po/ru.po: Update from translation team.
14426
144272012-07-15 Joseph Myers <joseph@codesourcery.com>
14428
14429 * conform/data/string.h-data (NULL): Use macro-constant. Require
14430 equal to 0.
14431 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14432 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14433 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14434 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14435 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14436
144372012-07-13 Andreas Jaeger <aj@suse.de>
14438
14439 * po/fr.po: Update from translation team.
14440
144412012-07-12 Marek Polacek <polacek@redhat.com>
14442
14443 [BZ #14173]
14444 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14445 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14446 loop condition.
14447
144482012-07-12 Joseph Myers <joseph@codesourcery.com>
14449
14450 [BZ #13717]
14451 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14452 Change to 2.4.1 where previously 2.4.0.
14453 * sysdeps/unix/sysv/linux/configure: Regenerated.
14454 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14455 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14456 version.
14457 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14458 (__ASSUME_AT_CLKTCK): Remove.
14459 (__ASSUME_AT_PAGESIZE): Likewise.
14460 (__ASSUME_AT_XID): Likewise.
14461 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14462 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14463 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14464 unconditionally.
14465 (HAVE_AUX_PAGESIZE): Likewise.
14466 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14467 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14468 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14469
144702012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14471
14472 [BZ #14307]
14473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14474 the temporary buffer used to invoke __gethostbyname2_r,
14475 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14476 host_data / struct gaih_addrtuple.
14477 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14478 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14479 header file nss/nsswitch.h.
14480 * nss/nsswitch.h (global scope): Add definition of implementation
14481 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14482 resolv/nss_dns/dns-host.c).
14483
144842012-07-11 Andreas Jaeger <aj@suse.de>
14485
14486 * po/fr.po: Update from translation team.
14487
14488 * po/sv.po: Update from translation team
14489 * po/fr.po: Another update from translation team.
14490
144912012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14492
14493 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14494 for subnormals or multiply small sinh result by itself.
14495 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14497
144982012-07-11 David S. Miller <davem@davemloft.net>
14499
14500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14501
145022012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14503
14504 [BZ #14347]
14505 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14506 (INTERNAL_MARK): Shift it here.
14507
145082012-07-10 Marek Polacek <polacek@redhat.com>
14509
14510 [BZ #14151]
14511 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14512 libc_cv_asm_global_directive with .globl.
14513 * configure: Regenerated.
14514 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14515 with .globl.
14516 * sysdeps/i386/configure: Regenerated.
14517 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14518 with .globl.
14519 * sysdeps/x86_64/configure: Regenerated.
14520 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14521 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14522 * elf/tst-unique2mod2.c: Likewise.
14523 * elf/tst-unique2mod1.c: Likewise.
14524 * elf/tst-unique1mod2.c: Likewise.
14525 * elf/tst-unique1mod1.c: Likewise.
14526 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14527 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14528 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14529 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14530 * sysdeps/mach/sysdep.h: Likewise.
14531 * sysdeps/i386/sysdep.h: Likewise.
14532 * sysdeps/i386/i386-mcount.S: Likewise.
14533 * sysdeps/x86_64/_mcount.S: Likewise.
14534 * sysdeps/x86_64/sysdep.h: Likewise.
14535 * sysdeps/sh/_mcount.S: Likewise.
14536 * sysdeps/sh/sysdep.h: Likewise.
14537 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14538 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14539 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14540 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14541 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14542 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14543 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14544 * locale/localeinfo.h: Likewise.
14545 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14546 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14547
145482012-07-09 Roland McGrath <roland@hack.frob.com>
14549
14550 [BZ #14336]
14551 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14552 system".
14553 * manual/message.texi (The Uniforum approach): Likewise.
14554 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14555 (glibc iconv Implementation): Likewise.
14556
145572012-07-09 Joseph Myers <joseph@codesourcery.com>
14558
14559 [BZ #14337]
14560 * math/s_clog.c (__clog): Avoid scaling a value down where that
14561 could result in underflow.
14562 * math/s_clog10.c (__clog10): Likewise.
14563 * math/s_clog10f.c (__clog10f): Likewise.
14564 * math/s_clog10l.c (__clog10l): Likewise.
14565 * math/s_clogf.c (__clogf): Likewise.
14566 * math/s_clogl.c (__clogl): Likewise.
14567 * math/libm-test.inc (clog_test): Add more tests.
14568 (clog10_test): Likewise.
14569 * sysdeps/i386/fpu/libm-test-ulps: Update.
14570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14571
145722012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14573
14574 [BZ #14283]
14575 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14576 by 7 not 8 to examine high bit of fractional part.
14577
14578 [BZ #14042]
14579 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14580 for call to __mcount_internal.
14581 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14582 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14583 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14584
145852012-07-06 Joseph Myers <joseph@codesourcery.com>
14586
14587 [BZ #14154]
14588 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14589 approximation for values within 0x1p-13f of an odd multiple of
14590 pi/4.
14591 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14592 exception. Add more tests.
14593 * sysdeps/i386/fpu/libm-test-ulps: Update.
14594
14595 [BZ #6778]
14596 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14597 inputs and return -1 for them. Do not check for +Inf in case not
14598 reachable for +Inf.
14599 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14600 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14601 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14602 and return -1 for them. Do not check for +Inf in case not
14603 reachable for +Inf.
14604 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14605 define.
14606 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14607 and return -1 for them. Do not check for +Inf in case not
14608 reachable for +Inf.
14609 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14610 spurious underflow.
14611 * sysdeps/i386/fpu/libm-test-ulps: Update.
14612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14613
146142012-07-06 Mike Frysinger <vapier@gentoo.org>
14615
14616 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14617
146182012-07-05 Joseph Myers <joseph@codesourcery.com>
14619
14620 [BZ #14157]
14621 [BZ #14331]
14622 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14623 could result in spurious underflow. Scale down values above
14624 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14625 * math/s_csqrtf.c (__csqrtf): Likewise.
14626 * math/s_csqrtl.c (__csqrtl): Likewise.
14627 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14628 spurious underflow.
14629 * sysdeps/i386/fpu/libm-test-ulps: Update.
14630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14631
146322012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14633
14634 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14635 xopen-msg.sed.
14636 * catgets/xopen-msg.awk: New file.
14637 * catgets/xopen-msg.sed: Removed.
14638
14639 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14640 po2text.sed.
14641 * intl/po2test.awk: New file.
14642 * intl/po2test.sed: Removed.
14643
146442012-07-04 Joseph Myers <joseph@codesourcery.com>
14645
14646 [BZ #14328]
14647 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14648 or multiply small sinh result by itself.
14649 * math/s_ctanf.c (__ctanf): Likewise.
14650 * math/s_ctanh.c (__ctanh): Likewise.
14651 * math/s_ctanhf.c (__ctanhf): Likewise.
14652 * math/s_ctanhl.c (__ctanhl): Likewise.
14653 * math/s_ctanl.c (__ctanl): Likewise.
14654 * math/libm-test.inc (ctan_test_tonearest): New function.
14655 (ctan_test_towardzero): Likewise.
14656 (ctan_test_downward): Likewise.
14657 (ctan_test_upward): Likewise.
14658 (ctanh_test_tonearest): Likewise.
14659 (ctanh_test_towardzero): Likewise.
14660 (ctanh_test_downward): Likewise.
14661 (ctanh_test_upward): Likewise.
14662 (main): Call these new functions.
14663 * sysdeps/i386/fpu/libm-test-ulps: Update.
14664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14665
146662012-07-03 Mike Frysinger <vapier@gentoo.org>
14667
14668 * .gitignore: Delete /ports entry.
14669
146702012-07-03 Andreas Jaeger <aj@suse.de>
14671
14672 * po/bg.po: Update from translation team.
14673 * po/cs.po: Likewise.
14674 * po/de.po: Likewise.
14675 * po/hr.po: Likewise.
14676 * po/nl.pl: Likewise.
14677 * po/pl.po: Likewise.
14678 * po/vi.po: Likewise.
14679
146802012-07-03 Joseph Myers <joseph@codesourcery.com>
14681
14682 * Makeconfig [!+link] (+link-before-libc): New variable.
14683 [!+link] (+link-after-libc): Likewise.
14684 [!+link] (+link-tests): Likewise.
14685 [!+link] (+link): Define in terms of $(+link-before-libc) and
14686 $(+link-after-libc).
14687 [!+link-static] (+link-static-before-libc): New variable.
14688 [!+link-static] (+link-static-after-libc): Likewise.
14689 [!+link-static] (+link-static-tests): Likewise.
14690 [!+link-static] (+link-static): Define in terms of
14691 $(+link-static-before-libc) and $(+link-static-after-libc).
14692 [build-shared] (link-libc-before-gnulib): New variable.
14693 [build-shared] (link-libc-tests): Likewise.
14694 [build-shared] (link-libc): Define in terms of
14695 $(link-libc-before-gnulib).
14696 [!build-shared] (link-libc-tests): New variable.
14697 (link-libc-static-tests): New variable.
14698 [!gnulib] (gnulib-arch): New variable.
14699 [!gnulib] (gnulib-tests): Likewise.
14700 [!gnulib] (static-gnulib-arch): Likewise.
14701 [!gnulib] (static-gnulib-tests): Likewise.
14702 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14703 Define with "=" instead of ":=".
14704 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14705 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14706 * Rules (binaries-all-notests): New variable.
14707 (binaries-all-tests): Likewise.
14708 (binaries-static-notests): Likewise.
14709 (binaries-static-tests): Likewise.
14710 (binaries-all): Define using $(binaries-all-notests) and
14711 $(binaries-all-tests).
14712 (binaries-static): Define using $(binaries-static-notests) and
14713 $(binaries-static-tests).
14714 (binaries-shared-tests): New variable.
14715 (binaries-shared-notests): Likewise.
14716 (binaries-shared): Remove variable.
14717 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14718 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14719 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14720 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14721 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14722 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14723 * elf/Makefile (sln-modules): New variable.
14724 (extra-objs): Add $(sln-modules:=.o).
14725 (ldconfig-modules): Add static-stubs.
14726 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14727 * elf/static-stubs.c: New file.
14728
14729 [BZ #14283]
14730 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14731 by 7 not 8 to examine high bit of fractional part. Use volatile
14732 variables when splitting into final array of floats if
14733 __FLT_EVAL_METHOD__ != 0.
14734 * math/libm-test.inc (cos_test): Add another test.
14735 (sin_test): Likewise.
14736 * sysdeps/i386/fpu/libm-test-ulps: Update.
14737
14738 [BZ #14273]
14739 * math/libm-test.inc (cosh_test): Add more tests.
14740
14741 * version.h (RELEASE): Set to "development".
14742 (VERSION): Set to "2.16.90".
14743
147442012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14745
14746 * NEWS: Update copyright. Remove last-updated date.
14747 Mention math library bug fixes and timezone data changes.
14748 * README: Mention GNU/Hurd, x32, and HPPA support status.
14749
147502012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14751
14752 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14753
147542012-06-27 Andreas Jaeger <aj@suse.de>
14755
14756 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14757
147582012-06-25 Andreas Jaeger <aj@suse.de>
14759
14760 * sysdeps/s390/fpu/libm-test-ulps: Update.
14761
147622012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14763 Thomas Schwinge <thomas@codesourcery.com>
14764
14765 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14766 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14767 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14768 fanotify_mark.
14769
147702012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14771
14772 * sysdeps/mach/start.c: Remove file.
14773 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14774 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14775 * sysdeps/sh/init-first.c: Likewise.
14776
14777 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14778 registers for frame unwinding purposes, add CFI directives.
14779 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14780 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14781 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14782 Likewise.
14783
14784 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14785 __fortify_fail returning.
14786 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14787
14788 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14789 sysdeps/sh/____longjmp_chk.S.
14790 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14791 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14792 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14793 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14794
14795 * sysdeps/sh/abort-instr.h: New file.
14796 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14797 process in case exit returns.
14798
14799 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14800 initialize the GOT register before use.
14801
14802 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14803 calculation of ARGC > 4.
14804
14805 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14806 meaningful names to some local labels.
14807
148082012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14809 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14810
14811 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14812 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14813 (__arch_compare_and_exchange_val_16_acq): Likewise.
14814 (__arch_compare_and_exchange_val_32_acq): Likewise.
14815 (atomic_exchange_and_add): Fix gUSA sequence.
14816 (atomic_add): Likewise.
14817 (atomic_add_negative): Likewise.
14818 (atomic_add_zero): Likewise.
14819 (atomic_bit_test_set): Likewise.
14820
148212012-06-22 Andreas Schwab <schwab@redhat.com>
14822
14823 [BZ #13579]
14824 * include/link.h (struct link_map): Add l_free_initfini.
14825 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14826 l_initfini.
14827 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14828 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14829 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14830 set.
14831
148322012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14833
14834 * configure.in: Use AC_LANG_SOURCE.
14835 * configure: Regenerate.
14836
148372012-06-22 Roland McGrath <roland@hack.frob.com>
14838
14839 * configure.in (libc_cv_localstatedir): New substituted variable.
14840 * configure: Regenerated.
14841 * config.make.in (localstatedir): New variable, substituted from
14842 libc_cv_localstatedir.
14843 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14844 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14845 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14846 * sysdeps/gnu/configure: Regenerated.
14847
148482012-06-21 Jeff Law <law@redhat.com>
14849
14850 [BZ #14277]
14851 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14852 free. Simplify list management for _LIBC case.
14853
148542012-06-21 Joseph Myers <joseph@codesourcery.com>
14855
14856 [BZ #14273]
14857 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14858 Clear sign bit of 64-bit integer value before comparing against
14859 overflow value.
14860
14861 * sysdeps/mach/configure: Regenerated.
14862
148632012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14864
14865 [BZ #14278]
14866 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14867
148682012-06-21 Jeff Law <law@redhat.com>
14869
14870 [BZ #13882]
14871 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14872 uint16_t for elements in the "seen" array to avoid char overflows.
14873 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14874 * elf/dl-open.c (dl_open_worker): Likewise.
14875
148762012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14877
14878 * scripts/list-sources.sh: Scan PORTS for translations.
14879 * po/libc.pot: Regenerated.
14880
148812012-06-21 Andreas Jaeger <aj@suse.de>
14882
14883 [BZ #12194]
14884 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14885 warning.
14886 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14887 * bits/byteswap-16.h (__bswap_16): Likewise.
14888 * bits/byteswap.h (__bswap_constant_16): Likewise.
14889
148902012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14891
14892 [BZ #14117]
14893 * sysdeps/i386/fpu_control.h: Removed.
14894 * sysdeps/x86_64/fpu_control.h: Moved to ...
14895 * sysdeps/x86/fpu_control.h: Here.
14896
14897 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14898 (_FPU_SETCW): Likewise.
14899
149002012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14901
14902 [BZ #14117]
14903 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14904 * sysdeps/x86/fpu/bits/mathinline.h: This.
14905 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14906
14907 [BZ #14050]
14908 [BZ #14117]
14909 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14910 functions if __x86_64__ is defined.
14911
149122012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14913
14914 * string/endian.h: Add !__ASSEMBLER__ condition for including
14915 conversion interfaces.
14916
149172012-06-15 Joseph Myers <joseph@codesourcery.com>
14918
14919 [BZ #14241]
14920 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14921 of ABS(x) in calculating zero to negative powers other than odd
14922 integers.
14923 * math/libm-test.inc (pow_test): Add more tests.
14924
149252012-06-15 Andreas Jaeger <aj@suse.de>
14926
14927 * manual/contrib.texi (Contributors): Update entry of Liubov
14928 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14929 Machado Filho.
14930
149312012-06-15 Cyril Hrubis <metan@ucw.cz>
14932
14933 * string/string.h: Add __wur to GNU version of strerror_r.
14934
149352012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14936
14937 [BZ #14229]
14938 * string/Makefile (tests): Add tst-strtok_r.
14939 * string/tst-strtok_r.c: New file.
14940 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14941 RAX_LP/RDX_LP on SAVE_PTR.
14942
149432012-06-14 Roland McGrath <roland@hack.frob.com>
14944
14945 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14946
149472012-06-14 Joseph Myers <joseph@codesourcery.com>
14948
14949 * libm_test.inc (csqrt_test): Allow more spurious underflow
14950 exceptions.
14951 (j0_test): Likewise.
14952 (j1_test): Likewise.
14953 (y0_test): Likewise.
14954 (y1_test): Likewise.
14955
149562012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14957
14958 * po/Makefile (libc.pot): Use UTF-8 charset.
14959
149602012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14961
14962 [BZ #14210]
14963 Suppress sign-conversion warning from FD_SET.
14964 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14965 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14966 not unsigned long int.
14967 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14968
149692012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14970
14971 [BZ #14050]
14972 [BZ #14117]
14973 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14974 __extern_always_inline instead of __extern_inline.
14975 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14976 (__signbit): Likewise.
14977 (__signbitl): Support C++ namespace.
14978 (lrintf): New inline function.
14979 (lrint): Likewise.
14980 (llrintf): Likewise.
14981 (llrint): Likewise.
14982 (fmaxf): Likewise.
14983 (fmax): Likewise.
14984 (fminf): Likewise.
14985 (fmin): Likewise.
14986 (rint): Likewise.
14987 (rintf): Likewise.
14988 (ceil): Likewise.
14989 (ceilf): Likewise.
14990 (floor): Likewise.
14991 (floorf): Likewise.
14992 (nearbyint): Likewise.
14993 (nearbyintf): Likewise.
14994
149952012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14996
14997 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14998 non-default versions.
14999
150002012-06-11 Roland McGrath <roland@hack.frob.com>
15001
15002 [BZ #14218]
15003 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15004
150052012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15006
15007 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15008 (FE_UPWARD, FE_DOWNWARD): Don't define.
15009 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15010 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15011
15012 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15013 reading it.
15014 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15015 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15016
150172012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15018
15019 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15020 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15021 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15022 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15023
150242012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15025
15026 [BZ #14117]
15027 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15028 * sysdeps/i386/fpu/Implies: New file.
15029 * sysdeps/x86_64/fpu/Implies: Likewise.
15030 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15031 * sysdeps/x86/fpu/bits/fenv.h: This.
15032
15033 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15034 __SSE_MATH__.
15035
150362012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15037
15038 [BZ #14134]
15039 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15040 character 0xffff that matches the last element of the
15041 conversion table.
15042
150432012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15044
15045 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15046 fmodl commit.
15047
150482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15049
15050 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15051 values higher than 25.6283.
15052
150532012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15054
15055 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15056 subnormal exponent extraction and add some __builtin_expect.
15057 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15058 Fix for subnormal mantissa calculation.
15059
150602012-06-04 Mike Frysinger <vapier@gentoo.org>
15061
15062 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15063 cpu2 is -1 and errno is not ENOSYS.
15064
150652012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15066
15067 [BZ #14117]
15068 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15069 * sysdeps/x86/bits/string.h: This.
15070 * sysdeps/x86_64/bits/string.h: Removed.
15071
15072 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15073 if not compiling for x86-64, but compiling for >= i486.
15074
15075 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15076 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15077
15078 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15079 New macro from Linux kernel 3.4.0.
15080 (FP_XSTATE_MAGIC2): Likewise.
15081 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15082 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15083 (struct _fpx_sw_bytes): New struct.
15084 (struct _xsave_hdr): Likewise.
15085 (struct _ymmh_state): Likewise.
15086 (struct _xstate): Likewise.
15087
15088 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15089 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15090 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15091 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15092 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15093 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15094
15095 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15096 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15097 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15098 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15099 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15100 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15101
151022012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15103
15104 [BZ #13743]
15105 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15106 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15107 (sysdep_headers): Include sys/platform/ppc.h.
15108 * sysdeps/powerpc/test-gettimebase.c: Test for
15109 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15110 * manual/Makefile (appendices): Include platform.texi.
15111 * manual/contrib.texi (Contributors): Update @node pointers.
15112 * manual/maint.texi (Maintenance): Likewise.
15113 (Platform): New node.
15114 * manual/platform.texi: New file. Document the new features.
15115
151162012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15117 Jakub Jelinek <jakub@redhat.com>
15118
15119 [BZ #14188]
15120 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15121 where __builtin_expect is unavailable.
15122
151232012-06-03 David S. Miller <davem@davemloft.net>
15124
15125 * stdlib/longlong.h: Updated from GCC.
15126
151272012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15128
15129 [BZ #14042]
15130 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15131 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15132 __mcount_internal.
15133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15134 (GLIBC_2.16): Likewise.
15135
151362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15137
15138 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15139
151402012-06-01 Joseph Myers <joseph@codesourcery.com>
15141
15142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15143 (default-abi): New variable.
15144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15145 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15146 variable.
15147 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15148 Likewise.
15149 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15150 Likewise.
15151 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15152 Likewise.
15153
15154 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15155 definition. Document in comment.
15156
151572012-06-01 David S. Miller <davem@davemloft.net>
15158
15159 * stdlib/longlong.h: Updated from GCC.
15160
151612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15162
15163 [BZ #14117]
15164 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15165 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15166 sys/debugreg.h sys/io.h here.
15167 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15168 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15169 sys/io.h.
15170 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15171 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15172 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15173 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15174 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15175 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15176
15177 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15178 Define only if __x86_64__ is defined.
15179
151802012-06-01 Joseph Myers <joseph@codesourcery.com>
15181
15182 [BZ #14048]
15183 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15184 Use int64_t for variable i.
15185 * math/libm-test.inc (fmod_test): Add more tests.
15186
15187 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15188 z computation is not scheduled after fetestexcept.
15189 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15190 Use math_force_eval instead of asm to ensure calculation scheduled
15191 before exception test.
15192 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15193 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15194
151952012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15196
15197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15198 computation is not scheduled after fetestexcept.
15199
152002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15201
15202 [BZ #14117]
15203 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15204 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15205
152062012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15207
15208 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15209 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15210
152112012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15212
15213 [BZ #14117]
15214 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15215 <bits/wordsize.h>.
15216 (__WCHAR_MIN): Support __WORDSIZE == 64.
15217 (__WCHAR_MAX): Likewise.
15218
15219 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15220 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15221
15222 [BZ #14183]
15223 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15224 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15225
15226 [BZ #14117]
15227 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15228 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15229
15230 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15231 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15232
15233 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15234 Defined to 1 if __x86_64__ isn't defined.
15235 (_STAT_VER_LINUX_OLD): New.
15236 (st_atime): Remove duplicate.
15237 (st_mtime): Likewise.
15238 (st_ctime): Likewise.
15239
152402012-05-31 David S. Miller <davem@davemloft.net>
15241
15242 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15243 entries.
15244
152452012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15246
15247 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15248 gen-libm-test.pl.
15249
15250 [BZ #14132]
15251 * elf/dl-reloc.c: Include <_itoa.h>.
15252 (_dl_reloc_bad_type): Remove use of INTUSE.
15253 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15254 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15255 * stdio-common/psiginfo.c (psiginfo): Likewise.
15256 * stdio-common/psignal.c (psignal): Likewise.
15257 * string/strsignal.c (strsignal): Likewise.
15258 * include/signal.h (_sys_siglist): Declare hidden proto.
15259 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15260 INTVARDEF with libc_hidden_data_def.
15261 * stdio-common/itoa-udigits.c: Likewise.
15262 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15263 (_itoa_lower_digits_internal): Remove declaration.
15264 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15265 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15266 (_sys_sigabbrev_internal): Remove aliases.
15267 (_sys_siglist): Define hidden alias.
15268
152692012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15270
15271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15272 bits/sysctl.h.
15273
152742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15275
15276 [BZ #14117]
15277 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15278 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15279
15280 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15281 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15282 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15283 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15284 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15285 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15286
15287 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15288 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15289 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15290
15291 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15292 with __addr.
15293 (insw): Likewise.
15294 (insl): Likewise.
15295 (outsb): Likewise.
15296 (outsw): Likewise.
15297 (outsl): Likewise.
15298
15299 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15300 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15301 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15302
15303 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15304 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15305 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15306 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15307 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15308 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15309
15310 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15311 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15312
15313 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15314 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15315
15316 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15317 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15318 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15319
15320 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15321 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15322 to ...
15323 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15324
15325 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15326 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15327 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15328
15329 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15330 for x86-64.
15331 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15332
153332012-05-31 Joseph Myers <joseph@codesourcery.com>
15334
15335 * math/math.h (M_El): Use two more decimal places.
15336 (M_LOG2El): Likewise.
15337 (M_LOG10El): Likewise.
15338 (M_LN2l): Likewise.
15339 (M_LN10l): Likewise.
15340 (M_PIl): Likewise.
15341 (M_PI_2l): Likewise.
15342 (M_PI_4l): Likewise.
15343 (M_1_PIl): Likewise.
15344 (M_2_PIl): Likewise.
15345 (M_2_SQRTPIl): Likewise.
15346 (M_SQRT2l): Likewise.
15347 (M_SQRT1_2l): Likewise.
15348
153492012-05-31 David S. Miller <davem@davemloft.net>
15350
15351 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15352 values between float registers.
15353 * sysdeps/sparc/sparc64/memset.S: Likewise.
15354 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15355
153562012-05-31 Mike Frysinger <vapier@gentoo.org>
15357
15358 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15359 -D_FORTIFY_SOURCE=1.
15360 (CPPFLAGS-tst-longjmp_chk.c): Define.
15361 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15362 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15363 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15364 CFLAGS-tst-wchar-h.c.
15365
153662012-05-31 Marek Polacek <polacek@redhat.com>
15367
15368 [BZ #14132]
15369 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15370 __endmntent_internal): Remove declaration.
15371 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15372 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15373 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15374
153752012-05-30 David S. Miller <davem@davemloft.net>
15376
15377 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15378 (___Q_simulate_exceptions): Use real FP ops rather than writing
15379 into the %fsr.
15380 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15381 Likewise.
15382
153832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15384
15385 [BZ #14117]
15386 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15387 * sysdeps/x86/bits/xtitypes.h: This.
15388
15389 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15390 * sysdeps/x86/bits/wordsize.h: This.
15391
15392 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15393 * sysdeps/x86/bits/huge_vall.h: This.
15394
15395 * sysdeps/i386/bits/select.h: Removed.
15396 * sysdeps/x86_64/bits/select.h: Renamed to ...
15397 * sysdeps/x86/bits/select.h: This.
15398
15399 * sysdeps/i386/bits/setjmp.h: Removed.
15400 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15401 * sysdeps/x86/bits/setjmp.h: This.
15402
15403 * sysdeps/i386/bits/mathdef.h: Removed.
15404 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15405 * sysdeps/x86/bits/mathdef.h: This.
15406
154072012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15408
15409 [BZ #14132]
15410 * include/sys/socket.h (__connect_internal)
15411 (__libc_sa_len_internal): Remove declaration.
15412 (__connect, __libc_sa_len): Declare hidden_proto.
15413 (SA_LEN): Remove use of INTUSE.
15414 * socket/connect.c: Add libc_hidden_def.
15415 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15416 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15417 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15418 alias.
15419 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15420 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15421 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15422 of adding _internal alias.
15423
154242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15425
15426 [BZ #14117]
15427 * sysdeps/i386/bits/link.h: Removed.
15428 * sysdeps/i386/bits/linkmap.h: Likewise.
15429 * sysdeps/x86_64/bits/link.h: Renamed to ...
15430 * sysdeps/x86/bits/link.h: This.
15431 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15432 * sysdeps/x86/bits/linkmap.h: This.
15433
15434 * sysdeps/i386/bits/endian.h: Removed.
15435 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15436 * sysdeps/x86/bits/endian.h: This.
15437
15438 * sysdeps/i386/bits/byteswap.h: Removed.
15439 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15440 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15441 * sysdeps/x86/bits/byteswap.h: This.
15442 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15443 * sysdeps/x86/bits/byteswap-16.h: This.
15444 * sysdeps/i386/Implies: Add x86.
15445 * sysdeps/x86_64/Implies: Likewise.
15446
154472012-05-30 David S. Miller <davem@davemloft.net>
15448
15449 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15450 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15451 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15452 (FP_TRAPPING_EXCEPTIONS): Define.
15453 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15454 (FP_TRAPPING_EXCEPTIONS): Define.
15455 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15456 subnormals only when inexact has been signalled or underflow
15457 exceptions are enabled.
15458 (_FP_PACK_CANONICAL): Likewise.
15459
154602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15461
15462 [BZ #14183]
15463 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15464 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15465
154662012-05-30 Richard Henderson <rth@twiddle.net>
15467
15468 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15469 with #ifndef NOT_IN_libc.
15470
15471 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15472 marked to avoid plt entry.
15473
154742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15475
15476 [BZ #14112]
15477 * Makeconfig (default-abi): New macro.
15478 (abi-includes): Likewise.
15479 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15480 $(abi-$(default-abi)-lib-soname) for soname if defined.
15481 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15482 abi-variants.
15483 * Makefile (installed-stubs): Likewise.
15484 * include/stubs-biarch.h: Removed.
15485 * scripts/lib-names.awk: Only handle one library at a time.
15486 * scripts/soversions.awk: Remove WORDSIZE support.
15487 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15488 entries.
15489 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15490 Removed.
15491 (syscall-list-default-condition): Likewise.
15492 (syscall-list-default-condition): Likewise.
15493 (syscall-list-includes): Likewise.
15494 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15495 syscall-list-* with abi-*. Handle undefined abi-variants.
15496 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15497 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15498 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15499 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15500 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15501 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15502 Removed.
15503 (syscall-list-32-options): Likewise.
15504 (syscall-list-32-condition): Likewise.
15505 (syscall-list-64-options): Likewise.
15506 (syscall-list-64-condition): Likewise.
15507 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15508 macro.
15509 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15510 Renamed to ...
15511 (abi-*): This.
15512 (abi-64-ld-soname): New macro.
15513 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15514 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15515 Renamed to ...
15516 (abi-*): This.
15517 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15518 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15519
155202012-05-30 Joseph Myers <joseph@codesourcery.com>
15521
15522 * sysdeps/unix/sysv/linux/kernel-features.h
15523 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15524 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15525 include <kernel-features.h>.
15526 [!__NR_ftruncate64]: Remove conditional code.
15527 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15528 [__NR_ftruncate64]: Make code unconditional.
15529 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15530 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15531 include <kernel-features.h>.
15532 [!__NR_ftruncate64]: Remove conditional code.
15533 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15534 [__NR_ftruncate64]: Make code unconditional.
15535 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15537 include <kernel-features.h>.
15538 [!__NR_ftruncate64]: Remove conditional code.
15539 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15540 [__NR_ftruncate64]: Make code unconditional.
15541 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15543 include <kernel-features.h>.
15544 [!__NR_ftruncate64]: Remove conditional code.
15545 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15546 [__NR_ftruncate64]: Make code unconditional.
15547 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15548
15549 * configure.in (libc_cv_fpie): Weaken to a compile test using
15550 LIBC_TRY_CC_OPTION.
15551 * configure: Regenerated.
15552
155532012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15554
15555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15559 Refreshed.
15560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15566 Refreshed.
15567
155682012-05-27 David S. Miller <davem@davemloft.net>
15569
15570 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15571 (___Q_zero): New.
15572 (__Q_simulate_exceptions): Return void. Change to simulate
15573 exceptions by writing into the %fsr.
15574 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15575 (__Qp_handle_exceptions): Likewise.
15576 (numbers): Delete.
15577 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15578 __Qp_handle_exceptions.
15579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15580 __Qp_handle_exceptions.
15581 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15582 as unused and give dummy FP_RND_NEAREST initializer.
15583 (FP_INHIBIT_RESULTS): Define.
15584 (___Q_simulate_exceptions): Update declaration.
15585 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15586 formatting.
15587 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15588 as unused and give dummy FP_RND_NEAREST initializer.
15589 (__Qp_handle_exceptions): Update declaration.
15590 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15591 formatting.
15592
155932012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15594
15595 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15596 the temporary FPU control word.
15597 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15598 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15599 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15600 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15601 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15602 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15603 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15604 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15605 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15606 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15607 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15608
156092012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15610
15611 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15612 fields.
15613
156142012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15615
15616 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15617 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15618 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15619 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15620 Likewise.
15621 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15622 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15623 Likewise.
15624
156252012-05-27 Ulrich Drepper <drepper@gmail.com>
15626
15627 * po/h.po: Update from translation team.
15628
156292012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15630
15631 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15632
15633 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15634 handling of denormals.
15635 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15636 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15637 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15638 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15640 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15641 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15642 Likewise.
15643
156442012-05-26 Marek Polacek <polacek@redhat.com>
15645
15646 [BZ #14152]
15647 * math/libm-test.inc (fma_test): Don't always expect underflow
15648 exception.
15649
156502012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15651
15652 [BZ #12416]
15653 * elf/tst-execstack.c: Include stackinfo.h.
15654 (do_test): Adjust test case to ensure that pthread_getattr_np
15655 behaviour remains the same after marking stack executable.
15656
156572012-05-25 Joseph Myers <joseph@codesourcery.com>
15658
15659 * sysdeps/unix/sysv/linux/kernel-features.h
15660 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15661 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15662 kernel-features.h.
15663 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15664 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15665 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15666 kernel-features.h.
15667 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15668 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15669
156702012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15671
15672 * configure.in: Define the default includes to being none.
15673 * configure: Regenerated.
15674
156752012-05-25 Roland McGrath <roland@hack.frob.com>
15676
15677 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15678 * sysdeps/x86_64/setjmp.S: Likewise.
15679 * sysdeps/i386/bsd-setjmp.S: Likewise.
15680 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15681 * sysdeps/i386/setjmp.S: Likewise.
15682 * sysdeps/i386/__longjmp.S: Likewise.
15683 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15684 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15685
15686 * include/stap-probe.h: New file.
15687 * configure.in: Handle --enable-systemtap.
15688 * configure: Regenerated.
15689 * config.h.in (USE_STAP_PROBE): New #undef.
15690 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15691 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15692 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15693
156942012-05-25 Joseph Myers <joseph@codesourcery.com>
15695
15696 [BZ #13717]
15697 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15698 to 2.4.0 where earlier.
15699 * sysdeps/unix/sysv/linux/configure: Regenerated.
15700 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15701 <kernel-features.h>.
15702 [__ASSUME_32BITUIDS]: Make code unconditional.
15703 [!__ASSUME_32BITUIDS]: Remove conditional code.
15704 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15705 <kernel-features.h>.
15706 [__ASSUME_32BITUIDS]: Make code unconditional.
15707 [!__ASSUME_32BITUIDS]: Remove conditional code.
15708 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15709 [__ASSUME_32BITUIDS]: Make code unconditional.
15710 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15711 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15712 <kernel-features.h>.
15713 [__ASSUME_32BITUIDS]: Make code unconditional.
15714 [!__ASSUME_32BITUIDS]: Remove conditional code.
15715 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15716 <kernel-features.h>.
15717 [__ASSUME_32BITUIDS]: Make code unconditional.
15718 [!__ASSUME_32BITUIDS]: Remove conditional code.
15719 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15720 <kernel-features.h>.
15721 [__ASSUME_32BITUIDS]: Make code unconditional.
15722 [!__ASSUME_32BITUIDS]: Remove conditional code.
15723 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15724 <kernel-features.h>.
15725 [__ASSUME_32BITUIDS]: Make code unconditional.
15726 [!__ASSUME_32BITUIDS]: Remove conditional code.
15727 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15728 <kernel-features.h>.
15729 [__ASSUME_32BITUIDS]: Make code unconditional.
15730 [!__ASSUME_32BITUIDS]: Remove conditional code.
15731 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15732 <kernel-features.h>.
15733 [__ASSUME_32BITUIDS]: Make code unconditional.
15734 [!__ASSUME_32BITUIDS]: Remove conditional code.
15735 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15736 <kernel-features.h>.
15737 [__ASSUME_32BITUIDS]: Make code unconditional.
15738 [!__ASSUME_32BITUIDS]: Remove conditional code.
15739 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15740 <kernel-features.h>.
15741 [__ASSUME_32BITUIDS]: Make code unconditional.
15742 [!__ASSUME_32BITUIDS]: Remove conditional code.
15743 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15744 <kernel-features.h>.
15745 [__ASSUME_32BITUIDS]: Make code unconditional.
15746 [!__ASSUME_32BITUIDS]: Remove conditional code.
15747 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15748 <kernel-features.h>.
15749 [__ASSUME_32BITUIDS]: Make code unconditional.
15750 [!__ASSUME_32BITUIDS]: Remove conditional code.
15751 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15752 <kernel-features.h>.
15753 [__NR_setresgid] (__setresgid): Do not declare.
15754 [__ASSUME_32BITUIDS]: Make code unconditional.
15755 [!__ASSUME_32BITUIDS]: Remove conditional code.
15756 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15757 <kernel-features.h>.
15758 [__NR_setresuid] (__setresuid): Do not declare.
15759 [__ASSUME_32BITUIDS]: Make code unconditional.
15760 [!__ASSUME_32BITUIDS]: Remove conditional code.
15761 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15762 <kernel-features.h>.
15763 [__ASSUME_32BITUIDS]: Make code unconditional.
15764 [!__ASSUME_32BITUIDS]: Remove conditional code.
15765 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15766 <kernel-features.h>.
15767 [__ASSUME_32BITUIDS]: Make code unconditional.
15768 [!__ASSUME_32BITUIDS]: Remove conditional code.
15769 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15770 <kernel-features.h>.
15771 [__ASSUME_32BITUIDS]: Make code unconditional.
15772 [!__ASSUME_32BITUIDS]: Remove conditional code.
15773 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15774 <kernel-features.h>.
15775 [__ASSUME_32BITUIDS]: Make code unconditional.
15776 [!__ASSUME_32BITUIDS]: Remove conditional code.
15777 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15778 <kernel-features.h>.
15779 [__ASSUME_32BITUIDS]: Make code unconditional.
15780 [!__ASSUME_32BITUIDS]: Remove conditional code.
15781 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15782 <kernel-features.h>.
15783 [__ASSUME_32BITUIDS]: Make code unconditional.
15784 [!__ASSUME_32BITUIDS]: Remove conditional code.
15785 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15786 <kernel-features.h>.
15787 [__ASSUME_32BITUIDS]: Make code unconditional.
15788 [!__ASSUME_32BITUIDS]: Remove conditional code.
15789 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15790 <kernel-features.h>.
15791 [__ASSUME_32BITUIDS]: Make code unconditional.
15792 [!__ASSUME_32BITUIDS]: Remove conditional code.
15793 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15794 <kernel-features.h>.
15795 [__ASSUME_32BITUIDS]: Make code unconditional.
15796 [!__ASSUME_32BITUIDS]: Remove conditional code.
15797 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15798 <kernel-features.h>.
15799 [__ASSUME_32BITUIDS]: Make code unconditional.
15800 [!__ASSUME_32BITUIDS]: Remove conditional code.
15801 * sysdeps/unix/sysv/linux/kernel-features.h
15802 (__ASSUME_SETRESUID_SYSCALL): Remove.
15803 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15804 (__ASSUME_32BITUIDS): Likewise.
15805 (__ASSUME_LDT_WORKS): Likewise.
15806 (__ASSUME_O_DIRECTORY): Likewise.
15807 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15808 architecture but not kernel version.
15809 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15810 (__ASSUME_MMAP2_SYSCALL): Likewise.
15811 (__ASSUME_STAT64_SYSCALL): Likewise.
15812 (__ASSUME_IPC64): Likewise.
15813 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15814 <kernel-features.h>.
15815 [__ASSUME_32BITUIDS]: Make code unconditional.
15816 [!__ASSUME_32BITUIDS]: Remove conditional code.
15817 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15818 <kernel-features.h>.
15819 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15820 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15821 132096]: Remove conditional code.
15822 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15823 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15824 <kernel-features.h>.
15825 [__ASSUME_32BITUIDS]: Make code unconditional.
15826 [!__ASSUME_32BITUIDS]: Remove conditional code.
15827 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15828 <kernel-features.h>.
15829 [__ASSUME_32BITUIDS]: Make code unconditional.
15830 [!__ASSUME_32BITUIDS]: Remove conditional code.
15831 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15832 <kernel-features.h>.
15833 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15834 unconditional.
15835 (__setresgid): Do not declare.
15836 [__ASSUME_32BITUIDS]: Make code unconditional.
15837 [!__ASSUME_32BITUIDS]: Remove conditional code.
15838 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15839 <kernel-features.h>.
15840 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15841 unconditional.
15842 (__setresuid): Do not declare.
15843 [__ASSUME_32BITUIDS]: Make code unconditional.
15844 [!__ASSUME_32BITUIDS]: Remove conditional code.
15845 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15846 <kernel-features.h>.
15847 [__ASSUME_32BITUIDS]: Make code unconditional.
15848 [!__ASSUME_32BITUIDS]: Remove conditional code.
15849 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15850 <kernel-features.h>.
15851 [__ASSUME_32BITUIDS]: Make code unconditional.
15852 [!__ASSUME_32BITUIDS]: Remove conditional code.
15853
158542012-05-25 Richard Henderson <rth@twiddle.net>
15855
15856 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15857 dl_hwcap to ifunc resolver.
15858 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15859 elf_ifunc_invoke.
15860 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15861 dl_hwcap to ifunc resolver.
15862 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15863
158642012-05-24 Joseph Myers <joseph@codesourcery.com>
15865
15866 [BZ #14153]
15867 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15868 for |x| <= 2**-26, not 2**-57.
15869 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15870 exception.
15871
158722012-05-24 Jeff Law <law@redhat.com>
15873
15874 * stdio-common/Makefile (tests): Add bug25.
15875 * stdio-common/bug25.c: New test.
15876
158772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15878
15879 [BZ #13576]
15880 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15881 multiple of MALLOC_ALIGNMENT in size.
15882 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15883
158842012-05-24 Joseph Myers <joseph@codesourcery.com>
15885
15886 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15887 Require >= 256.
15888 (FILENAME_MAX): Use macro-int-constant.
15889 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15890 (_IOFBF): Use macro-int-constant.
15891 (_IOLBF): Likewise.
15892 (_IONBF): Likewise.
15893 (SEEK_CUR): Likewise.
15894 (SEEK_END): Likewise.
15895 (SEEK_SET): Likewise.
15896 (TMP_MAX): Likewise.
15897 (EOF): Use macro-int-constant. Require < 0.
15898 (NULL): Use macro-constant. Require == 0.
15899 (stdin): Require type to be FILE *.
15900 (stdout): Likewise.
15901 (stderr): Likewise.
15902 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15903 macro-int-constant.
15904 (EXIT_SUCCESS): Likewise.
15905 (NULL): Use macro-constant. Require == 0.
15906 (RAND_MAX): Use macro-int-constant.
15907 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15908 [C99-based standards] (strtof): Require function.
15909 [C99-based standards] (strtold): Likewise.
15910 [C99-based standards] (strtoll): Likewise.
15911 [C99-based standards] (strtoull): Likewise.
15912 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15913 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15914 [ISO || ISO99 || ISO11] (math.h): Likewise.
15915 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15916 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15917 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15918
159192012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15920
15921 [BZ #14132]
15922 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15923 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15924 * intl/dgettext.c (DCGETTEXT): Likewise.
15925 * intl/gettext.c (DCGETTEXT): Likewise.
15926 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15927 * posix/regex_internal.h (gettext): Likewise.
15928 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15929 Remove declaration.
15930 * include/argz.h (__argz_count_internal)
15931 (__argz_stringify_internal): Remove declaration.
15932 (__argz_count, __argz_stringify): Declare hidden proto.
15933 * intl/dcgettext.c: Remove use of INTDEF.
15934 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15935 * string/argz-stringify.c: Likewise.
15936 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15937 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15938 Declare hidden proto.
15939 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15940 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15941 Declare hidden proto.
15942 * include/stdio.h (__asprintf_internal): Don't declare.
15943 (__asprintf): Don't define as macro. Declare hidden proto.
15944 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15945 (__fsetlocking): Declare hidden proto.
15946 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15947 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15948 hidden proto.
15949 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15950 (_IO_setlinebuf): Remove use of INTUSE.
15951 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15952 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15953 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15954 Remove declaration.
15955 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15956 (_IO_do_flush): Remove use of INTUSE.
15957 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15958 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15959 (_IO_adjust_column, _IO_least_wmarker)
15960 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15961 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15962 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15963 (_IO_default_doallocate, _IO_wdefault_doallocate)
15964 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15965 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15966 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15967 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15968 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15969 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15970 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15971 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15972 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15973 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15974 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15975 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15976 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15977 proto.
15978 (_IO_flush_all_internal, _IO_adjust_column_internal)
15979 (_IO_default_uflow_internal, _IO_default_finish_internal)
15980 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15981 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15982 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15983 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15984 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15985 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15986 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15987 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15988 (_IO_file_close_internal, _IO_file_close_it_internal)
15989 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15990 (_IO_file_init_internal, _IO_file_attach_internal)
15991 (_IO_file_fopen_internal, _IO_file_read_internal)
15992 (_IO_file_sync_internal, _IO_file_seek_internal)
15993 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15994 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15995 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15996 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15997 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15998 (_IO_list_all_internal, _IO_link_in_internal)
15999 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16000 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16001 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16002 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16003 (_IO_do_write_internal, _IO_padn_internal)
16004 (_IO_getline_info_internal, _IO_getline_internal)
16005 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16006 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16007 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16008 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16009 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16010 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16011 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16012 with libc_hidden_ver, remove use of INTUSE.
16013 * libio/genops.c: Likewise.
16014 * libio/freopen.c: Likewise.
16015 * libio/freopen64.c: Likewise.
16016 * libio/iofclose.c: Likewise.
16017 * libio/iofdopen.c: Likewise.
16018 * libio/iofflush.c: Likewise.
16019 * libio/iofflush_u.c: Likewise.
16020 * libio/iofgets.c: Likewise.
16021 * libio/iofgets_u.c: Likewise.
16022 * libio/iofopen.c: Likewise.
16023 * libio/iofopncook.c: Likewise.
16024 * libio/iofread.c: Likewise.
16025 * libio/iofread_u.c: Likewise.
16026 * libio/ioftell.c: Likewise.
16027 * libio/iofwrite.c: Likewise.
16028 * libio/iogetline.c: Likewise.
16029 * libio/iogets.c: Likewise.
16030 * libio/iogetwline.c: Likewise.
16031 * libio/iopadn.c: Likewise.
16032 * libio/iopopen.c: Likewise.
16033 * libio/ioseekoff.c: Likewise.
16034 * libio/ioseekpos.c: Likewise.
16035 * libio/iosetbuffer.c: Likewise.
16036 * libio/iosetvbuf.c: Likewise.
16037 * libio/ioungetc.c: Likewise.
16038 * libio/ioungetwc.c: Likewise.
16039 * libio/iovdprintf.c: Likewise.
16040 * libio/iovsprintf.c: Likewise.
16041 * libio/iovsscanf.c: Likewise.
16042 * libio/memstream.c: Likewise.
16043 * libio/obprintf.c: Likewise.
16044 * libio/oldfileops.c: Likewise.
16045 * libio/oldiofclose.c: Likewise.
16046 * libio/oldiofdopen.c: Likewise.
16047 * libio/oldiofopen.c: Likewise.
16048 * libio/oldiopopen.c: Likewise.
16049 * libio/oldstdfiles.c: Likewise.
16050 * libio/putc.c: Likewise.
16051 * libio/setbuf.c: Likewise.
16052 * libio/setlinebuf.c: Likewise.
16053 * libio/stdfiles.c: Likewise.
16054 * libio/strops.c: Likewise.
16055 * libio/vasprintf.c: Likewise.
16056 * libio/vscanf.c: Likewise.
16057 * libio/vsnprintf.c: Likewise.
16058 * libio/vswprintf.c: Likewise.
16059 * libio/wfiledoalloc.c: Likewise.
16060 * libio/wfileops.c: Likewise.
16061 * libio/wgenops.c: Likewise.
16062 * libio/wmemstream.c: Likewise.
16063 * libio/wstrops.c: Likewise.
16064 * libio/__fpurge.c: Likewise.
16065 * libio/__fsetlocking.c: Likewise.
16066 * assert/assert.c: Likewise.
16067 * debug/fgets_chk.c: Likewise.
16068 * debug/fgets_u_chk.c: Likewise.
16069 * debug/fread_chk.c: Likewise.
16070 * debug/fread_u_chk.c: Likewise.
16071 * debug/gets_chk.c: Likewise.
16072 * debug/obprintf_chk.c: Likewise.
16073 * debug/vasprintf_chk.c: Likewise.
16074 * debug/vdprintf_chk.c: Likewise.
16075 * debug/vsnprintf_chk.c: Likewise.
16076 * debug/vsprintf_chk.c: Likewise.
16077 * malloc/mtrace.c: Likewise.
16078 * misc/error.c: Likewise.
16079 * misc/syslog.c: Likewise.
16080 * stdio-common/asprintf.c: Likewise.
16081 * stdio-common/fxprintf.c: Likewise.
16082 * stdio-common/getw.c: Likewise.
16083 * stdio-common/isoc99_fscanf.c: Likewise.
16084 * stdio-common/isoc99_scanf.c: Likewise.
16085 * stdio-common/isoc99_vfscanf.c: Likewise.
16086 * stdio-common/isoc99_vscanf.c: Likewise.
16087 * stdio-common/isoc99_vsscanf.c: Likewise.
16088 * stdio-common/printf-prs.c: Likewise.
16089 * stdio-common/printf_fp.c: Likewise.
16090 * stdio-common/printf_fphex.c: Likewise.
16091 * stdio-common/printf_size.c: Likewise.
16092 * stdio-common/putw.c: Likewise.
16093 * stdio-common/scanf.c: Likewise.
16094 * stdio-common/sprintf.c: Likewise.
16095 * stdio-common/tmpfile.c: Likewise.
16096 * stdio-common/vfprintf.c: Likewise.
16097 * stdio-common/vfscanf.c: Likewise.
16098 * stdlib/strfmon_l.c: Likewise.
16099 * sunrpc/openchild.c: Likewise.
16100 * sunrpc/xdr_stdio.c: Likewise.
16101 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16102 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16103
161042012-05-24 Roland McGrath <roland@hack.frob.com>
16105
16106 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16107
16108 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16109 in the third column, to generate for the shared library an IFUNC
16110 that uses _dl_vdso_vsym.
16111 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16112 * Makeconfig (object-suffixes-noshared): New variable.
16113
16114 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16115 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16116 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16117 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16118
16119 [BZ #14132]
16120 * include/sys/time.h (__gettimeofday): Remove macro.
16121 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16122 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16123 Remove INTDEF.
16124 (__gettimeofday): Add libc_hidden_def.
16125 (gettimeofday): Add libc_hidden_weak.
16126 * sysdeps/mach/gettimeofday.c: Likewise.
16127 * sysdeps/posix/gettimeofday.c: Likewise.
16128 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16129 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16130 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16131 (__gettimeofday_internal): Remove strong_alias.
16132 (__gettimeofday): Add libc_hidden_def.
16133 (gettimeofday): Add libc_hidden_weak.
16134 * sysdeps/unix/syscalls.list (gettimeofday):
16135 Remove __gettimeofday_internal alias.
16136
161372012-05-24 Daniel Jacobowitz <drow@false.org>
16138 H.J. Lu <hongjiu.lu@intel.com>
16139
16140 [BZ #12495]
16141 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16142 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16143 (largebin_index_32_big): New.
16144 (largebin_index): Use it for 16-byte alignment.
16145 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16146 correction with front_misalign.
16147
161482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16149
16150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16152 Likewise.
16153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16154 Likewise.
16155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16156 Likewise.
16157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16158 Likewise.
16159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16160 Likewise.
16161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16162 Likewise.
16163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16164 Likewise.
16165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16166 Likewise.
16167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16168 Likewise.
16169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16170 Likewise.
16171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16172 Likewise.
16173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16174 Likewise.
16175
16176 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16177 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16178
161792012-05-24 Joseph Myers <joseph@codesourcery.com>
16180
16181 [BZ #10846]
16182 [BZ #14036]
16183 * math/libm-test.inc (exp_test): Add test from bug 14036.
16184 (pow_test): Add test from bug 10846.
16185
16186 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16187 and other flags.
16188 (special_function): Do not include flags in test name.
16189 (parse_args): Likewise.
16190 * sysdeps/i386/fpu/libm-test-ulps: Update.
16191 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16192 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16193 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16195
16196 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16197 exceptions.
16198 * math/libm-test.inc ("Philosophy"): Update comment about
16199 exception testing.
16200 (UNDERFLOW_EXCEPTION): New macro.
16201 (UNDERFLOW_EXCEPTION_OK): Likewise.
16202 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16203 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16204 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16205 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16206 (INVALID_EXCEPTION_OK): Update value.
16207 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16208 (OVERFLOW_EXCEPTION_OK): Likewise.
16209 (IGNORE_ZERO_INF_SIGN): Likewise.
16210 (test_exceptions): Handle underflow exceptions.
16211 (acos_test): Update for underflow exception expectations.
16212 (cexp_test): Likewise.
16213 (clog_test): Likewise.
16214 (clog10_test): Likewise.
16215 (csqrt_test): Likewise.
16216 (ctan_test): Likewise.
16217 (ctanh_test): Likewise.
16218 (exp_test): Likewise.
16219 (exp10_test): Likewise.
16220 (exp2_test): Likewise.
16221 (expm1_test): Likewise.
16222 (fma_test): Likewise.
16223 (j0_test): Likewise.
16224 (jn_test): Likewise.
16225 (nexttoward_test): Likewise.
16226 (pow_test): Likewise.
16227 (scalbn_test): Likewise.
16228 (scalbln_test): Likewise.
16229 (tan_test): Likewise.
16230 (y1_test): Likewise.
16231 * sysdeps/i386/fpu/libm-test-ulps: Update.
16232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16233
162342012-05-23 David S. Miller <davem@davemloft.net>
16235
16236 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16237 (__libc_sigaction): Remove unused local variables.
16238
162392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16240
16241 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16242
162432012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16244
16245 mktime: avoid signed integer overflow
16246 * time/mktime.c (__mktime_internal): Do not mishandle the case
16247 where diff == INT_MIN.
16248
16249 mktime: simplify computation of average
16250 * time/mktime.c (ranged_convert): Use new time_t_avg function
16251 instead of rolling our own (probably-slower) code.
16252
16253 mktime: do not assume signed right shift propagates sign bit
16254 * time/mktime.c (isdst_differ): New static function.
16255 (__mktime_internal): No need to normalize tm_isdst now.
16256 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16257 tm_isdst values.
16258
16259 mktime: merge another wrapv change from gnulib
16260 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16261 from some compilers.
16262
16263 mktime: remove incorrect attempt at unusual arithmetics
16264 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16265 The code didn't really work on such machines anyway.
16266 (TYPE_MINIMUM): Assume two's complement.
16267 (twos_complement_arithmetic): Verify that long_int and time_t
16268 are two's complement (or unsigned, in the latter case).
16269
16270 mktime: check signed shifts on long_int and time_t, too
16271 * time/mktime.c (SHR): Check that shifts work as desired
16272 on the types long_int and time_t too, as SHR is used on
16273 such types.
16274
16275 mktime: do not assume 'long' is wide enough
16276 * time/mktime.c (verify): Move decl up.
16277 (long_int): New type.
16278 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16279 to remove assumption in the code that 'long' is wide enough to
16280 store year values. This assumption is not true on x32 and on
16281 some non-glibc platforms.
16282
16283 mktime: merge wrapv change from gnulib
16284 * time/mktime.c (WRAPV): New macro.
16285 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16286 (guess_time_tm, __mktime_internal): Do not assume that signed
16287 integer overflow wraps around; modern compilers generate code
16288 where this assumption is no longer valid.
16289
162902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16291
16292 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16293 Replace "jmp L(pseudo_end)" with "ret".
16294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16295 Likewise.
16296
162972012-05-23 Andreas Jaeger <aj@suse.de>
16298
16299 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16300 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16301
163022012-05-23 Andreas Jaeger <aj@suse.de>
16303 Maximilian Attems <max@stro.at>
16304
16305 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16306 New macros.
16307
163082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16309
16310 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16311 code so that pseudo_end is just ret and the stack pointer is
16312 correct also for static library in error case.
16313
163142012-05-23 Joseph Myers <joseph@codesourcery.com>
16315
16316 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16317 move to syscalls.list.
16318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16322
16323 * manual/install.texi (Running make install): Do not mention Linux
16324 kernel version for which pt_chown is not needed.
16325 (Linux): Do not mention problems with nscd with 2.0 kernels.
16326 * INSTALL: Regenerated.
16327
163282012-05-23 Andreas Jaeger <aj@suse.de>
16329
16330 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16331 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16332 macro.
16333 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16334 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16335 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16336 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16337 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16338 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16339 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16340 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16341 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16342 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16343 * sysdeps/unix/sysv/linux/bits/in.h
16344 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16345
163462012-05-22 Roland McGrath <roland@hack.frob.com>
16347
16348 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16349 (PREPARE_VERSION): Just use assert instead, it will be elided
16350 under [NDEBUG] anyway.
16351
163522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16353
16354 * sysdeps/unix/sysv/linux/Makefile: Include
16355 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16356 (sysdep_routines): Remove sysctl.
16357 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16358 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16359 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16360 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16361 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16362
163632012-05-22 Andreas Jaeger <aj@suse.de>
16364
16365 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16366 that pseudo_end is just ret and the stack pointer is correct also
16367 for static library in error case.
16368
163692012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16370
16371 [BZ #14122]
16372 * nss/nsswitch.c (defconfig_entries): New variable.
16373 (__nss_database_lookup): Don't leak defconfig entries.
16374 (nss_parse_service_list): Don't leak on error paths.
16375 (free_database_entries): New function.
16376 (free_defconfig): New function.
16377 (free_mem): Move common code to free_database_entries.
16378
163792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16380
16381 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16382 Add arch_prctl.
16383 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16384
16385 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16386 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16388 New macro.
16389 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16390 (INTERNAL_SYSCALL_TYPES): Likewise.
16391 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16392 (LOAD_REGS_TYPES_[1-6]): Likewise.
16393 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16394 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16395
163962012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16397
16398 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16399 copysignl for GLIBC_2_0.
16400 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16401 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16402 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16403 logbl for GLIBC_2_0.
16404 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16405 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16406
164072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16408
16409 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16410 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16411
16412 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16413 Use "neg %eax".
16414
16415 * time/mktime.c: Update copyright years.
16416
164172012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16418
16419 mktime: merge comment-quoting-style change from gnulib
16420 * time/mktime.c: Quote 'like this' in comments.
16421 The GNU coding standards suggest that we no longer quote `like this',
16422 as "`" and "'" are typically rendered asymmetrically nowadays.
16423 The typical gnulib style is to quote 'like this' when quoting
16424 code, and "like this" when quoting English.
16425
16426 * time/mktime.c (compile-command): Add "-I.".
16427
16428 mktime: merge mktime-internal.h change from gnulib
16429 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16430
16431 mktime: merge time_r change from gnulib
16432 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16433
16434 mktime: merge DEBUG change from gnulib
16435 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16436 case system <time.h> has a #define.
16437
16438 mktime: merge <sys/types.h> change from gnulib
16439 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16440 since <time.t> is now guaranteed to define time_t.
16441
16442 mktime: merge HAVE_CONFIG_H change from gnulib
16443 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16444
164452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16446
16447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16448 Use "neg %eax".
16449
16450 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16451 __rlim_t cast.
16452 (struct rusage): Use anonymous union to pad each field to
16453 __syscall_slong_t.
16454
164552012-05-21 David S. Miller <davem@davemloft.net>
16456
16457 * Makefules (o-iterator): Remove .s cases.
16458 (compile-command.s): Delete.
16459 (COMPILE.s): Delete.
16460 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16461
164622012-05-21 Joseph Myers <joseph@codesourcery.com>
16463
16464 * configure.in (libc_cv_predef_stack_protector): Only consider
16465 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16466 * configure: Regenerated.
16467
164682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16469
16470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16471 New macro. Use R*LP on int and pointer.
16472 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16473 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16474 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16475 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16476
16477 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16478 [__WORDSIZE_TIME64_COMPAT32] instead of
16479 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16480 (struct utmp): Likewise.
16481 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16482 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16483 Renamed to ...
16484 (__WORDSIZE_TIME64_COMPAT32): This.
16485 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16486 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16487 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16488 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16489 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16490 (__WORDSIZE_TIME64_COMPAT32): New macro.
16491
164922012-05-21 Andreas Jaeger <aj@suse.de>
16493
16494 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16495 only if [SHARED]. Add prototype for __wcschr_ia32.
16496
164972012-05-21 Roland McGrath <roland@hack.frob.com>
16498
16499 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16500 of %rbp unmolested in the jmp_buf while mangling the low bits.
16501 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16502 unmolested high bits of %rbp while demangling the low bits.
16503 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16504
165052012-05-21 Andreas Jaeger <aj@suse.de>
16506
16507 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16508 * sunrpc/svc_simple.c: Use it for registerrpc.
16509 * sunrpc/xcrypt.c: Use it for passwd2des.
16510
16511 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16512
165132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16514
16515 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16516 Don't define if [__SYSCALL_WORDSIZE != 32].
16517 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16518 New macro.
16519
165202012-05-21 Bruno Haible <bruno@clisp.org>
16521 Andreas Jaeger <aj@suse.de>
16522
16523 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16524 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16525 inptr and inend for must_buffer_ch.
16526 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16527 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16528 * stdio-common/Makefile (tests): Remove bug15.
16529 (bug15-ENV): Remove macro.
16530 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16531 anymore.
16532
165332012-05-19 Andreas Jaeger <aj@suse.de>
16534 Roland McGrath <roland@hack.frob.com>
16535
16536 * manual/contrib.texi: Completely rewritten. It contains now an
16537 alphabetical list of contributors and their contributions.
16538
165392012-05-21 Richard Henderson <rth@twiddle.net>
16540
16541 * misc/getauxval.c (__getauxval): Use unsigned long int.
16542 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16543 (getauxval): Use unsigned long int.
16544
165452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16546
16547 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16548
165492012-05-21 Roland McGrath <roland@hack.frob.com>
16550
16551 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16552 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16553 __alignof__ (long double).
16554
165552012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16556
16557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16558
165592012-05-20 Richard Henderson <rth@twiddle.net>
16560
16561 * misc/getauxval.c: New file.
16562 * misc/sys/auxv.h: New file.
16563 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16564 (routines): Add getauxval.
16565 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16566 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16567 * elf/dl-sysdep.c (_dl_auxv): Remove.
16568 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16569 * elf/dl-support.c (_dl_auxv): New variable.
16570 (_dl_aux_init): Initialize it.
16571 * manual/startup.texi (Auxiliary Vector): New node.
16572 * sysdeps/generic/bits/hwcap.h: New file.
16573 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16574 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16575 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16576 * sysdeps/sparc/sysdep.h: ... here. Include it.
16577 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16578 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16580 Update.
16581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16584 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16589
165902012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16591
16592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16593
165942012-05-19 David S. Miller <davem@davemloft.net>
16595
16596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16597
165982012-05-19 Joseph Myers <joseph@codesourcery.com>
16599
16600 [BZ #14123]
16601 * math/s_ccosh.c: Include <float.h>
16602 (__ccosh): Avoid internal overflow calculating sinh and cosh
16603 values before multiplying by sin and cos values.
16604 * math/s_ccoshf.c: Likewise.
16605 * math/s_ccoshl.c: Likewise.
16606 * math/s_csin.c: Likewise.
16607 * math/s_csinf.c: Likewise.
16608 * math/s_csinl.c: Likewise.
16609 * math/s_csinh.c: Likewise.
16610 * math/s_csinhf.c: Likewise.
16611 * math/s_csinhl.c: Likewise.
16612 * math/libm-test.inc (ccos_test): Add more tests.
16613 (ccosh_test): Likewise.
16614 (csin_test): Likewise.
16615 (csinh_test): Likewise.
16616 * sysdeps/i386/fpu/libm-test-ulps: Update.
16617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16618
166192012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16620
16621 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16622 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16623
16624 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16625
166262012-05-19 Joseph Myers <joseph@codesourcery.com>
16627
16628 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16629 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16630 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16631 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16632 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16633 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16634 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16635 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16636 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16637 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16638 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16639 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16640 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16641 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16642 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16643 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16644 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16645 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16646 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16647 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16648 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16649 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16650 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16651 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16652 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16653 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16654 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16655 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16656 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16657 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16658 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16659
166602012-05-18 Andreas Jaeger <aj@suse.de>
16661
16662 * csu/.gitignore: Delete.
16663
166642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16665
16666 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16667 (timex): Use __syscall_slong_t.
16668
166692012-05-18 Andreas Jaeger <aj@suse.de>
16670 Carlos O'Donell <carlos_odonell@mentor.com>
16671
16672 * manual/install.texi (Configuring and compiling): Update
16673 description about files modified in the source directory.
16674 * INSTALL: Regenerated.
16675
166762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16677
16678 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16679 value. Use "or" to set return value to -1.
16680 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16681 negate return value.
16682
166832012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16684
16685 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16686 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16687 failure if the compiler has Graphite support disabled.
16688 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16689 Likewise.
16690 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16691 CFLAGS-memmove.c): Likewise.
16692 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16693 Likewise.
16694
166952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16696
16697 * sysdeps/x86_64/x32/_itoa.h: New file.
16698
16699 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16700 getdents system call only if kernel and user dirents have the
16701 same d_ino and d_off.
16702
16703 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16704 LLONG_MAX != LONG_MAX.
16705 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16706 (_fitoa_word): Likewise.
16707
16708 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16709 years.
16710 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16711 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16712 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16713
16714 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16715 include <bits/wordsize.h>. Check __x86_64__ instead of
16716 __WORDSIZE.
16717 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16718 if __x86_64__ is defined. Use anonymous union on fpstate.
16719
16720 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16721 anonymous union.
16722
167232012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16724
16725 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16726 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16727 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16728 Refer to _rtld_local_ro instead of _rtld_global_ro.
16729 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16730 Likewise.
16731 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16732 Likewise.
16733 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16734 Likewise.
16735 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16736 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16737 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16738
16739 * sysdeps/powerpc/powerpc32/dl-machine.c
16740 (__elf_machine_runtime_setup) [PROF]: Don't reference
16741 _dl_prof_resolve.
16742
167432012-05-18 Andreas Jaeger <aj@suse.de>
16744
16745 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16746 function only available for GCCs before 3.4 since GCC 3.4
16747 introduced a builtin.
16748 (lrint): Likewise.
16749 (llrintf): Likewise.
16750 (llrint): Likewise.
16751 (fmaxf): Likewise.
16752 (fmax): Likewise.
16753 (fminf): Likewise.
16754 (fmin): Likewise.
16755 (rint): Likewise.
16756 (rintf): Likewise.
16757 (nearbyint): Likewise.
16758 (nearbyintf): Likewise.
16759 (ceil): Likewise.
16760 (ceilf): Likewise.
16761 (floor): Likewise.
16762 (floorf): Likewise.
16763
167642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16765
16766 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16767 on both fields and cast pointer to __syscall_ulong_t.
16768
16769 * bits/types.h (__fsword_t): New type.
16770 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16771 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16772 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16773 (__FSWORD_T_TYPE): Likewise.
16774 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16775 (__FSWORD_T_TYPE): Likewise.
16776 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16777 (__FSWORD_T_TYPE): Likewise.
16778 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16779 (__FSWORD_T_TYPE): Likewise.
16780 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16781 __SWORD_TYPE with __fsword_t.
16782 (statfs64): Likewise.
16783
167842012-05-17 David S. Miller <davem@davemloft.net>
16785
16786 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16787
167882012-05-17 Andreas Jaeger <aj@suse.de>
16789
16790 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16791 warning.
16792
167932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16794
16795 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16796
167972012-05-17 Andreas Jaeger <aj@suse.de>
16798
16799 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16800 when it is used.
16801
168022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16803
16804 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16805
168062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16807
16808 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16809 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16810
168112012-05-17 Andreas Jaeger <aj@suse.de>
16812 Carlos O'Donell <carlos_odonell@mentor.com>
16813
16814 [BZ #14059]
16815 * sysdeps/x86_64/multiarch/init-arch.h
16816 (bit_YMM_Usable): Rename to...
16817 (bit_AVX_Usable): ... this.
16818 (bit_FMA4_Usable): New macro.
16819 (bit_XMM_state): New macro.
16820 (bit_YMM_state): New macro.
16821 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16822 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16823 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16824 (CPUID_OSXSAVE): New macro.
16825 (CPUID_AVX): New macro.
16826 (CPUID_FMA4): New macro.
16827 (index_YMM_Usable): Rename to...
16828 (index_AVX_Usable): ... this.
16829 (HAS_AVX): Use HAS_ARCH_FEATURE.
16830 (HAS_FMA4): Likewise.
16831 (HAS_YMM_USABLE): Remove.
16832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16833 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16834 are present.
16835 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16836 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16837 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16838 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16839 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16840
168412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16842
16843 * math/libm-test.c: Support platforms without multiple rounding modes.
16844 * math/bug-nextafter.c: Support platforms without FP exceptions.
16845 * math/bug-nexttoward.c: Likewise.
16846 * math/test-fenv.c: Likewise.
16847 * math/test-misc.c: Likewise.
16848 * stdlib/bug-getcontext.c: Likewise.
16849
168502012-05-17 Andreas Jaeger <aj@suse.de>
16851
16852 * manual/examples/search.c (critter_cmp): Change signature to
16853 avoid warnings.
16854 * manual/string.texi (Collation Functions): Likewise.
16855
168562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16857
16858 * bits/types.h: Fold copyright years.
16859 * bits/typesizes.h: Likewise.
16860 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16861 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16862 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16863 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16864 * time/time.h: Likewise.
16865
168662012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16867
16868 [BZ #208]
16869 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16870 in instead of returning them. Return void.
16871 (__libc_mallinfo): Accumulate over all arenas.
16872 (__malloc_stats): Adjust for change in int_mallinfo interface.
16873
168742012-05-16 Roland McGrath <roland@hack.frob.com>
16875
16876 [BZ #10375]
16877 * configure.in (NM): Add AC_CHECK_TOOL for it.
16878 (libc_extra_cflags): New substituted variable.
16879 Check for -fstack-protector being used implicitly.
16880 * configure: Regenerated.
16881 * config.make.in (config-extra-cflags): New variable,
16882 gets @libc_extra_cflags@.
16883 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16884
16885 [BZ #10375]
16886 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16887 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16888 * configure: Regenerated.
16889 * config.make.in (CPPUNDEFS): New substituted variable.
16890 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16891 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16892 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16893
168942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16895
16896 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16897 (mq_attr): Use __syscall_slong_t.
16898
168992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16900
16901 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16902 Check __x86_64__ instead of __WORDSIZE.
16903 (_STAT_VER_LINUX): Likewise.
16904 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16905 __syscall_ulong_t and __syscall_slong_t.
16906 (stat64): Likewise.
16907
169082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16909
16910 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16911
169122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16913
16914 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16915
169162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16917
16918 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16919 __syscall_ulong_t.
16920
16921 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16922 include <bits/wordsize.h>. Check __x86_64__ instead of
16923 __WORDSIZE.
16924 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16925 defined.
16926 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16927
16928 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16929 include <bits/wordsize.h>. Check __x86_64__ instead of
16930 __WORDSIZE.
16931 (user_regs_struct): Use "__extension__ unsigned long long"
16932 instead of "unsigned long" if __x86_64__ is defined.
16933 (user): Likewise. Pad after pointer field if __ILP32__ is
16934 defined.
16935
169362012-05-16 Joseph Myers <joseph@codesourcery.com>
16937
16938 * configure.in (makeinfo): Require version 4.5 or later. Allow
16939 versions 5 to 9.
16940 * configure: Regenerated.
16941 * manual/install.texi (texinfo): Increase version requirement to
16942 4.5 or later.
16943 * INSTALL: Regenerated.
16944
16945 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16946
169472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16948
16949 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16950
16951 * sysdeps/x86_64/x32/ffs.c: New file.
16952
16953 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16954 __syscall_ulong_t.
16955 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16956 defined. Use __syscall_ulong_t.
16957 (shminfo): Use __syscall_ulong_t.
16958 (shm_info): Likewise.
16959
16960 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16961 __syscall_ulong_t.
16962
16963 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16964 <bits/wordsize.h>.
16965 (msgqnum_t): Use __syscall_ulong_t.
16966 (msglen_t): Likewise.
16967 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16968 __syscall_ulong_t.
16969
16970 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16971 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16972
16973 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16974
16975 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16976 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16977
16978 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16979 __syscall_slong_t.
16980
16981 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16982 include <bits/wordsize.h>. Check __x86_64__ instead of
16983 __WORDSIZE.
16984
16985 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16986 "unsigned long long int" if __x86_64__ is defined.
16987 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16988
16989 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16990 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16991 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16992
16993 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16994 <stdint.h>.
16995 (GET_PC): Cast to uintptr_t first.
16996 (GET_FRAME): Likewise.
16997 (GET_STACK): Likewise.
16998
16999 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17000 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17001 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17002 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17003 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17004 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17005 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17006 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17007 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17008 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17009 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17010 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17011 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17012 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17013 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17014 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17015 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17016 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17017 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17018 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17019 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17020 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17021 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17022 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17023 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17024 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17025 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17026 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17027 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17028
170292012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17030
17031 * Makerules (+depfiles): Also collect depfiles from .oS in
17032 $(extra-objs).
17033 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17034 .oS, $(libnldbl-routines)).
17035
17036 * Makerules (native-compile-mkdep-flags): Define.
17037 * sunrpc/Makefile (extra-objs): Add $(addprefix
17038 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17039 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17040 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17041 calling $(make-target-directory).
17042
170432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17044
17045 * bits/types.h (__snseconds_t): Removed.
17046 * time/time.h (struct timespec): Replace __snseconds_t with
17047 __syscall_slong_t.
17048 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17049 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17050 Likewise.
17051 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17052 (__SNSECONDS_T_TYPE): Likewise.
17053 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17054 (__SNSECONDS_T_TYPE): Likewise.
17055 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17056 (__SNSECONDS_T_TYPE): Likewise.
17057
170582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17059
17060 * sysdeps/mach/hurd/bits/typesizes.h
17061 (__SYSCALL_SLONG_TYPE): New macro.
17062 (__SYSCALL_ULONG_TYPE): Likewise.
17063
170642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17065
17066 * bits/types.h (__syscall_slong_t): New type.
17067 (__syscall_ulong_t): Likewise.
17068
17069 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17070 (__SYSCALL_ULONG_TYPE): Likewise.
17071 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17072 (__SYSCALL_SLONG_TYPE): Likewise.
17073 (__SYSCALL_ULONG_TYPE): Likewise.
17074 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17075 (__SYSCALL_SLONG_TYPE): Likewise.
17076 (__SYSCALL_ULONG_TYPE): Likewise.
17077 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17078 (__SYSCALL_SLONG_TYPE): Likewise.
17079 (__SYSCALL_ULONG_TYPE): Likewise.
17080
170812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17082
17083 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17084 Add sigaltstack-offsets.sym.
17085 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17086 <sigaltstack-offsets.h>.
17087 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17088 longjmp_msg pointer.
17089 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17090 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17091 signal stack.
17092 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17093
170942012-05-15 Joseph Myers <joseph@codesourcery.com>
17095
17096 * elf/stackguard-macros.h: Remove file.
17097 * sysdeps/generic/stackguard-macros.h: New file.
17098 * sysdeps/i386/stackguard-macros.h: Likewise.
17099 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17100 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17101 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17102 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17103 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17104 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17105 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17106 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17107 <elf/stackguard-macros.h>.
17108
17109 [BZ #14109]
17110 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17111 __aligned__ in attribute.
17112 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17113 (gregset_t): Likewise.
17114
171152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17116
17117 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17118 * sysdeps/x86_64/64/Implies-after: Here. New file.
17119 * sysdeps/x86_64/x32/Implies-after: New file.
17120
171212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17122
17123 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17124 and access return value for _dl_profile_fixup. Use R10_LP to
17125 load frame size.
17126
171272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17128
17129 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17130
171312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17132
17133 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17134 * sysdeps/x86_64/x32/sysdep.h: New file.
17135
171362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17137
17138 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17139 * sysdeps/x86_64/setjmp.S: Likewise.
17140
171412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17142
17143 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17144 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17145 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17146 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17147 remove unused global constant.
17148
171492012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17150
17151 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17152 include of <not-cancel.h>.
17153
171542012-05-15 Roland McGrath <roland@hack.frob.com>
17155
17156 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17157
171582012-05-15 Jeff Law <law@redhat.com>
17159 Andreas Jaeger <aj@suse.de>
17160
17161 [BZ #13594]
17162 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17163 out from...
17164 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17165 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17166 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17167 code changing __hst_map_handle.map.
17168
171692012-05-15 Roland McGrath <roland@hack.frob.com>
17170
17171 * configure.in (sysnames): Look for Implies-before and Implies-after
17172 files.
17173 * configure: Regenerated.
17174
171752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17176
17177 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17178 8-byte data alignment with LP_SIZE alignment.
17179
171802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17181
17182 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17183 into R10_LP.
17184
171852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17186
17187 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17188
171892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17190
17191 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17192 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17193 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17194 Likewise.
17195 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17196
171972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17198
17199 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17200 (stackinfo_sub_sp): Likewise.
17201
172022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17203
17204 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17205 RAX_LP.
17206
172072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17208
17209 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17210 into R*_LP.
17211
172122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17213
17214 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17215 sizes into R*_LP.
17216
172172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17218
17219 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17220
172212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17222
17223 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17224 into R11_LP and load __x86_64_shared_cache_size_half into
17225 R8_LP.
17226
172272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17228
17229 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17230 R8_LP.
17231
172322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17233
17234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17235 logb for POWER7.
17236 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17237 logbf for POWER7.
17238 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17239 logbl for POWER7.
17240 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17241 powerpc32/power7/fpu/s_logb.c via #include.
17242 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17243 powerpc32/power7/fpu/s_logbf.c via #include.
17244 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17245 powerpc32/power7/fpu/s_logbl.c via #include.
17246
172472012-05-15 Joseph Myers <joseph@codesourcery.com>
17248
17249 * README.libm: Remove file.
17250
172512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17252
17253 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17254 count for x32. Use R*_LP and omit operand-size suffix.
17255
172562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17257
17258 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17259 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17260 * sysdeps/x86_64/x32/shlib-versions: New file.
17261
172622012-05-14 Roland McGrath <roland@hack.frob.com>
17263
17264 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17265 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17266 Use _dl_fatal_printf instead.
17267
172682012-05-14 Joseph Myers <joseph@codesourcery.com>
17269
17270 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17271 set if not set by the user. Do not allow for being unset.
17272 * sysdeps/unix/sysv/linux/configure: Regenerated.
17273
172742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17275
17276 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17277 the `q' suffix from lea and replace .quad with ASM_ADDR.
17278
172792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17280
17281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17282 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17283 instead of $17.
17284 (PTR_DEMANGLE): Likewise.
17285
172862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17287
17288 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17289 (LP_OP): Likewise.
17290 (ASM_ADDR): Likewise.
17291 (RAX_LP): Likewise.
17292 (RBP_LP): Likewise.
17293 (RBX_LP): Likewise.
17294 (RCX_LP): Likewise.
17295 (RDI_LP): Likewise.
17296 (RSI_LP): Likewise.
17297 (RSP_LP): Likewise.
17298 (R8_LP): Likewise.
17299 (R9_LP): Likewise.
17300 (R10_LP): Likewise.
17301 (R10_LP): Likewise.
17302 (R11_LP): Likewise.
17303 (R12_LP): Likewise.
17304 (R13_LP): Likewise.
17305 (R14_LP): Likewise.
17306 (R15_LP): Likewise.
17307
173082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17309
17310 * sysdeps/x86_64/x32/dl-machine.h: New file.
17311
173122012-05-14 Andreas Jaeger <aj@suse.de>
17313
17314 * manual/Makefile (subdir): Remove export of subdir.
17315 (all): Remove target.
17316 (.PHONY): Remove all from list.
17317 (mkinstalldirs): Remove.
17318 (.PHONY): Remove installdirs from list.
17319 ($(inst_infodir)/libc.info): Use make-target-directory.
17320 (installdirs): Remove.
17321 (subdir_%): Remove.
17322 (glibc-targets): Remove.
17323 (lib): Remove.
17324 (stubs): Remove.
17325 ($(objpfx)stubs ../po/manual.pot): Remove.
17326 ($(objpfx)stamp%): Remove.
17327 (make-target-directory): Remove.
17328 (subdir_install): Remove.
17329 (routines): Remove.
17330 (aux): Remove.
17331 (sources): Remove.
17332 (objects): Remove.
17333 (headers): Remove.
17334
17335 [BZ #13750]
17336 * manual/.gitignore: Remove, it's not needed anymore.
17337 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17338 all files in it.
17339 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17340 directory.
17341 (texis): Renamed to $(objpfx)texis.
17342 (texis-path): New, contains path to generated files.
17343 (chapters.%): Use texis-path for complete path, add extra argument
17344 libc-texinfo.sh.
17345 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17346 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17347 (summary,texi, stamp-summary): Use complete path of
17348 files. Generate files in build dir.
17349 (dir-add.texi): Build in build dir.
17350 (libm-err.texi,stamp-libm-err): Likewise.
17351 (version.texi, stamp-version): Likewise.
17352 (.%c.texi): Likewise.
17353 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17354 (mostlyclean): Remove target.
17355 (realclean): Remove target.
17356 (generated): Add new variable with contents from mostlyclean and
17357 realclean, remove entries duplicated in common-mostlyclean, add
17358 stamp-libm-err and stamp-version.
17359 (generated-dirs): Add libc directory.
17360 ($(inst_infodir)/libc.info): Install files from build dir.
17361
17362 * manual/install.texi (Configuring and compiling): Adjust since
17363 the info files are not part of the tar ball anymore.
17364
173652012-05-14 Andreas Jaeger <aj@suse.de>
17366
17367 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17368 variable.
17369
173702012-05-14 Joseph Myers <joseph@codesourcery.com>
17371
17372 [BZ #13717]
17373 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17374 to 2.2.0 where earlier.
17375 * sysdeps/unix/sysv/linux/configure: Regenerated.
17376 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17377 Remove conditional code.
17378 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17379 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17380 Remove conditional code.
17381 [!__NR_lchown]: Likewise.
17382 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17383 [__NR_lchown]: Likewise.
17384 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17385 comment referencing __ASSUME_LCHOWN_SYSCALL.
17386 * sysdeps/unix/sysv/linux/i386/sigaction.c
17387 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17388 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17389 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17390 Remove conditional code.
17391 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17392 (__protocol_available): Remove #if 0 code.
17393 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17394 conditional code.
17395 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17396 * sysdeps/unix/sysv/linux/kernel-features.h
17397 (__ASSUME_GETCWD_SYSCALL): Don't define.
17398 (__ASSUME_REALTIME_SIGNALS): Likewise.
17399 (__ASSUME_PREAD_SYSCALL): Likewise.
17400 (__ASSUME_PWRITE_SYSCALL): Likewise.
17401 (__ASSUME_POLL_SYSCALL): Likewise.
17402 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17403 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17404 non-SPARC.
17405 (__ASSUME_SIOCGIFNAME): Don't define.
17406 (__ASSUME_MSG_NOSIGNAL): Likewise.
17407 (__ASSUME_SENDFILE): Define unconditionally.
17408 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17409 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17410 conditional code.
17411 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17412 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17413 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17414 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17415 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17416 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17417 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17419 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17420 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17422 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17423 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17425 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17426 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17428 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17429 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17431 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17432 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17434 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17435 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17437 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17438 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17440 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17441 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17442 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17443 Remove conditional code.
17444 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17445 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17446 Remove conditional code.
17447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17448 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17449 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17450 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17451 Remove conditional code.
17452 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17453 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17454 Remove conditional code.
17455 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17456 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17457 Remove conditional code.
17458 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17459 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17460 Remove conditional code.
17461 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17462 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17463 Remove conditional code.
17464 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17465 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17466 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17467 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17468 * sysdeps/unix/sysv/linux/sigaction.c
17469 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17470 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17471 * sysdeps/unix/sysv/linux/sigpending.c
17472 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17473 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17474 * sysdeps/unix/sysv/linux/sigprocmask.c
17475 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17476 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17477 * sysdeps/unix/sysv/linux/sigsuspend.c
17478 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17479 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17480 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17481 (__libc_missing_rt_sigs): Remove.
17482 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17483 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17484 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17485 Remove conditional code.
17486 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17487 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17488 return 1.
17489 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17490 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17491 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17492 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17493
174942012-05-14 Andreas Jaeger <aj@suse.de>
17495
17496 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17497 it's not used in glibc.
17498 (__coshm1): Likewise.
17499 (__acosh1p): Likewise.
17500 (__sgn): Likewise.
17501
17502 * manual/string.texi (Copying and Concatenation): Add missing
17503 variable in concat example.
17504 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17505
175062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17507
17508 [BZ #14103]
17509 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17510 __builtin_clzl with __builtin_clzll.
17511
175122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17513
17514 [BZ #14104]
17515 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17516 libc_freeres_ptr.
17517
175182012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17519
17520 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17521 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17522 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17523 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17524
175252012-05-14 Mike Frysinger <vapier@gentoo.org>
17526
17527 * NEWS: Update ia64 info.
17528
175292012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17530
17531 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17532 used as bcopy.
17533
175342012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17535
17536 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17537 * sysdeps/unix/syscalls.list (dup3): Likewise.
17538 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17539 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17540
175412012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17542
17543 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17544 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17545
175462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17547
17548 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17549 thread pointer.
17550 (TLS_IE): Use mov/add instead of movq/addq to load thread
17551 pointer.
17552 (TLS_GD_PREFIX): New.
17553 (TLS_GD): Use it.
17554
175552012-05-11 David S. Miller <davem@davemloft.net>
17556
17557 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17558 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17559 (_FPU_SETCW): Likewise.
17560
175612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17562
17563 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17564 is 32-byte aligned.
17565
175662012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17567
17568 [BZ #11837]
17569 * iconvdata/gb18030.c: Update tables.
17570 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17571 characters specially.
17572 (BODY for TO_LOOP): Add encoding of missing ranges.
17573
175742012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17575
17576 [BZ #13673]
17577 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17578 * sysdeps/mach/hurd/dup3.c: Likewise.
17579 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17580 * sysdeps/powerpc/memmove.c:: Likewise.
17581
175822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17583
17584 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17585 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17586
175872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17588
17589 * elf/elf.h (R_X86_64_RELATIVE64): New.
17590 (R_X86_64_NUM): Updated.
17591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17592 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17593 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17594 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17595 tst-quad1pie tst-quad2pie
17596 (modules-names): Add tst-quadmod1 tst-quadmod2.
17597 ($(objpfx)tst-quad1): New dependency.
17598 ($(objpfx)tst-quad2): Likewise.
17599 ($(objpfx)tst-quad1pie): Likewise.
17600 ($(objpfx)tst-quad2pie): Likewise.
17601 * sysdeps/x86_64/tst-quad1.c: New file.
17602 * sysdeps/x86_64/tst-quad1pie.c: New file.
17603 * sysdeps/x86_64/tst-quad2.c: Likewise.
17604 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17605 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17606 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17607 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17608 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17609
176102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17611
17612 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17613 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17614 * streams/stropts.h (t_scalar_t): Define type.
17615
17616 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17617 (_PATH_PRESERVE): Set to "/var/lib".
17618 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17619
17620 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17621 instead of int.
17622
17623 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17624 if __dir_mkfile succeeded.
17625
17626 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17627 checking for _hurd_dtablesize. Unlock it right after having
17628 finished _hurd_dtable allocation.
17629
176302012-05-10 Thomas Schwinge <thomas@schwinge.name>
17631
17632 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17633 * sysdeps/mach/hurd/configure: Regenerated.
17634 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17635 special-casing to...
17636 * sysdeps/gnu/configure.in: ... this new file.
17637 * sysdeps/unix/sysv/linux/configure: Regenerated.
17638 * sysdeps/gnu/configure: New generated file.
17639
17640 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17641 for Linux: use nsec instead of usec, as well as:
17642 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17643 members of type struct timespec.
17644 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17645 New macros.
17646 (struct stat64): Likewise.
17647 (_STATBUF_ST_NSEC): New macro.
17648 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17649
17650 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17651 __strtoul_internal rather than strtoul.
17652
176532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17654
17655 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17656 and reject them.
17657
176582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17659
17660 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17661 which preserves existing values.
17662 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17663
176642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17665
17666 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17667 TIMEOUT values. Return EINVAL for NFDS values either negative or
17668 greater than FD_SETSIZE.
17669
176702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17671
17672 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17673 allocated, call __vm_protect to finish enabling the existing space, and
17674 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17675 allocate the remainder.
17676
176772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17678
17679 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17680 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17681
176822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17683
17684 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17685 sysdeps/mach/hurd/readlink.c.
17686
17687 * posix/tst-sysconf.c (posix_options): Only use
17688 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17689 _POSIX_SYNCHRONIZED_IO when they are defined
17690 * sysdeps/mach/hurd/bits/posix_opt.h:
17691 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17692 (_XOPEN_REALTIME): Undefine macro.
17693 (_XOPEN_REALTIME_THREADS): Undefine macro.
17694 (_XOPEN_SHM): Undefine macro.
17695 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17696 macro to -1.
17697 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17698 macro to -1.
17699 (_POSIX_ASYNC_IO): Undefine macro.
17700 (_POSIX_PRIORITIZED_IO): Undefine macro.
17701 (_POSIX_SPIN_LOCKS): Define macro to -1.
17702
17703 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17704 SA_NODEFER, SA_RESETHAND.
17705 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17706 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17707 F_DUPFD_CLOEXEC.
17708
177092012-05-10 Thomas Schwinge <thomas@schwinge.name>
17710
17711 * elf/Makefile (pldd-modules): Define unconditionally.
17712
177132012-05-10 Thomas Schwinge <thomas@schwinge.name>
17714
17715 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17716
177172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17718
17719 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17720 Return ENOENT when name is empty.
17721 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17722
177232012-05-10 Thomas Schwinge <thomas@schwinge.name>
17724
17725 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17726
17727 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17728
177292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17730
17731 Fix mlock in all cases except non-readable pages.
17732 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17733 instead of VM_PROT_ALL as parameter to __vm_wire function.
17734
17735 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17736 (__mkdir): When path is `/', just fail with EEXIST.
17737 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17738
177392012-05-10 Thomas Schwinge <thomas@schwinge.name>
17740
17741 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17742 <sys/uio.h> (for writev).
17743 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17744 and <sys/param.h> (for MIN).
17745
177462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17747
17748 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17749 REQUESTED_TIME. Properly set the remaining time and return EINTR
17750 if interrupted.
17751
177522012-05-10 Thomas Schwinge <thomas@schwinge.name>
17753
17754 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17755 Depend on against $(link-rpcuserlibs).
17756
177572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17758
17759 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17760 (__libc_stack_end): Do not use attribute_relro.
17761 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17762 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
17763 to libthread-provided value.
17764 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17765 attribute_relro.
17766
177672012-05-10 Thomas Schwinge <thomas@schwinge.name>
17768
17769 [BZ #3748]
17770 * bits/libc-lock.h (__libc_once_get): New macro.
17771 * sysdeps/mach/bits/libc-lock.h: Likewise.
17772 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17773 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17774 instead of using implementation details.
17775
17776 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17777 * libio/freopen.c: Likewise.
17778 * libio/freopen64.c: Likewise.
17779 * misc/syslog.c: Likewise.
17780 * nscd/connections.c: Likewise.
17781 * nscd/netgroupcache.c: Likewise.
17782 * sysdeps/posix/getcwd.c: Likewise.
17783
177842012-05-10 Roland McGrath <roland@hack.frob.com>
17785
17786 * math/w_ilogbf.c: Add #include <limits.h>.
17787
177882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17789
17790 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
17791 path instead of returning without unlocking.
17792
17793 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17794 immediate-write ioctls.
17795 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17796
177972012-05-10 Thomas Schwinge <thomas@schwinge.name>
17798
17799 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17800 __builtin_frame_address instead of making assumptions about the
17801 location of the return address relative to DATA. Force early load of
17802 the return address.
17803 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17804 __builtin_frame_address.
17805
17806 dup3 for GNU Hurd.
17807 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17808 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17809 implement dup3 and do some further code clean-ups.
17810 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17811 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17812
178132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17814
17815 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17816
17817 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17818 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17819 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17820 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17821 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17822 d->port.lock.
17823
17824 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17825 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17826 when handler == SIG_ERR, not when handler != SIG_ERR.
17827
178282012-05-10 Thomas Schwinge <thomas@schwinge.name>
17829
17830 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17831 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17832 definitions.
17833
17834 accept4 for GNU Hurd.
17835 * include/sys/socket.h (__libc_accept4): New prototype.
17836 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17837 to implement __libc_accept4.
17838 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17839 __libc_accept4.
17840 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17841
17842 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17843 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17844 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17845 signal-defines.sym.
17846
178472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17848
17849 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
17850
178512012-05-10 Thomas Schwinge <thomas@schwinge.name>
17852
17853 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17854 assertion on O_CLOEXEC flag.
17855 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17856 * hurd/intern-fd.c: Likewise.
17857 * hurd/port2fd.c: Likewise.
17858
178592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17860
17861 [BZ #3906]
17862 * bits/in.h (IPV6_PKTINFO): Define new macro.
17863 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17864
178652012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17866
17867 [BZ #13954]
17868 [BZ #13955]
17869 [BZ #13956]
17870 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17871 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17872 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17873 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17874 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17875 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17876 * math/libm-test.inc (logb_test) : Additional logb tests.
17877
178782012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17879 Andreas Jaeger <aj@suse.de>
17880
17881 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17882 * configure: Regenerated.
17883 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17884 * config.make.in (link-obsolete-rpc): New substituted variable.
17885 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17886 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17887 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17888 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17889 so that libc.a contains the symbols.
17890 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17891 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17892 * sunrpc/auth_none.c: Likewise.
17893 * sunrpc/auth_unix.c: Likewise.
17894 * sunrpc/authdes_prot.c: Likewise.
17895 * sunrpc/authuxprot.c: Likewise.
17896 * sunrpc/clnt_gen.c: Likewise.
17897 * sunrpc/clnt_perr.c: Likewise.
17898 * sunrpc/clnt_raw.c: Likewise.
17899 * sunrpc/clnt_simp.c: Likewise.
17900 * sunrpc/clnt_tcp.c: Likewise.
17901 * sunrpc/clnt_udp.c: Likewise.
17902 * sunrpc/clnt_unix.c: Likewise.
17903 * sunrpc/des_crypt.c: Likewise.
17904 * sunrpc/des_soft.c: Likewise.
17905 * sunrpc/get_myaddr.c: Likewise.
17906 * sunrpc/key_call.c: Likewise.
17907 * sunrpc/key_prot.c: Likewise.
17908 * sunrpc/netname.c: Likewise.
17909 * sunrpc/pm_getmaps.c: Likewise.
17910 * sunrpc/pm_getport.c: Likewise.
17911 * sunrpc/pmap_clnt.c: Likewise.
17912 * sunrpc/pmap_prot.c: Likewise.
17913 * sunrpc/pmap_prot2.c: Likewise.
17914 * sunrpc/pmap_rmt.c: Likewise.
17915 * sunrpc/publickey.c: Likewise.
17916 * sunrpc/rpc_cmsg.c: Likewise.
17917 * sunrpc/rpc_common.c: Likewise.
17918 * sunrpc/rpc_dtable.c: Likewise.
17919 * sunrpc/rpc_prot.c: Likewise.
17920 * sunrpc/rpc_thread.c: Likewise.
17921 * sunrpc/rtime.c: Likewise.
17922 * sunrpc/svc.c: Likewise.
17923 * sunrpc/svc_auth.c: Likewise.
17924 * sunrpc/svc_raw.c: Likewise.
17925 * sunrpc/svc_run.c: Likewise.
17926 * sunrpc/svc_tcp.c: Likewise.
17927 * sunrpc/svc_udp.c: Likewise.
17928 * sunrpc/svc_unix.c: Likewise.
17929 * sunrpc/svcauth_des.c: Likewise.
17930 * sunrpc/xcrypt.c: Likewise.
17931 * sunrpc/xdr.c: Likewise.
17932 * sunrpc/xdr_array.c: Likewise.
17933 * sunrpc/xdr_float.c: Likewise.
17934 * sunrpc/xdr_intXX_t.c: Likewise.
17935 * sunrpc/xdr_mem.c: Likewise.
17936 * sunrpc/xdr_rec.c: Likewise.
17937 * sunrpc/xdr_ref.c: Likewise.
17938 * sunrpc/xdr_sizeof.c: Likewise.
17939 * sunrpc/xdr_stdio.c: Likewise.
17940
179412012-05-10 Roland McGrath <roland@hack.frob.com>
17942
17943 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17944 change. Update copyright years.
17945
179462012-05-10 Joseph Myers <joseph@codesourcery.com>
17947
17948 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17949
179502012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17951 Joseph Myers <joseph@codesourcery.com>
17952 Paul Pluzhnikov <ppluzhnikov@google.com>
17953
17954 [BZ #14012]
17955 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17956 requiring rpcgen.
17957 [cross-compiling] (extra-libs): Likewise.
17958 [cross-compiling] (extra-libs-others): Likewise.
17959 [cross-compiling] (librpcsvc-routines): Likewise.
17960 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17961 [cross-compiling] (omit-deps): Likewise.
17962 (sunrpc-CPPFLAGS): New variable.
17963 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17964 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17965 (cross-rpcgen-objs): New variable.
17966 (extra-objs): Append $(cross-rpcgen-objs).
17967 ($(cross-rpcgen-objs)): New rule.
17968 ($(objpfx)cross-rpcgen): Likewise.
17969 (rpcgen-cmd): Define to use $(built-program-file). Expand
17970 comment.
17971 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17972 ($(objpfx)x%.stmp): Likewise.
17973 * sunrpc/proto.h [IS_IN_build] (_): Define.
17974 [IS_IN_build] (_libc_intl_domainname): Likewise.
17975
179762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17977
17978 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17979 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17980 and R_X86_64_TPOFF64.
17981
179822012-05-10 Joseph Myers <joseph@codesourcery.com>
17983
17984 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17985 sysdeps/unix/sysv/syscalls.list.
17986 (stime): Likewise.
17987 (utime): Likewise.
17988 * sysdeps/unix/sysv/syscalls.list: Remove file.
17989
179902012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17991
17992 [BZ #3440]
17993 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17994 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17995 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17996 (__LC_IDENTIFICATION): Make these macros useful in #if
17997 expressions, as required by C99.
17998
179992012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18000
18001 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18002 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18003 after this.
18004
180052012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18006
18007 * stdlib/longlong.h: Updated from GCC.
18008
180092012-05-09 Andreas Jaeger <aj@suse.de>
18010
18011 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18012 default is first entry.
18013 (run_mode): Set type.
18014 (main): Remove informal message about syslog.
18015 (options): Fix typo.
18016
18017 [BZ #14053]
18018 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18019 to asm.
18020 (lrint): Likewise.
18021 (llrintf): Likewise.
18022 (llrint): Likewise.
18023 (rint): Likewise.
18024 (rintf): Likewise.
18025 (nearbyint): Likewise.
18026 (nearbyintf): Likewise.
18027
180282012-05-09 Andreas Jaeger <aj@suse.de>
18029 Pedro Alves <palves@redhat.com>
18030
18031 * nscd/nscd.c (run_mode): Use enum.
18032 (main): Cleanup coding style issue.
18033
180342012-05-09 Alexandre Oliva <aoliva@redhat.com>
18035 Andreas Jaeger <aj@suse.de>
18036
18037 * nscd/nscd.c (go_background): Replaced with...
18038 (run_mode): ... this.
18039 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18040 (options): Add -F --foreground.
18041 (main): Implement it.
18042 (parse_opt): Parse it.
18043
180442012-05-09 Andreas Jaeger <aj@suse.de>
18045
18046 [BZ #14083]
18047 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18048 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18049 -Wconversion warning.
18050 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18051 Likewise.
18052
180532012-05-09 Joseph Myers <joseph@codesourcery.com>
18054
18055 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18056 == 0.
18057 (LC_ALL): Use macro-int-constant.
18058 (LC_COLLATE): Likewise.
18059 (LC_CTYPE): Likewise.
18060 (LC_MESSAGES): Likewise.
18061 (LC_MONETARY): Likewise.
18062 (LC_NUMERIC): Likewise.
18063 (LC_TIME): Likewise.
18064 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18065 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18067 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18068 Specify type.
18069 [C99-based standards] (float_t): Expect type.
18070 [C99-based standards] (double_t): Expect type.
18071 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18072 type.
18073 [C99-based standards] (HUGE_VALL): Likewise.
18074 [C99-based standards] (INFINITY): Likewise.
18075 [C99-based standards] (NAN): Likewise.
18076 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18077 [C99-based standards] (FP_NAN): Likewise.
18078 [C99-based standards] (FP_NORMAL): Likewise.
18079 [C99-based standards] (FP_SUBNORMAL): Likewise.
18080 [C99-based standards] (FP_ZERO): Likewise.
18081 [C99-based standards] (FP_FAST_FMA): Use
18082 optional-macro-int-constant. Specify type. Require == 1.
18083 [C99-based standards] (FP_FAST_FMAF): Likewise.
18084 [C99-based standards] (FP_FAST_FMAL): Likewise.
18085 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18086 [C99-based standards] (FP_ILOGBNAN): Likewise.
18087 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18088 Specify type.
18089 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18090 [C99-based standards] (math_errhandling): Specify type.
18091 [ISO99 || ISO11] (signgam): Do not allow.
18092 [non-C99-based standards] (copysignf): Do not allow.
18093 [non-C99-based standards] (exp2f): Likewise.
18094 [non-C99-based standards] (log2f): Likewise.
18095 [non-C99-based standards] (modff): Allow.
18096 [non-C99-based standards] (erff): Do not allow.
18097 [non-C99-based standards] (erfcf): Likewise.
18098 [non-C99-based standards] (gammaf): Likewise.
18099 [non-C99-based standards] (hypotf): Likewise.
18100 [non-C99-based standards] (j0f): Likewise.
18101 [non-C99-based standards] (j1f): Likewise.
18102 [non-C99-based standards] (jnf): Likewise.
18103 [non-C99-based standards] (lgammaf): Likewise.
18104 [non-C99-based standards] (tgammaf): Likewise.
18105 [non-C99-based standards] (y0f): Likewise.
18106 [non-C99-based standards] (y1f): Likewise.
18107 [non-C99-based standards] (ynf): Likewise.
18108 [non-C99-based standards] (isnanf): Likewise.
18109 [non-C99-based standards] (acoshf): Likewise.
18110 [non-C99-based standards] (asinhf): Likewise.
18111 [non-C99-based standards] (atanhf): Likewise.
18112 [non-C99-based standards] (cbrtf): Likewise.
18113 [non-C99-based standards] (expm1f): Likewise.
18114 [non-C99-based standards] (ilogbf): Likewise.
18115 [non-C99-based standards] (log1pf): Likewise.
18116 [non-C99-based standards] (logbf): Likewise.
18117 [non-C99-based standards] (nextafterf): Likewise.
18118 [non-C99-based standards] (remainderf): Likewise.
18119 [non-C99-based standards] (rintf): Likewise.
18120 [non-C99-based standards] (scalbf): Likewise.
18121 [non-C99-based standards] (copysignl): Likewise.
18122 [non-C99-based standards] (exp2l): Likewise.
18123 [non-C99-based standards] (log2l): Likewise.
18124 [non-C99-based standards] (modfl): Allow.
18125 [non-C99-based standards] (erfl): Do not allow.
18126 [non-C99-based standards] (erfcl): Likewise.
18127 [non-C99-based standards] (gammal): Likewise.
18128 [non-C99-based standards] (hypotl): Likewise.
18129 [non-C99-based standards] (j0l): Likewise.
18130 [non-C99-based standards] (j1l): Likewise.
18131 [non-C99-based standards] (jnl): Likewise.
18132 [non-C99-based standards] (lgammal): Likewise.
18133 [non-C99-based standards] (tgammal): Likewise.
18134 [non-C99-based standards] (y0l): Likewise.
18135 [non-C99-based standards] (y1l): Likewise.
18136 [non-C99-based standards] (ynl): Likewise.
18137 [non-C99-based standards] (isnanl): Likewise.
18138 [non-C99-based standards] (acoshl): Likewise.
18139 [non-C99-based standards] (asinhl): Likewise.
18140 [non-C99-based standards] (atanhl): Likewise.
18141 [non-C99-based standards] (cbrtl): Likewise.
18142 [non-C99-based standards] (expm1l): Likewise.
18143 [non-C99-based standards] (ilogbl): Likewise.
18144 [non-C99-based standards] (log1pl): Likewise.
18145 [non-C99-based standards] (logbl): Likewise.
18146 [non-C99-based standards] (nextafterl): Likewise.
18147 [non-C99-based standards] (remainderl): Likewise.
18148 [non-C99-based standards] (rintl): Likewise.
18149 [non-C99-based standards] (scalbl): Likewise.
18150 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18151 [non-C99-based standards] (FP_*): Do not allow.
18152 [C99-based standards] (FP_*): Change to
18153 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18154 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18155 allow.
18156 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18157 (SIG_ERR): Likewise.
18158 [X/Open-based standards] (SIG_HOLD): Likewise.
18159 (SIG_IGN): Likewise.
18160 (SIGABRT): Use macro-int-constant. Specify type. Require
18161 positive value.
18162 (SIGFPE): Likewise.
18163 (SIGILL): Likewise.
18164 (SIGINT): Likewise.
18165 (SIGSEGV): Likewise.
18166 (SIGTER): Likewise.
18167 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18168 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18169 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18170 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18171 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18172 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18173 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18174 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18175 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18176 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18177 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18178 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18179 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18180 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18181 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18182 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18183 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18184 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18185 [X/Open-based standards] (SIGTRAP): Likewise.
18186 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18187 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18188 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18189 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18190 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18191 allow.
18192
181932012-05-08 Ian Wienand <ianw@vmware.com>
18194
18195 [BZ #14080]
18196 * time/tzset.c (__tzset_parse_tz): Update default rules for
18197 daylight time changes in the Energy Policy Act of 2005.
18198
181992012-05-09 Andreas Jaeger <aj@suse.de>
18200
18201 [BZ #13983]
18202 * elf/ldconfig.c (parse_conf): Change string to make clear that
18203 ldconfig only issued a warning if ld.so.conf does not exist.
18204
182052012-05-08 David S. Miller <davem@davemloft.net>
18206
18207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18208 movxtod instead of popping the value on the stack.
18209
18210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18211
182122012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18213
18214 * config.h.in: Add HAVE_ARM_PCS_VFP.
18215
182162012-05-08 Roland Mc Grath <roland@hack.frob.com>
18217
18218 [BZ #13979]
18219 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18220 checking but the checks are disabled for any reason.
18221
182222012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18223
18224 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18225 and ELF64_R_TYPE with ELFW(R_TYPE).
18226
182272012-05-08 Joseph Myers <joseph@codesourcery.com>
18228
18229 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18230 (ulimit): Likewise.
18231
18232 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18233 (settimeofday): Likewise.
18234
182352012-05-08 Mike Frysinger <vapier@gentoo.org>
18236
18237 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18238 a struct th_u2 inside the union, and move tu_block/tu_code into
18239 a new th_u3 union of tu_block/tu_code inside of that. Move
18240 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18241 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18242 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18243 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18244 (th_stuff): Change to th_u1.tu_stuff.
18245 (th_data): Define.
18246 (th_msg): Change to th_u1.th_u2.tu_data.
18247
182482012-05-07 David S. Miller <davem@davemloft.net>
18249
18250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18251
18252 [BZ #14074]
18253 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18254 (SETUP_PIC_REG): Use it.
18255 (SETUP_PIC_REG_LEAF): Use it.
18256
182572012-05-07 Joseph Myers <joseph@codesourcery.com>
18258
18259 [BZ #13885]
18260 [BZ #13923]
18261 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18262 USE_AS_EXPM1L.
18263 (EXPL_FINITE): Likewise.
18264 (FLDLOG): Likewise.
18265 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18266 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18267 e_expl.S.
18268 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18269 USE_AS_EXPM1L.
18270 (EXPL_FINITE): Likewise.
18271 (FLDLOG): Likewise.
18272 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18273 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18274 e_expl.S.
18275 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18276 test of -max_value argument for long double.
18277 * sysdeps/i386/fpu/libm-test-ulps: Update.
18278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18279
182802012-05-06 David S. Miller <davem@davemloft.net>
18281
18282 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18283 quad soft-float symbols whose references which are compiler
18284 generated.
18285 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18286
182872012-05-06 Joseph Myers <joseph@codesourcery.com>
18288
18289 [BZ #13884]
18290 [BZ #13914]
18291 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18292 USE_AS_EXP10L.
18293 (EXPL_FINITE): Likewise.
18294 (FLDLOG): Likewise.
18295 (c0): Likewise.
18296 (c1): Likewise.
18297 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18298 Adjust comments for base varying.
18299 (__expl_finite): Change alias to EXPL_FINITE.
18300 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18301 e_expl.S.
18302 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18303 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18304 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18305 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18306 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18307 USE_AS_EXP10L.
18308 (EXPL_FINITE): Likewise.
18309 (FLDLOG): Likewise.
18310 (c0): Likewise.
18311 (c1): Likewise.
18312 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18313 Adjust comments for base varying.
18314 (__expl_finite): Change alias to EXPL_FINITE.
18315 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18316 tests for bugs.
18317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18318
18319 [BZ #14064]
18320 * math/libm-test.inc (check_float_internal): Correct ulp
18321 calculation for subnormal expected results.
18322
183232012-05-06 Andreas Jaeger <aj@suse.de>
18324
18325 * Makeconfig (+math-flags): New, set to -frounding-math.
18326 (+cflags): Add +math-flags so that all of glibc gets compiled with
18327 it.
18328
18329 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18330
183312012-05-05 Joseph Myers <joseph@codesourcery.com>
18332
18333 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18334 Disable one test.
18335
18336 [BZ #13787]
18337 [BZ #13922]
18338 [BZ #14036]
18339 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18340 (__ieee754_expl): Allow for and saturate large arguments.
18341 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18342 (u_threshold): Likewise.
18343 (__exp): Call __ieee754_exp before checking for overflow and
18344 underflow.
18345 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18346 (u_threshold): Likewise.
18347 (__expf): Call __ieee754_expf before checking for overflow and
18348 underflow.
18349 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18350 (u_threshold): Likewise.
18351 (__expl): Call __ieee754_expl before checking for overflow and
18352 underflow.
18353 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18354 (__ieee754_expl): Allow for and saturate large arguments.
18355 * math/libm-test.inc (exp_test): Add another test. Do not allow
18356 missing overflow exception on overflow.
18357 (expm1_test): Do not allow missing overflow exception on overflow.
18358
18359 * sysdeps/i386/fpu/e_expl.c: Move to ...
18360 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18361 rather than using inline asm.
18362 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18363 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18364 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18365
18366 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18367 (nice): Likewise.
18368 (poll): Likewise.
18369 (signal): Likewise.
18370 (time): Likewise.
18371 (times): Likewise.
18372
183732012-05-04 Joseph Myers <joseph@codesourcery.com>
18374
18375 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18376 sysdeps/unix/common/syscalls.list.
18377 (fchmod): Likewise.
18378 (fchown): Likewise.
18379 (ftruncate): Likewise.
18380 (getrusage): Likewise.
18381 (gettimeofday): Likewise.
18382 (setpgid): Likewise.
18383 (setregid): Likewise.
18384 (setreuid): Likewise.
18385 (sigaction): Likewise.
18386 (truncate): Likewise.
18387 (vhangup): Likewise.
18388 * sysdeps/unix/common/syscalls.list: Remove file.
18389 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18390 * sysdeps/unix/sysv/linux/Implies: Likewise.
18391
183922012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18393
18394 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18396 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18397 Moved to ...
18398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18399 Here.
18400 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18401 to ...
18402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18403 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18404 to ...
18405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18406 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18407 to ...
18408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18409 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18410 to ...
18411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18412 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18413 to ...
18414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18415 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18416 to ...
18417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18418 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18419 to ...
18420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18421 Here.
18422 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18423 to ...
18424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18425 Here.
18426 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18427 to ...
18428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18429 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18430 Moved to ...
18431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18432 Here.
18433 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18434 to ...
18435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18436
184372012-05-04 Joseph Myers <joseph@codesourcery.com>
18438
18439 * sysdeps/unix/common/bits/dirent.h: Remove file.
18440 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18441
18442 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18443 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18444 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18445 * sysdeps/unix/bsd/isatty.c: Likewise.
18446 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18447 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18448 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18449
184502012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18451
18452 [BZ #13563]
18453 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18454 long double comparison inaccuracies.
18455 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18457
184582012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18459
18460 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18461 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18462
184632012-05-04 Joseph Myers <joseph@codesourcery.com>
18464
18465 [BZ #14049]
18466 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18467 nonzero digits before rounding a hex value.
18468 * stdlib/tst-strtod.c (tests): Add another test.
18469
184702012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18471
18472 * sysdeps/s390/fpu/libm-test-ulps: Update.
18473
184742012-05-03 Andreas Jaeger <aj@suse.de>
18475
18476 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18477 does not get optimized out.
18478 (malloc_opt_barrier): New.
18479
184802012-05-03 Andreas Jaeger <aj@suse.de>
18481 Roland McGrath <roland@hack.frob.com>
18482
18483 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18484 intermediate file deletion.
18485 (generated): Add .symlist files.
18486
184872012-05-03 Joseph Myers <joseph@codesourcery.com>
18488
18489 [BZ #13775]
18490 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18491 Redirect under this condition.
18492 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18493 [__USE_GNU] (__dprintf_chk): Not under this condition.
18494 [__USE_GNU] (__vdprintf_chk): Likewise.
18495 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18496 under this condition.
18497 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18498 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18499 [__USE_XOPEN2K8] (vdprintf): Likewise.
18500 [__USE_GNU] (__dprintf_chk): Not under this condition.
18501 [__USE_GNU] (__vdprintf_chk): Likewise.
18502 [__USE_GNU] (dprintf): Likewise.
18503 [__USE_GNU] (vdprintf): Likewise.
18504
185052012-05-03 Roland McGrath <roland@hack.frob.com>
18506
18507 * elf/Makefile (common-generated): Set this instead of generated for
18508 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18509 $(all-built-dso)-derived lists.
18510
185112012-05-03 Andreas Jaeger <aj@suse.de>
18512
18513 * sysdeps/i386/fpu/libm-test-ulps: Update.
18514
18515 * FAQ: Removed.
18516 * FAQ.in: Likewise.
18517 * scripts/gen-FAQ.pl: Likewise.
18518 * manual/install.texi (Installation): Point to online location of
18519 FAQ.
18520 * Makefile (files-for-dist): Remove FAQ.
18521 (FAQ): Remove.
18522
185232012-05-02 Allan McRae <allan@archlinux.org>
18524
18525 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18526 (LDFLAGS-reldepmod5.so): Likewise.
18527 (LDFLAGS-reldep6mod1.so): Likewise.
18528 (LDFLAGS-reldep6mod4.so): Likewise.
18529 (LDFLAGS-reldep8mod3.so): Likewise.
18530 (LDFLAGS-unload4mod1.so): Likewise.
18531 (LDFLAGS-unload4mod2.so): Likewise.
18532 (LDFLAGS-tst-initorder): Likewise.
18533 (LDFLAGS-tst-initordera2.so): Likewise.
18534 (LDFLAGS-tst-initordera3.so): Likewise.
18535 (LDFLAGS-tst-initordera4.so): Likewise.
18536 (LDFLAGS-tst-initorderb2.so): Likewise.
18537 (LDFLAGS-noload): Likewise.
18538 (LDFLAGS-next): Likewise.
18539 (LDFLAGS-order2mod1.so): Likewise.
18540 (LDFLAGS-order2mod2.so): Likewise.
18541 (LDFLAGS-tst-initorder2): Likewise.
18542 (LDFLAGS-tst-initorder2a.so): Likewise.
18543 (LDFLAGS-tst-initorder2b.so): Likewise.
18544 (LDFLAGS-tst-initorder2c.so): Likewise.
18545 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18546
185472012-05-02 David S. Miller <davem@davemloft.net>
18548
18549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18550
185512012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18552
18553 [BZ #14055]
18554 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18555
185562012-05-02 Andreas Jaeger <aj@suse.de>
18557
18558 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18559 since we manipulate rounding mode.
18560 (CPPFLAGS-test-idouble.c): Likewise.
18561 (CPPFLAGS-test-ifloat.c): Likewise.
18562 (CFLAGS-test-ldouble.c): Likewise.
18563 (CFLAGS-test-double.c): Likewise.
18564 (CFLAGS-test-float.c): Likewise.
18565 (CFLAGS-test-misc.c): Likewise.
18566 (CFLAGS-test-test-fenv.c): Likewise.
18567
185682012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18569
18570 [BZ #2550]
18571 [BZ #2570]
18572 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18573 comparisons to determine direction to adjust input.
18574
185752012-05-01 Roland McGrath <roland@hack.frob.com>
18576
18577 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18578 output to the target.
18579
18580 * scripts/localplt.awk: New file.
18581 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18582 (check-localplt-CFLAGS): Variable removed.
18583 ($(all-built-dso:=.jmprel)): New static pattern rule.
18584 (generated): Add those targets.
18585 (localplt-built-dso): New variable.
18586 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18587
18588 * elf/check-localplt.c: File removed.
18589
18590 * scripts/check-execstack.awk: New file.
18591 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18592 (check-execstack-CFLAGS): Variable removed.
18593 ($(objpfx)check-execstack.h): Target removed.
18594 ($(objpfx)execstack-default): New target.
18595 (generated): Add that instead of check-execstack.h.
18596 ($(all-built-dso:=.phdr)): New static pattern rule.
18597 (generated): Add those targets.
18598 * elf/check-execstack.c: File removed.
18599
18600 * scripts/check-textrel.awk: New file.
18601 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18602 (check-textrel-CFLAGS): Variable removed.
18603 (all-built-dso): Use := to define.o
18604 ($(all-built-dso:=.dyn)): New static pattern rule.
18605 (generated): Add those targets.
18606 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18607 * config.make.in (READELF): New substituted variable.
18608 * elf/check-textrel.c: File removed.
18609
186102012-05-01 Joseph Myers <joseph@codesourcery.com>
18611
18612 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18613 allow.
18614 * conform/data/ctype.h-data [C99-based standards] (isblank):
18615 Expect function.
18616 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18617 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18618 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18619 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18620 Specify type. Require positive value.
18621 (EILSEQ): Likewise.
18622 (ERANGE): Likewise.
18623 [ISO || POSIX] (EILSEQ): Do not expect.
18624 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18625 Specify type. Require positive value.
18626 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18627 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18628 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18629 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18630 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18631 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18632 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18633 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18634 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18635 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18636 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18637 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18638 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18639 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18640 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18641 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18642 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18643 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18644 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18645 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18646 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18647 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18648 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18649 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18650 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18651 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18652 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18653 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18654 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18655 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18656 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18657 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18658 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18659 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18660 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18661 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18662 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18663 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18664 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18665 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18666 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18667 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18668 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18669 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18670 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18671 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18672 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18673 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18674 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18675 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18676 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18677 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18678 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18679 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18680 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18681 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18682 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18683 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18684 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18685 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18686 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18687 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18688 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18689 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18690 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18691 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18692 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18693 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18694 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18695 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18696 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18697 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18698 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18699 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18700 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18701 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18702 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18703 Require >= 2.
18704 (FLT_ROUNDS): Expect as macro, not constant.
18705 (FLT_MANT_DIG): Use macro-int-constant.
18706 (DBL_MANT_DIG): Likewise.
18707 (LDBL_MANT_DIG): Likewise.
18708 (FLT_DIG): Likewise.
18709 (DBL_DIG): Likewise.
18710 (LDBL_DIG): Likewise.
18711 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18712 (DBL_MIN_EXP): Likewise.
18713 (LDBL_MIN_EXP): Likewise.
18714 (FLT_MAX_EXP): Use macro-int-constant.
18715 (DBL_MAX_EXP): Likewise.
18716 (LDBL_MAX_EXP): Likewise.
18717 (FLT_MAX_10_EXP): Likewise.
18718 (DBL_MAX_10_EXP): Likewise.
18719 (LDBL_MAX_10_EXP): Likewise.
18720 (FLT_MAX): Use macro-constant.
18721 (DBL_MAX): Likewise.
18722 (LDBL_MAX): Likewise.
18723 (FLT_EPSILON): Use macro-constant. Give upper bound.
18724 (DBL_EPSILON): Likewise.
18725 (LDBL_EPSILON): Likewise.
18726 (FLT_MIN): Likewise.
18727 (DBL_MIN): Likewise.
18728 (LDBL_MIN): Likewise.
18729 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18730 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18731 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18732 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18733 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18734 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18735 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18736 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18737 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18738 [ISO11] (FLT_TRUE_MIN): Likewise.
18739 [ISO11] (LDBL_TRUE_MIN): Likewise.
18740 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18741 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18742 (SCHAR_MIN): Use macro-int-constant. Specify type.
18743 (SCHAR_MAX): Likewise.
18744 (UCHAR_MAX): Likewise.
18745 (CHAR_MIN): Likewise.
18746 (CHAR_MAX): Likewise.
18747 (MB_LEN_MAX): Use macro-int-constant.
18748 (SHRT_MIN): Use macro-int-constant. Specify type.
18749 (SHRT_MAX): Likewise.
18750 (USHRT_MAX): Likewise.
18751 (INT_MAX): Likewise.
18752 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18753 bound negative.
18754 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18755 bound with "U".
18756 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18757 bound with "L".
18758 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18759 bound negative. Suffix upper bound with "L".
18760 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18761 bound with "UL".
18762 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18763 Specify type.
18764 [C99-based standards] (LLONG_MAX): Likewise.
18765 [C99-based standards] (ULLONG_MAX): Likewise.
18766 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18767 == 0.
18768 [ISO11] (max_align_t): Require type.
18769 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18770
18771 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18772 from $CFLAGS, without defining away __attribute__ calls.
18773 (checknamespace): Use $CFLAGS_namespace.
18774
18775 * conform/conformtest.pl (@keywords): Only include C99 keywords
18776 for standards based on C99 or C11.
18777
18778 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18779 Disable tests.
18780 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18781 UNIX98]: Likewise.
18782
18783 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18784 usability of symbols in #if.
18785
18786 * conform/conformtest.pl: If macro or constant types start
18787 "promoted:", expect the symbol to be of the following type
18788 promoted by the integer promotions.
18789
18790 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18791 in one place. Also handle "macro-constant".
18792
18793 * conform/conformtest.pl: Only accept expected macro values with
18794 "==". Parse all "macro" lines in one place.
18795 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18796
18797 * conform/conformtest.pl: Handle braced types on "constant" lines
18798 instead of handling "typed-constant".
18799 * conform/data/signal.h-data: Use "constant" instead of
18800 "typed-constant".
18801
18802 * conform/conformtest.pl: Handle "optional-" at start of lines in
18803 one place rather than duplicating several cases. Handle each
18804 format of "macro" line with initial "optional-".
18805
18806 * conform/conformtest.pl: Only accept expected constant or
18807 optional-constant values with "==". Parse all "constant" lines in
18808 one place. Parse all "optional-constant" lines in one place.
18809 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18810 * conform/data/fmtmsg.h-data: Likewise.
18811 * conform/data/netinet/in.h-data: Likewise.
18812 * conform/data/tar.h-data: Likewise.
18813 * conform/data/limits.h-data: Use "==" form on "constant" and
18814 "optional-constant" lines.
18815
18816 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18817 Use -std=c99 for XOPEN2K.
18818 (@knownproblems): Remove.
18819 (newtoken): Don't check %isknown.
18820
18821 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18822 Do not expect macro.
18823 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18824 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18825 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18826 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18827 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18828 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18829 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18830 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18831 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18832 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18833 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18834 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18835 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18836 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18837 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18838 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18839 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18840 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18841 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18842 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18843 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18844 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18845 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18846 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18847 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18848 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18849 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18850 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18851 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18852 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18853 [XPG3] (acosh): Likewise.
18854 [XPG3] (asinh): Likewise.
18855 [XPG3] (atanh): Likewise.
18856 [XPG3] (cbrt): Likewise.
18857 [XPG3] (expm1): Likewise.
18858 [XPG3] (ilogb): Likewise.
18859 [XPG3] (log1p): Likewise.
18860 [XPG3] (logb): Likewise.
18861 [XPG3] (nextafter): Likewise.
18862 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18863 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18864 [XPG3] (remainder): Likewise.
18865 [XPG3] (rint): Likewise.
18866 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18867 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18868 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18869 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18870 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18871 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18872 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18873 [UNIX98 || XOPEN2K] (scalb): Expect.
18874 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18875 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18876 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18877 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18878 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18879 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18880 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18881 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18882 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18883 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18884 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18885 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18886 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18887 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18888 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18889 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18890 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18891 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18892 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18893 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18894 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18895 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18896 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18897 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18898 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18899 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18900 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18901 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18902 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18903 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18904 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18905 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18906 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18907 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18908 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18909 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18910 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18911 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18912 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18913 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18914 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18915 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18916 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18917 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18918 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18919 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18920 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18921 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18922 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18923 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18924 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18925 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18926 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18927 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18928 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18929 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18930 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18931 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18932 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18933 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18934 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18935 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18936 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18937 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18938 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18939 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18940 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18941 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18942 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18943 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18944 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18945 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18946 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18947 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18948 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18949 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18950 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18951 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18952 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18953 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18954 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18955 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18956 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18957 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18958 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18959 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18960 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18961 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18962 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18963 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18964 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18965 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18966 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18967 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18968 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18969 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18970 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18971 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18972 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18973 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18974 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18975 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18976 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18977 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18978 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18979 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18980 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18981 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18982 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18983 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18984 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18985 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18986 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18987 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18988 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18989 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18990 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18991 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18992 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18993 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18994 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18995 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18996 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18997 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18998 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18999 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19000 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19001 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19002 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19003 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19004 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19005 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19006 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19007 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19008 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19009 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19010 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19011
19012 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19013 _XOPEN_SOURCE_EXTENDED for XPG4.
19014
19015 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19016
19017 * Makeconfig (localtime): Remove variable.
19018 (inst_localtime-file): Likewise.
19019
190202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19021
19022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19023 Update.
19024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19025 Update.
19026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19027 Update.
19028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19029 Update.
19030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19031 Update.
19032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19033 Update.
19034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19035 Update.
19036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19037 Update.
19038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19039 Update.
19040
190412012-05-01 Joseph Myers <joseph@codesourcery.com>
19042
19043 [BZ #2550]
19044 [BZ #2570]
19045 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19046 comparisons to determine direction to adjust input.
19047 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19048 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19049 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19050 Likewise.
19051 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19052 Likewise.
19053 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19054 Likewise.
19055 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19056 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19057 Likewise.
19058 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19059 Likewise.
19060 * math/libm-test.inc (nexttoward_test): Add more tests.
19061
190622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19063
19064 [BZ #14040]
19065 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19066 in version GLIBC_2.1, not GLIBC_2.0.
19067 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19068 Likewise.
19069
190702012-04-30 Joseph Myers <joseph@codesourcery.com>
19071
19072 [BZ #13942]
19073 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19074 (1 - x) * (1 + x).
19075 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19076 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19077 * math/libm-test.inc (acos_test): Add more tests.
19078 (asin_test): Likewise.
19079 * sysdeps/i386/fpu/libm-test-ulps: Update.
19080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19081
19082 [BZ #14034]
19083 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19084 of square root.
19085 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19086 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19087 * math/libm-test.inc (acos_test_tonearest): New function.
19088 (acos_test_towardzero): Likewise.
19089 (acos_test_downward): Likewise.
19090 (acos_test_upward): Likewise.
19091 (asin_test_tonearest): Likewise.
19092 (asin_test_towardzero): Likewise.
19093 (asin_test_downward): Likewise.
19094 (asin_test_upward): Likewise.
19095 (main): Call the new functions.
19096 * sysdeps/i386/fpu/libm-test-ulps: Update.
19097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19098
19099 [BZ #13884]
19100 [BZ #13924]
19101 * math/e_exp10.c: Include <float.h>.
19102 (__ieee754_exp10): Handle underflow here rather than multiplying
19103 large negative argument by M_LN10.
19104 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19105 of __ieee754_expf.
19106 * math/e_exp10l.c: Include <float.h>.
19107 (__ieee754_exp10l): Handle underflow here rather than multiplying
19108 large negative argument by M_LN10l.
19109 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19110 spurious overflow exception on underflow.
19111
191122012-04-29 Marek Polacek <polacek@redhat.com>
19113
19114 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19115 (__fortify_function): New macro.
19116 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19117 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19118 __extern_always_inline.
19119 * libio/bits/stdio2.h: Likewise.
19120 * libio/bits/stdio.h: Likewise.
19121 * string/string.h: Likewise.
19122 * string/bits/string3.h: Likewise.
19123 * include/stdio.h: Likewise.
19124 * stdlib/bits/stdlib.h: Likewise.
19125 * stdlib/stdlib.h: Likewise.
19126 * rt/bits/mqueue2.h: Likewise.
19127 * rt/mqueue.h: Likewise.
19128 * posix/bits/unistd.h: Likewise.
19129 * posix/unistd.h: Likewise.
19130 * io/bits/poll2.h: Likewise.
19131 * io/bits/fcntl2.h: Likewise.
19132 * io/fcntl.h: Likewise.
19133 * io/sys/poll.h: Likewise.
19134 * misc/bits/syslog.h: Likewise.
19135 * misc/bits/syslog-ldbl.h: Likewise.
19136 * misc/sys/syslog.h: Likewise.
19137 * socket/bits/socket2.h: Likewise.
19138 * socket/sys/socket.h: Likewise.
19139 * debug/tst-chk1.c: Likewise.
19140 * wcsmbs/bits/wchar2.h: Likewise.
19141 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19142 * wcsmbs/wchar.h: Likewise.
19143
191442012-04-29 Andreas Jaeger <aj@suse.de>
19145
19146 * Makerules (tests): Remove enable-check-abi protection.
19147 (check-abi-warn): Remove.
19148 (check-abi-%): Remove check-abi-warn usage.
19149
19150 * configure.in: Remove check-abi configure option.
19151 * configure: Regenerated.
19152 * config.make.in (enable-check-abi): Remove.
19153
191542012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19155
19156 [BZ #14033]
19157 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19158 double functions to double *_finite functions.
19159
19160 [BZ #13941]
19161 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19162 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19163 LDBL_MIN_EXP.
19164 * stdio-common/Makefile (tests): Add tst-sprintf3.
19165 * stdio-common/tst-sprintf3.c: New file.
19166
19167 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19168 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19169
191702012-04-28 Joseph Myers <joseph@codesourcery.com>
19171
19172 * conform/conformtest.pl: Remove duplicate typed-constant
19173 handling.
19174
191752012-04-28 David S. Miller <davem@davemloft.net>
19176
19177 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19178 (check-abi-%): Remove AWK script prerequisite and explicit
19179 abilist directory.
19180 (check-abi): Rewrite to just diff the symlist with the abilist.
19181 (config-tls, config-abi-config): Delete, no longer used.
19182 (update-abi-%): Remove AWK script and explicit abilist directory.
19183 (update-abi): Rewrite to simply compare and conditionally copy the
19184 symlist and the sysdep abilist file. Remove update-abi-config
19185 checks.
19186 * abilist/ld.abilist: Remove.
19187 * abilist/libBrokenLocale.abilist: Remove.
19188 * abilist/libanl.abilist: Remove.
19189 * abilist/libcrypt.abilist: Remove.
19190 * abilist/libdl.abilist: Remove.
19191 * abilist/librt.abilist: Remove.
19192 * abilist/libthread_db.abilist: Remove.
19193 * abilist/libutil.abilist: Remove.
19194 * scripts/extract-abilist.awk: Remove.
19195 * scripts/merge-abilist.awk: Remove.
19196 * sysdeps/generic/libcidn.abilist: New file.
19197 * sysdeps/generic/libnss_compat.abilist: New file.
19198 * sysdeps/generic/libnss_db.abilist: New file.
19199 * sysdeps/generic/libnss_dns.abilist: New file.
19200 * sysdeps/generic/libnss_files.abilist: New file.
19201 * sysdeps/generic/libnss_hesiod.abilist: New file.
19202 * sysdeps/generic/libnss_nis.abilist: New file.
19203 * sysdeps/generic/libnss_nisplus.abilist: New file.
19204 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19205 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19206 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19207 file.
19208 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19209 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19210 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19211 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19212 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19213 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19214 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19215 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19216 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19217 file.
19218 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19219 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19220 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19221 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19222 file.
19223 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19224 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19225 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19226 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19227 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19228 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19229 file.
19230 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19231 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19232 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19233 file.
19234 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19236 New file.
19237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19238 New file.
19239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19240 New file.
19241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19242 New file.
19243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19244 New file.
19245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19246 New file.
19247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19248 New file.
19249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19250 New file.
19251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19252 New file.
19253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19254 New file.
19255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19256 New file.
19257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19258 New file.
19259 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19260 New file.
19261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19262 file.
19263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19264 New file.
19265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19266 New file.
19267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19268 file.
19269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19270 New file.
19271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19272 New file.
19273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19274 file.
19275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19276 New file.
19277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19278 New file.
19279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19280 New file.
19281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19282 New file.
19283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19284 New file.
19285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19286 New file.
19287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19289 file.
19290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19291 New file.
19292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19293 file.
19294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19295 file.
19296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19297 file.
19298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19299 file.
19300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19301 file.
19302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19303 New file.
19304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19305 file.
19306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19307 file.
19308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19309 New file.
19310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19311 file.
19312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19314 file.
19315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19316 New file.
19317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19318 file.
19319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19320 file.
19321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19322 file.
19323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19324 file.
19325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19326 file.
19327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19328 New file.
19329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19330 file.
19331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19332 file.
19333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19334 New file.
19335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19336 file.
19337 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19338 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19339 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19340 file.
19341 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19342 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19343 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19344 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19345 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19346 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19347 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19348 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19349 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19350 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19353 file.
19354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19355 New file.
19356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19357 file.
19358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19359 file.
19360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19361 file.
19362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19363 file.
19364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19365 file.
19366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19367 New file.
19368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19369 New file.
19370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19371 file.
19372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19373 New file.
19374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19375 file.
19376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19378 file.
19379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19380 New file.
19381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19382 file.
19383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19384 file.
19385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19386 file.
19387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19388 file.
19389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19390 file.
19391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19392 New file.
19393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19394 New file.
19395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19396 file.
19397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19398 New file.
19399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19400 file.
19401
194022012-04-28 Joseph Myers <joseph@codesourcery.com>
19403
19404 * conform/conformtest.pl: Fix typo in handling typed-constant from
19405 allow-header.
19406
194072012-04-27 Joseph Myers <joseph@codesourcery.com>
19408
19409 * README: Cut down references to pre-2.6 Linux kernels and
19410 Linuxthreads. Update lists of configurations in libc and ports
19411 and sort alphabetically. Say "or newer" with Linux kernel version
19412 requirements.
19413
19414 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19415
194162012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19417
19418 [BZ #887]
19419 * math/libm-test.inc (logb_test_downward): New test to expose
19420 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19421 rounding mode.
19422
194232012-04-27 Joseph Myers <joseph@codesourcery.com>
19424
19425 [BZ #14027]
19426 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19427 to be done.
19428 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19429 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19430
194312012-04-26 Joseph Myers <joseph@codesourcery.com>
19432
19433 * sysdeps/unix/i386/brk.S: Remove file.
19434 * sysdeps/unix/i386/dl-brk.S: Likewise.
19435 * sysdeps/unix/i386/pipe.S: Likewise.
19436 * sysdeps/unix/i386/sigreturn.S: Likewise.
19437 * sysdeps/unix/i386/syscall.S: Likewise.
19438 * sysdeps/unix/i386/vfork.S: Likewise.
19439 * sysdeps/unix/i386/wait.S: Likewise.
19440
19441 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19442 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19443
19444 * configure.in (arm*-none*): Do not allow without
19445 --enable-hacker-mode.
19446 (netbsd*): Remove case setting base_os.
19447 (386bsd*): Likewise.
19448 (freebsd*): Likewise.
19449 (bsdi*): Likewise.
19450 (osf*): Likewise.
19451 (sunos*): Likewise.
19452 (ultrix*): Likewise.
19453 (newsos*): Likewise.
19454 (dynix*): Likewise.
19455 (*bsd*): Likewise.
19456 (sysv*): Likewise.
19457 (isc*): Likewise.
19458 (esix*): Likewise.
19459 (sco*): Likewise.
19460 (minix*): Likewise.
19461 (irix4*): Likewise.
19462 (irix6*): Likewise.
19463 (solaris[2-9]*): Likewise.
19464 (none): Likewise.
19465 * configure: Regenerated.
19466
194672012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19468
19469 [BZ #11521]
19470 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19471 overflow or cancellation in calculating denominator.
19472 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19473 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19474 down expression to avoid unexpected rounding in newer GCCs.
19475 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19476
194772012-04-26 David S. Miller <davem@davemloft.net>
19478
19479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19480 long-double compat symbols.
19481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19494
194952012-04-25 David S. Miller <davem@davemloft.net>
19496
19497 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19498 HWCAP_* values only after the memory barriers have been defined.
19499 (atomic_full_barrier): Define.
19500 (atomic_read_barrier): Define.
19501 (atomic_write_barrier): Define.
19502
195032012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19504
19505 * shlib-versions: Add libgcc_s version information.
19506 * sysdeps/generic/libgcc_s.h: Remove.
19507 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19508 libgcc_s.h.
19509 * sysdeps/gnu/unwind-resume.c: Likewise.
19510 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19511
195122012-04-25 David S. Miller <davem@davemloft.net>
19513
19514 * sysdeps/unix/sparc/brk.S: Delete.
19515 * sysdeps/unix/sparc/dl-brk.S: Delete.
19516 * sysdeps/unix/sparc/pipe.S: Delete.
19517 * sysdeps/unix/sparc/sysdep.S: Delete.
19518 * sysdeps/unix/sparc/sysdep.h: Delete.
19519 * sysdeps/unix/sparc/vfork.S: Delete.
19520 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19521 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19522 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19523 ret_ERRVAL, r0, r1, MOVE): Define.
19524 (JUMPTARGET): Remove.
19525 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19526 sysdeps/unix/sparc/sysdep.h
19527 (ENTRY, END): Remove.
19528 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19529
195302012-04-25 Joseph Myers <joseph@codesourcery.com>
19531
19532 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19533 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19534 -DIS_IN_build.
19535
19536 * timezone/README: Update upstream location and email address for
19537 tzcode and tzdata.
19538 * timezone/zdump.c: Update from tzcode 2012b.
19539 * timezone/zic.c: Likewise.
19540
19541 * configure.in (libc_cv_as_needed): Remove test.
19542 * configure: Regenerated.
19543 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19544 conditional definition.
19545 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19546 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19547 * config.make.in (have-as-needed): Remove variable.
19548
195492012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19550 Paul Pluzhnikov <ppluzhnikov@google.com>
19551
19552 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19553 strings correctly.
19554
195552012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19556
19557 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19558 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19559 * sysdeps/sh/strlen.S: Likewise.
19560
195612012-04-24 Joseph Myers <joseph@codesourcery.com>
19562
19563 * sysdeps/unix/fork.S: Remove file.
19564 * sysdeps/unix/i386/fork.S: Likewise.
19565 * sysdeps/unix/sparc/fork.S: Likewise.
19566
19567 * sysdeps/unix/system.c: Remove file.
19568 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19569
19570 * sysdeps/unix/getegid.S: Remove file.
19571 * sysdeps/unix/geteuid.S: Likewise.
19572
195732012-04-24 Roland McGrath <roland@hack.frob.com>
19574
19575 * scripts/check-localplt.awk: New file.
19576 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19577 of diff.
19578 * scripts/data/localplt-generic.data: Add a comment.
19579
19580 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19581 NODE when __dir_mkfile failed.
19582 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19583 Reported by Ludovic Courtès <ludo@gnu.org>.
19584
195852012-04-24 Andreas Jaeger <aj@suse.de>
19586
19587 * Makerules (common-clean): Also remove gen-as-const-headers
19588 files.
19589
195902012-04-24 Joseph Myers <joseph@codesourcery.com>
19591
19592 * Makerules (native-compile): Do not change working directory for
19593 build. Use $(OUTPUT_OPTION) in command.
19594 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19595
195962012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19597
19598 [BZ #13886]
19599 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19600 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19601 * math/libm-test.inc (floor_test): Add more tests.
19602 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19603
196042012-04-24 Joseph Myers <joseph@codesourcery.com>
19605
19606 * sysdeps/unix/getdents.c: Remove file.
19607 * sysdeps/unix/sysv/getdents.c: Likewise.
19608 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19609
19610 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19611 sysdeps/unix/mman/syscalls.list.
19612 (mmap): Likewise.
19613 (mprotect): Likewise.
19614 (msync): Likewise.
19615 (munmap): Likewise.
19616 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19617 * sysdeps/unix/mman/syscalls.list: Remove.
19618 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19619
19620 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19621 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19622 * configure: Regenerated.
19623 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19624 $(libgcc_s_suffix).
19625 * config.make.in (libgcc_s_suffix): Remove variable.
19626
196272012-04-23 Joseph Myers <joseph@codesourcery.com>
19628
19629 * sysdeps/unix/sysv/gethostname.c: Move to ...
19630 * sysdeps/posix/gethostname.c: ... here.
19631
19632 * sysdeps/unix/execve.S: Remove file.
19633
19634 * sysdeps/unix/_exit.S: Remove file.
19635
196362012-04-23 Andreas Jaeger <aj@suse.de>
19637
19638 [BZ #13739]
19639 * manual/Makefile: Remove make dist support, there's no
19640 need for a stand-alone documentation tar ball.
19641 (TEXI2DVI): Define always, it's not in Makeconfig.
19642 (dist): Removed.
19643 (tar-it): Removed.
19644 (edition): Removed.
19645 (glibc-doc-$(edition).tar): Removed
19646 (%.Z): Removed.
19647 (%.gz): Removed.
19648 (%.uu): Removed.
19649 (ETAGS): Remove, it's in Makeconfig.
19650 (move-if-change): Remove, it's in Makeconfig.
19651
196522012-04-23 Paul Eggert <eggert@cs.ucla.edu>
19653
19654 [BZ #13970]
19655 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19656 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19657 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19658 (strtod_l, strtof_l, strtold_l): Remove __wur.
19659 It is not necessarily an error to ignore strtol's return value.
19660 One can reliably look at the stored endptr to decide whether
19661 the number had valid syntax.
19662
196632012-04-21 Andreas Jaeger <aj@suse.de>
19664
19665 [BZ #13739]
19666 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19667
196682012-04-21 Joseph Myers <joseph@codesourcery.com>
19669
19670 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19671 * sysdeps/unix/sysv/Versions: Remove file.
19672
196732012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19674
19675 [BZ #13927]
19676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19677
196782012-04-21 Nick Alcock <nick.alcock@oracle.com>
19679
19680 [BZ #7064]
19681 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19682 version from __vm86.
19683
196842012-04-20 Joseph Myers <joseph@codesourcery.com>
19685
19686 * sysdeps/unix/common/lxstat.c: Remove file.
19687 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19688
19689 * sysdeps/unix/sysv/Makefile: Remove file.
19690
19691 * sysdeps/unix/sysv/direct.h: Remove file.
19692
19693 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19694 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19695 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19696 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19697 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19698 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19699 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19700
19701 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19702
19703 * sysdeps/unix/xmknod.c: Remove file.
19704 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19705
19706 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19707
19708 * sysdeps/unix/sysv/i386/time.S: Remove file.
19709
19710 * sysdeps/unix/fxstat.c: Remove file.
19711 * sysdeps/unix/xstat.c: Likewise.
19712 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19713
19714 * sysdeps/unix/sysv/sigaction.c: Remove file.
19715
19716 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19717 (sysdep_headers): Remove variable.
19718 [termio.h not in sysdep_headers] (generated): Likewise.
19719 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19720 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19721 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19722 * sysdeps/unix/sysv/tcflow.c: Likewise.
19723 * sysdeps/unix/sysv/tcflush.c: Likewise.
19724 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19725 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19726 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19727 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19728 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19729
19730 * sysdeps/unix/siglist.c: Remove file.
19731
19732 * sysdeps/unix/getppid.S: Remove file.
19733
19734 * sysdeps/unix/mkdir.c: Remove file.
19735 * sysdeps/unix/rmdir.c: Likewise.
19736
197372012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19738
19739 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19740 ERR_MAX value.
19741 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19742 errlist-compat value.
19743
197442012-04-18 David S. Miller <davem@davemloft.net>
19745
19746 * sysdeps/generic/memcopy.h (reg_char): Delete.
19747 * debug/strcat_chk.c: Use char, not reg_char.
19748 * debug/strcpy_chk.c: Likewise.
19749 * debug/strncat_chk.c: Likewise.
19750 * debug/strncpy_chk.c: Likewise.
19751 * string/memchr.c: Likewise.
19752 * string/memrchr.c: Likewise.
19753 * string/rawmemchr.c: Likewise.
19754 * string/strcat.c: Likewise.
19755 * string/strchr.c: Likewise.
19756 * string/strchrnul.c: Likewise.
19757 * string/strcmp.c: Likewise.
19758 * string/strcpy.c: Likewise.
19759 * string/strncat.c: Likewise.
19760 * string/strncmp.c: Likewise.
19761 * string/strncpy.c: Likewise.
19762
197632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19764
19765 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19766 __builtin_memcopy is called when src and dest ranges are known to not
19767 overlap.
19768
197692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19770
19771 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19772 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19773 fwd_align_merge macro call.
19774 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19775 bwd_align_merge macro call.
19776 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19777
197782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19779
19780 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19781 bwd_align_merge macros.
19782 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19783 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19784 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19785
197862012-04-18 David S. Miller <davem@davemloft.net>
19787
19788 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19789
197902012-04-18 Andreas Jaeger <aj@suse.de>
19791
19792 [BZ# 6794]
19793 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19794 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19795 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19796
19797 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19798 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19799 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19800
19801 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19802 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19803 Adjust for changed ldbl-128 files.
19804
19805 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19806 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19807 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19808
198092012-04-17 David S. Miller <davem@davemloft.net>
19810
19811 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19812
198132012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19814
19815 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19816 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19817 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19818 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19819 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19820 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19821
198222012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19823
19824 [BZ #6794]
19825 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19826 * math/libm-test.inc: Add ilogb errno and exception tests.
19827 * math/w_ilogb.c: New file: ilogb wrapper.
19828 * math/w_ilogbf.c: New file: ilogbf wrapper.
19829 * math/w_ilogbl.c: New file: ilogbl wrapper.
19830 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19831 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19832 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19833 exception being thrown with 0.0 as argument.
19834 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19835 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19836 exception being thrown with 0.0 as argument.
19837 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19838 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19839 exception being thrown with 0.0 as argument.
19840 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19841 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19842 exception being thrown with 0.0 as argument.
19843 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19844 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
19845 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
19846 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19847 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19848 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19849 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19850 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19851 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19852
198532012-04-17 Petr Baudis <pasky@ucw.cz>
19854
19855 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19856 with altivec.
19857
198582012-04-16 Marek Polacek <polacek@redhat.com>
19859
19860 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19861
198622012-04-16 Marek Polacek <polacek@redhat.com>
19863
19864 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19865 operands of fdivp instruction.
19866
198672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19868
19869 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19870 * elf/tst-auditmod3b.c: Likewise.
19871 * elf/tst-auditmod4b.c: Likewise.
19872 * elf/tst-auditmod5b.c: Likewise.
19873 * elf/tst-auditmod6b.c: Likewise.
19874 * elf/tst-auditmod6c.c: Likewise.
19875 * elf/tst-auditmod7b.c: Likewise.
19876 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19877 * sysdeps/x86_64/preconfigure.in: Likewise.
19878 * sysdeps/x86_64/preconfigure: Regenerated.
19879
198802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19881
19882 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19883 __ILP32__.
19884
198852012-04-13 Antoine Balestrat <merkil33@gmail.com>
19886
19887 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19888 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19889
198902012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19891
19892 [BZ #13973]
19893 * locale/iso-639.def: Fix gl language name. Spotted by
19894 Yaron Shahrabani.
19895
198962012-04-12 Roland McGrath <roland@hack.frob.com>
19897
19898 [BZ #2074]
19899 * libio/libio.h (__io_write_fn): Update comment.
19900
199012012-04-12 Petr Baudis <pasky@ucw.cz>
19902
19903 [BZ #2074]
19904 * stdio.texi (Hook Functions): The user provided writer function
19905 is not allowed to return -1.
19906
199072012-04-11 David S. Miller <davem@davemloft.net>
19908
19909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19910
199112012-04-11 Mike Frysinger <vapier@gentoo.org>
19912
19913 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19914 Add a leading slash to rtkaio.
19915
199162012-04-11 Jim Meyering <meyering@redhat.com>
19917
19918 [BZ #11959]
19919 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19920 It is not necessarily an error to ignore fwrite's return
19921 value. One can reliably use ferror to test for errors after
19922 the fact.
19923
199242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19925
19926 * bits/types.h (__snseconds_t): New type.
19927 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19928
19929 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19930 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19931 (__SNSECONDS_T_TYPE): Likewise.
19932 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19933 (__SNSECONDS_T_TYPE): Likewise.
19934 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19935 (__SNSECONDS_T_TYPE): Likewise.
19936
199372012-04-10 Andreas Jaeger <aj@suse.de>
19938
19939 [BZ #2636]
19940 * manual/time.texi (Processor Time): Return type of times is
19941 elapsed real time since an arbitrary point in the past.
19942 (CPU Time): Move CLK_TCK from here...
19943 (Processor Time): ...to here. Correct description.
19944 * manual/conf.texi (Constants for Sysconf): Correct description of
19945 _SC_CLK_TCK.
19946
199472012-04-10 David S. Miller <davem@davemloft.net>
19948
19949 [BZ #13967]
19950 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19951 where the is a gap between DT_REL(A) and DT_JMPREL.
19952
199532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19954
19955 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19956 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19957 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19958
199592012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19960
19961 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19962 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19963 (dl_main): Handle --inhibit-cache.
19964 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19965 _dl_inhibit_cache.
19966 * elf/dl-load.c (_dl_map_object): Use it.
19967 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19968
199692012-04-09 Joseph Myers <joseph@codesourcery.com>
19970
19971 [BZ #13872]
19972 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19973 (__ieee754_powl): Saturate large exponents rather than testing for
19974 overflow of y*log2(x).
19975 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19976 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19977 exceptions.
19978
19979 [BZ #11521]
19980 * math/s_ctan.c: Include <float.h>.
19981 (__ctan): Avoid internal overflow or cancellation in calculating
19982 denominator.
19983 * math/s_ctanf.c: Likewise.
19984 * math/s_ctanl.c: Likewise.
19985 * math/s_ctanh.c: Likewise.
19986 * math/s_ctanhf.c: Likewise.
19987 * math/s_ctanhl.c: Likewise.
19988 * math/libm-test.inc (ctan_test): Add more tests.
19989 (ctanh_test): Likewise.
19990 * sysdeps/i386/fpu/libm-test-ulps: Update.
19991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19992
199932012-04-09 Andreas Jaeger <aj@suse.de>
19994
19995 [BZ #6894]
19996 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19997 is an optional BSD extension.
19998
19999 [BZ #10254]
20000 * manual/stdio.texi (Opening Streams): Document additional fopen
20001 parameters.
20002
200032012-04-09 Roland McGrath <roland@hack.frob.com>
20004
20005 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20006 %eax without telling the compiler.
20007
200082012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20009
20010 [BZ # 13963]
20011 * manual/install.texi: Use sourceware.org.
20012
200132012-04-09 Joseph Myers <joseph@codesourcery.com>
20014
20015 [BZ #13873]
20016 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20017 (__ieee754_pow): Generate overflow and underflow using huge*huge
20018 and tiny*tiny rather than just returning constant infinity or zero
20019 for large exponents.
20020 * math/libm-test.inc (pow_test): Require overflow exceptions for
20021 applicable cases of large exponents.
20022
20023 [BZ #706]
20024 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20025 (__ieee754_pow): Use iterative multiplication algorithm only for
20026 integer exponents with absolute value below 1024. Check for odd
20027 integer exponents when using algorithm for real exponents.
20028 * math/libm-test.inc (pow_test): Add more tests.
20029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20030
200312012-04-08 Joseph Myers <joseph@codesourcery.com>
20032
20033 [BZ #13705]
20034 * math/libm-test.inc (exp_test): Do not allow overflow exception
20035 on underflow test.
20036
200372012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20038
20039 [BZ #13705]
20040 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20041 instead of __kernel_standard_f.
20042
200432012-04-08 Mike Frysinger <vapier@gentoo.org>
20044
20045 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20046 * sysdeps/x86_64/memset_chk.S: Likewise.
20047
200482012-04-08 Andreas Jaeger <aj@suse.de>
20049
20050 [BZ #10153]
20051 * manual/startup.texi (Environment Access): Describe return value
20052 for putenv and setenv.
20053
20054 [BZ #6895]
20055 * manual/filesys.texi (Directory Entries): Add description for
20056 DT_LNK.
20057
20058 [BZ #6890]
20059 * manual/filesys.texi (Directory Entries): Clarify that it's file
20060 system not operating system in the description of DT_UNKNOWN.
20061
20062 [BZ #6578]
20063 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20064
200652012-04-08 Stephen Compall <s11@member.fsf.org>
20066
20067 [BZ #6649]
20068 * manual/llio.texi (Opening and Closing Files): Add cross
20069 reference to explain mode argument.
20070
200712012-04-07 Mike Frysinger <vapier@gentoo.org>
20072
20073 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20074 * sysdeps/x86_64/memset_chk.S: Likewise.
20075
200762012-04-07 David S. Miller <davem@davemloft.net>
20077
20078 * elf/elf.h (R_SPARC_WDISP10): Define.
20079 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20080 R_SPARC_SIZE32.
20081 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20082 R_SPARC_SIZE64 and R_SPARC_H34.
20083
200842012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20085
20086 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20087 conditions and remove no longer applicable assertion.
20088
200892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20090
20091 * bits/byteswap.h: Include <features.h>.
20092 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20093 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20094
200952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20096
20097 * bits/byteswap.h (__bswap_16): Removed.
20098 Include <bits/byteswap-16.h> to get __bswap_16.
20099 * sysdeps/i386/bits/byteswap.h: Likewise.
20100 * sysdeps/s390/bits/byteswap.h: Likewise.
20101 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20102 * bits/byteswap-16.h: New file.
20103 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20104 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20105 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20106 * string/Makefile (headers): Add bits/byteswap-16.h.
20107
201082012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20109
20110 [BZ #13895]
20111 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20112 extra indirection.
20113 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20114 * nss/tst-nss-static.c: New.
20115
201162012-04-06 Robert Millan <rmh@gnu.org>
20117
20118 [BZ #6486]
20119 * manual/llio.texi (File Position Primitive): lseek
20120 refers to WHENCE when it really means OFFSET.
20121
201222012-04-06 Andreas Jaeger <aj@suse.de>
20123
20124 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20125 strncmp declarations.
20126
20127 * abilist/libc.abilist: Add __poll and __ppoll.
20128
201292012-04-05 David S. Miller <davem@davemloft.net>
20130
20131 * scripts/check-local-headers.sh: Accept a host triplet in the
20132 path matched by the exclude regexp.
20133
20134 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20135 definition.
20136 * sysdeps/powerpc/powerpc32/dl-machine.h
20137 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20138 * sysdeps/s390/s390-32/dl-machine.h
20139 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20140 * sysdeps/sparc/sparc32/dl-machine.h
20141 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20142 * sysdeps/sparc/sparc64/dl-machine.h
20143 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20144
20145 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20146 lazy binding.
20147 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20148 undefined symbol errors.
20149
20150 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20151 DT_NEEDED entries.
20152
201532012-04-05 Michael Matz <matz@suse.de>
20154
20155 [BZ #13592]
20156 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20157
201582012-04-05 Andreas Jaeger <aj@suse.de>
20159
20160 [BZ #13908]
20161 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20162 comment.
20163
201642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20165
20166 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20167 which ROUND is no valid rounding mode.
20168
201692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20170
20171 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20172 read again.
20173 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20174
201752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20176
20177 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20178 an exception using FPU order intentionally.
20179
201802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20181
20182 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20183 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20184 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20185 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20186
201872012-04-05 Simon Josefsson <simon@josefsson.org>
20188
20189 [BZ #12340]
20190 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20191 EINVAL when BUFLEN is too smal.
20192
201932012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20194
20195 [BZ #13553]
20196 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20197 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20198
201992012-04-03 Andreas Jaeger <aj@suse.de>
20200
20201 [BZ #13938]
20202 * manual/setjmp.texi (System V contexts): Fix sentence.
20203
20204 [BZ #13926]
20205 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20206 New macro for this case.
20207 [!__GNUC__] (__bswap_64): New inline function for this case.
20208 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20209 * bits/byteswap.h: Likewise.
20210 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20211 ull, guard with __GLIBC_HAVE_LONG_LONG.
20212
20213 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20214 __GLIBC_HAVE_LONG_LONG.
20215
20216 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20217 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20218
202192012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20220
20221 [BZ #13691]
20222 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20223 inptr and inend, rather than using last_ch.
20224
202252012-04-02 David S. Miller <davem@davemloft.net>
20226
20227 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20228 * stdio-common/printf-parse.h (read_int): Change return type to
20229 'int', return -1 on INT_MAX overflow.
20230 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20231 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20232 overflows INT_MAX. Check for overflow of in-format-string precision
20233 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20234 SIZE_MAX not INT_MAX for integer overflow test.
20235 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20236 skip the construct in the format string but do not record anything.
20237 * stdio-common/bug22.c: Adjust to test both width/prevision
20238 INT_MAX overflow as well as total length INT_MAX overflow. Check
20239 explicitly for proper errno values.
20240
202412012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20242
20243 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20244 CHAR_MAX.
20245 * string/test-strcmp.c [! WIDE]: Likewise.
20246 * time/tst-mktime2.c: Likewise for INT_MAX.
20247 * string/test-string.h: #include <sys/param.h> for MIN.
20248
20249 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20250 * sysdeps/i386/init-first.c (init): Likewise.
20251 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20252 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20253 * sysdeps/sh/init-first.c (init): Likewise.
20254
202552012-04-01 Ulrich Drepper <drepper@gmail.com>
20256
20257 * po/ru.po: Update from translation team.
20258 * po/vi.po: Likewise.
20259
202602012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20261
20262 * resolv/nss_dns/dns-host.c: Merge copyright years.
20263
202642012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20265
20266 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20267 Optimize memcpy with prefetch if
20268 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20269 src, dst pointers have unequal 16 byte alignments.
20270
202712012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20272
20273 [BZ #13928]
20274 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20275 from a CNAME entry and return the minimum ttl for the query.
20276 (gaih_getanswer_slice): Likewise.
20277
202782012-03-30 Jeff Law <law@redhat.com>
20279
20280 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20281 due to long keys.
20282 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20283 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20284
20285 * resolv/nss_dns/dns-host.c: Update copyright year.
20286
202872012-03-30 Ulrich Drepper <drepper@gmail.com>
20288
20289 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20290 requests to save a system call. Fix check that all bytes are sent.
20291
20292 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20293 comments for sendmmsg.
20294
202952012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20296
20297 [BZ #13691]
20298 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20299 with only 1 character between 0x0041 and 0x01b0.
20300 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20301 * wcsmbs/tst-mbsnrtowcs.c: New file.
20302
203032012-03-29 David S. Miller <davem@davemloft.net>
20304
20305 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20306 small copies by hand.
20307
203082012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20309
20310 [BZ #13761]
20311 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20312 _nss_compat_initgroups_dyn): Fall back to malloc/free
20313 for large group memberships.
20314
203152012-03-28 David S. Miller <davem@davemloft.net>
20316
20317 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20318 that branches into memcpy.
20319 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20320 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20321 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20322 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20323 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20324 bits.
20325 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20326 implementation too.
20327 * sysdeps/sparc/mempcpy.S: New file.
20328
20329 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20330 the IFUNC routine in the libc case.
20331 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20332
20333 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20334 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20335 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20336 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20337 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20338 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20339 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20340 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20341
20342 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20343 loop to 256 bytes instead of 64 bytes and fix test signedness.
20344
20345 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20346 * sysdeps/sparc/sparc32/Makefile: rather than here...
20347 * sysdeps/sparc/sparc64/Makefile: and here.
20348
203492012-03-28 Ulrich Drepper <drepper@gmail.com>
20350
20351 * malloc/mallocbug.c: Avoid warnings about unused variables.
20352
203532012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20354
20355 [BZ #13760]
20356 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20357 in the right place. Discard and retry query if response is
20358 larger than input buffer size.
20359
203602012-03-28 Joseph Myers <joseph@codesourcery.com>
20361
20362 [BZ #369]
20363 [BZ #2678]
20364 [BZ #3866]
20365 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20366 x for large integer exponent.
20367 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20368 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20369 sign of result as needed afterwards.
20370 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20371 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20372 result for underflowing pow the same as for overflow.
20373 (__kernel_standard_l): Handle powl overflow and underflow here
20374 rather than calling __kernel_standard.
20375 * math/libm-test.inc (pow_test): Add more tests.
20376
20377 [BZ #3868]
20378 [BZ #13879]
20379 [BZ #13910]
20380 [BZ #13911]
20381 [BZ #13912]
20382 [BZ #13913]
20383 [BZ #13915]
20384 [BZ #13916]
20385 [BZ #13917]
20386 [BZ #13918]
20387 [BZ #13919]
20388 [BZ #13920]
20389 [BZ #13921]
20390 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20391 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20392 (__kernel_standard_l): New function.
20393 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20394 __kernel_standard.
20395 * math/w_acosl.c (__acosl): Likewise.
20396 * math/w_asinl.c (__asinl): Likewise.
20397 * math/w_atan2l.c (__atan2l): Likewise.
20398 * math/w_atanhl.c (__atanhl): Likewise.
20399 * math/w_coshl.c (__coshl): Likewise.
20400 * math/w_exp10l.c (__exp10l): Likewise.
20401 * math/w_exp2l.c (__exp2l): Likewise.
20402 * math/w_fmodl.c (__fmodl): Likewise.
20403 * math/w_hypotl.c (__hypotl): Likewise.
20404 * math/w_j0l.c (__j0l, __y0l): Likewise.
20405 * math/w_j1l.c (__j1l, __y1l): Likewise.
20406 * math/w_jnl.c (__jnl, __ynl): Likewise.
20407 * math/w_lgammal.c (__lgammal): Likewise.
20408 * math/w_log10l.c (__log10l): Likewise.
20409 * math/w_log2l.c (__log2l): Likewise.
20410 * math/w_logl.c (__logl): Likewise.
20411 * math/w_powl.c (__powl): Likewise.
20412 * math/w_remainderl.c (__remainderl): Likewise.
20413 * math/w_scalbl.c (sysv_scalbl): Likewise.
20414 * math/w_sinhl.c (__sinhl): Likewise.
20415 * math/w_sqrtl.c (__sqrtl): Likewise.
20416 * math/w_tgammal.c (__tgammal): Likewise.
20417 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20418 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20419 * math/libm-test.inc (acos_test): Add more tests.
20420 (acosh_test): Likewise.
20421 (asin_test): Likewise.
20422 (atanh_test): Likewise.
20423 (exp_test): Likewise.
20424 (exp10_test): Likewise.
20425 (exp2_test): Likewise.
20426 (expm1_test): Likewise.
20427 (lgamma_test): Likewise.
20428 (log_test): Likewise.
20429 (log10_test): Likewise.
20430 (log1p_test): Likewise.
20431 (log2_test): Likewise.
20432 (pow_test): Do not allow some spurious overflow exceptions.
20433 (sqrt_test): Add more tests.
20434 (tgamma_test): Likewise.
20435 (y0_test): Likewise.
20436 (y1_test): Likewise.
20437 (yn_test): Likewise.
20438
204392012-03-27 Anton Blanchard <anton@samba.org>
20440
20441 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20442 MAP_HUGETLB.
20443 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20444 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20445 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20446
204472012-03-27 David S. Miller <davem@davemloft.net>
20448
20449 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20450
20451 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20452 have-as-vis3 check.
20453
204542012-03-27 Andreas Jaeger <aj@suse.de>
20455
20456 * sysdeps/x86_64/elf/configure.in: Moved to ...
20457 * sysdeps/x86_64/configure.in: ... here.
20458 * sysdeps/x86_64/elf/start.S: Moved to ...
20459 * sysdeps/x86_64/start.S: ... here.
20460 * sysdeps/x86_64/elf/configure: Delete.
20461
20462 * sysdeps/x86_64/configure.in: Merge contents from
20463 sysdeps/i386/configure.in (without i686 check).
20464
20465 * sysdeps/i386/elf/Versions: Merge into ...
20466 * sysdeps/i386/Versions: ... this.
20467 * sysdeps/i386/elf/Versions: Delete file.
20468 * sysdeps/i386/elf/start.S: Moved to ...
20469 * sysdeps/i386/start.S: ...here.
20470 * sysdeps/i386/elf/configure.in: Merge into...
20471 * sysdeps/i386/configure.in: ...here.
20472 * sysdeps/i386/elf/configure.in: Delete file.
20473 * sysdeps/i386/elf/configure: Delete file.
20474
20475 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20476 * debug/backtracesyms.c: ... here.
20477 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20478 * debug/backtracesymsfd.c: ... here.
20479 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20480 * sysdeps/generic/ifunc-sel.h: ... here.
20481
20482 * sysdeps/unix/i386/start.c: Delete file.
20483 * sysdeps/unix/sparc/start.c: Delete file.
20484 * sysdeps/unix/start.c: Delete file.
20485
20486 * sysdeps/sh/elf/configure.in: Moved to ...
20487 * sysdeps/sh/configure.in: ... here.
20488 * sysdeps/sh/elf/start.S: Moved to ...
20489 * sysdeps/sh/start.S: ... here.
20490 * sysdeps/sh/elf/configure: Delete file.
20491
20492 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20493 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20494 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20495 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20496 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20497 * sysdeps/powerpc/powerpc64/start.S: here.
20498 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20499 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20500 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20501 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20502 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20503
20504 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20505 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20506 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20507 * sysdeps/powerpc/powerpc32/start.S: ... here.
20508 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20509 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20510 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20511
20512 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20513 * sysdeps/powerpc/ifunc-sel.h: ... here.
20514 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20515 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20516
20517 * sysdeps/sparc/elf/configure.in: Moved to ...
20518 * sysdeps/sparc/configure.in: ... here.
20519 * sysdeps/sparc/elf/configure: Delete file.
20520 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20521 * sysdeps/sparc/sparc32/start.S: ... here.
20522 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20523 * sysdeps/sparc/sparc64/start.S: ... here.
20524 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20525 * sysdeps/sparc/sparc32/Makefile: ... this.
20526 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20527 * sysdeps/sparc/sparc64/Makefile: ... this.
20528
20529 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20530 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20531 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20532 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20533 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20534 * sysdeps/s390/s390-32/setjmp.S: ... here.
20535 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20536 * sysdeps/s390/s390-32/configure.in: ... here.
20537 * sysdeps/s390/s390-32/elf/configure: Delete file.
20538 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20539 * sysdeps/s390/s390-32/start.S: ... here.
20540
20541 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20542 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20543 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20544 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20545 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20546 * sysdeps/s390/s390-64/setjmp.S: ... here.
20547 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20548 * sysdeps/s390/s390-64/configure.in: ... here
20549 * sysdeps/s390/s390-64/elf/configure: Delete file.
20550 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20551 * sysdeps/s390/s390-64/start.S: ... here.
20552 * sysdeps/s390/s390-64/elf/configure: Delete.
20553
20554 * configure.in: Remove support for elf directories in sysdeps.
20555
20556 * configure: Regenerated.
20557 * sysdeps/i386/configure: Regenerated.
20558 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20559 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20560 * sysdeps/s390/s390-32/configure: Regenerated.
20561 * sysdeps/s390/s390-64/configure: Regenerated.
20562 * sysdeps/sh/configure: Regenerated.
20563 * sysdeps/sparc/configure: Regenerated.
20564 * sysdeps/x86_64/configure: Regenerated.
20565
205662012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20567
20568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20569
20570 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20571 denormal result into account.
20572
205732012-03-25 Roland McGrath <roland@hack.frob.com>
20574
20575 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20576 Reported by Allan McRae <allan@archlinux.org>.
20577
205782012-03-23 Jeff Law <law@redhat.com>
20579
20580 * nss/getnssent.c (__nss_getent): Fix typo.
20581
205822012-03-23 David S. Miller <davem@davemloft.net>
20583
20584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20585
205862012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20587
20588 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20589 to pad to uint64_t for each field.
20590 (dl_tls_index): Replace unsigned long with uint64_t.
20591
205922012-03-23 Daniel Jacobowitz <dmj@google.com>
20593 Paul Pluzhnikov <ppluzhnikov@google.com>
20594
20595 [BZ #6528]
20596 * grp/Makefile (otherlibs): Don't set it.
20597 * inet/Makefile (otherlibs): Likewise.
20598 * login/Makefile (otherlibs): Likewise.
20599 * nscd/Makefile (otherlibs): Likewise.
20600 * posix/Makefile (otherlibs): Likewise.
20601 * pwd/Makefile (otherlibs): Likewise.
20602 * rt/Makefile (otherlibs): Likewise.
20603 * sunrpc/Makefile (otherlibs): Likewise.
20604 * nss/Makefile (otherlibs): Likewise.
20605 Add libnss_files to routines and static-only-routines.
20606 ($(objpfx)getent): Remove rule.
20607 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20608 static-only-routines.
20609
206102012-03-22 Joseph Myers <joseph@codesourcery.com>
20611
20612 [BZ #13892]
20613 * math/s_cexp.c: Include <float.h>.
20614 (__cexp): Handle exp result overflowing not necessarily
20615 overflowing both real and imaginary parts of result.
20616 * math/s_cexpf.c: Likewise.
20617 * math/s_cexpl.c: Likewise.
20618 * math/libm-test.inc (cexp_test): Add more tests.
20619 * sysdeps/i386/fpu/libm-test-ulps: Update.
20620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20621
206222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20623
20624 * include/link.h (ELFW): New macro.
20625 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20626 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20627
206282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20629
20630 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20631 with uint64_t.
20632
206332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20634
20635 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20636 declaration.
20637 (struct La_x32_retval): Likewise.
20638
206392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20640
20641 * sysdeps/x86_64/preconfigure.in: New file.
20642 * sysdeps/x86_64/preconfigure: New generated file.
20643
206442012-03-22 Joseph Myers <joseph@codesourcery.com>
20645
20646 [BZ #13824]
20647 * math/e_exp2l.c: Include <float.h>.
20648 (__ieee754_exp2l): Handle overflow and underflow cases
20649 separately. Only pass fractional part of argument to
20650 __ieee754_expl.
20651 * math/libm-test.inc (exp2_test): Add more tests.
20652
20653 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20654 negating x to take absolute value.
20655 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20656 Likewise.
20657 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20658 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20659 Likewise.
20660 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20661 computing low part if x was negated.
20662 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20663
206642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20665
20666 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20667 la_x32_gnu_pltexit.
20668 (pltexit): Cast int_retval to ptrdiff_t.
20669 * elf/tst-auditmod3b.c: Likewise.
20670 * elf/tst-auditmod4b.c: Likewise.
20671 * elf/tst-auditmod5b.c: Likewise.
20672 * elf/tst-auditmod6b.c: Likewise.
20673 * elf/tst-auditmod6c.c: Likewise.
20674 * elf/tst-auditmod7b.c: Likewise.
20675
20676 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20677 and x32_gnu_pltexit.
20678
20679 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20680 __ELF_NATIVE_CLASS.
20681 (La_x32_regs): New macro.
20682 (La_x32_retval): Likewise.
20683 (la_x32_gnu_pltenter): New function prototype.
20684 (la_x32_gnu_pltexit): Likewise.
20685
206862012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20687
20688 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20689 exponent.
20690
20691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20692
20693 * configure.in (libc_cv_cc_nofma): Check for option to disable
20694 generation of FMA instructions.
20695 * configure: Regenerate.
20696 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20697 * sysdeps/ieee754/dbl-64/Makefile: New file.
20698 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20699 Remove brandred-fma4.
20700 (CFLAGS-brandred-fma4.c): Remove.
20701 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20702 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20703 define.
20704 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20705 define.
20706
207072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20708
20709 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20710 LLONG_MAX != LONG_MAX.
20711 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20712 (_fitoa_word): Likewise.
20713 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20714 LLONG_MAX != LONG_MAX.
20715 * stdio-common/_itowa.h: Include <_itoa.h>.
20716 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20717 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20718 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20719 only if not defined.
20720 (_ITOA_WORD_TYPE): Likewise.
20721 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20722 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20723
207242012-03-21 David S. Miller <davem@davemloft.net>
20725
20726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20727
207282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20729
20730 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20731 of x86_64 when setting libc_cv_slibdir, libdir and
20732 libc_cv_localedir.
20733 * sysdeps/unix/sysv/linux/configure: Regenerated.
20734
207352012-03-21 Joseph Myers <joseph@codesourcery.com>
20736
20737 * manual/lang.texi (Old Varargs): Remove section.
20738 (How Variadic): Update menu.
20739 (va_start): Do not mention varargs.h.
20740
207412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20742 Joseph Myers <joseph@codesourcery.com>
20743
20744 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20745 link test.
20746 * configure: Regenerated.
20747
207482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20749
20750 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20751 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20752 conformtest.pl
20753
207542012-03-21 Joseph Myers <joseph@codesourcery.com>
20755
20756 * NOTES: Remove.
20757 * Makefile (files-for-dist): Remove NOTES.
20758 (NOTES): Remove rule.
20759 * README: Don't refer to NOTES.
20760 * manual/creature.texi: Don't include macros.texi.
20761 * manual/intro.texi (creature.texi): Remove comment referring to
20762 NOTES.
20763
20764 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20765 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20766 * configure: Regenerated.
20767 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20768 LIBC_TRY_CC_OPTION.
20769 (libc_cv_as_i686): Likewise.
20770 (libc_cv_cc_avx): Likewise.
20771 (libc_cv_cc_sse2avx): Likewise.
20772 (libc_cv_cc_fma4): Likewise.
20773 (libc_cv_cc_novzeroupper): Likewise.
20774 * sysdeps/i386/configure: Regenerated.
20775
20776 [BZ #13883]
20777 * sysdeps/i386/fpu/s_cexp.S: Remove.
20778 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20779 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20780 * math/libm-test.inc (cexp_test): Add more tests.
20781 * sysdeps/i386/fpu/libm-test-ulps: Update.
20782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20783
207842012-03-21 Allan McRae <allan@archlinux.org>
20785
20786 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20787
207882012-03-21 Joseph Myers <joseph@codesourcery.com>
20789
20790 [BZ #13871]
20791 * math/w_exp2.c: Do not include <float.h>.
20792 (o_threshold, u_threshold): Remove.
20793 (__exp2): Calculate result before checking finiteness and calling
20794 __kernel_standard.
20795 * math/w_exp2f.c: Likewise.
20796 * math/w_exp2l.c: Likewise.
20797 * math/libm-test.inc (exp2_test): Require overflow exception for
20798 1e6 input.
20799
20800 [BZ #3866]
20801 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20802 range of signed 64-bit integers before using fistpll. Remove
20803 checks for whether integers fit in mantissa bits.
20804 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20805 the range of signed 32-bit integers before using fistpl. Remove
20806 checks for whether integers fit in mantissa bits.
20807 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20808 (__ieee754_powl): Test for y outside the range of signed 64-bit
20809 integers before using fistpll. Reduce 64-bit values to 63-bit
20810 ones as needed.
20811 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20812 divide-by-zero is raised for zero to large negative powers.
20813 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20814 (__ieee754_powl): Test for y outside the range of signed 64-bit
20815 integers before using fistpll. Reduce 64-bit values to 63-bit
20816 ones as needed.
20817 * math/libm-test.inc (pow_test): Add more tests.
20818
208192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20820
20821 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20822 <stdio-common/_itoa.h>.
20823 * debug/segfault.c: Likewise.
20824 * elf/dl-cache.c: Likewise.
20825 * elf/dl-minimal.c: Likewise.
20826 * elf/dl-misc.c: Likewise.
20827 * elf/dl-sysdep.c: Likewise.
20828 * elf/dl-version.c: Likewise.
20829 * elf/rtld.c: Likewise.
20830 * hurd/hurdsock.c: Likewise.
20831 * hurd/lookup-retry.c: Likewise.
20832 * malloc/malloc.c: Likewise.
20833 * malloc/mtrace.c: Likewise.
20834 * nscd/nscd_getgr_r.c: Likewise.
20835 * nscd/nscd_getpw_r.c: Likewise.
20836 * nscd/nscd_getserv_r.c: Likewise.
20837 * posix/getopt_init.c: Likewise.
20838 * posix/wordexp.c: Likewise.
20839 * stdio-common/_itoa.c: Likewise.
20840 * stdio-common/printf_fphex.c: Likewise.
20841 * stdio-common/vfprintf.c: Likewise.
20842 * string/_strerror.c: Likewise.
20843 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20844 * sysdeps/i386/i686/hp-timing.h: Likewise.
20845 * sysdeps/mach/_strerror.c: Likewise.
20846 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20847 * sysdeps/mach/hurd/sethostid.c: Likewise.
20848 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20849 * sysdeps/mach/xpg-strerror.c: Likewise.
20850 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20851 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20852 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20853 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20854 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20855 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20856 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20857 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20858 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20859 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20860 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20861 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20862 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20863 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20864 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20865 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20866 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20867 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20868 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20869 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20870 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20871
20872 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20873
20874 * stdio-common/_itoa.h: Moved to ...
20875 * sysdeps/generic/_itoa.h: Here.
20876
20877 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20878
20879 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20880 instead of "_itoa.h" and "_itowa.h".
20881 * stdio-common/vfprintf.: Likewise.
20882
208832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20884
20885 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20886 <bits/wordsize.h>.
20887 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20888 (__signbit): Likwise.
20889 (llrintf): Likwise.
20890 (llrint): Likwise.
20891
208922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20893
20894 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20895 __WORDSIZE != 64.
20896
208972012-03-20 Joseph Myers <joseph@codesourcery.com>
20898
20899 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20900 OVERFLOW_EXCEPTION_OK.
20901 * math/libm-test.inc ("Philosophy"): Update comment about
20902 exception testing.
20903 (OVERFLOW_EXCEPTION): Define.
20904 (OVERFLOW_EXCEPTION_OK): Likewise.
20905 (INVALID_EXCEPTION_OK): Renumber.
20906 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20907 (IGNORE_ZERO_INF_SIGN): Likewise.
20908 (test_exceptions): Handle FE_OVERFLOW.
20909 (exp10_test): Expect overflow exceptions.
20910 (exp2_test): Likewise.
20911 (expm1_test): Likewise.
20912 (nextafter_test): Likewise.
20913 (pow_test): Likewise.
20914 (scalbn_test): Likewise.
20915 (scalbln_test): Likewise.
20916
209172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20918
20919 * sysdeps/x86_64/bits/atomic.h
20920 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20921 64bit integer.
20922 (atomic_exchange_acq): Likewise.
20923 (__arch_exchange_and_add_body): Likewise.
20924 (__arch_add_body): Likewise.
20925 (atomic_add_negative): Likewise.
20926 (atomic_add_zero): Likewise.
20927
209282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20929
20930 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
20931 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20932
209332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20934
20935 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20936 Check __x86_64__ instead of __WORDSIZE.
20937
209382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20939
20940 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20941
209422012-03-19 David S. Miller <davem@davemloft.net>
20943
20944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20945
20946 * sysdeps/sparc/fpu/fenv_private.h: New file.
20947 * sysdeps/sparc/fpu/math_private.h: Use it.
20948 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20949 Remove.
20950 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20951 (libc_feholdexcept_setroundl): Remove.
20952 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20953 Remove.
20954 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20955 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20956
209572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20958
20959 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20960 int64_t instead of long int.
20961 (INSERT_WORDS64): Likwise.
20962
209632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20964
20965 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20966 _Unwind_GetCFA return to _Unwind_Ptr first.
20967
209682012-03-19 Joseph Myers <joseph@codesourcery.com>
20969
20970 [BZ #13629]
20971 * math/s_clog.c: Include <float.h>.
20972 (__clog): Scale large or subnormal inputs.
20973 * math/s_clogf.c: Likewise.
20974 * math/s_clogl.c: Likewise.
20975 * math/s_clog10.c: Include <float.h>.
20976 (M_LOG10_2): Define.
20977 (__clog10): Scale large or subnormal inputs.
20978 * math/s_clog10f.c: Likewise.
20979 * math/s_clog10l.c: Likewise.
20980 * math/libm-test.inc (clog_test): Add more tests.
20981 (clog10_test): Likewise.
20982 * sysdeps/i386/fpu/libm-test-ulps: Update.
20983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20984
20985 [BZ #11451]
20986 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20987 x and y.
20988 * math/libm-test.inc (atan2_test): Add another test.
20989
20990 * Makerules (common-objdir-compile): Remove.
20991 * sysdeps/unix/Makefile (config-generated): Do not add
20992 $(unix-generated) to variable.
20993 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20994 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20995 Remove rule.
20996 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20997 Likewise.
20998 [generic bits/local_lim.h] (before-compile): Do not append to
20999 variable.
21000 [generic bits/local_lim.h] (common-generated): Likewise.
21001 [generic sys/param.h] (before-compile): Do not append to variable.
21002 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21003 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21004 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21005 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21006 include.
21007 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21008 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21009 [generic sys/param.h] ($(addprefix
21010 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21011 [generic sys/param.h] (common-generated): Do not append to
21012 variable.
21013 [generic sys/param.h] (sysdep_headers): Likewise.
21014 [generic bits/errno.h] (before-compile): Do not append to
21015 variable.
21016 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21017 rule.
21018 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21019 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21020 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21021 [generic bits/errno.h] (common-generated): Do not append to
21022 variable.
21023 [generic bits/ioctls.h] (before-compile): Do not append to
21024 variable.
21025 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21026 rule.
21027 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21028 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21029 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21030 rule.
21031 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21032 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21033 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21034 [generic bits/ioctls.h] (common-generated): Do not append to
21035 variable.
21036 [generic sys/syscall.h] (syscall.h): Remove variable.
21037 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21038 rule.
21039 [generic sys/syscall.h] (before-compile): Do not append to
21040 variable.
21041 [generic sys/syscall.h] (common-generated): Likewise.
21042 * sysdeps/unix/errnos-tmpl.c: Remove file.
21043 * sysdeps/unix/errnos.awk: Likewise.
21044 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21045 * sysdeps/unix/ioctls.awk: Likewise.
21046 * sysdeps/unix/mk-local_lim.c: Likewise.
21047 * sysdeps/unix/snarf-ioctls: Likewise.
21048
210492012-03-19 Richard Henderson <rth@twiddle.net>
21050
21051 * sysdeps/i386/fpu/fenv_private.h: New file.
21052 * sysdeps/i386/fpu/math_private.h: Use it.
21053 (math_opt_barrier, math_force_eval): Remove.
21054 (libc_feholdexcept_setround_53bit): Remove.
21055 (libc_feupdateenv_53bit): Remove.
21056 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21057 (math_opt_barrier, math_force_eval): Remove.
21058 (libc_feholdexcept): Remove.
21059 (libc_feholdexcept_setround): Remove.
21060 (libc_fetestexcept, libc_fesetenv): Remove.
21061 (libc_feupdateenv_test): Remove.
21062 (libc_feupdateenv, libc_feholdsetround): Remove.
21063 (libc_feresetround): Remove.
21064
21065 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21066 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21067
21068 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21069 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21070 (libc_feupdateenv_testl): New.
21071 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21072 (libc_feupdateenv_testf): New.
21073 (libc_feupdateenv): Use libc_feupdateenv_test.
21074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21075 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21076
21077 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21078 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21079 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21080 (libc_feresetround_noex): New.
21081 (libc_feresetround_noexf): New.
21082 (libc_feresetround_noexl): New.
21083 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21084 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21085 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21086 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21087 SET_RESTORE_ROUND.
21088 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21089 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21090 (__cos): Likewise.
21091 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21092 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21093 SET_RESTORE_ROUND_NOEX.
21094 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21095 SET_RESTORE_ROUND_NOEXF.
21096 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21097 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21098 (libc_feholdsetroundf): New.
21099 (libc_feresetround, libc_feresetroundf): New.
21100
21101 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21102 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21103 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21104
21105 * sysdeps/generic/math_private.h: Include <fenv.h>.
21106 (default_libc_feholdexcept): New.
21107 (default_libc_feholdexcept_setround): New.
21108 (default_libc_fesetenv, default_libc_feupdateenv): New.
21109 (libc_feholdexcept): Only define if undefined.
21110 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21111 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21112 (libc_feholdexcept_setroundl): Likewise.
21113 (libc_feholdexcept_setround_53bit): Likewise.
21114 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21115 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21116 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21117 (libc_feupdateenv_53bit): Likewise.
21118 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21119 (libc_feholdexcept): Convert from macro to inline function.
21120 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21121 (libc_fesetenv, libc_feupdateenv): Likewise.
21122
21123 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21124 not previously defined.
21125 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21126 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21127 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21128 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21129 * sysdeps/ieee754/flt-32/math_private.h: New file.
21130 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21131 math_private.h below SET_FLOAT_WORD.
21132 (__isnan, __isinf_ns, __finite): Remove.
21133 (__isnanf, __isinf_nsf, __finitef): Remove.
21134
211352012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21136
21137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21138
211392012-03-17 David S. Miller <davem@davemloft.net>
21140
21141 [BZ #6471]
21142 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21143 for 2.16.
21144
211452012-03-16 David S. Miller <davem@davemloft.net>
21146
21147 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21148 warnings.
21149
21150 [BZ #6471]
21151 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21152 properly.
21153 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21154 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21155 sysdep_routines when subdir is sysvipc.
21156 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21157 __getshmlba helper.
21158
21159 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21160
211612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21162
21163 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21164 [__LP64__].
21165
211662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21167
21168 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21169 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21170 (__lround): Renamed to ...
21171 (__llround): This. Replace long int with long long int.
21172 Define lround functions as aliases of llround functions.
21173 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21174
211752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21176
21177 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21178 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21179 adresses to uintptr_t. Replace "long int" and "unsigned long
21180 int" with "greg_t" on va_arg.
21181
211822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21183
21184 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21185 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21186
21187 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21188 Move e_machine check before EI_CLASS check. Handle x32
21189 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21190 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21191 SKIP_EM_IA_64 and include
21192 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21193
21194 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21195 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21196 (add_system_dir): New macro.
21197
21198 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21199 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21200
212012012-03-16 Joseph Myers <joseph@codesourcery.com>
21202
21203 [BZ #2551]
21204 [BZ #2552]
21205 [BZ #2553]
21206 [BZ #2554]
21207 [BZ #2562]
21208 [BZ #2563]
21209 [BZ #2565]
21210 [BZ #2566]
21211 [BZ #2576]
21212 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21213 (y0): Likewise.
21214 * math/w_j0f.c (j0f): Likewise.
21215 (y0f): Likewise.
21216 * math/w_j0l.c (__j0l): Likewise.
21217 (__y0l): Likewise.
21218 * math/w_j1.c (j1): Likewise.
21219 (y1): Likewise.
21220 * math/w_j1f.c (j1f): Likewise.
21221 (y1f): Likewise.
21222 * math/w_j1l.c (__j1l): Likewise.
21223 (__y1l): Likewise.
21224 * math/w_jn.c (jn): Likewise.
21225 (yn): Likewise.
21226 * math/w_jnf.c (jnf): Likewise.
21227 (ynf): Likewise.
21228 * math/w_jnl.c (__jnl): Likewise.
21229 (__ynl): Likewise.
21230 * math/libm-test.inc (j0_test): Add more tests.
21231 (j1_test): Likewise.
21232 (jn_test): Likewise. Add trailing semicolon to existing test.
21233 (y0_test): Likewise.
21234 (y1_test): Likewise.
21235 * sysdeps/i386/fpu/libm-test-ulps: Update.
21236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21237
21238 [BZ #13851]
21239 [BZ #13854]
21240 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21241 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21242 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21243 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21244 (__tanl): Set errno for infinite argument.
21245 * sysdeps/i386/fpu/mptan.c: Remove.
21246 * sysdeps/i386/fpu/s_tan.S: Likewise.
21247 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21248 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21249 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21250 * math/libm-test.inc (tan_test): Add more tests and enable more
21251 tests for double and long double.
21252 * sysdeps/i386/fpu/libm-test-ulps: Update.
21253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21254
212552012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21256
21257 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21258 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21259
212602012-03-16 Roland McGrath <roland@hack.frob.com>
21261
21262 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21263 * configure.in: Use it for both main tree and add-ons.
21264 * configure: Regenerated.
21265
212662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21267
21268 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21269
212702012-03-16 Joseph Myers <joseph@codesourcery.com>
21271
21272 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21273 in comment.
21274
21275 [BZ #13851]
21276 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21277 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21278 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21279 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21280 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21281 infinite argument.
21282 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21283 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21284 != 0 for prec == 2.
21285 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21286 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21287 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21288 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21289 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21290 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21291 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21292 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21293 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21294 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21295 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21296 * math/libm-test.inc (cos_test): Add more tests and enable more
21297 tests for long double.
21298 (sin_test): Likewise.
21299 (sincos_test): Likewise.
21300 * sysdeps/i386/fpu/libm-test-ulps: Update.
21301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21302
213032012-03-16 David S. Miller <davem@davemloft.net>
21304
21305 * sysdeps/sparc/fpu/math_private.h: New file.
21306
213072012-03-15 David S. Miller <davem@davemloft.net>
21308
21309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21310 file.
21311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21313 file.
21314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21319 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21320 sysdep routines.
21321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21322
21323 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21324 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21325
21326 * sysdeps/sparc/sparc-ifunc.h: New file.
21327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21328 sparc-ifunc.h
21329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21331 Likewise.
21332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21333 Likewise.
21334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21338 Likewise.
21339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21344 Likewise.
21345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21346 Likewise.
21347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21351 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21352 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21353 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21354 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21356 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21365 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21366 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21367 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21368 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21369 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21370 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21371
213722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21373
21374 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21375 scaling.
21376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21377
213782012-03-15 Andreas Jaeger <aj@suse.de>
21379
21380 [BZ #13852]
21381 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21382 ieee754/flt-32 implementation for sin, cos and sincos.
21383 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21384 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21385 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21386 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21387 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21388 ieee754/flt-32 implementation for tan.
21389
21390 * math/libm-test.inc (cos_test): Enable some large input tests for
21391 float as well
21392 (sin_test): Likewise.
21393 (sincos_test): Likewise.
21394 (tan_test): Add tests for large input.
21395
21396 * sysdeps/i386/fpu/libm-test-ulps: Update.
21397
213982012-03-15 Andreas Jaeger <aj@suse.de>
21399
21400 [BZ #13658]
21401 * math/libm-test.inc (cos_test): Add more test cases.
21402 (sin_test): Likewise.
21403 (sincos_test): Likewise.
21404
214052012-03-15 Andreas Jaeger <aj@suse.de>
21406
21407 [BZ #13837]
21408 * math/libm-test.inc (cos_test): Add a test case for large input
21409 value.
21410 (sin_test): Likewise.
21411 (sincos_test): Likewise.
21412
214132012-03-15 Andreas Jaeger <aj@suse.de>,
21414 Joseph Myers <joseph@codesourcery.com>
21415
21416 [BZ #13658]
21417 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21418 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21419 * sysdeps/i386/fpu/branred.c: Likewise.
21420 * sysdeps/i386/fpu/dosincos.c: Likewise.
21421 * sysdeps/i386/fpu/mpa.c: Likewise.
21422 * sysdeps/i386/fpu/s_cos.S: Likewise.
21423 * sysdeps/i386/fpu/s_sin.S: Likewise.
21424 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21425 * sysdeps/i386/fpu/sincos32.c: Likewise.
21426
21427 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21428 Define.
21429 (libc_feupdateenv_53bit): Define.
21430 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21431 Define.
21432 (libc_feupdateenv_53bit): Define.
21433
21434 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21435 53 bit (without extend i386 double precision).
21436
21437 * math/libm-test.inc (sincos_test): Add tests for large input.
21438 (sin): Likewise.
21439 (cos): Likewise.
21440
21441 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21442
214432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21444
21445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21446
214472012-03-15 David S. Miller <davem@davemloft.net>
21448
21449 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21450 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21451 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21452 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21465 file.
21466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21468 file.
21469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21471 file.
21472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21474 file.
21475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21476 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21477 fmin/fmax sysdep routines.
21478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21479
214802012-03-14 David S. Miller <davem@davemloft.net>
21481
21482 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21483 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21484 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21486 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21487 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21488 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21489 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21502 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21503 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21504 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21505 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21506 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21507 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21508 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21509 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21510 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21511 routines.
21512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21513 file.
21514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21516 file.
21517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21519 file.
21520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21522 file.
21523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21525 file.
21526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21528 file.
21529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21530 file.
21531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21532 file.
21533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21534 file.
21535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21536 New file.
21537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21538 file.
21539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21540 file.
21541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21543 file.
21544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21546 file.
21547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21549 file.
21550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21552 VIS3 routines.
21553
21554 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21555 New file.
21556
21557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21558
21559 * sysdeps/sparc/configure.in: New file.
21560 * sysdeps/sparc/configure: Generate.
21561 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21562 * configure: Regenerate.
21563 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21564 * config.make.in (have-as-vis3): New.
21565 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21566 available use -Av9d instead of -Av9a.
21567 * sysdeps/sparc/sparc64/Makefile: Likewise.
21568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21570 New file.
21571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21572 file.
21573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21574 New file.
21575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21576 file.
21577 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21578 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21579 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21580 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21581 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21582
21583 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21584 fzeros/fnegs to load 0x80000000 into a float register instead of
21585 using the stack.
21586 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21587
215882012-03-14 Joseph Myers <joseph@codesourcery.com>
21589
21590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21591 bits/syscall.h.
21592 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21593 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21594 ($(inst_includedir)/bits/syscall.h): Remove rule.
21595 ($(objpfx)bits/syscall.d): Include instead of
21596 $(objpfx)syscall-list.d.
21597 (generated): Change syscall-list.h and syscall-list.d to
21598 bits/syscall.h and bits/syscall.d.
21599
216002012-03-14 Roland McGrath <roland@hack.frob.com>
21601
21602 [BZ #13846]
21603 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21604
216052012-03-14 Joseph Myers <joseph@codesourcery.com>
21606
21607 [BZ #13841]
21608 * math/s_csqrt.c: Include <float.h>.
21609 (__csqrt): Scale large or subnormal inputs.
21610 * math/s_csqrtf.c: Likewise.
21611 * math/s_csqrtl.c: Likewise.
21612 * math/libm-test.inc (csqrt_test): Add more tests.
21613 * sysdeps/i386/fpu/libm-test-ulps: Update.
21614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21615
21616 [BZ #13840]
21617 * math/libm-test.inc (hypot_test): Add more tests.
21618
216192012-03-13 David S. Miller <davem@davemloft.net>
21620
21621 [BZ #13840]
21622 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21623 double-precision for the calculation instead of scaling.
21624
216252012-03-13 Joseph Myers <joseph@codesourcery.com>
21626
21627 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21628 manipulate bits before adding and subtracting TWO52[sx].
21629 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21630 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21631 Likewise.
21632 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21633
216342012-03-13 David S. Miller <davem@davemloft.net>
21635
21636 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21637 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21638 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21639 rtld-global-offsets.h
21640 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21641
21642 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21643 large parameters.
21644
21645 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21646
21647 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21648 'err' in the ifdef scope in which it is actually used.
21649
21650 * nss/nss_db/db-init.c: Include string.h
21651
216522012-03-12 David S. Miller <davem@davemloft.net>
21653
21654 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21655 masking out of the most significant byte of random value used.
21656 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21657 Fix coding style in previous change.
21658
21659 * sysdeps/unix/sysv/linux/kernel-features.h
21660 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21661 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21662 expression.
21663 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21664 later.
21665
216662012-03-11 David S. Miller <davem@davemloft.net>
21667
21668 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21669 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21670 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21671 for 'resultvar' otherwise things get truncated on 64-bit.
21672
21673 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21674 Fix masking out of the most significant byte of random value used.
21675
21676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21677
216782012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21679
21680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21681
216822012-03-09 David S. Miller <davem@davemloft.net>
21683
21684 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21685 variables with appropriate CPP guards.
21686 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21687 frame pointer, not the stack pointer. Correct layout comments. Fix test
21688 on resulting framesize and the management of the outregs buffer for pltexit.
21689 Preserve floating point return values across _dl_call_pltexit call.
21690 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21691 framesize and the management of the outregs buffer for pltexit.
21692 Preserve floating point return values across _dl_call_pltexit
21693 call.
21694 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21695 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21696 (print_exit): Fix format string for return register value.
21697
216982012-03-10 Joseph Myers <joseph@codesourcery.com>
21699
21700 * sunrpc/Makefile (others): Add rpcgen.
21701 ($(objpfx)rpcgen): Remove special build rule and dependency on
21702 libc.
21703 * sunrpc/rpcgen.c: New file.
21704
217052012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21706
21707 [BZ #13673]
21708 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21709 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21710 * sysdeps/i386/crti.S: Likewise.
21711 * sysdeps/i386/crtn.S: Likewise.
21712 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21713 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21714 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21715 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21716 * sysdeps/sh/crti.S: Likewise.
21717 * sysdeps/sh/crtn.S: Likewise.
21718 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21719
21720 [BZ #13673]
21721 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21722 with URL.
21723 * locale/programs/locfile-kw.gperf: Likewise.
21724 * locale/programs/charmap-kw.h: Regenerated.
21725 * locale/programs/locfile-kw.h: Likewise.
21726
21727 [BZ #13673]
21728 * intl/plural.y: Replace FSF snail mail address with URL.
21729 * intl/plural.c: Regenerated.
21730
217312012-03-09 Richard Henderson <rth@twiddle.net>
21732
21733 * include/math_private.h: Remove file.
21734 * math/math_private.h: Move file ...
21735 * sysdeps/generic/math_private.h: ... here.
21736
21737 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21738 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21739 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21740
21741 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
21742 and <math_private.h>.
21743 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21744 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21745 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21746 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21747 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21748 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21749 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21750 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21751 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21752 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21754 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21755 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21756 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21757 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21758 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21759 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21760 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21761 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21762 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21763 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21764 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21765 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21766 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21767 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21768 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21769 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21770 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21772 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21773 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21774 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21775 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21776 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21777 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21778 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21779 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21780 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21781 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21782 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21783 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21784 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21785 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21786 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21787 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21788 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21789 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21790 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21791 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21794 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21795 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21796 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21797 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21798 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21799 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21800 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21801 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21802 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21803 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21804 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21806 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21807 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21808 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21809 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21810 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21811 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21812 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21813 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21814 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21815 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21816 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21817 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21818 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21819 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21820 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21821 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21822 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21823 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21824 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21825 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21826 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21827 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21828 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21829 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21830 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21831 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21832 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21833 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21834 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21835 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21836 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21837 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21838 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21839 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21840 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21841 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21842 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21843 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21844 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21845 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21846 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21847 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21848 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21849 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21850 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21851 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21852 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21853 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21854 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21855 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21856 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21857 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21858 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21859 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21860 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21861 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21862 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21863 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21864 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21865 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21866 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21867 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21868 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21869 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21870 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21871 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21872 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21873 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21874 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21875 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21876 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21877 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21878 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21879 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21880 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21881 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21882 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21883 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21884 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21885 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21886 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21887 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21888 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21889 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21890 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21891 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21892 * sysdeps/ieee754/k_standard.c: Likewise.
21893 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21894 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21895 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21896 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21897 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21898 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21899 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21900 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21901 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21902 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21903 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21904 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21905 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21906 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21907 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21908 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21909 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21910 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21911 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21912 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21913 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21914 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21915 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21916 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21917 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21918 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21919 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21920 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21921 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21922 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21923 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21924 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21925 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21926 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21927 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21928 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21929 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21930 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21931 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21932 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21933 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21934 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21935 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21936 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21937 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21938 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21939 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21940 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21941 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21942 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21943 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21944 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21945 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21946 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21947 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21948 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21949 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21950 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21951 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21952 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21953 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21954 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21955 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21956 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21957 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21958 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21959 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21960 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21961 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21962 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21963 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21964 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21965 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21966 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21967 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21968 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21969 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21970 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21971 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21972 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21973 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21974 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21975 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21976 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21977 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21978 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21979 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21980 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21981 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21982 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21983 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21984 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21985 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21986 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21987 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21988 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21989 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21990 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21991 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21992 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21993 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21994 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21995 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21996 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21997 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21998 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21999 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22000 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22001 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22002 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22003 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22004 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22005 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22006 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22007 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22008 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22009 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22010 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22011 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22012 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22013 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22014 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22015 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22016 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22017 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22018 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22019 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22020 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22021 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22022 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22023 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22024 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22025 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22026 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22027 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22028 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22029 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22030 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22031 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22032 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22033 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22034 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22035 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22036 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22037 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22038 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22039 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22040 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22041 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22042 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22043 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22044 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22045 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22046 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22047 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22048 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22049 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22050 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22051 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22052 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22053 * sysdeps/ieee754/s_lib_version.c: Likewise.
22054 * sysdeps/ieee754/s_matherr.c: Likewise.
22055 * sysdeps/ieee754/s_signgam.c: Likewise.
22056 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22057 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22058 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22059 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22060 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22061 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22062 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22063 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22064 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22065 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22066 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22067 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22068 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22069 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22070 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22071 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22072 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22073 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22074 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22075 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22076 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22077
220782012-03-09 Joseph Myers <joseph@codesourcery.com>
22079
22080 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22081 * sunrpc/rpc_main.c: Likewise.
22082 * sunrpc/rpc_svcout.c: Likewise.
22083
220842012-03-09 David S. Miller <davem@davemloft.net>
22085
22086 * include/math_private.h: New file.
22087
220882012-03-09 Joseph Myers <joseph@codesourcery.com>
22089
22090 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22091 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22092 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22093 from <bits/socket_type.h>.
22094 (enum __socket_type): Don't define here.
22095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22097 bits/socket_type.h.
22098
22099 [BZ #13566]
22100 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22101 checking __USE_GNU.
22102
22103 * Makerules ($(inst_includedir)/%.h): New rule.
22104 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22105 (install-others): Remove variable setting.
22106 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22107
221082012-03-08 Richard Henderson <rth@twiddle.net>
22109
22110 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22111 from macro to inline function; merge with the
22112 !__LIBC_INTERNAL_MATH_INLINES version.
22113 (__ieee754_sqrtf): Likewise.
22114
22115 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22116 to inline function.
22117 (__rintf, __floor, __floorf): Likewise.
22118
22119 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22120 macro to inline function.
22121 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22122
22123 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22124 not <math/math_private.h>.
22125
221262012-03-08 David S. Miller <davem@davemloft.net>
22127
22128 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22129 copyright year.
22130 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22131
221322012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22133
22134 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22135 normalization.
22136 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22137 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22138
221392012-03-08 Ulrich Drepper <drepper@gmail.com>
22140
22141 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22142 be defined individually, they must be defined as a block. Define
22143 S for printing a string instead of hidint the different by using a
22144 macro for adding the 'l'.
22145 * stdio-common/tst-fphex-wide.c: Adjust.
22146
221472012-03-07 Marek Polacek <polacek@redhat.com>
22148
22149 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22150
221512012-03-08 Marek Polacek <polacek@redhat.com>
22152
22153 [BZ #13806]
22154 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22155 * stdio-common/tst-fphex.c: Define a few macros to make the
22156 test reusable. Use them.
22157 * stdio-common/tst-fphex-wide.c: New file.
22158
221592012-03-08 Joseph Myers <joseph@codesourcery.com>
22160
22161 [BZ #6911]
22162 * manual/macros.texi (gnusystems): New macro.
22163 (nongnusystems): Likewise.
22164 (gnulinuxhurdsystems): Likewise.
22165 (gnuhurdsystems): Likewise..
22166 (gnulinuxsystems): Likewise.
22167 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22168 variants of the GNU system, not "GNU system".
22169 * manual/conf.texi: Likewise.
22170 * manual/errno.texi: Likewise. Update example of errno macro
22171 expansion.
22172 * manual/filesys.texi: Likewise.
22173 (getumask): Document as specific to GNU/Hurd.
22174 * manual/install.texi: Likewise. Reword some references to
22175 GNU/Linux.
22176 * manual/intro.texi: Likewise.
22177 * manual/io.texi: Likewise.
22178 (File Name Portability): Detail which constraints are inapplicable
22179 to all GNU systems and which are only inapplicable to GNU/Hurd.
22180 * manual/job.texi: Likewise.
22181 * manual/llio.texi: Likewise.
22182 (O_NOCTTY): Document as present on GNU/Linux.
22183 * manual/maint.texi: Likewise.
22184 * manual/memory.texi: Likewise.
22185 * manual/pattern.texi: Likewise.
22186 * manual/pipe.texi: Likewise.
22187 * manual/process.texi: Likewise.
22188 * manual/resource.texi: Likewise.
22189 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22190 child on GNU/Hurd.
22191 * manual/setjmp.texi: Likewise.
22192 * manual/signal.texi: Likewise.
22193 * manual/startup.texi: Likewise.
22194 * manual/stdio.texi: Likewise.
22195 * manual/terminal.texi: Likewise.
22196 (ONLCR): Document as POSIX.
22197 (OXTABS): Document availability on GNU/Linux as XTABS.
22198 (ONOEOT): Document availability separately from other bits.
22199 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22200 * manual/time.texi: Likewise.
22201 * manual/users.texi: Likewise.
22202 * INSTALL: Regenerated.
22203 * sysdeps/gnu/errlist.c: Regenerated.
22204
22205 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22206 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22207 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22208 puts.
22209 * configure: Regenerated.
22210
222112012-03-07 Joseph Myers <joseph@codesourcery.com>
22212
22213 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22214 default includes instead of AC_HEADER_CHECK.
22215 * sysdeps/i386/configure: Regenerated.
22216
22217 [BZ #10716]
22218 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22219 * math/s_cacoshf.c (__cacoshf): Likewise.
22220 * math/s_cacoshl.c (__cacoshl): Likewise.
22221 * math/s_casinh.c (__casinh): Set signs of result from argument.
22222 * math/s_casinhf.c (__casinhf): Likewise.
22223 * math/s_casinhl.c (__casinhl): Likewise.
22224 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22225 (casinh_test): Add more tests.
22226 * sysdeps/i386/fpu/libm-test-ulps: Update.
22227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22228
222292012-03-07 Ulrich Drepper <drepper@gmail.com>
22230
22231 * po/zh_TW.po: Update from translation team.
22232
22233 * login/Makefile (distribute): Remove variable.
22234 * catgets/Makefile: Likewise.
22235 * mach/Makefile: Likewise.
22236 * malloc/Makefile: Likewise.
22237 * misc/Makefile: Likewise.
22238 * iconv/Makefile: Likewise.
22239 * nscd/Makefile: Likewise.
22240 * hurd/Makefile: Likewise.
22241 * manual/Makefile: Likewise.
22242 * locale/Makefile: Likewise.
22243 * intl/Makefile: Likewise.
22244 * conform/Makefile: Likewise.
22245 * nss/Makefile: Likewise.
22246 * time/Makefile: Likewise.
22247 * soft-fp/Makefile: Likewise.
22248 * dirent/Makefile: Likewise.
22249 * gmon/Makefile: Likewise.
22250 * po/Makefile: Likewise.
22251 * rt/Makefile: Likewise.
22252 * socket/Makefile: Likewise.
22253 * math/Makefile: Likewise.
22254 * signal/Makefile: Likewise.
22255 * debug/Makefile: Likewise.
22256 * elf/Makefile: Likewise.
22257 * timezone/Makefile: Likewise.
22258 * stdlib/Makefile: Likewise.
22259 * iconvdata/Makefile: Likewise.
22260 * sunrpc/Makefile: Likewise.
22261 * io/Makefile: Likewise.
22262 * argp/Makefile: Likewise.
22263 * inet/Makefile: Likewise.
22264 * hesiod/Makefile: Likewise.
22265 * grp/Makefile: Likewise.
22266 * csu/Makefile: Likewise.
22267 * wctype/Makefile: Likewise.
22268 * crypt/Makefile: Likewise.
22269 * libio/Makefile: Likewise.
22270 * string/Makefile: Likewise.
22271 * nis/Makefile: Likewise.
22272 * resolv/Makefile: Likewise.
22273 * stdio-common/Makefile: Likewise.
22274 * wcsmbs/Makefile: Likewise.
22275 * dlfcn/Makefile: Likewise.
22276 * posix/Makefile: Likewise.
22277
22278 [BZ #6959]
22279 * timezone/Makefile: Don't install timezone files, just the programs
22280 and scripts.
22281
222822012-03-06 Ulrich Drepper <drepper@gmail.com>
22283
22284 * nss/databases.def: Add missing gshadow entry.
22285
22286 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22287
222882012-03-06 Marek Polacek <polacek@redhat.com>
22289
22290 [BZ #13726]
22291 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22292 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22293 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22294 * stdio-common/tst-long-dbl-fphex.c: New file.
22295
222962012-03-06 David S. Miller <davem@davemloft.net>
22297
22298 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22299 (set_obp_int): New function.
22300 (get_obp_int): New function.
22301 (__get_clockfreq_via_dev_openprom): Likewise.
22302 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22303 Avoid unused variable warnings on 'val' and use builtin_expect.
22304 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22305 __builtin_expect.
22306 (INLINE_CLONE_SYSCALL): Likewise.
22307
223082012-03-05 David S. Miller <davem@davemloft.net>
22309
22310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22311
223122012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22313
22314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22315
22316 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22317 only for |x| >= 40.
22318 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22319
223202012-03-05 H.J. Lu <hongjiu.lu@intel.com>
22321
22322 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22323 Replace gettimeofday with __vdso_gettimeofday.
22324
22325 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22326 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22327 __vdso_clock_gettime and __vdso_getcpu.
22328
22329 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22330 time with __vdso_time.
22331
223322012-03-05 Joseph Myers <joseph@codesourcery.com>
22333
22334 * manual/lang.texi (size_t): Note types to which size_t may be
22335 equivalent with the GNU C Library, but do not describe when
22336 differences between them are significant.
22337
223382012-03-05 Andreas Jaeger <aj@suse.de>
22339
22340 * sysdeps/i386/fpu/libm-test-ulps: Update.
22341
223422012-03-05 Joseph Myers <joseph@codesourcery.com>
22343
22344 [BZ #3976]
22345 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22346 (__ieee754_pow): Save and restore rounding mode and use
22347 round-to-nearest for main computations.
22348 * math/libm-test.inc (pow_test_tonearest): New function.
22349 (pow_test_towardzero): Likewise.
22350 (pow_test_downward): Likewise.
22351 (pow_test_upward): Likewise.
22352 (main): Call the new functions.
22353 * sysdeps/i386/fpu/libm-test-ulps: Update.
22354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22355
22356 [BZ #3976]
22357 * math/libm-test.inc (cosh_test_tonearest): New function.
22358 (cosh_test_towardzero): Likewise.
22359 (cosh_test_downward): Likewise.
22360 (cosh_test_upward): Likewise.
22361 (sinh_test_tonearest): Likewise.
22362 (sinh_test_towardzero): Likewise.
22363 (sinh_test_downward): Likewise.
22364 (sinh_test_upward): Likewise.
22365 (main): Call the new functions.
22366 * sysdeps/i386/fpu/libm-test-ulps: Update.
22367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22368
223692012-03-05 Tom de Vries <tom@codesourcery.com>
22370
22371 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22372 default stack guard is set in last bytes.
22373 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22374
223752012-03-05 Kees Cook <keescook@chromium.org>
22376
22377 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22378
22379 [BZ #13656]
22380 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22381 possibly allocate from heap instead of stack.
22382 * stdio-common/bug-vfprintf-nargs.c: New file.
22383 * stdio-common/Makefile (tests): Add nargs overflow test.
22384
223852012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22386
22387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22388
223892012-03-03 Marek Polacek <polacek@redhat.com>
22390
22391 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22392 * math/math_private.h: Likewise.
22393 * stdlib/tst-strtod.c: Likewise.
22394 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22395 * sysdeps/x86_64/bits/atomic.h: Likewise.
22396
223972012-03-02 David S. Miller <davem@davemloft.net>
22398
22399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22403 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22404 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22405 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22406 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22407
224082012-03-02 Roland McGrath <roland@hack.frob.com>
22409
22410 [BZ #13792]
22411 * manual/examples/README: New file, says the example source files
22412 can be used under GPL>=2.
22413 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22414 line containing just "*/".
22415 * manual/examples/add.c: Add copyright header (GPL>=2).
22416 * manual/examples/argp-ex1.c: Likewise.
22417 * manual/examples/argp-ex2.c: Likewise.
22418 * manual/examples/argp-ex3.c: Likewise.
22419 * manual/examples/argp-ex4.c: Likewise.
22420 * manual/examples/atexit.c: Likewise.
22421 * manual/examples/db.c: Likewise.
22422 * manual/examples/dir.c: Likewise.
22423 * manual/examples/dir2.c: Likewise.
22424 * manual/examples/execinfo.c: Likewise.
22425 * manual/examples/filecli.c: Likewise.
22426 * manual/examples/filesrv.c: Likewise.
22427 * manual/examples/fmtmsgexpl.c: Likewise.
22428 * manual/examples/genpass.c: Likewise.
22429 * manual/examples/inetcli.c: Likewise.
22430 * manual/examples/inetsrv.c: Likewise.
22431 * manual/examples/isockad.c: Likewise.
22432 * manual/examples/longopt.c: Likewise.
22433 * manual/examples/memopen.c: Likewise.
22434 * manual/examples/memstrm.c: Likewise.
22435 * manual/examples/mkfsock.c: Likewise.
22436 * manual/examples/mkisock.c: Likewise.
22437 * manual/examples/mygetpass.c: Likewise.
22438 * manual/examples/pipe.c: Likewise.
22439 * manual/examples/popen.c: Likewise.
22440 * manual/examples/rprintf.c: Likewise.
22441 * manual/examples/search.c: Likewise.
22442 * manual/examples/select.c: Likewise.
22443 * manual/examples/setjmp.c: Likewise.
22444 * manual/examples/sigh1.c: Likewise.
22445 * manual/examples/sigusr.c: Likewise.
22446 * manual/examples/stpcpy.c: Likewise.
22447 * manual/examples/strdupa.c: Likewise.
22448 * manual/examples/strftim.c: Likewise.
22449 * manual/examples/strncat.c: Likewise.
22450 * manual/examples/subopt.c: Likewise.
22451 * manual/examples/swapcontext.c: Likewise.
22452 * manual/examples/termios.c: Likewise.
22453 * manual/examples/testopt.c: Likewise.
22454 * manual/examples/testpass.c: Likewise.
22455 * manual/examples/timeval_subtract.c: Likewise.
22456
22457 [BZ #13792]
22458 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22459 function to ...
22460 * manual/timeval_subtract.c.texi: ... here, new file.
22461
224622012-03-02 David S. Miller <davem@davemloft.net>
22463
22464 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22465
224662012-03-02 Joseph Myers <joseph@codesourcery.com>
22467
22468 [BZ #3976]
22469 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22470 (__sin): Save and restore rounding mode and use round-to-nearest
22471 for all computations.
22472 (__cos): Save and restore rounding mode and use round-to-nearest
22473 for all computations.
22474 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22475 <fenv.h>.
22476 (tan): Save and restore rounding mode and use round-to-nearest for
22477 all computations.
22478 * math/libm-test.inc (cos_test_tonearest): New function.
22479 (cos_test_towardzero): Likewise.
22480 (cos_test_downward): Likewise.
22481 (cos_test_upward): Likewise.
22482 (sin_test_tonearest): Likewise.
22483 (sin_test_towardzero): Likewise.
22484 (sin_test_downward): Likewise.
22485 (sin_test_upward): Likewise.
22486 (tan_test_tonearest): Likewise.
22487 (tan_test_towardzero): Likewise.
22488 (tan_test_downward): Likewise.
22489 (tan_test_upward): Likewise.
22490 (main): Call the new functions.
22491 * sysdeps/i386/fpu/libm-test-ulps: Update.
22492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22493
22494 [BZ #10135]
22495 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22496 small n, then large n, before computing and testing k+n.
22497 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22498 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22499 Likewise.
22500 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22501 Likewise.
22502 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22503 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22504 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22505 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22506 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22507 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22508 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22509 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22510 * math/libm-test.inc (scalbn_test): Add more tests.
22511 (scalbln_test): Likewise.
22512
22513 * manual/filesys.texi (mode_t): Describe constraints on size and
22514 signedness, not exact equivalence to a particular type.
22515 (ino_t): Likewise.
22516 (ino64_t): Likewise.
22517 (dev_t): Likewise.
22518 (nlink_t): Likewise.
22519 (blkcnt_t): Likewise.
22520 (blkcnt64_t): Likewise.
22521 * manual/llio.texi (off_t): Likewise.
22522
22523 [BZ #3976]
22524 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22525 (__ieee754_exp): Save and restore rounding mode and use
22526 round-to-nearest for all computations.
22527 * math/libm-test.inc (exp_test_tonearest): New function.
22528 (exp_test_towardzero): Likewise.
22529 (exp_test_downward): Likewise.
22530 (exp_test_upward): Likewise.
22531 (main): Call the new functions.
22532 * sysdeps/i386/fpu/libm-test-ulps: Update.
22533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22534
225352012-03-01 Chris Demetriou <cgd@google.com>
22536
22537 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22538 have predictable order.
22539
225402012-03-01 David S. Miller <davem@davemloft.net>
22541
22542 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22543
22544 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22545 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22546 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22547 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22548
22549 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22550 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22551 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22553 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22554 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22555 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22556 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22557 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22558
22559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22560
22561 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22562 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22563 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22564
22565 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22566 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22567 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22568 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22569 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22570 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22571 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22572 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22573 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22574 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22575 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22576 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22577 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22578 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22579 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22580 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22581 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22582 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22583 * sysdeps/sparc/elf/configure: Regenerated.
22584
225852012-03-01 Joseph Myers <joseph@codesourcery.com>
22586
22587 * configure.in (AS, LD): Require binutils 2.20 or later.
22588 * configure: Regenerated.
22589 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22590 as required minimum version.
22591 * INSTALL: Regenerated.
22592
22593 [BZ #2541]
22594 [BZ #4108]
22595 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22596 before squaring exponent.
22597 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22598 bottom long double and 27 bits of top long double before squaring
22599 exponent.
22600 * math/libm-test.inc (erfc_test): Add more tests.
22601 * sysdeps/i386/fpu/libm-test-ulps: Update.
22602 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22604
226052012-03-01 Kai Tietz <ktietz@redhat.com>
22606
22607 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22608 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22609 containing bit-fields.
22610 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22611 * soft-fp/single.h (_FP_UNION_S): Likewise.
22612 * soft-fp/double.h (_FP_UNION_D): Likewise.
22613
226142012-02-29 Joseph Myers <joseph@codesourcery.com>
22615
22616 [BZ #13786]
22617 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22618 not include ../strcmp.S.
22619 [USE_AS_STRNCASECMP_L]: Likewise.
22620 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22621 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22622 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22623 (__strncasecmp_l_ia32): Define as alias to
22624 __strncasecmp_l_nonascii.
22625
22626 [BZ #5794]
22627 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22628 * sysdeps/i386/fpu/libm-test-ulps: Update.
22629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22630
22631 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22633
226342012-02-29 Jeff Law <law@redhat.com>
22635
22636 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22637 out of bounds read.
22638
226392012-02-29 Marek Polacek <polacek@redhat.com>
22640
22641 [BZ #13706]
22642 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22643 * elf/Makefile: Add rules to run tst-unused-dep.out.
22644
226452012-02-28 David S. Miller <davem@davemloft.net>
22646
22647 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22648 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22649 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22650 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22651 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22652 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22653
226542012-02-29 Joseph Myers <joseph@codesourcery.com>
22655
22656 * math/libm-test.inc (llround_test): Move one test from
22657 lround_test. Use TEST_f_L in moved test.
22658 (lround_test): Move misplaced test to llround_test. Add testcase
22659 from bug 2561.
22660
226612012-02-28 Ulrich Drepper <drepper@gmail.com>
22662
22663 * sysdeps/x86_64/fpu/e_expf.S: New file.
22664 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22665
226662012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22667
22668 [BZ #13637]
22669 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22670 of remain_len that may cause incomplete multi-byte character and
22671 false match.
22672 * posix/bug-regex33.c: New file.
22673 * posix/Makefile (tests): Add bug-regex33.
22674
226752012-02-28 Joseph Myers <joseph@codesourcery.com>
22676
22677 * manual/macros.texi: New file.
22678 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22679 * manual/libc.texinfo: Include macros.texi.
22680 * manual/creatute.texi: Likewise.
22681 * manual/install.texi: Likewise.
22682 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22683 @glibcadj{} in references to the GNU C Library.
22684 * manual/charset.texi: Likewise.
22685 * manual/conf.texi: Likewise.
22686 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22687 when not using those macros.
22688 * manual/creature.texi: Likewise.
22689 * manual/crypt.texi: Likewise.
22690 * manual/errno.texi: Likewise.
22691 * manual/filesys.texi: Likewise.
22692 * manual/header.texi: Likewise.
22693 * manual/install.texi: Likewise.
22694 * manual/intro.texi: Likewise.
22695 * manual/io.texi: Likewise.
22696 * manual/job.texi: Likewise.
22697 * manual/lang.texi: Likewise.
22698 * manual/libc.texiinfo: Likewise.
22699 * manual/llio.texi: Likewise.
22700 * manual/locale.texi: Likewise.
22701 * manual/maint.texi: Likewise.
22702 * manual/math.texi: Likewise.
22703 * manual/memory.texi: Likewise.
22704 * manual/message.texi: Likewise.
22705 * manual/nss.texi: Likewise.
22706 * manual/pattern.texi: Likewise.
22707 * manual/process.texi: Likewise.
22708 * manual/resource.texi: Likewise.
22709 * manual/search.texi: Likewise.
22710 * manual/setjmp.texi: Likewise.
22711 * manual/signal.texi: Likewise.
22712 * manual/socket.texi: Likewise.
22713 * manual/startup.texi: Likewise.
22714 * manual/stdio.texi: Likewise.
22715 * manual/string.texi: Likewise.
22716 * manual/sysinfo.texi: Likewise.
22717 * manual/syslog.texi: Likewise.
22718 * manual/terminal.texi: Likewise.
22719 * manual/time.texi: Likewise.
22720 * manual/users.texi: Likewise.
22721 * INSTALL: Regenerated.
22722 * NOTES: Regenerated.
22723 * sysdeps/gnu/errlist.c: Regenerated.
22724
227252012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22726
22727 * include/dirent.h: Include <dirstream.h> before
22728 <dirent/dirent.h>.
22729
227302012-02-28 David S. Miller <davem@davemloft.net>
22731
22732 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22733 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22734 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22735 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22736
227372012-02-27 David S. Miller <davem@davemloft.net>
22738
22739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22741 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22742 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22743
22744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22745 frame pointer instead of stack pointer relative arg slot.
22746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22747 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22748 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22749
227502012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22751
22752 [BZ #3992]
22753 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22754
227552012-02-27 David S. Miller <davem@davemloft.net>
22756
22757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22761 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22762 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22763 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22764 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22765
227662012-02-27 Joseph Myers <joseph@codesourcery.com>
22767
22768 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22769 later. Allow versions 5-9.
22770 * configure: Regenerated.
22771 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22772 required minimum version and 4.6 as recommended version. Do not
22773 mention bugs in GCC 2.7 and 2.8.
22774 * INSTALL: Regenerated.
22775
227762012-02-27 David S. Miller <davem@davemloft.net>
22777
22778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22782 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22783 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22784 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22785 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22786
22787 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22788 manipulate bits before adding and subtracting TWO112[sx].
22789 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22790
227912012-02-27 Roland McGrath <roland@hack.frob.com>
22792
22793 [BZ #13775]
22794 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22795 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22796 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22797 being in POSIX, because they are in 1003.1-2008.
22798
22799 * rt/tst-aio.c: Include <fcntl.h>.
22800 * rt/tst-aio7.c: Likewise.
22801 * rt/tst-aio64.c: Likewise.
22802
22803 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22804
228052012-02-27 Joseph Myers <joseph@codesourcery.com>
22806
22807 * manual/install.texi (--with-headers): Describe headers as
22808 interface headers, not private headers.
22809 (Specific advice for GNU/Linux systems): Describe use of headers
22810 from "make headers_install", not private headers from older
22811 kernels.
22812 * INSTALL: Regenerated.
22813 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22814 Change to 2.6.19.
22815 * sysdeps/unix/sysv/linux/configure: Regenerated.
22816
22817 * manual/llio.texi (fclean): Remove documentation.
22818
22819 * manual/Makefile (libc-texi-generated): New variable. Include
22820 version.texi.
22821 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22822 $(libc-texi-generated), not duplicated list of files.
22823 (version.texi, stamp-version): New rules.
22824 (realclean): Remove $(libc-texi-generated), not individual files
22825 from that list. Do not remove dir-add.texinfo.
22826 * manual/libc.texinfo: Comment out uses of edition numbers and
22827 references to printed manual. Remove last-updated dates.
22828 (EDITION): Comment out.
22829 (ISBN): Likewise.
22830 (VERSION, UPDATED): Remove.
22831 (version.texi): Include.
22832
228332012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22834
22835 * sysdeps/posix/spawni.c: Include <signal.h>.
22836 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22837 * sysdeps/pthread/aio_fsync.c: Likewise.
22838
228392012-02-26 Ulrich Drepper <drepper@gmail.com>
22840
22841 * conform/Makefile (tests): Run only when not cross-compiling and
22842 when fast-check is not defined.
22843
22844 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22845 * conform/data/limits.h-data: Fixes for POSIX2008.
22846 * conform/run-conformtest.sh: Run all tests.
22847 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22848 headers.
22849 * include/bits/dlfcn.h: Likewise.
22850 * include/langinfo.h: Likewise.
22851 * include/monetary.h: Likewise.
22852 * include/sys/poll.h: Likewise.
22853
22854 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22855 for __USE_GNU.
22856 * posix/spawn.h: Define __need_sigset_t.
22857 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22858 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22859 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22860 to get sigevent_t only.
22861 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22862 only for __USE_GNU.
22863 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22864 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22865 process_vm_writev only for __USE_GNU.
22866 * termios/termios.h: Declare tcgetsid also for POSIX2008.
22867
22868 * conform/Makefile: For now ignore errors from run-conformtest.
22869 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22870 POSIX to avoid namespace pollution. Don't prepend headers.
22871 * conform/data/aio.h-data: Fixes for POSIX testing.
22872 * conform/data/fcntl.h-data: Likewise.
22873 * conform/data/glob.h-data: Likewise.
22874 * conform/data/grp.h-data: Likewise.
22875 * conform/data/pthread.h-data: Likewise.
22876 * conform/data/pwd.h-data: Likewise.
22877 * conform/data/signal.h-data: Likewise.
22878 * conform/data/spawn.h-data: Likewise.
22879 * conform/data/stdio.h-data: Likewise.
22880 * conform/data/stdlib.h-data: Likewise.
22881 * conform/data/stropts.h-data: Likewise.
22882 * conform/data/sys/mman.h-data: Likewise.
22883 * conform/data/sys/stat.h-data: Likewise.
22884 * conform/data/sys/types.h-data: Likewise.
22885 * conform/data/sys/wait.h-data: Likewise.
22886 * conform/data/time.h-data: Likewise.
22887 * conform/data/unistd.h-data: Likewise.
22888 * conform/data/utime.h-data: Likewise.
22889
22890 * io/sys/stat.h: fchmod was always in POSIX.
22891 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22892 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22893 * rt/aio.h: Define __need_timespec before including <time.h>.
22894 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22895 struct. Add forward declaration of pthread_attr_t and use it in
22896 sigevent.
22897 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22898 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22899 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22900 always remove CLK_TCK definition.
22901
229022012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22903
22904 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22905
229062012-02-25 Ulrich Drepper <drepper@gmail.com>
22907
22908 * conform/run-conformtest.sh: New file.
22909 * conform/Makefile: Run run-conformtest for tests.
22910 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22911 support.
22912
22913 * conform/data/uchar.h-data: New file.
22914 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22915 * conform/data/arpa/inet.h-data: Likewise.
22916 * conform/data/assert.h-data: Likewise.
22917 * conform/data/complex.h-data: Likewise.
22918 * conform/data/cpio.h-data: Likewise.
22919 * conform/data/ctype.h-data: Likewise.
22920 * conform/data/dirent.h-data: Likewise.
22921 * conform/data/dlfcn.h-data: Likewise.
22922 * conform/data/errno.h-data: Likewise.
22923 * conform/data/fcntl.h-data: Likewise.
22924 * conform/data/float.h-data: Likewise.
22925 * conform/data/fmtmsg.h-data: Likewise.
22926 * conform/data/fnmatch.h-data: Likewise.
22927 * conform/data/ftw.h-data: Likewise.
22928 * conform/data/glob.h-data: Likewise.
22929 * conform/data/grp.h-data: Likewise.
22930 * conform/data/iconv.h-data: Likewise.
22931 * conform/data/inttypes.h-data: Likewise.
22932 * conform/data/langinfo.h-data: Likewise.
22933 * conform/data/libgen.h-data: Likewise.
22934 * conform/data/limits.h-data: Likewise.
22935 * conform/data/locale.h-data: Likewise.
22936 * conform/data/math.h-data: Likewise.
22937 * conform/data/monetary.h-data: Likewise.
22938 * conform/data/mqueue.h-data: Likewise.
22939 * conform/data/ndbm.h-data: Likewise.
22940 * conform/data/net/if.h-data: Likewise.
22941 * conform/data/netdb.h-data: Likewise.
22942 * conform/data/netinet/in.h-data: Likewise.
22943 * conform/data/nl_types.h-data: Likewise.
22944 * conform/data/poll.h-data: Likewise.
22945 * conform/data/pthread.h-data: Likewise.
22946 * conform/data/pwd.h-data: Likewise.
22947 * conform/data/regex.h-data: Likewise.
22948 * conform/data/sched.h-data: Likewise.
22949 * conform/data/search.h-data: Likewise.
22950 * conform/data/semaphore.h-data: Likewise.
22951 * conform/data/setjmp.h-data: Likewise.
22952 * conform/data/signal.h-data: Likewise.
22953 * conform/data/spawn.h-data: Likewise.
22954 * conform/data/stdarg.h-data: Likewise.
22955 * conform/data/stdio.h-data: Likewise.
22956 * conform/data/stdlib.h-data: Likewise.
22957 * conform/data/string.h-data: Likewise.
22958 * conform/data/strings.h-data: Likewise.
22959 * conform/data/stropts.h-data: Likewise.
22960 * conform/data/sys/ipc.h-data: Likewise.
22961 * conform/data/sys/mman.h-data: Likewise.
22962 * conform/data/sys/msg.h-data: Likewise.
22963 * conform/data/sys/resource.h-data: Likewise.
22964 * conform/data/sys/select.h-data: Likewise.
22965 * conform/data/sys/sem.h-data: Likewise.
22966 * conform/data/sys/shm.h-data: Likewise.
22967 * conform/data/sys/socket.h-data: Likewise.
22968 * conform/data/sys/stat.h-data: Likewise.
22969 * conform/data/sys/statvfs.h-data: Likewise.
22970 * conform/data/sys/time.h-data: Likewise.
22971 * conform/data/sys/timeb.h-data: Likewise.
22972 * conform/data/sys/times.h-data: Likewise.
22973 * conform/data/sys/types.h-data: Likewise.
22974 * conform/data/sys/uio.h-data: Likewise.
22975 * conform/data/sys/un.h-data: Likewise.
22976 * conform/data/sys/utsname.h-data: Likewise.
22977 * conform/data/sys/wait.h-data: Likewise.
22978 * conform/data/syslog.h-data: Likewise.
22979 * conform/data/tar.h-data: Likewise.
22980 * conform/data/termios.h-data: Likewise.
22981 * conform/data/utime.h-data: Likewise.
22982 * conform/data/utmpx.h-data: Likewise.
22983 * conform/data/varargs.h-data: Likewise.
22984 * conform/data/wchar.h-data: Likewise.
22985 * conform/data/wctype.h-data: Likewise.
22986 * conform/data/wordexp.h-data: Likewise.
22987
22988 * include/stropts.h: New file.
22989 * include/uchar.h: New file.
22990 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22991 * include/assert.h: Likewise.
22992 * include/ctype.h: Likewise.
22993 * include/dirent.h: Likewise.
22994 * include/dlfcn.h: Likewise.
22995 * include/fcntl.h: Likewise.
22996 * include/fnmatch.h: Likewise.
22997 * include/glob.h: Likewise.
22998 * include/grp.h: Likewise.
22999 * include/libio.h: Likewise.
23000 * include/locale.h: Likewise.
23001 * include/math.h: Likewise.
23002 * include/net/if.h: Likewise.
23003 * include/netdb.h: Likewise.
23004 * include/netinet/in.h: Likewise.
23005 * include/pthread.h: Likewise.
23006 * include/pwd.h: Likewise.
23007 * include/regex.h: Likewise.
23008 * include/sched.h: Likewise.
23009 * include/search.h: Likewise.
23010 * include/setjmp.h: Likewise.
23011 * include/signal.h: Likewise.
23012 * include/stdio.h: Likewise.
23013 * include/stdlib.h: Likewise.
23014 * include/string.h: Likewise.
23015 * include/sys/cdefs.h: Likewise.
23016 * include/sys/mman.h: Likewise.
23017 * include/sys/msg.h: Likewise.
23018 * include/sys/resource.h: Likewise.
23019 * include/sys/select.h: Likewise.
23020 * include/sys/socket.h: Likewise.
23021 * include/sys/stat.h: Likewise.
23022 * include/sys/statvfs.h: Likewise.
23023 * include/sys/time.h: Likewise.
23024 * include/sys/times.h: Likewise.
23025 * include/sys/uio.h: Likewise.
23026 * include/sys/utsname.h: Likewise.
23027 * include/sys/wait.h: Likewise.
23028 * include/termios.h: Likewise.
23029 * include/time.h: Likewise.
23030 * include/ulimit.h: Likewise.
23031 * include/unistd.h: Likewise.
23032 * include/utime.h: Likewise.
23033 * include/wchar.h: Likewise.
23034 * include/wctype.h: Likewise.
23035 * include/wordexp.h: Likewise.
23036
23037 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23038
23039 * time/time.h: TIME_UTC must be a macro.
23040 Make timespec_get available for ISO C11 only as well.
23041
230422012-02-24 Ulrich Drepper <drepper@gmail.com>
23043
23044 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23045 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23046
230472012-02-24 Joseph Myers <joseph@codesourcery.com>
23048
23049 * configure.in: Use -o not -a in test for unsupported multi-arch.
23050
230512012-02-24 Joseph Myers <joseph@codesourcery.com>
23052
23053 * manual/texinfo.tex: Update to version 2012-01-19.16.
23054
230552012-02-24 Joseph Myers <joseph@codesourcery.com>
23056
23057 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23058
230592012-02-24 Roland McGrath <roland@hack.frob.com>
23060
23061 [BZ #13738]
23062 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23063 * manual/fdl-1.3.texi: New file.
23064 * manual/fdl-1.1.texi: File removed.
23065
23066 [BZ #13738]
23067 * manual/libc.texinfo (FDL_VERSION): New @set.
23068 Use it for mention of FDL in cover text.
23069 (Documentation License): Use it in @include file name.
23070
230712012-02-22 Joseph Myers <joseph@codesourcery.com>
23072 Roland McGrath <roland@hack.frob.com>
23073
23074 [BZ #5461]
23075 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23076 not LONG_LONG_MAX and LONG_LONG_MIN.
23077 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23078 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23079 name.
23080 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23081
230822012-02-22 Joseph Myers <joseph@codesourcery.com>
23083
23084 [BZ #2547]
23085 [BZ #11365]
23086 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23087 manipulate bits before adding and subtracting TWO23[sx].
23088 * math/libm-test.inc (nearbyint_test): Add more tests.
23089
230902012-02-22 Joseph Myers <joseph@codesourcery.com>
23091
23092 [BZ #2548]
23093 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23094 bits before adding and subtracting TWO23[sx].
23095 * math/libm-test.inc (rint_test): Add more tests.
23096 (rint_test_tonearest): Likewise.
23097 (rint_test_towardzero): Likewise.
23098 (rint_test_downward): Likewise.
23099 (rint_test_upward: Likewise.
23100
231012012-02-22 Joseph Myers <joseph@codesourcery.com>
23102
23103 [BZ #10110]
23104 * include/stdc-predef.h: New file. Extracted from features.h.
23105 * include/features.h: Include stdc-predef.h.
23106 * Makefile (headers): Add stdc-predef.h.
23107 * CONFORMANCE (Compiler limitations): Update.
23108
231092012-02-22 Joseph Myers <joseph@codesourcery.com>
23110
23111 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23112
231132012-02-21 David S. Miller <davem@davemloft.net>
23114
23115 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23116 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23117
231182012-02-20 David S. Miller <davem@davemloft.net>
23119
23120 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23121 using a normal save/restore sequence, rather than allocating a
23122 dummy stack frame just to store a frame pointer and restore.
23123 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23124
231252012-02-21 Joseph Myers <joseph@codesourcery.com>
23126
23127 * manual/install.texi: Fix stray word in line-wrapped comment.
23128
231292012-02-20 David S. Miller <davem@davemloft.net>
23130
23131 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23132 both binutils and gcc support GOTDATA.
23133
23134 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23135 "rd %pc" in the PIC register setup sequences.
23136
23137 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23138 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23139 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23140 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23141 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23143 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23144 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23146 (SYSCALL_ERROR_HANDLER): Likewise.
23147 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23148 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23149 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23150 (SYSCALL_ERROR_HANDLER): Likewise.
23151
23152 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23153 (HAVE_GCC_GOTDATA): New.
23154 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23155 relocation support in both binutils and gcc.
23156 * sysdeps/sparc/elf/configure: Regenerate.
23157
23158 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23159 * sysdeps/sparc/sparc32/elf/configure: Delete.
23160 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23161 * sysdeps/sparc/sparc64/elf/configure: Delete.
23162 * sysdeps/sparc/elf/configure.in: New file.
23163 * sysdeps/sparc/elf/configure: Generate.
23164
23165 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23166 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23167 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23168 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23169 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23170
231712012-02-21 Joseph Myers <joseph@codesourcery.com>
23172
23173 * manual/install.texi: Do not mention specific glibc version
23174 numbers.
23175 * manual/libc.texinfo (VERSION, UPDATED): Update.
23176 (@copying): Use @copyright{} and range of years.
23177
231782012-02-21 Joseph Myers <joseph@codesourcery.com>
23179
23180 [BZ #13695]
23181 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23182 [crti.S not in sysdirs] (generated): Do not append.
23183 [crti.S not in sysdirs] (omit-deps): Likewise.
23184 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23185 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23186 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23187 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23188 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23189 Likewise.
23190 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23191 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23192 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23193 * csu/defs.awk: Remove file.
23194 * sysdeps/generic/initfini.c: Likewise.
23195 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23196 variable.
23197 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23198 Likewise.
23199
232002012-02-20 Joseph Myers <joseph@codesourcery.com>
23201
23202 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23203 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23204 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23205 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23206 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23207 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23208 <bits/epoll.h>.
23209 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23210 (__EPOLL_PACKED): Define to empty if not defined by
23211 <bits/epoll.h>.
23212 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23214 bits/epoll.h.
23215
232162012-02-20 Joseph Myers <joseph@codesourcery.com>
23217
23218 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23219 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23220 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23221 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23222 <bits/timerfd.h>.
23223 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23225 bits/timerfd.h.
23226
232272012-02-20 Joseph Myers <joseph@codesourcery.com>
23228
23229 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23230 in C locale.
23231 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23232 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23233 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23235
232362012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23237
23238 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23239 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23240
232412012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23242
23243 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23244 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23245 defined.
23246 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23247 Likewise.
23248 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23249 entry for 2.16.
23250
232512012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23252
23253 * math/w_acos.c: Use non-signaling floating-point comparisons.
23254 * math/w_acosf.c: Likewise.
23255 * math/w_acosh.c: Likewise.
23256 * math/w_acoshf.c: Likewise.
23257 * math/w_acoshl.c: Likewise.
23258 * math/w_acosl.c: Likewise.
23259 * math/w_asin.c: Likewise.
23260 * math/w_asinf.c: Likewise.
23261 * math/w_asinl.c: Likewise.
23262 * math/w_atanh.c: Likewise.
23263 * math/w_atanhf.c: Likewise.
23264 * math/w_atanhl.c: Likewise.
23265 * math/w_exp2.c: Likewise.
23266 * math/w_exp2f.c: Likewise.
23267 * math/w_exp2l.c: Likewise.
23268 * math/w_j0.c: Likewise.
23269 * math/w_j0f.c: Likewise.
23270 * math/w_j0l.c: Likewise.
23271 * math/w_j1.c: Likewise.
23272 * math/w_j1f.c: Likewise.
23273 * math/w_j1l.c: Likewise.
23274 * math/w_jn.c: Likewise.
23275 * math/w_jnf.c: Likewise.
23276 * math/w_log.c: Likewise.
23277 * math/w_log10.c: Likewise.
23278 * math/w_log10f.c: Likewise.
23279 * math/w_log10l.c: Likewise.
23280 * math/w_log2.c: Likewise.
23281 * math/w_log2f.c: Likewise.
23282 * math/w_log2l.c: Likewise.
23283 * math/w_logf.c: Likewise.
23284 * math/w_logl.c: Likewise.
23285 * math/w_sqrt.c: Likewise.
23286 * math/w_sqrtf.c: Likewise.
23287 * math/w_sqrtl.c: Likewise.
23288 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23289 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23290 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23291 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23292 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23293
232942012-02-19 Joseph Myers <joseph@codesourcery.com>
23295
23296 [BZ #9739]
23297 * manual/string.texi (strnlen): Use correct parameter name in
23298 equivalent expression.
23299
233002012-02-19 Joseph Myers <joseph@codesourcery.com>
23301
23302 [BZ #11174]
23303 * manual/users.texi (seteuid): Consistently use neweuid for
23304 argument name.
23305
233062012-02-19 Joseph Myers <joseph@codesourcery.com>
23307
23308 [BZ #13704]
23309 * manual/nss.texi (Services in the NSS configuration): Correct
23310 list of services in example configuration file.
23311
233122012-02-19 Nick Bowler <nbowler@draconx.ca>
23313
23314 [BZ #11322]
23315 * manual/arith.texi: Remove statements about negative zero
23316 behaving identically to zero.
23317
233182012-02-18 Joseph Myers <joseph@codesourcery.com>
23319
23320 [BZ #5993]
23321 * manual/install.texi: Do not document upgrading from libc5.
23322
233232012-02-18 Joseph Myers <joseph@codesourcery.com>
23324
23325 [BZ #4596]
23326 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23327
233282012-02-18 David S. Miller <davem@davemloft.net>
23329
23330 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23331 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23332 %o7 across the call.
23333 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23334 instead.
23335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23336 SETUP_PIC_REG_LEAF.
23337 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23338 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23339 * sysdeps/sparc/crtn.S: Likewise.
23340
233412012-02-17 Ulrich Drepper <drepper@gmail.com>
23342
23343 * aout/Makefile: Remove.
23344
233452012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23346
23347 [BZ #13058]
23348 * manual/examples/argp-ex1.c (main): Format definition in GNU
23349 style.
23350 * manual/examples/argp-ex2.c (main): Likewise.
23351 * manual/examples/argp-ex3.c (main): Likewise.
23352 * manual/examples/argp-ex4.c (main): Likewise.
23353 * manual/examples/longopt.c (main): Use new-style prototype
23354 definition.
23355 * manual/examples/strncat.c (main): Specify return type and use
23356 (void) for arguments.
23357 * manual/examples/subopt.c (main): Use char **argv argument.
23358
233592012-02-17 Joseph Myers <joseph@codesourcery.com>
23360
23361 [BZ #5077]
23362 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23363 rounding modes.
23364
233652012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23366
23367 [BZ #6907]
23368 * manual/string.texi (strchr): Change when strchrnul is
23369 recommended.
23370
233712012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23372
23373 [BZ #174]
23374 * manual/locale.texi (setlocale): Document LOCPATH.
23375
233762012-02-17 Joseph Myers <joseph@codesourcery.com>
23377
23378 [BZ #10210]
23379 * manual/process.texi (execle): Move @dots{} before last argument.
23380
233812012-02-17 Paul Bolle <pebolle@tiscali.nl>
23382
23383 [BZ #12047]
23384 * manual/charset.texi (Generic Charset Conversion): Fix typo
23385 (LC_TYPE -> LC_CTYPE).
23386
233872012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23388
23389 [BZ #5805]
23390 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23391 (scalbnf): Likewise.
23392 (scalbnl): Likewise.
23393 (scalbln): Likewise.
23394 (scalblnf): Likewise.
23395 (scalblnl): Likewise.
23396 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23397 (vwarnx): Likewise.
23398 (verr): Likewise.
23399 (verrx): Likewise.
23400 * manual/filesys.texi (telldir): Use braces around return type.
23401 * manual/llio.texi (mmap): Add space after comma.
23402 (mmap64): Likewise.
23403 * manual/math.texi (jn): Use @var{} on parameter names.
23404 (jnf): Likewise.
23405 (jnl): Likewise.
23406 (yn): Likewise.
23407 (ynf): Likewise.
23408 (ynl): Likewise.
23409 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23410 line.
23411 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23412 "...".
23413 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23414 (sched_get_priority_max): Likewise.
23415 * manual/signal.texi (sigvec): Add space after comma.
23416 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23417 names.
23418 (if_indextoname): Likewise.
23419 (if_freenameindex): Likewise.
23420 (sendto): Use ',' instead of '.' in prototype.
23421 * manual/startup.texi (syscall): Use @dots{} instead of literal
23422 "...".
23423 * manual/stdio.texi (__fpending): Separate initial words of
23424 paragraph from @deftypefun line.
23425 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23426 "...".
23427 (vsyslog): Use @var{} on parameter names.
23428 * manual/terminal.texi (stty): Use @var{} on parameter names.
23429 * manual/users.texi (getutmp): Use @var{} on parameter names.
23430 (getutmpx): Likewise.
23431
234322012-02-17 Joseph Myers <joseph@codesourcery.com>
23433
23434 [BZ #6884]
23435 * manual/stdio.texi (fopen): Fix typos in description of
23436 ",ccs=STRING".
23437
234382012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23439
23440 [BZ #4026]
23441 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23442 get clock_id definition.
23443
234442012-02-17 Thomas Schwinge <thomas@schwinge.name>
23445
23446 [BZ #4822]
23447 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23448 (madvise): Cast every argument to void on its own.
23449
234502012-02-17 Joseph Myers <joseph@codesourcery.com>
23451
23452 [BZ #9902]
23453 * manual/startup.texi (Exit Status): Fix typo.
23454
234552012-02-17 Joseph Myers <joseph@codesourcery.com>
23456
23457 [BZ #10140]
23458 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23459 * manual/examples/argp-ex2.c: Likewise.
23460 * manual/examples/argp-ex3.c: Likewise.
23461
234622012-02-16 Richard Henderson <rth@redhat.com>
23463
23464 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23465 * sysdeps/s390/s390-32/initfini.c: Remove.
23466 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23467 * sysdeps/s390/s390-64/initfini.c: Remove.
23468
234692012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23470
23471 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23472 compiler output for sysdeps/generic/initfini.c.
23473 * sysdeps/sh/elf/initfini.c: Remove file.
23474
234752012-02-16 David S. Miller <davem@davemloft.net>
23476
23477 [BZ #11494]
23478 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23479
23480 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23481 * sysdeps/sparc/crti.S: New file.
23482 * sysdeps/sparc/crtn.S: New file.
23483 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23484 * sysdeps/sparc/sparc64/Makefile: Likewise.
23485
234862012-02-15 Mike Frysinger <vapier@gentoo.org>
23487
23488 [BZ #3335]
23489 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23490
234912012-02-15 Roland McGrath <roland@hack.frob.com>
23492
23493 [BZ #4822]
23494 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23495
23496 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23497 (write, read, close): Likewise.
23498 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23499
235002012-02-15 Joseph Myers <joseph@codesourcery.com>
23501
23502 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23503 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23504 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23505 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23506 <bits/signalfd.h>.
23507 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23509 bits/signalfd.h.
23510
235112012-02-14 Marek Polacek <polacek@redhat.com>
23512
23513 * sysdeps/x86_64/crti.S: New file.
23514 * sysdeps/x86_64/crtn.S: New file.
23515 * sysdeps/x86_64/elf/initfini.c: Remove file.
23516
235172012-02-13 Joseph Myers <joseph@codesourcery.com>
23518
23519 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23520 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23521 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23522 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23523 <bits/inotify.h>.
23524 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23526 bits/inotify.h.
23527
235282012-02-13 Joseph Myers <joseph@codesourcery.com>
23529
23530 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23531 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23532 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23533 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23534 <bits/eventfd.h>.
23535 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23537 bits/eventfd.h.
23538
235392012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23540
23541 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23542 __feraiseexcept instead of feraiseexcept.
23543
23544 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23545 nanosleep invocations.
23546 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23547 strings, and add error checking for a nanosleep invocations.
23548
235492012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23550
23551 Replace FSF snail mail address with URLs, as per GNU coding standards.
23552 Most of the snail mail addresses were wrong anyway, and omitting
23553 them makes the source code easier to maintain. Almost all of the
23554 changes are to license notices and to locale LC_IDENTIFICATION
23555 addresses, except for this one:
23556 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23557 not its snail mail address.
23558
235592012-02-09 Richard Henderson <rth@twiddle.net>
23560
23561 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23562 of kernel-features.h.
23563
23564 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23565
235662012-02-08 Marek Polacek <polacek@redhat.com>
23567
23568 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23569 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23570 * sysdeps/gnu/_G_config.h: Likewise.
23571 * sysdeps/generic/_G_config.h: Likewise.
23572
235732012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23574
23575 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23576 tests.
23577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23578
23579 * sysdeps/powerpc/powerpc32/crti.S: New file.
23580 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23581 * sysdeps/powerpc/powerpc64/crti.S: New file.
23582 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23583
23584 * Makeconfig (have-initfini): Don't set.
23585 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23586 * configure.in (nopic_initfini): Don't substitute.
23587 * config.h.in (HAVE_INITFINI): Don't #undef.
23588 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23589 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23590
235912012-02-08 Joseph Myers <joseph@codesourcery.com>
23592
23593 Support crti.S and crtn.S provided directly by architectures.
23594 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23595 [crti.S in sysdirs] (omit-deps): Likewise.
23596 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23597 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23598 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23599 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23600 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23601 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23602 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23603 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23604 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23605 compiler output for sysdeps/generic/initfini.c.
23606 * sysdeps/i386/elf/Makefile: Remove file.
23607 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23608
236092012-02-07 Marek Polacek <polacek@redhat.com>
23610
23611 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23612 * sysdeps/gnu/_G_config.h: Likewise.
23613 * sysdeps/mach/hurd/_G_config.h: Likewise.
23614
236152012-02-07 Marek Polacek <polacek@redhat.com>
23616
23617 * math/Makefile (tests): Add tst-CMPLX2.
23618 * math/tst-CMPLX2.c: New file.
23619
236202012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23621
23622 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23623
23624 * math/libm-test.inc (jn_test): Add missing L suffix.
23625
236262012-02-06 Marek Polacek <polacek@redhat.com>
23627
23628 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23629 * sysdeps/i386/fpu/e_powf.S: Likewise.
23630 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23631 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23632 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23633 * sysdeps/i386/fpu/e_pow.S: Likewise.
23634 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23635 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23636 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23637 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23638 * sysdeps/i386/fpu/e_log2.S: Likewise.
23639 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23640 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23641 * sysdeps/i386/fpu/e_powl.S: Likewise.
23642 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23643 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23644 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23645 * sysdeps/i386/fpu/e_logl.S: Likewise.
23646 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23647 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23648 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23649 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23650 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23651 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23652 * sysdeps/i386/fpu/e_log.S: Likewise.
23653 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23654 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23655 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23656 * sysdeps/i386/fpu/e_logf.S: Likewise.
23657 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23658 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23659 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23660 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23661 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23662 * sysdeps/i386/fpu/e_log10.S: Likewise.
23663 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23664 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23665 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23666 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23667 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23668 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23669 * sysdeps/i386/asm-syntax.h: Likewise.
23670 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23671 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23672 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23673 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23674 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23675 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23676 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23677 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23678 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23679 * sysdeps/powerpc/sysdep.h: Likewise.
23680 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23681 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23682
236832012-02-06 Joseph Myers <joseph@codesourcery.com>
23684
23685 [BZ #411]
23686 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23687
236882012-02-06 Joseph Myers <joseph@codesourcery.com>
23689
23690 * sysdeps/i386/sysdep.h: Include <features.h>.
23691 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23692 version.
23693
236942012-02-05 Joseph Myers <joseph@codesourcery.com>
23695
23696 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23697 Define.
23698 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23699 LOAD_PIC_REG_STR.
23700
237012012-02-03 Joseph Myers <joseph@codesourcery.com>
23702
23703 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23704 (SETUP_PIC_REG): Use GET_PC_THUNK.
23705 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23706 macro.
23707
237082012-02-03 Joseph Myers <joseph@codesourcery.com>
23709
23710 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23711 for non-PIC compilation.
23712 (SETUP_PIC_REG): Add .p2align directive.
23713 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23714 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23715 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23716 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23717 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23718 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23719 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23720 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23721 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23722 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23723 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23724 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23725 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23726 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23727 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23728 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23729 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23730 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23731 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23732 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23733 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23734 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23735 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23736 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23737 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23738 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23739 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23740 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23741 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23742 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23743 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23744 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23745 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23746 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23747 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23748 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23749 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23750 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23751 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23752 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23753 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23754
237552012-02-03 Joseph Myers <joseph@codesourcery.com>
23756
23757 * math/tst-CMPLX.c: Include <stdio.h>.
23758
237592012-01-31 Joseph Myers <joseph@codesourcery.com>
23760
23761 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23762 float.
23763 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23764 * sysdeps/sparc/bits/mathdef.h: Likewise.
23765
237662012-01-31 Marek Polacek <polacek@redhat.com>
23767
23768 * libio/libio.h: Don't define _PARAMS.
23769 * locale/programs/config.h: Don't define PARAMS.
23770 * stdlib/strtol_l.c: Likewise.
23771 (__strtol_l): Remove PARAMS from the prototype.
23772
237732012-01-31 Ulrich Drepper <drepper@gmail.com>
23774
23775 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23776 names. Just use the correct names. Remove unnecessary wrapper
23777 functions.
23778 * malloc/arena.c: Likewise.
23779 * malloc/hooks.c: Likewise.
23780
23781 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23782 ARENA_TEST says not to. Simplify test for creation of a new arena.
23783 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23784
237852012-01-30 Ulrich Drepper <drepper@gmail.com>
23786
23787 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23788 into tail calls.
23789 (update_get_addr): New function.
23790 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23791 GET_ADDR_MODULE parameter.
23792
237932012-01-30 Joseph Myers <joseph@codesourcery.com>
23794
23795 * crypt/cert.c: Remove __STDC__ conditionals.
23796 * crypt/crypt-entry.c: Likewise.
23797 * crypt/crypt_util.c: Likewise.
23798 * libio/filedoalloc.c: Likewise.
23799 * libio/fileops.c: Likewise.
23800 * libio/genops.c: Likewise.
23801 * libio/iofclose.c: Likewise.
23802 * libio/iofdopen.c: Likewise.
23803 * libio/iofopen.c: Likewise.
23804 * libio/iofopen64.c: Likewise.
23805 * libio/iogetdelim.c: Likewise.
23806 * libio/iopopen.c: Likewise.
23807 * libio/obprintf.c: Likewise.
23808 * libio/oldfileops.c: Likewise.
23809 * libio/oldiofclose.c: Likewise.
23810 * libio/oldiofdopen.c: Likewise.
23811 * libio/oldiofopen.c: Likewise.
23812 * libio/oldiopopen.c: Likewise.
23813 * libio/wfiledoalloc.c: Likewise.
23814 * libio/wgenops.c: Likewise.
23815 * locale/programs/xmalloc.c: Likewise.
23816 * misc/syslog.c: Likewise.
23817 * stdio-common/xbug.c: Likewise.
23818 * string/memchr.c: Likewise.
23819 * string/memcmp.c: Likewise.
23820 * string/memrchr.c: Likewise.
23821 * string/rawmemchr.c: Likewise.
23822 * sysdeps/posix/getcwd.c: Likewise.
23823 * time/strftime_l.c: Likewise.
23824
238252012-01-30 Joseph Myers <joseph@codesourcery.com>
23826
23827 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
23828 * config.make.in (config-cflags-sse2avx): Define.
23829 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23830 Fix typo.
23831
238322012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23833
23834 * scripts/config.guess: Update from upstream config git repository.
23835 * scripts/config.sub: Likewise.
23836
238372012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23838
23839 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23840 (EM_NUM): Update.
23841 (R_TILEPRO_*, R_TILEGX_*): New macros.
23842
23843 * scripts/firstversions.awk: Fix bug in version range handling.
23844
23845 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23846
23847 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23848
23849 * include/sys/epoll.h: New file.
23850 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23851 libc_hidden_def.
23852
238532012-01-28 Ulrich Drepper <drepper@gmail.com>
23854
23855 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23856 Avoid unnecessary __WORDSIZE == 64 test.
23857 (fmaxf): Use VEX format if possible.
23858 (fmax): Likewise.
23859 (fminf): Likewise.
23860 (fmin): Likewise.
23861
23862 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23863 * math/math_private.h: Remove libc_fegetround* and
23864 libc_fesetround*.
23865 * sysdeps/i386/configure.in: Check for -msse2avx.
23866 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23867 also if SSE2AVX is defined.
23868 Remove libc_fegetround* and libc_fesetround*.
23869 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23870 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23872 of HAS_YMM_USABLE.
23873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23876 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23877 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23878
23879 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23880
238812012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23882
23883 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23884 size is not set.
23885 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23886
238872012-01-27 Ulrich Drepper <drepper@gmail.com>
23888
23889 [BZ #13618]
23890 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23891 relocation.
23892 * Makeconfig (libm): Define.
23893 * elf/Makefile: Add rules to build and run tst-relsort1.
23894 * elf/tst-relsort1.c: New file.
23895 * elf/tst-relsort1mod1.c: New file.
23896 * elf/tst-relsort1mod2.c: New file.
23897
238982012-01-27 Joseph Myers <joseph@codesourcery.com>
23899
23900 * math/s_ldexp.c: Remove __STDC__ conditionals.
23901 * math/s_ldexpf.c: Likewise.
23902 * math/s_ldexpl.c: Likewise.
23903 * math/s_nextafter.c: Likewise.
23904 * math/s_nexttowardf.c: Likewise.
23905 * math/s_significand.c: Likewise.
23906 * math/s_significandf.c: Likewise.
23907 * math/s_significandl.c: Likewise.
23908 * math/w_jnl.c: Likewise.
23909 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23910 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23911 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23912 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23913 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23914 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23915 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23916 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23917 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23918 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23919 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23920 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23921 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23922 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23923 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23924 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23925 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23926 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23927 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23928 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23929 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23930 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23931 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23932 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23933 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23934 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23935 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23936 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23937 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23938 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23939 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23940 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23941 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23942 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23943 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23944 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23945 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23946 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23947 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23948 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23949 * sysdeps/ieee754/k_standard.c: Likewise.
23950 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23951 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23952 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23953 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23954 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23955 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23956 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23957 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23958 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23959 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23960 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23961 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23962 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23963 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23964 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23965 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23966 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23967 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23968 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23969 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23970 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23971 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23972 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23973 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23974 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23975 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23976 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23977 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23978 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23979 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23980 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23981 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23982 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23983 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23984 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23985 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23986 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23987 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23988 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23989 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23990 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23991 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23992 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23993 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23994 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23995 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23996 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23997 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23998 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23999 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24000 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24001 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24002 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24003 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24004 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24005 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24006 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24007 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24008 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24009 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24010 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24011 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24012 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24013 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24014 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24015 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24016 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24017 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24018 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24019 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24020 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24021 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24022 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24023 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24024 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24025 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24026 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24027 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24028 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24029 * sysdeps/ieee754/s_matherr.c: Likewise.
24030 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24031 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24032 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24033 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24034
240352012-01-26 Joseph Myers <joseph@codesourcery.com>
24036
24037 * crypt/md5.h: Remove __STDC__ conditionals.
24038 * libio/libioP.h: Likewise.
24039 * locale/programs/config.h: Likewise.
24040 * sysdeps/generic/sysdep.h: Likewise.
24041 * sysdeps/i386/asm-syntax.h: Likewise.
24042 * sysdeps/s390/asm-syntax.h: Likewise.
24043 * sysdeps/unix/sysdep.h: Likewise.
24044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24046
240472012-01-26 Joseph Myers <joseph@codesourcery.com>
24048
24049 * libio/libio.h: Remove __STDC__ conditionals.
24050 * malloc/obstack.h: Likewise.
24051 * math/complex.h: Likewise.
24052 * math/math.h: Likewise.
24053 * sysdeps/generic/_G_config.h: Likewise.
24054 * sysdeps/gnu/_G_config.h: Likewise.
24055 * sysdeps/mach/hurd/_G_config.h: Likewise.
24056 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24057 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24058 * sysdeps/sparc/bits/mathdef.h: Likewise.
24059
240602012-01-26 Ulrich Drepper <drepper@gmail.com>
24061
24062 [BZ #13583]
24063 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24064 Clean up HAS_* macros.
24065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24066 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24067 possible.
24068 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24069 HAS_AVX.
24070 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24071 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24072 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24073 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24074 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24075
240762012-01-25 Joseph Myers <joseph@codesourcery.com>
24077
24078 * elf/tst-unique3.cc (gets): Remove declaration.
24079 * elf/tst-unique3lib.cc (gets): Likewise.
24080 * elf/tst-unique3lib2.cc (gets): Likewise.
24081 * elf/tst-unique4.cc (gets): Likewise.
24082
240832012-01-24 Ulrich Drepper <drepper@gmail.com>
24084
24085 * include/stdio.h: Add C++ protection. Add gets declarations and
24086 definitions.
24087 * debug/tst-chk1.c: Don't declare gets here.
24088 * stdio-common/tst-gets.c: Likewise.
24089
240902012-01-24 Joseph Myers <joseph@codesourcery.com>
24091
24092 * posix/glob: Remove directory.
24093
240942012-01-24 Joseph Myers <joseph@codesourcery.com>
24095
24096 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24097
240982012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24099
24100 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24101 of the non-standard EPFNOSUPPORT.
24102
241032011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24104
24105 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24106 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24107 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24108
241092012-01-21 Ulrich Drepper <drepper@gmail.com>
24110
24111 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24112
241132012-01-20 Ulrich Drepper <drepper@gmail.com>
24114
24115 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24116 transient errors.
24117 * nscd/grpcache.c (cache_addgr): Likewise.
24118 * nscd/hstcache.c (cache_addhst): Likewise.
24119 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24120 * nscd/pwdcache.c (cache_addpw): Likewise.
24121 * nscd/servicescache.c (cache_addserv): Likewise.
24122
241232012-01-16 Ulrich Drepper <drepper@gmail.com>
24124
24125 * malloc/malloc.c: Various cleanups.
24126 * malloc/hooks.c: Likewise.
24127
24128 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24129 * stdlib/bug-fmtmsg1.c: New file.
24130
24131 * stdlib/fmtmsg.c (init): Add missing unlock.
24132 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24133
241342012-01-12 Marek Polacek <polacek@redhat.com>
24135
24136 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24137 and _GNU_SOURCE.
24138
241392012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24140
24141 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24142 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24143 macro to ensure uniqueness of label name.
24144 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24145 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24146
241472012-01-11 Ulrich Drepper <drepper@gmail.com>
24148
24149 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24150
24151 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24152 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24153 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24154 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24155
241562012-01-10 Ulrich Drepper <drepper@gmail.com>
24157
24158 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24159
24160 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24161 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24162 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24163
24164 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24165
24166 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24167 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24168 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24169 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24170
24171 * math/bits/math-finite.h: Add ldexp support.
24172
241732012-01-10 Marek Polacek <polacek@redhat.com>
24174
24175 * locale/programs/localedef.h (show_archive_content): Add noreturn
24176 attribute.
24177
241782012-01-09 Ulrich Drepper <drepper@gmail.com>
24179
24180 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24181
241822012-01-08 Ulrich Drepper <drepper@gmail.com>
24183
24184 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24185
24186 * io/Makefile (headers): Add bits/poll2.h.
24187
241882011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24189
24190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24191 typo #include statement.
24192
241932012-01-08 Ulrich Drepper <drepper@gmail.com>
24194
24195 * include/sys/cdefs.h: Define __attribute_alloc_size.
24196 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24197 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24198 * elf/pldd.c: Likewise.
24199 * iconv/iconv_charmap.c: Likewise.
24200 * iconv/iconvconfig.c: Likewise.
24201 * iconv/strtab.c: Likewise.
24202 * locale/programs/locale.c: Likewise.
24203 * locale/programs/localedef.h: Likewise.
24204 * locale/programs/simple-hash.c: Likewise.
24205 * nscd/nscd.h: Likewise.
24206 * nss/makedb.c: Likewise.
24207 * sysdeps/generic/ldconfig.h: Likewise.
24208 * locale/programs/localedef.c: Remove xmalloc prototype.
24209 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24210
242112012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24212
24213 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24214 appropriate.
24215
242162012-01-08 Ulrich Drepper <drepper@gmail.com>
24217
24218 * math/Makefile (tests): Add tst-CMPLX.
24219 * math/tst-CMPLX.c: New file.
24220
24221 * math/complex.h (CMPLXL): Fix typo.
24222
24223 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24224 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24225 GLIBC_2.16.
24226 * debug/tst-chk1.c: Add poll and ppoll tests.
24227 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24228 * include/sys/poll.h: Add hidden proto for ppoll.
24229 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24230 * sysdeps/mach/hurd/ppoll.c: Likewise.
24231 * io/ppoll.c: Likewise.
24232 * debug/poll_chk.c: New file.
24233 * debug/ppoll_chk.c: New file.
24234 * include/bits/poll2.h: New file.
24235 * io/bits/poll2.h: New file.
24236
24237 [BZ #1350]
24238 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24239
24240 * configure.in: static is always set to yes. Remove.
24241 * config.make.in: Don't set build-static.
24242 * Makeconfig: Remove use of build-static.
24243 * dlfcn/Makefile: Likewise.
24244 * elf/Makefile: Likewise.
24245 * math/Makefile: Likewise.
24246 * misc/Makefile: Likewise.
24247 * nptl/Makefile: Likewise.
24248 * sysdeps/mach/hurd/Makefile: Likewise.
24249
24250 * configure.in: PWD_P is not used anymore.
24251 * config.make.in: Remove PWD_P entry.
24252
24253 * configure.in: Remove last remnants of RANLIB.
24254 No need to check for signed size_t anymore.
24255 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24256 and IA-64.
24257 Remove __builtin_expect test because we require at least gcc 3.4.
24258 * aclocal.m4: Likewise.
24259
24260 * wcsmbs/mbrtoc16.c: Implement using towc function.
24261 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24262 * wcsmbs/wcsmbsload.c: Likewise.
24263 * iconv/gconv_simple.c: Likewise.
24264 * iconv/gconv_int.h: Likewise.
24265 * iconv/gconv_builtin.h: Likewise.
24266 * iconv/iconv_prog.c: Remove CHAR16 handling.
24267
24268 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24269
24270 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24271
24272 * configure.in: Remove --with-elf and --enable-bounded options.
24273 Dont set base_machine for ia64. More non-ELF conditions removed.
24274 Remove testing and setting of leading underscore information.
24275 * config.make.in (build-bounded): Set to no.
24276 * config.h.in: Remove NO_UNDERSCORES entry.
24277 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24278 them.
24279 * csu/start.c: Remove !NO_UNDERSCORE code.
24280 * locale/localeinfo.h: Likewise.
24281 * sysdeps/generic/machine-gmon.h: Likewise.
24282 * sysdeps/generic/sysdep.h: Likewise.
24283 * sysdeps/i386/sysdep.h: Likewise.
24284 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24285 * sysdeps/mach/sysdep.h: Likewise.
24286 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24287 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24288 * sysdeps/sh/sysdep.h: Likewise.
24289 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24290 * sysdeps/unix/i386/sysdep.S: Likewise.
24291 * sysdeps/unix/sparc/start.c: Likewise.
24292 * sysdeps/unix/sparc/sysdep.S: Likewise.
24293 * sysdeps/unix/sparc/sysdep.h: Likewise.
24294 * sysdeps/unix/start.c: Likewise.
24295 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24296 * sysdeps/x86_64/sysdep.h: Likewise.
24297
242982012-01-07 Ulrich Drepper <drepper@gmail.com>
24299
24300 [BZ #13553]
24301 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24302 for non-gcc.
24303 * argp/argp-fmtstream.h: Use const instead __const.
24304 * argp/argp.h: Likewise.
24305 * assert/assert.h: Likewise.
24306 * bits/fenv.h: Likewise.
24307 * bits/sched.h: Likewise.
24308 * bits/sigset.h: Likewise.
24309 * bits/sigthread.h: Likewise.
24310 * catgets/nl_types.h: Likewise.
24311 * conform/data/pthread.h-data: Likewise.
24312 * crypt/crypt-private.h: Likewise.
24313 * crypt/crypt.h: Likewise.
24314 * crypt/crypt_util.c: Likewise.
24315 * ctype/ctype.h: Likewise.
24316 * debug/execinfo.h: Likewise.
24317 * debug/mbsnrtowcs_chk.c: Likewise.
24318 * debug/mbsrtowcs_chk.c: Likewise.
24319 * debug/wcsnrtombs_chk.c: Likewise.
24320 * debug/wcsrtombs_chk.c: Likewise.
24321 * debug/wcstombs_chk.c: Likewise.
24322 * dirent/dirent.h: Likewise.
24323 * dlfcn/dlfcn.h: Likewise.
24324 * elf/neededtest4.c: Likewise.
24325 * grp/grp.h: Likewise.
24326 * gshadow/gshadow.h: Likewise.
24327 * iconv/gconv.h: Likewise.
24328 * iconv/gconv_int.h: Likewise.
24329 * iconv/gconv_simple.c: Likewise.
24330 * iconv/iconv.h: Likewise.
24331 * iconv/loop.c: Likewise.
24332 * iconv/skeleton.c: Likewise.
24333 * include/aio.h: Likewise.
24334 * include/aliases.h: Likewise.
24335 * include/argz.h: Likewise.
24336 * include/arpa/inet.h: Likewise.
24337 * include/assert.h: Likewise.
24338 * include/dirent.h: Likewise.
24339 * include/dlfcn.h: Likewise.
24340 * include/execinfo.h: Likewise.
24341 * include/fcntl.h: Likewise.
24342 * include/fenv.h: Likewise.
24343 * include/glob.h: Likewise.
24344 * include/grp.h: Likewise.
24345 * include/libintl.h: Likewise.
24346 * include/mntent.h: Likewise.
24347 * include/netdb.h: Likewise.
24348 * include/pwd.h: Likewise.
24349 * include/rpc/netdb.h: Likewise.
24350 * include/sched.h: Likewise.
24351 * include/search.h: Likewise.
24352 * include/shadow.h: Likewise.
24353 * include/signal.h: Likewise.
24354 * include/stdio.h: Likewise.
24355 * include/stdlib.h: Likewise.
24356 * include/string.h: Likewise.
24357 * include/sys/socket.h: Likewise.
24358 * include/sys/stat.h: Likewise.
24359 * include/sys/statfs.h: Likewise.
24360 * include/sys/statvfs.h: Likewise.
24361 * include/sys/syslog.h: Likewise.
24362 * include/sys/time.h: Likewise.
24363 * include/sys/uio.h: Likewise.
24364 * include/time.h: Likewise.
24365 * include/unistd.h: Likewise.
24366 * include/utmp.h: Likewise.
24367 * include/wchar.h: Likewise.
24368 * include/wctype.h: Likewise.
24369 * inet/aliases.h: Likewise.
24370 * inet/arpa/inet.h: Likewise.
24371 * inet/netinet/ether.h: Likewise.
24372 * inet/netinet/in.h: Likewise.
24373 * intl/libintl.h: Likewise.
24374 * io/bits/fcntl2.h: Likewise.
24375 * io/fcntl.h: Likewise.
24376 * io/ftw.h: Likewise.
24377 * io/sys/poll.h: Likewise.
24378 * io/sys/stat.h: Likewise.
24379 * io/sys/statfs.h: Likewise.
24380 * io/sys/statvfs.h: Likewise.
24381 * io/utime.h: Likewise.
24382 * libio/bits/stdio.h: Likewise.
24383 * libio/bits/stdio2.h: Likewise.
24384 * libio/libio.h: Likewise.
24385 * libio/libioP.h: Likewise.
24386 * libio/stdio.h: Likewise.
24387 * locale/lc-ctype.c: Likewise.
24388 * locale/locale.h: Likewise.
24389 * login/utmp.h: Likewise.
24390 * malloc/arena.c: Likewise.
24391 * malloc/malloc.c: Likewise.
24392 * malloc/malloc.h: Likewise.
24393 * malloc/mcheck.c: Likewise.
24394 * malloc/mtrace.c: Likewise.
24395 * math/bits/mathcalls.h: Likewise.
24396 * math/fenv.h: Likewise.
24397 * math/math_private.h: Likewise.
24398 * misc/bits/error.h: Likewise.
24399 * misc/bits/syslog.h: Likewise.
24400 * misc/err.h: Likewise.
24401 * misc/error.h: Likewise.
24402 * misc/fstab.h: Likewise.
24403 * misc/mntent.h: Likewise.
24404 * misc/regexp.h: Likewise.
24405 * misc/search.h: Likewise.
24406 * misc/sgtty.h: Likewise.
24407 * misc/sys/mman.h: Likewise.
24408 * misc/sys/syslog.h: Likewise.
24409 * misc/sys/uio.h: Likewise.
24410 * misc/sys/xattr.h: Likewise.
24411 * misc/ttyent.h: Likewise.
24412 * nis/rpcsvc/ypclnt.h: Likewise.
24413 * nss/nss.h: Likewise.
24414 * posix/bits/unistd.h: Likewise.
24415 * posix/fnmatch.h: Likewise.
24416 * posix/glob.h: Likewise.
24417 * posix/sched.h: Likewise.
24418 * posix/spawn.h: Likewise.
24419 * posix/sys/wait.h: Likewise.
24420 * posix/unistd.h: Likewise.
24421 * posix/wordexp.h: Likewise.
24422 * pwd/pwd.h: Likewise.
24423 * resolv/netdb.h: Likewise.
24424 * resource/sys/resource.h: Likewise.
24425 * rt/aio.h: Likewise.
24426 * rt/bits/mqueue2.h: Likewise.
24427 * rt/mqueue.h: Likewise.
24428 * shadow/shadow.h: Likewise.
24429 * signal/signal.h: Likewise.
24430 * socket/send.c: Likewise.
24431 * socket/sendto.c: Likewise.
24432 * socket/sys/socket.h: Likewise.
24433 * stdio-common/printf.h: Likewise.
24434 * stdlib/bits/stdlib.h: Likewise.
24435 * stdlib/fmtmsg.h: Likewise.
24436 * stdlib/monetary.h: Likewise.
24437 * stdlib/stdlib.h: Likewise.
24438 * stdlib/ucontext.h: Likewise.
24439 * streams/stropts.h: Likewise.
24440 * string/argz.h: Likewise.
24441 * string/bits/string2.h: Likewise.
24442 * string/string.h: Likewise.
24443 * string/strings.h: Likewise.
24444 * sunrpc/rpc/auth.h: Likewise.
24445 * sunrpc/rpc/auth_des.h: Likewise.
24446 * sunrpc/rpc/clnt.h: Likewise.
24447 * sunrpc/rpc/netdb.h: Likewise.
24448 * sunrpc/rpc/pmap_clnt.h: Likewise.
24449 * sunrpc/rpc/xdr.h: Likewise.
24450 * sysdeps/generic/inttypes.h: Likewise.
24451 * sysdeps/generic/net/if.h: Likewise.
24452 * sysdeps/generic/sys/swap.h: Likewise.
24453 * sysdeps/gnu/net/if.h: Likewise.
24454 * sysdeps/gnu/utmpx.h: Likewise.
24455 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24456 * sysdeps/i386/i486/bits/string.h: Likewise.
24457 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24458 * sysdeps/s390/bits/string.h: Likewise.
24459 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24460 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24461 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24462 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24463 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24464 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24465 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24466 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24467 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24468 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24469 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24470 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24471 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24472 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24473 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24474 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24475 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24477 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24478 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24479 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24480 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24481 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24482 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24483 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24484 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24485 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24486 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24487 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24488 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24489 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24490 * sysvipc/sys/ipc.h: Likewise.
24491 * sysvipc/sys/msg.h: Likewise.
24492 * sysvipc/sys/sem.h: Likewise.
24493 * sysvipc/sys/shm.h: Likewise.
24494 * termios/termios.h: Likewise.
24495 * time/sys/time.h: Likewise.
24496 * time/time.h: Likewise.
24497 * wcsmbs/bits/wchar2.h: Likewise.
24498 * wcsmbs/uchar.h: Likewise.
24499 * wcsmbs/wchar.h: Likewise.
24500 * wctype/wctype.h: Likewise.
24501
24502 [BZ #13551]
24503 * Makeconfig: Remove all but ELF support including AIX support.
24504 * Makerules: Likewise.
24505 * config.h.in: Likewise.
24506 * config.make.in: Likewise.
24507 * configure: Likewise.
24508 * configure.in: Likewise.
24509 * csu/Makefile: Likewise.
24510 * csu/version.c: Likewise.
24511 * debug/Makefile: Likewise.
24512 * dlfcn/Makefile: Likewise.
24513 * elf/Makefile: Likewise.
24514 * extra-lib.mk: Likewise.
24515 * iconv/Makefile: Likewise.
24516 * include/libc-symbols.h: Likewise.
24517 * include/shlib-compat.h: Likewise.
24518 * resolv/Makefile: Likewise.
24519 * resolv/res_libc.c: Likewise.
24520 * rt/Makefile: Likewise.
24521 * sysdeps/i386/asm-syntax.h: Likewise.
24522 * sysdeps/i386/sysdep.h: Likewise.
24523 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24524 * sysdeps/mach/sysdep.h: Likewise.
24525 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24526 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24527 * sysdeps/s390/asm-syntax.h: Likewise.
24528 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24529 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24530 * sysdeps/sh/sysdep.h: Likewise.
24531 * sysdeps/unix/sparc/sysdep.h: Likewise.
24532 * sysdeps/wordsize-32/divdi3.c: Likewise.
24533 * sysdeps/x86_64/sysdep.h: Likewise.
24534
24535 * argp/Versions: Remove _argp_unlock_xxx.
24536
24537 [BZ #13559]
24538 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24539 * abilist/libBrokenLocale.abilist: Likewise.
24540 * abilist/libanl.abilist: Likewise.
24541 * abilist/libc.abilist: Likewise.
24542 * abilist/libcrypt.abilist: Likewise.
24543 * abilist/libdl.abilist: Likewise.
24544 * abilist/libm.abilist: Likewise.
24545 * abilist/libnsl.abilist: Likewise.
24546 * abilist/libpthread.abilist: Likewise.
24547 * abilist/libresolv.abilist: Likewise.
24548 * abilist/librt.abilist: Likewise.
24549 * abilist/libthread_db.abilist: Likewise.
24550 * abilist/libutil.abilist: Likewise.
24551 * abilist/libnss_db.abilist: New file.
24552
24553 * scripts/abilist.awk: Add support for indirect functions.
24554
24555 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24556
24557 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24558
24559 * shlib-versions: Remove entries for ports architectures.
24560
24561 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24562 files in ports.
24563 * elf/stackguard-macros.h: Remove support for IA-64.
24564 * elf/tst-auditmod1.c: Likewise.
24565 * sysdeps/generic/ldsodefs.h: Likewise.
24566
24567 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24568 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24569 configure files.
24570
24571 [BZ #13552]
24572 * configure.in: Remove --enable-omitfp support.
24573 * FAQ.in: Adjust.
24574 * config.make.in: Likewise.
24575 * Makeconfig: Likewise.
24576 * manual/install.texi: Likewise.
24577
24578 In case anyone cares, the IA-64 architecture could move to ports.
24579 * sysdeps/ia64/*: Removed.
24580 * sysdeps/unix/sysv/linux/ia64/*: Removed.
24581 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24582
24583 [BZ #13555]
24584 * configure.in: Remove entries for unsupported architectures.
24585
24586 [BZ #13533]
24587 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24588 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24589 routines.
24590 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24591 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24592 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24593 fall back to using wcrtomb.
24594 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24595 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24596 renaming.
24597 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24598 * wcsmbs/tst-c16c32-1.c: New file.
24599
24600 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24601 local variable.
24602
24603 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24604
24605 * elf/tst-unique3.cc: Add explicit declaration of gets.
24606 * elf/tst-unique3lib.cc: Likewise.
24607 * elf/tst-unique3lib2.cc: Likewise.
24608 * elf/tst-unique4.cc: Likewise.
24609
24610 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24611
246122012-01-06 Joseph Myers <joseph@codesourcery.com>
24613
24614 [BZ #13566]
24615 * assert/assert.h (static_assert): Don't define for C++.
24616 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24617 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24618
246192012-01-03 Ulrich Drepper <drepper@gmail.com>
24620
24621 * iconv/loop.c (single loop): Fix assertion in storing of
24622 remaining bytes.
24623
24624 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24625
246262012-01-01 Ulrich Drepper <drepper@gmail.com>
24627
24628 * posix/getconf.c: Update copyright year.
24629 * nss/getent.c: Likewise.
24630 * nss/makedb.c: Likewise.
24631 * iconv/iconvconfig.c: Likewise.
24632 * iconv/iconv_prog.c: Likewise.
24633 * elf/ldconfig.c: Likewise.
24634 * elf/pldd.c: Likewise.
24635 * elf/sotruss.ksh: Likewise.
24636 * catgets/gencat.c: Likewise.
24637 * csu/version.c: Likewise.
24638 * elf/ldd.bash.in: Likewise.
24639 * elf/sprof.c (print_version): Likewise.
24640 * locale/programs/locale.c: Likewise.
24641 * locale/programs/localedef.c: Likewise.
24642 * login/programs/pt_chown.c: Likewise.
24643 * nscd/nscd.c (print_version): Likewise.
24644 * debug/xtrace.sh: Likewise.
24645 * malloc/memusage.sh: Likewise.
24646 * malloc/mtrace.pl: Likewise.
24647 * debug/catchsegv.sh: Likewise.
24648
246492011-12-30 Jakub Jelinek <jakub@redhat.com>
24650
24651 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24652 pure attribute.
24653
246542011-12-24 Ulrich Drepper <drepper@gmail.com>
24655
24656 [BZ #13533]
24657 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24658 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24659 transformations.
24660 * iconv/gconv_int.h: Likewise.
24661 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24662 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24663 from libc for GLIBC_2.16.
24664 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24665 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24666 * wcsmbs/uchar.h: Really define mbstate_t.
24667 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24668 * wcsmbs/c16rtomb.c: New file.
24669 * wcsmbs/mbrtoc16.c: New file.
24670 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24671 for C/POSIX locale.
24672 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24673 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24674
24675 * wcsmbs/wchar.h: Add missing __restrict.
24676
246772011-12-23 Ulrich Drepper <drepper@gmail.com>
24678
24679 [BZ #13532]
24680 * time/Makefile (routines): Add timespec_get.
24681 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24682 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24683 timespec for ISO C11.
24684 * time/timespec_get.c: New file.
24685 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24686 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24687
24688 [BZ #13531]
24689 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24690 * stdlib/stdlib.h: Declare aligned_alloc.
24691 * Versions.def: Add GLIBC_2.16 for libc.
24692 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24693
24694 [BZ 13527]
24695 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24696 ISO C11.
24697
24698 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
24699 code.
24700
24701 [BZ #13528]
24702 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24703
24704 [BZ #13529]
24705 * assert/assert.h (static_assert): Define.
24706
24707 * version.h: Update for 2.16 development version.
24708
24709 [BZ #13526]
24710 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24711 _ISOC11_SOURCE.
24712
24713 * version.h (RELEASE): Bump for 2.15 release.
24714 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24715
24716 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24717 Patch by Marek Polacek <mpolacek@redhat.com>.
24718
24719 * bits/byteswap.h: Protect long long constants with __extension__.
24720 * sysdeps/i386/bits/byteswap.h: Likewise.
24721 * sysdeps/ia64/bits/byteswap.h: Likewise.
24722 * sysdeps/s390/bits/byteswap.h: Likewise.
24723 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24724
247252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24726
24727 [BZ #13540]
24728 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24729 destination buffer.
24730 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24731
247322011-12-23 Marek Polacek <polacek@redhat.com>
24733
24734 * elf/dl-addr.c (determine_info): Add inline keyword.
24735 * elf/tst-auditmod4b.c (check_avx): Likewise.
24736 * elf/tst-auditmod6b.c (check_avx): Likewise.
24737 * elf/tst-auditmod6c.c (check_avx): Likewise.
24738 * elf/tst-auditmod7b.c (check_avx): Likewise.
24739
247402011-12-23 Ulrich Drepper <drepper@gmail.com>
24741
24742 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24743 !__SSE_MATH__.
24744
247452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24746
24747 [BZ #13540]
24748 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24749 processing for last bytes.
24750
247512011-08-06 Bruno Haible <bruno@clisp.org>
24752
24753 [BZ #13061]
24754 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24755 U+0385, not to U+1FEE.
24756
24757 [BZ #13062]
24758 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24759 entry for U+00A5 U+0301.
24760
247612011-12-22 Ulrich Drepper <drepper@gmail.com>
24762
24763 [BZ #13166]
24764 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24765 buffer for the output is too small.
24766
24767 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24768 optimization.
24769
24770 [BZ #13185]
24771 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24772 SSE flags if possible.
24773
247742011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24775
24776 [BZ #13540]
24777 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24778 processing for last bytes.
24779
247802011-12-22 Joseph Myers <joseph@codesourcery.com>
24781
24782 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24783 (syscall-list-default-options, syscall-list-default-condition)
24784 (syscall-list-includes): Define.
24785 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24786 list of ABIs and options and #if conditions for each ABI. Do not
24787 handle common syscalls between ABIs specially.
24788 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24789 Remove.
24790 (syscall-list-variants, syscall-list-32bit-options)
24791 (syscall-list-32bit-condition, syscall-list-64bit-options)
24792 (syscall-list-64bit-condition): Define.
24793 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24794 (syscall-list-variants, syscall-list-32bit-options)
24795 (syscall-list-32bit-condition, syscall-list-64bit-options)
24796 (syscall-list-64bit-condition): Define.
24797 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24798 Remove.
24799 (syscall-list-variants, syscall-list-32bit-options)
24800 (syscall-list-32bit-condition, syscall-list-64bit-options)
24801 (syscall-list-64bit-condition): Define.
24802 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24803 Remove.
24804 (syscall-list-variants, syscall-list-32bit-options)
24805 (syscall-list-32bit-condition, syscall-list-64bit-options)
24806 (syscall-list-64bit-condition): Define.
24807
248082011-12-22 Ulrich Drepper <drepper@gmail.com>
24809
24810 * locale/iso-639.def: Add brx entry.
24811
24812 [BZ #13328]
24813 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24814 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24815
24816 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24817 __feraiseexcept_renamed.
24818
248192011-12-21 Ulrich Drepper <drepper@gmail.com>
24820
24821 [BZ #13538]
24822 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24823 EPOLLET with unsigned values.
24824 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24825 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24826
24827 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24828 to large cancellation.
24829 * math/s_cacoshf.c: Likewise.
24830 * math/s_cacoshl.c: Likewise.
24831
248322011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24833
24834 [BZ #13305]
24835 [BZ #12786]
24836 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24837 * math/s_cacoshf.c: Likewise.
24838 * math/s_cacoshl.c: Likewise.
24839
248402011-12-21 Ulrich Drepper <drepper@gmail.com>
24841
24842 [BZ #13439]
24843 * iconv/gconv.h: Define __GCONV_SWAP.
24844 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24845 * iconvdata/utf-16.c: Likewise.
24846 * iconvdata/utf-32.c: Likewise.
24847
248482011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24849
24850 [BZ #13524]
24851 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24852 numerator after shifting it by one limb.
24853
248542011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24855
24856 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24857 under [__USE_EXTERN_INLINES].
24858
248592011-12-17 Ulrich Drepper <drepper@gmail.com>
24860
24861 [BZ #13446]
24862 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24863
248642011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24865
24866 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24867 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24868 optimized code.
24869 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24870 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24871 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24872 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24873 for strncasecmp/strncasecmp_l compilation.
24874 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24875 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24876
248772011-12-08 Marek Polacek <mpolacek@redhat.com>
24878
24879 [BZ #13484]
24880 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24881 of __asm__.
24882
248832011-12-17 Ulrich Drepper <drepper@gmail.com>
24884
24885 [BZ #13506]
24886 * time/tzfile.c (__tzfile_read): Check values from file header.
24887
248882011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24889
24890 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24891 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24892 * powerpc/powerpc32/dl-start.S: Likewise.
24893 * powerpc/powerpc32/elf/start.S: Likewise.
24894 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24895 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24896 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24897 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24898 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24899 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24900 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24901 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24902 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24903 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24904 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24905 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24906 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24907 * powerpc/powerpc32/memset.S: Likewise.
24908 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24909 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24910 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24911 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24912 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24913 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24914 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24915 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24916 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24917 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24918 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24919 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24920 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24921
249222011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24923
24924 * math/libm-test.inc: Added more nearbyint tests.
24925 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24926 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24927 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24928 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24929
249302011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24931
24932 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24933 FD_CLOEXEC.
24934
249352011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24936
24937 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24938 Add wcscpy-ssse3 wcscpy-c.
24939 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24940 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24941 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24942 * sysdeps/x86_64/wcschr.S: New file.
24943 * sysdeps/x86_64/wcsrchr.S: New file.
24944 * string/test-strcmp.c: Remove checking of wcscmp function for
24945 wrong alignments.
24946 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24947 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24948 wcsrchr-sse2 wcsrchr-c.
24949 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24950 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24951 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24952 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24953 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24954 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24955 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24956 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24957 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24958 * wcsmbc/wcschr.c (WCSCHR): New macro.
24959
249602011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24961
24962 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24963 * wcsmbs/test-wcsrchr.c: New file.
24964 * string/test-strrchr.c: Add wcsrchr support.
24965 (WIDE): New macro.
24966 * wcsmbs/test-wcscpy.c: New file.
24967 * string/test-strcpy.c: Add wcscpy support.
24968 (WIDE): New macro.
24969
249702011-12-10 Ulrich Drepper <drepper@gmail.com>
24971
24972 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24973 the inner loop.
24974
249752011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24976
24977 [BZ #13472]
24978 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24979
249802011-12-04 Ulrich Drepper <drepper@gmail.com>
24981
24982 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24983 Minor optimizations.
24984
24985 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24986 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24987 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24988
249892011-12-03 Ulrich Drepper <drepper@gmail.com>
24990
24991 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24992 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24993 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24994 for gcc to avoid warnings.
24995 * inet/Makefile (tests): Add tst-checks.
24996 * inet/tst-checks.c: New file.
24997
24998 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24999 warning.
25000
25001 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25002 __wmemcmp_sse2.
25003
25004 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25005 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25006
25007 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25008
250092011-12-02 Ulrich Drepper <drepper@gmail.com>
25010
25011 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25012 problem.
25013
25014 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25015
250162011-11-29 Joseph Myers <joseph@codesourcery.com>
25017
25018 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25019 conditional on GCC version.
25020 (__arch_compare_and_exchange_val_8_acq)
25021 (__arch_compare_and_exchange_val_16_acq)
25022 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25023 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25024 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25025
250262011-12-02 Joseph Myers <joseph@codesourcery.com>
25027
25028 * sysdeps/sh/backtrace.c: New file.
25029
250302011-12-02 Andreas Schwab <schwab@redhat.com>
25031
25032 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25033 parenthesis.
25034
250352011-12-01 Andreas Schwab <schwab@redhat.com>
25036
25037 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25038 falling back to utime.
25039
250402011-11-30 Andreas Schwab <schwab@redhat.com>
25041
25042 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25043 expectations for float.
25044
250452011-11-29 Andreas Schwab <schwab@redhat.com>
25046
25047 * locale/weight.h (findidx): Add parameter len.
25048 * locale/weightwc.h (findidx): Likewise.
25049 * posix/fnmatch_loop.c (FCT): Adjust caller.
25050 * posix/regcomp.c (build_equiv_class): Likewise.
25051 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25052 * posix/regexec.c (check_node_accept_bytes): Likewise.
25053 * string/strcoll_l.c (STRCOLL): Likewise.
25054 * string/strxfrm_l.c (STRXFRM): Likewise.
25055
250562011-11-17 Ulrich Drepper <drepper@gmail.com>
25057
25058 * Makefile.in: Remove CVSOPT handling.
25059 * configure.in: Remove use of AC_REVISION.
25060 * iconvdata/Makefile (distribute): No need to filter out CVS.
25061 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25062 handling.
25063
250642011-11-16 Andreas Schwab <schwab@redhat.com>
25065
25066 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25067 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25068 [USE_AS_STRNCASECMP_L]: Likewise.
25069 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25070 NO_TLS_DIRECT_SEG_REFS.
25071 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25072 Fix argument offsets for non-PIC.
25073 [USE_AS_STRNCASECMP_L]: Likewise.
25074 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25075 NO_TLS_DIRECT_SEG_REFS.
25076
250772011-11-15 Ulrich Drepper <drepper@gmail.com>
25078
25079 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25080 O_CLOEXEC.
25081 * locale/loadlocale.c (_nl_load_locale): Likewise.
25082
250832011-11-15 Andreas Schwab <schwab@redhat.com>
25084
25085 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25086 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25087 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25088 (SYSCALL_GETTIME): Set errno on error.
25089
25090 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25091 count references to noai6ai_cached.
25092
250932011-11-15 Ulrich Drepper <drepper@gmail.com>
25094
25095 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25096
25097 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25098 FD_CLOEXEC for /proc/self/maps.
25099
25100 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25101 FD_CLOEXEC for /proc/meminfo.
25102
25103 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25104 gai.conf.
25105
25106 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25107 FD_CLOEXEC for given file.
25108
25109 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25110
25111 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25112 FD_CLOEXEC for /etc/hosts.
25113 (_gethtent): Likewise.
25114
25115 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25116
25117 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25118 cancellation and set FD_CLOEXEC for /etc/netgroup.
25119
25120 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25121 reading /etc/publickey.
25122
25123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25124 allow cancellation when reading /etc/group.
25125
25126 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25127 cancellation.
25128 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25129
25130 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25131 when using data file.
25132
25133 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25134
25135 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25136 (write_nis_obj): Use "c" and "e" in fopen.
25137
25138 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25139
25140 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25141
25142 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25143
25144 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25145
25146 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25147 locale.alias.
25148
25149 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25150
25151 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25152
25153 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25154
25155 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25156 file parsing and set FD_CLOEXEC.
25157
251582011-11-14 Ulrich Drepper <drepper@gmail.com>
25159
25160 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25161
251622011-11-14 Andreas Schwab <schwab@redhat.com>
25163
25164 * malloc/arena.c (arena_get2): Don't call reused_arena when
25165 _int_new_arena failed.
25166
251672011-11-14 Ulrich Drepper <drepper@gmail.com>
25168
25169 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25170 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25171 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25172 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25173 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25174 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25175 to compile strcasecmp and strncasecmp.
25176 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25177 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25178
25179 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25180
251812011-11-13 Ulrich Drepper <drepper@gmail.com>
25182
25183 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25184 locale-defines.sym to gen-as-const-headers.
25185 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25186 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25187 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25188 to compile strcasecmp and strncasecmp.
25189 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25190 strcasecmp_l and strncasecmp_l.
25191 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25192 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25193 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25194 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25195 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25196 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25197 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25198 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25199 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25200 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25201 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25202
252032011-11-12 Ulrich Drepper <drepper@gmail.com>
25204
25205 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25206 result of SYSDEP_GETTIME_CPU to retval.
25207 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25208 parameter list to macro. Remove trailing semicolon. Adjust users.
25209
25210 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25211 variable.
25212
25213 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25214 mantissa words.
25215 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25216
25217 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25218 from unused variable.
25219
25220 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25221 DWARF definitions.
25222 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25223 for assembling.
25224
25225 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25226 over namespaces.
25227
25228 * sunrpc/rpc_prot.c (rejected): Fix case value.
25229
25230 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25231 unsigned long long int to avoid warnings in shift.
25232
25233 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25234 of use of trans.
25235 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25236 variable tmp.
25237
25238 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25239 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25240 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25241
25242 * nis/nis_table.c (nis_list): Use variable of correct type for
25243 result of __follow_path call.
25244
252452011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25246
25247 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25248 of math functions ceil, trunc, floor, round, and sqrt, when
25249 avaliable on the platform.
25250 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25251 name clash.
25252 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25253 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25254 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25255
252562011-10-30 Marek Polacek <mpolacek@redhat.com>
25257
25258 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25259 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25260
252612011-11-11 Roland McGrath <roland@hack.frob.com>
25262
25263 * include/unistd.h: Fix __readlink return type.
25264 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25265
252662011-11-11 Ulrich Drepper <drepper@gmail.com>
25267
25268 * stdlib/ucontext.h: Undo last change for makecontext.
25269
252702011-11-11 Andreas Schwab <schwab@redhat.com>
25271
25272 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25273
25274 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25275 * setjmp/setjmp.h: Mark functions as non-leaf.
25276 * setjmp/bits/setjmp2.h: Likewise.
25277 * stdlib/ucontext.h: Likewise.
25278
252792011-11-10 Andreas Schwab <schwab@redhat.com>
25280
25281 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25282 (reused_arena): Don't check arena limit.
25283 (arena_get2): Atomically check arena limit.
25284
252852011-11-08 Ulrich Drepper <drepper@gmail.com>
25286
25287 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25288 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25289
25290 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25291 instructions.
25292
252932011-11-07 Andreas Schwab <schwab@redhat.com>
25294
25295 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25296 handler when locking.
25297
25298 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25299 Fix size of allocated buffer.
25300
253012011-11-04 Andreas Schwab <schwab@redhat.com>
25302
25303 [BZ #10103]
25304 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25305 declarations for long double functions.
25306 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25307
25308 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25309
253102011-11-03 Andreas Schwab <schwab@redhat.com>
25311
25312 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25313 installed.
25314
25315 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25316 is disabled.
25317
253182011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25319
25320 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25321
253222011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25323
25324 * include/alloca.h (stackinfo_alloca_round): Define.
25325 (extend_alloca): Use it.
25326 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25327 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25328 here.
25329
25330 * scripts/check-local-headers.sh: Ignore libaudit.h.
25331
25332 * nscd/Makefile (extra-objs): Make recursively expanded.
25333
253342011-11-01 Ulrich Drepper <drepper@gmail.com>
25335
25336 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25337 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25338
25339 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25340 * posix/tst-rfc3484-2.c: Likewise.
25341 * posix/tst-rfc3484-3.c: Likewise.
25342
25343 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25344 process_vm_writev.
25345 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25346 process_vm_writev.
25347 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25348 process_vm_writev from libc using GLIBC_2.15 version.
25349
25350 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25351
253522011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25353
25354 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25355 stack usage.
25356
253572011-10-31 Ulrich Drepper <drepper@gmail.com>
25358
25359 [BZ #13367]
25360 * nss/getent.c (initgroups_keys): Show error message in case no group
25361 names are given.
25362
25363 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25364 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25365 __bump_nl_timestamp.
25366 * nscd/connections (nscd_init): When host database is served open
25367 netlink socket and request notification about configuration changes.
25368 (main_loop_poll): Track netlink file descriptor and bump timestamp
25369 in case data becomes available.
25370 (main_loop_epoll): Likewise.
25371 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25372 (database_pers_head): Add extra_data fileds.
25373 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25374 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25375 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25376 Adjust caller.
25377 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25378 in6ai data, call __free_in6ai.
25379 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25380 Add -DHAVE_NETLINK.
25381 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25382 interface information. Reuse previous data if netlink timestamp
25383 is not changed.
25384 (__bump_nl_timestamp): New function.
25385 (__free_in6ai): New function.
25386
253872011-10-30 Ulrich Drepper <drepper@gmail.com>
25388
25389 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25390 close_not_cancel_no_status here.
25391 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25392
253932011-10-29 Ulrich Drepper <drepper@gmail.com>
25394
25395 [BZ #13276]
25396 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25397 return value.
25398
25399 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25400 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25401 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25402
254032011-07-03 Andreas Jaeger <aj@suse.de>
25404
25405 [BZ #10709]
25406 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25407 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25408 * math/libm-test.inc (sin_test): Add test case.
25409
254102011-10-29 Ulrich Drepper <drepper@gmail.com>
25411
25412 [BZ #13337]
25413 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25414 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25415
25416 * elf/chroot_canon.c (chroot_canon): Cleanups.
25417
25418 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25419
25420 [BZ #13335]
25421 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25422 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25423
25424 * string/test-strchr.c: Make usable for strchrnul testing.
25425 * string/test-strchrnul.c: New file.
25426 * string/Makefile (strop-tests): Add strchrnul.
25427
25428 * po/it.po: Update from translation team.
25429 * po/es.po: Likewise.
25430
254312011-10-28 Ulrich Drepper <drepper@gmail.com>
25432
25433 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25434 the three constants needed as parameters. Drop the others.
25435 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25436 __m128i_strloadu_tolower.
25437 Create and initialize variable zero and use it in all the places
25438 where _mm_setzero_si128 was used.
25439
25440 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25441 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25442 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25443 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25444 anymore.
25445 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25446 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25447 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25448 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25449 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25450 __mpranred, __mptan.
25451 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25452 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25453 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25454 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25455 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25456 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25457 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25458 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25459 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25460
254612011-10-28 Andreas Schwab <schwab@redhat.com>
25462
25463 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25464 redefine if SHARED.
25465 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25466
25467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25468 wide char related routines to wcsmbs subdir.
25469
254702011-10-27 Andreas Schwab <schwab@redhat.com>
25471
25472 [BZ #13344]
25473 * misc/sys/cdefs.h (__THROWNL): Define.
25474 * posix/unistd.h: Use __THREADNL instead of __THREAD
25475 for memory synchronization functions.
25476
254772011-10-26 Roland McGrath <roland@hack.frob.com>
25478
25479 [BZ #13349]
25480 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25481 doesn't exist.
25482 * manual/stdio.texi (Obstack Streams): Node removed.
25483
254842011-10-26 Andreas Schwab <schwab@redhat.com>
25485
25486 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25487 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25488 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25489
25490 * math/math_private.h (math_force_eval): Allow non-addressable
25491 arguments.
25492 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25493
254942011-10-25 Ulrich Drepper <drepper@gmail.com>
25495
25496 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25497 file is not needed.
25498
25499 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25500 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25501 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25502 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25503 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25504 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25505 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25506 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25507 Add AVX variants.
25508 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25509 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25510 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25511 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25512 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25513 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25514 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25515 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25516 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25517 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25518 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25519 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25520 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25521 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25522 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25523 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25524 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25525 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25526 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25527
25528 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25529 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25530
25531 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25532 place. Use VEX encoding when compiling for AVX.
25533
255342011-10-25 Andreas Schwab <schwab@redhat.com>
25535
25536 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25537 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25538
25539 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25540
255412011-10-25 Ulrich Drepper <drepper@gmail.com>
25542
25543 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25544 useless if() expression.
25545 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25546 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25547 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25548 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25549 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25550 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25551 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25552 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25553 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25554 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25555 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25556 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25557 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25558 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25559 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25560 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25561 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25562 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25563 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25564
25565 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25566
255672011-10-25 Andreas Schwab <schwab@redhat.com>
25568
25569 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25570 condition.
25571 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25572
255732011-10-25 Ulrich Drepper <drepper@gmail.com>
25574
25575 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25576 .text section. Avoid duplicate constants.
25577 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25578 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25579 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25580 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25581 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25584 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25585 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25586 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25587 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25588 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25589 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25590 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25591 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25592 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25593 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25594 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25595 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25596 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25597 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25598 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25599 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25600 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25601 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25602 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25603 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25604 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25605 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25606 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25607 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25608 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25609 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25610 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25611 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25612 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25613 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25614 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25615 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25616 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25617 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25618 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25619 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25620 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25621 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25622
256232011-10-24 Ulrich Drepper <drepper@gmail.com>
25624
25625 * sysdeps/x86_64/dla.h: Move to ...
25626 * sysdeps/x86_64/fpu/dla.h: ...here.
25627 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25628 situations. Use __builtin_fma only for gcc 4.6 and up.
25629
25630 * config.make.in: Add have-mfma4 entry.
25631 * configure.in: Substitute libc_cv_cc_fma4.
25632 * math/Makefile (dbl-only-routines): Add sincostab.
25633 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25634 Use __sincostab not sincos.
25635 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25636 name is a macro.
25637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25641 using __copysign.
25642 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25643 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25644 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25645 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25646 and __inv.
25647 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25648 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25649 __copysign.
25650 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25651 define aliases when function name is a macro.
25652 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25653 sysdeps/ieee754/dbl-64/sincos.tbl.
25654 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25655 fma4-enabled routines.
25656 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25657 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25658 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25659 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25660 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25661 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25662 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25663 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25664 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25665 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25666 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25667 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25668 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25669 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25670 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25671 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25672 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25673 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25674 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25675 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25676 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25677 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25678 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25679 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25680 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25681 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25682 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25683 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25684 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25685 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25686
25687 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25688 rename.
25689 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25690 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25692 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25694 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25695 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25696 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25697
256982011-10-24 Andreas Schwab <schwab@redhat.com>
25699
25700 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25701
257022011-10-23 Ulrich Drepper <drepper@gmail.com>
25703
25704 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25705
25706 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25707 prediction.
25708 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25709
25710 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25711 Remove unused variable magic_bits.
25712 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25713
25714 * string/strnlen.c: Define and use STRNLEN macro.
25715 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25716 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25717 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25718 * wcsmbs/wcslen.c: Define and use WCSLEN.
25719 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25720 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25721 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25722 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25723 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25724 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25725 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25726
257272011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25728
25729 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25730 strnlen-sse2-no-bsf.
25731 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25732 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25733 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25734 Add strnlen support.
25735 (USE_AS_STRNLEN): New macro.
25736 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25737 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25738 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25739 * sysdeps/x86_64/wcslen.S: New file.
25740
257412011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25742
25743 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25744 XMM-moves are used for copying on small sizes.
25745
257462011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25747
25748 * wcsmbs/Makefile (strop-tests): Add wcschr.
25749 * wcsmbs/test-wcschr.c: New file.
25750 * string/test-strchr.c: Update.
25751 Add wcschr support.
25752 (WIDE): New macro.
25753
257542011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25755
25756 * wcsmbs/Makefile (strop-tests): Add wcslen.
25757 * wcsmbs/test-wcslen.c: New file.
25758 * string/test-strlen.c: Update.
25759 Add wcslen support.
25760 (WIDE): New macro.
25761
257622011-10-23 Ulrich Drepper <drepper@gmail.com>
25763
25764 * po/it.po: Update from translation team.
25765
257662011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25767
25768 * sysdeps/x86_64/wcscmp.S: Update.
25769 Fix wrong comparison semantics.
25770 wcscmp shall use signed comparison not unsigned.
25771 Don't use substraction to avoid overflow bug.
25772 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25773 * wcsmbc/wcscmp.c: Likewise.
25774 * string/test-strcmp.c: Likewise.
25775 Add new tests to check cases with negative values.
25776
257772011-10-23 Ulrich Drepper <drepper@gmail.com>
25778
25779 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25780 * sysdeps/x86_64/dla.h: ...here. New file.
25781 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25783 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25784 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25785 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25786 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25787 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25788 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25790
257912011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25792
25793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25794 __ynl_finite aliases.
25795
257962011-10-22 Ulrich Drepper <drepper@gmail.com>
25797
25798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25799
25800 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25801 define DLA_FMA.
25802 [DLA_FMA] (EMULV): Use DLA_FMA.
25803 [DLA_FMA] (MUL12): Use EMULV.
25804 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25805 that are not needed.
25806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25807 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25809 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25810 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25813
258142011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25815
25816 * math/s_nan.c: Undef __nan.
25817 * math/s_nanf.c: Undef __nanf.
25818 * math/s_nanl.c: Undef __nanl.
25819 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25820 "math_private.h".
25821
258222011-10-22 Ulrich Drepper <drepper@gmail.com>
25823
25824 * math/s_catan.c: Add branch predictions.
25825 * math/s_catanf.c: Likewise.
25826 * math/s_catanh.c: Likewise.
25827 * math/s_catanhf.c: Likewise.
25828 * math/s_catanhl.c: Likewise.
25829 * math/s_catanl.c: Likewise.
25830 * math/s_cexp.c: Likewise.
25831 * math/s_cexpf.c: Likewise.
25832 * math/s_cexpl.c: Likewise.
25833 * math/s_clog.c: Likewise.
25834 * math/s_clog10.c: Likewise.
25835 * math/s_clog10f.c: Likewise.
25836 * math/s_clog10l.c: Likewise.
25837 * math/s_clogf.c: Likewise.
25838 * math/s_clogl.c: Likewise.
25839 * math/s_csqrt.c: Likewise.
25840 * math/s_csqrtf.c: Likewise.
25841 * math/s_csqrtl.c: Likewise.
25842 * math/s_ctanf.c: Likewise.
25843 * math/s_ctanh.c: Likewise.
25844 * math/s_ctanhf.c: Likewise.
25845 * math/s_ctanhl.c: Likewise.
25846 * math/s_ctanl.c: Likewise.
25847
25848 * math/math_private.h: Define __nan, __nanf, __nanl.
25849 * math/s_cacosh.c: Include <math_private.h>.
25850 * math/s_cacoshl.c: Likewise.
25851 * math/s_casinh.c: Likewise.
25852 * math/s_casinhf.c: Likewise.
25853 * math/s_casinhl.c: Likewise.
25854 * math/s_ccos.c: Rely entire on ccosh.
25855 * math/s_ccosf.c: Rely entire on ccoshf.
25856 * math/s_ccosl.c: Rely entirely on ccoshl.
25857 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25858 Remove tests for FE_INVALID.
25859 * math/s_ccoshf.c: Likewise.
25860 * math/s_ccoshl.c: Likewise.
25861 * math/s_csin.c: Likewise.
25862 * math/s_csinf.c: Likewise.
25863 * math/s_csinh.c Likewise.
25864 * math/s_csinhf.c: Likewise.
25865 * math/s_csinhl.c: Likewise.
25866 * math/s_csinl.c: Likewise.
25867 * math/s_ctan.c: Likewise.
25868 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25869 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25870 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25871
258722011-10-21 Ulrich Drepper <drepper@gmail.com>
25873
25874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25875 compilation problems.
25876
25877 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25878 __builtin_expect.
25879
258802011-10-20 Ulrich Drepper <drepper@gmail.com>
25881
25882 * sysdeps/i386/configure.in: Test for -mfma4 option.
25883 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25884 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25885 COMMON_CPUID_INDEX_80000001.
25886 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25887 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25888 use it if FMA3 is not supported.
25889 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25890
25891 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25892 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25893
258942011-10-20 Andreas Schwab <schwab@redhat.com>
25895
25896 [BZ #12892]
25897 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25898 it would create a cycle with a link time dependency.
25899
259002011-10-19 Ulrich Drepper <drepper@gmail.com>
25901
25902 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25903 instruction.
25904 * string/Makefile (strop-tests): Add rawmemchr.
25905 * string/test-rawmemchr.c: New file.
25906
25907 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25908 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25909 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25910 when compiling str{,n}casecmp and when AVX is available. Hook up
25911 new optimized code in initializers.
25912
259132011-10-19 Andreas Schwab <schwab@redhat.com>
25914
25915 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25916 __feraiseexcept instead of feraiseexcept.
25917
259182011-10-18 Ulrich Drepper <drepper@gmail.com>
25919
25920 * math/math_private.h: Define defaults for libc_fetestexcept and
25921 libc_feupdateenv.
25922 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25923 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25924 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25925 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25926 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25927 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25928 libc_fetestexcept and libc_feupdateenv.
25929
25930 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25931 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25932 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25933 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25934 libc_feholdexcept_setround.
25935
25936 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25937 Add s_nearbyint-c and s_nearbyintf-c.
25938 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25939 nearbyintf inlines.
25940 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25941 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25942 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25943 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25944
25945 * math/math_private.h: Define defaults for libc_fegetround,
25946 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25947 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25948 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25949 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25950 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25951 standard functions.
25952 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25953 Remove comments and hacks for old compiler versions.
25954 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25955 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25956 libc_feholdexceptl.
25957
259582011-10-18 Andreas Schwab <schwab@redhat.com>
25959
25960 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25961 (__feraiseexcept_renamed): Add __NTH.
25962 (feraiseexcept): Add __NTH. Rename local variables to fix
25963 namespace violations.
25964
259652011-10-17 Ulrich Drepper <drepper@gmail.com>
25966
25967 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25968
25969 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25970
25971 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25972 recently added interfaces.
25973 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25974
25975 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25976 about macro parameter expansion.
25977
25978 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25979 __NO_MATH_INLINES is defined. Cleanups.
25980
25981 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25982 and __floorf is target has SSE4.1.
25983 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25984 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25985 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25986 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25987
25988 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25989 name.
25990 (floorf): Likewise.
25991
25992 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25993
259942011-10-17 Andreas Schwab <schwab@redhat.com>
25995
25996 * misc/sys/cdefs.h: Fix last change.
25997
25998 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25999 database lookup.
26000
260012011-10-16 Ulrich Drepper <drepper@gmail.com>
26002
26003 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26004
26005 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26006 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26007 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26008 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26009 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26010 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26011 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26012 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26013 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26014 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26015 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26016 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26017 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26018 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26019 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26020 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26021 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26022 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26023 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26024 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26025 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26026 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26027
26028 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26029 ceil, ceilf, floor, floorf.
26030
26031 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26032 Perform IRELATIVE relocations last.
26033
26034 * elf/do-rel.h: Add another parameter nrelative, replacing the
26035 local variable with the same name. Change name of the function
26036 to end in Rel or Rela (uppercase).
26037 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26038 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26039 elf_dynamic_do_##reloc function.
26040
260412011-10-15 Ulrich Drepper <drepper@gmail.com>
26042
26043 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26044 is sufficient, at least on modern CPUs.
26045
26046 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26047
26048 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26049 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26050
26051 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26052 __expl_finite.
26053 * math/bits/math-finite.h: Add entries for exp.
26054 * math/e_expl.c: Add __*_finite alias.
26055 * sysdeps/i386/fpu/e_exp.S: Likewise.
26056 * sysdeps/i386/fpu/e_expf.S: Likewise.
26057 * sysdeps/i386/fpu/e_expl.c: Likewise.
26058 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26059 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26060 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26061 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26062 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26063 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26064 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26065
26066 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26067 is sufficient, at least on modern CPUs.
26068
26069 * ctype/ctype-info.c (__ctype_init): Define.
26070 * include/ctype.h (__ctype_init): Declare.
26071 (__ctype_b_loc): The variable is always initialized.
26072 (__ctype_toupper_loc): Likewise.
26073 (__ctype_tolower_loc): Likewise.
26074 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26075 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26076
260772011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26078
26079 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26080
26081 * configure.in: Also look in $cxxmachine/include for C++ system
26082 headers.
26083
260842011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26085
26086 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26087 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26088 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26089 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26090 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26091 (USE_AS_WMEMCMP): New macro.
26092 Fixing indents.
26093 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26094 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26095 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26096 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26097 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26098 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26099 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26100 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26101 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26102 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26103 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26104 (USE_AS_WMEMCMP): New macro.
26105 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26106 * sysdeps/string/test-memcmp.c: Update.
26107 Fix simple_wmemcmp.
26108 Add new tests.
26109 * wcsmbs/wmemcmp.c: Update.
26110 (WMEMCMP): New macro.
26111 Fix overflow bug.
26112
261132011-10-12 Andreas Jaeger <aj@suse.de>
26114
26115 [BZ #13268]
26116 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26117
261182011-10-15 Ulrich Drepper <drepper@gmail.com>
26119
26120 * libio/iofwide.c (do_length): Avoid warning.
26121
26122 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26123
261242011-10-14 Ulrich Drepper <drepper@gmail.com>
26125
26126 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26127
26128 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26129 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26130 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26131 * sysdeps/i386/i686/fpu/e_log.S: New file.
26132 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26133 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26134
26135 * ctype/ctype.h: Add support for inlined isXXX functions when
26136 compiling C++ code.
26137
261382011-10-14 Andreas Schwab <schwab@redhat.com>
26139
26140 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26141
26142 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26143
261442011-10-13 Roland McGrath <roland@hack.frob.com>
26145
26146 [BZ #13291]
26147 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26148
261492011-10-13 Andreas Schwab <schwab@redhat.com>
26150
26151 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26152 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26153 feraiseexcept.
26154
26155 * sysdeps/x86_64/memrchr.S: Check for zero size.
26156
26157 * string/stratcliff.c: Add memrchr tests.
26158
261592011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26160
26161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26162 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26163 rawmemchr-sse2 rawmemchr-sse2-bsf.
26164 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26165 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26166 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26167 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26168 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26169 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26170 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26171 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26172 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26173 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26174 * string/memrchr.c (MEMRCHR): New macro.
26175
261762011-10-12 Ulrich Drepper <drepper@gmail.com>
26177
26178 Add integration with gcc's -ffinite-math-only and optimize wrapper
26179 functions in libm.
26180 * Versions.def: Define GLIBC_2.15 version for libm.
26181 * math/Makefile (headers): Add bits/math-finite.h.
26182 * math/bits/math-finite.h: New file.
26183 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26184 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26185 * math/e_acoshl.c: Add __*_finite alias.
26186 * math/e_acosl.c: Likewise.
26187 * math/e_asinl.c: Likewise.
26188 * math/e_atan2l.c: Likewise.
26189 * math/e_atanhl.c: Likewise.
26190 * math/e_coshl.c: Likewise.
26191 * math/e_exp10.c: Likewise.
26192 * math/e_exp10f.c: Likewise.
26193 * math/e_exp10l.c: Likewise.
26194 * math/e_exp2l.c: Likewise.
26195 * math/e_fmodl.c: Likewise.
26196 * math/e_gammal_r.c: Likewise.
26197 * math/e_hypotl.c: Likewise.
26198 * math/e_j0l.c: Likewise.
26199 * math/e_j1l.c: Likewise.
26200 * math/e_jnl.c: Likewise.
26201 * math/e_lgammal_r.c: Likewise.
26202 * math/e_log10l.c: Likewise.
26203 * math/e_log2l.c: Likewise.
26204 * math/e_logl.c: Likewise.
26205 * math/e_powl.c: Likewise.
26206 * math/e_sinhl.c: Likewise.
26207 * math/e_sqrtl.c: Likewise.
26208 * math/e_scalb.c: Completely rewritten and optimized.
26209 * math/e_scalbf.c: Likewise.
26210 * math/e_scalbl.c: Likewise.
26211 * math/w_acos.c: Likewise.
26212 * math/w_acosf.c: Likewise.
26213 * math/w_acosl.c: Likewise.
26214 * math/w_acosh.c: Likewise.
26215 * math/w_acoshf.c: Likewise.
26216 * math/w_acoshl.c: Likewise.
26217 * math/w_asin.c: Likewise.
26218 * math/w_asinf.c: Likewise.
26219 * math/w_asinl.c: Likewise.
26220 * math/w_atan2.c: Likewise.
26221 * math/w_atan2f.c: Likewise.
26222 * math/w_atan2l.c: Likewise.
26223 * math/w_atanh.c: Likewise.
26224 * math/w_atanhf.c: Likewise.
26225 * math/w_atanhl.c: Likewise.
26226 * math/w_exp10.c: Likewise.
26227 * math/w_exp10f.c: Likewise.
26228 * math/w_exp10l.c: Likewise.
26229 * math/w_fmod.c: Likewise.
26230 * math/w_fmodf.c: Likewise.
26231 * math/w_fmodl.c: Likewise.
26232 * math/w_j0.c: Likewise.
26233 * math/w_j0f.c: Likewise.
26234 * math/w_j0l.c: Likewise.
26235 * math/w_j1.c: Likewise.
26236 * math/w_j1f.c: Likewise.
26237 * math/w_j1l.c: Likewise.
26238 * math/w_jn.c: Likewise.
26239 * math/w_jnf.c: Likewise.
26240 * math/w_log.c: Likewise.
26241 * math/w_logf.c: Likewise.
26242 * math/w_logl.c: Likewise.
26243 * math/w_log10.c: Likewise.
26244 * math/w_log10f.c: Likewise.
26245 * math/w_log10l.c: Likewise.
26246 * math/w_log2.c: Likewise.
26247 * math/w_log2f.c: Likewise.
26248 * math/w_log2l.c: Likewise.
26249 * math/w_pow.c: Likewise.
26250 * math/w_powf.c: Likewise.
26251 * math/w_powl.c: Likewise.
26252 * math/w_remainder.c: Likewise.
26253 * math/w_remainderf.c: Likewise.
26254 * math/w_remainderl.c: Likewise.
26255 * math/w_scalb.c: Likewise.
26256 * math/w_scalbf.c: Likewise.
26257 * math/w_scalbl.c: Likewise.
26258 * math/w_sqrt.c: Likewise.
26259 * math/w_sqrtf.c: Likewise.
26260 * math/w_sqrtl.c: Likewise.
26261 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26262 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26263 used.
26264 * math/math_private.h: Declare __kernel_standard_f.
26265 * math/w_cosh.c: Remove cruft and optimize a bit.
26266 * math/w_coshf.c: Likewise.
26267 * math/w_coshl.c: Likewise.
26268 * math/w_exp2.c: Likewise.
26269 * math/w_exp2f.c: Likewise.
26270 * math/w_exp2l.c: Likewise.
26271 * math/w_hypot.c: Likewise.
26272 * math/w_hypotf.c: Likewise.
26273 * math/w_hypotl.c: Likewise.
26274 * math/w_lgamma.c: Likewise.
26275 * math/w_lgamma_r.c: Likewise.
26276 * math/w_lgammaf.c: Likewise.
26277 * math/w_lgammaf_r.c: Likewise.
26278 * math/w_lgammal.c: Likewise.
26279 * math/w_lgammal_r.c: Likewise.
26280 * math/w_sinh.c: Likewise.
26281 * math/w_sinhf.c: Likewise.
26282 * math/w_sinhl.c: Likewise.
26283 * math/w_tgamma.c: Likewise.
26284 * math/w_tgammaf.c: Likewise.
26285 * math/w_tgammal.c: Likewise.
26286 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26287 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26288 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26289 Minor optimizations. Pretty printing. Remove cruft.
26290 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26291 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26292 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26293 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26294 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26295 * sysdeps/i386/fpu/e_asin.S: Likewise.
26296 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26297 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26298 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26299 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26300 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26301 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26302 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26303 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26304 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26305 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26306 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26307 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26308 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26309 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26310 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26311 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26312 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26313 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26314 * sysdeps/i386/fpu/e_log.S: Likewise.
26315 * sysdeps/i386/fpu/e_log10.S: Likewise.
26316 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26317 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26318 * sysdeps/i386/fpu/e_log2.S: Likewise.
26319 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26320 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26321 * sysdeps/i386/fpu/e_logf.S: Likewise.
26322 * sysdeps/i386/fpu/e_logl.S: Likewise.
26323 * sysdeps/i386/fpu/e_pow.S: Likewise.
26324 * sysdeps/i386/fpu/e_powf.S: Likewise.
26325 * sysdeps/i386/fpu/e_powl.S: Likewise.
26326 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26327 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26328 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26329 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26330 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26331 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26332 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26333 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26334 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26335 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26336 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26338 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26339 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26340 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26341 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26342 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26343 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26344 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26345 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26346 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26348 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26349 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26351 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26352 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26353 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26354 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26355 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26356 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26357 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26358 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26359 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26360 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26361 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26362 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26363 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26364 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26365 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26366 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26367 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26368 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26369 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26370 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26371 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26372 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26373 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26374 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26375 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26376 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26377 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26378 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26379 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26380 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26381 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26382 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26383 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26384 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26385 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26386 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26387 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26388 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26389 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26390 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26391 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26392 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26393 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26394 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26395 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26396 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26397 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26398 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26399 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26400 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26401 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26402 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26403 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26404 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26405 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26406 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26407 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26408 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26409 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26410 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26411 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26412 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26413 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26414 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26415 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26416 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26417 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26418 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26419 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26420 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26421 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26422 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26423 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26424 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26425 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26426 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26427 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26428 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26429 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26430 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26431 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26432 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26433 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26434 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26435 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26436 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26437 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26438 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26439 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26440 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26441 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26442 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26443 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26444 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26445 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26446 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26447 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26448 (__isnanf): Likewise.
26449 (__isinf_ns): Likewise.
26450 (__isinf_nsf): Likewise.
26451 (__finite): Likewise.
26452 (__finitef): Likewise.
26453 (__ieee754_sqrt): Define as macro.
26454 (__ieee754_sqrtf): Define as macro.
26455 (__ieee754_sqrtl): Define as macro.
26456 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26457 inlined copy.
26458 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26459 __FINITE_MATH_ONLY__ consistent.
26460 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26461
264622011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26463
26464 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26465 of rawmemchr.
26466
26467 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26468
264692011-10-09 Ulrich Drepper <drepper@gmail.com>
26470
26471 * po/ja.po: Update from translation team.
26472
264732011-10-08 Roland McGrath <roland@hack.frob.com>
26474
26475 * locale/programs/locarchive.c (prepare_address_space): New function.
26476 (create_archive, enlarge_archive, open_archive): Use it.
26477
26478 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26479 inside [SHARED], where it is used.
26480
26481 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26482
26483 * nss/getent.c (netgroup_keys): Remove unused variable.
26484 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26485
264862011-10-08 Ulrich Drepper <drepper@gmail.com>
26487
26488 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26489 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26490 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26491 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26492 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26493 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26494 * math/Makefile (libm-calls): Add s_isinf_ns.
26495 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26496 * math/multc3.c: Likewise.
26497 * math/s_casin.c: Likewise.
26498 * math/s_casinf.c: Likewise.
26499 * math/s_casinl.c: Likewise.
26500 * math/s_ccos.c: Likewise.
26501 * math/s_ccosf.c: Likewise.
26502 * math/s_ccosl.c: Likewise.
26503 * math/s_ctan.c: Likewise.
26504 * math/s_ctanf.c: Likewise.
26505 * math/s_ctanh.c: Likewise.
26506 * math/s_ctanhf.c: Likewise.
26507 * math/s_ctanhl.c: Likewise.
26508 * math/s_ctanl.c: Likewise.
26509 * math/w_fmod.c: Likewise.
26510 * math/w_fmodf.c: Likewise.
26511 * math/w_fmodl.c: Likewise.
26512 * math/w_remainder.c: Likewise.
26513 * math/w_remainderf.c: Likewise.
26514 * math/w_remainderl.c: Likewise.
26515 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26516 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26517 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26518 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26519 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26520 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26521 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26522 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26523
26524 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26525 of the number.
26526 * stdio-common/printf_fphex.c: Likewise.
26527 * stdio-common/printf_size.c: Likewise.
26528
26529 * math/e_exp10.c: Include math_private.h using <...> not "...".
26530 * math/e_exp10f.c: Likewise.
26531 * math/e_exp10l.c: Likewise.
26532 * math/e_exp2l.c: Likewise.
26533 * math/e_j0l.c: Likewise.
26534 * math/e_j1l.c: Likewise.
26535 * math/e_jnl.c: Likewise.
26536 * math/e_lgammal_r.c: Likewise.
26537 * math/e_rem_pio2l.c: Likewise.
26538 * math/e_scalb.c: Likewise.
26539 * math/e_scalbf.c: Likewise.
26540 * math/e_scalbl.c: Likewise.
26541 * math/k_cosl.c: Likewise.
26542 * math/k_sinl.c: Likewise.
26543 * math/k_tanl.c: Likewise.
26544 * math/s_cacoshf.c: Likewise.
26545 * math/s_catan.c: Likewise.
26546 * math/s_catanf.c: Likewise.
26547 * math/s_catanh.c: Likewise.
26548 * math/s_catanhf.c: Likewise.
26549 * math/s_catanhl.c: Likewise.
26550 * math/s_catanl.c: Likewise.
26551 * math/s_ccosh.c: Likewise.
26552 * math/s_ccoshf.c: Likewise.
26553 * math/s_ccoshl.c: Likewise.
26554 * math/s_cexp.c: Likewise.
26555 * math/s_cexpf.c: Likewise.
26556 * math/s_cexpl.c: Likewise.
26557 * math/s_clog.c: Likewise.
26558 * math/s_clog10.c: Likewise.
26559 * math/s_clog10f.c: Likewise.
26560 * math/s_clog10l.c: Likewise.
26561 * math/s_clogf.c: Likewise.
26562 * math/s_clogl.c: Likewise.
26563 * math/s_csin.c: Likewise.
26564 * math/s_csinf.c: Likewise.
26565 * math/s_csinh.c: Likewise.
26566 * math/s_csinhf.c: Likewise.
26567 * math/s_csinhl.c: Likewise.
26568 * math/s_csinl.c: Likewise.
26569 * math/s_csqrt.c: Likewise.
26570 * math/s_csqrtf.c: Likewise.
26571 * math/s_csqrtl.c: Likewise.
26572 * math/s_ctan.c: Likewise.
26573 * math/s_ctanf.c: Likewise.
26574 * math/s_ctanh.c: Likewise.
26575 * math/s_ctanhf.c: Likewise.
26576 * math/s_ctanhl.c: Likewise.
26577 * math/s_ctanl.c: Likewise.
26578 * math/s_ldexp.c: Likewise.
26579 * math/s_ldexpf.c: Likewise.
26580 * math/s_ldexpl.c: Likewise.
26581 * math/s_significand.c: Likewise.
26582 * math/s_significandf.c: Likewise.
26583 * math/s_significandl.c: Likewise.
26584 * math/w_acos.c: Likewise.
26585 * math/w_acosf.c: Likewise.
26586 * math/w_acosh.c: Likewise.
26587 * math/w_acoshf.c: Likewise.
26588 * math/w_acoshl.c: Likewise.
26589 * math/w_acosl.c: Likewise.
26590 * math/w_asin.c: Likewise.
26591 * math/w_asinf.c: Likewise.
26592 * math/w_asinl.c: Likewise.
26593 * math/w_atan2.c: Likewise.
26594 * math/w_atan2f.c: Likewise.
26595 * math/w_atan2l.c: Likewise.
26596 * math/w_atanh.c: Likewise.
26597 * math/w_atanhf.c: Likewise.
26598 * math/w_atanhl.c: Likewise.
26599 * math/w_cosh.c: Likewise.
26600 * math/w_coshf.c: Likewise.
26601 * math/w_coshl.c: Likewise.
26602 * math/w_dremf.c: Likewise.
26603 * math/w_exp10.c: Likewise.
26604 * math/w_exp10f.c: Likewise.
26605 * math/w_exp10l.c: Likewise.
26606 * math/w_exp2.c: Likewise.
26607 * math/w_exp2f.c: Likewise.
26608 * math/w_fmod.c: Likewise.
26609 * math/w_fmodf.c: Likewise.
26610 * math/w_fmodl.c: Likewise.
26611 * math/w_hypot.c: Likewise.
26612 * math/w_hypotf.c: Likewise.
26613 * math/w_hypotl.c: Likewise.
26614 * math/w_j0.c: Likewise.
26615 * math/w_j0f.c: Likewise.
26616 * math/w_j0l.c: Likewise.
26617 * math/w_j1.c: Likewise.
26618 * math/w_j1f.c: Likewise.
26619 * math/w_j1l.c: Likewise.
26620 * math/w_jn.c: Likewise.
26621 * math/w_jnf.c: Likewise.
26622 * math/w_jnl.c: Likewise.
26623 * math/w_lgamma.c: Likewise.
26624 * math/w_lgamma_r.c: Likewise.
26625 * math/w_lgammaf.c: Likewise.
26626 * math/w_lgammaf_r.c: Likewise.
26627 * math/w_lgammal.c: Likewise.
26628 * math/w_lgammal_r.c: Likewise.
26629 * math/w_log.c: Likewise.
26630 * math/w_log10.c: Likewise.
26631 * math/w_log10f.c: Likewise.
26632 * math/w_log10l.c: Likewise.
26633 * math/w_log2.c: Likewise.
26634 * math/w_log2f.c: Likewise.
26635 * math/w_log2l.c: Likewise.
26636 * math/w_logf.c: Likewise.
26637 * math/w_logl.c: Likewise.
26638 * math/w_pow.c: Likewise.
26639 * math/w_powf.c: Likewise.
26640 * math/w_powl.c: Likewise.
26641 * math/w_remainder.c: Likewise.
26642 * math/w_remainderf.c: Likewise.
26643 * math/w_remainderl.c: Likewise.
26644 * math/w_scalb.c: Likewise.
26645 * math/w_scalbf.c: Likewise.
26646 * math/w_scalbl.c: Likewise.
26647 * math/w_sinh.c: Likewise.
26648 * math/w_sinhf.c: Likewise.
26649 * math/w_sinhl.c: Likewise.
26650 * math/w_sqrt.c: Likewise.
26651 * math/w_sqrtf.c: Likewise.
26652 * math/w_sqrtl.c: Likewise.
26653 * math/w_tgamma.c: Likewise.
26654 * math/w_tgammaf.c: Likewise.
26655 * math/w_tgammal.c: Likewise.
26656
26657 * po/ja.po: Update from translation team.
26658
266592011-09-29 Andreas Jaeger <aj@suse.de>
26660
26661 [BZ #13179]
26662 * sunrpc/netname.c (netname2host): Fix logic.
26663
26664 [BZ #6779]
26665 [BZ #6783]
26666 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26667 correctly.
26668 * math/w_remainder.c (__remainder): Likewise.
26669 * math/w_remainderf.c (__remainderf): Likewise.
26670 * math/libm-test.inc (remainder_test): Add test cases.
26671
266722011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26673
26674 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26675 sdiv_qrnnd.
26676
266772011-10-07 Ulrich Drepper <drepper@gmail.com>
26678
26679 * string/test-memcmp.c: Avoid unncessary #defines.
26680 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26681
266822011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26683
26684 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26685 Use new sse2 version for core i3 - i7 as it's faster
26686 than sse42 version.
26687 (bit_Prefer_PMINUB_for_stringop): New.
26688 * sysdeps/x86_64/rawmemchr.S: Update.
26689 Replace with faster SSE2 version.
26690 * sysdeps/x86_64/memrchr.S: New file.
26691 * sysdeps/x86_64/memchr.S: Update.
26692 Replace with faster SSE2 version.
26693
266942011-09-12 Marek Polacek <mpolacek@redhat.com>
26695
26696 * elf/dl-load.c (lose): Add cast to avoid warning.
26697
266982011-10-07 Ulrich Drepper <drepper@gmail.com>
26699
26700 * po/ca.po: Update from translation team.
26701
26702 * inet/getnetgrent_r.c: Hook up nscd.
26703 * nscd/Makefile (routines): Add nscd_netgroup.
26704 (nscd-modules): Add netgroupcache.
26705 (CFLAGS-netgroupcache.c): Define.
26706 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26707 (cache_search): Add const to second parameter.
26708 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26709 INNETGR.
26710 (dbs): Add netgrdb entry.
26711 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26712 (verify_persistent_db): Handle netgrdb.
26713 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26714 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26715 GETFDNETGR.
26716 (netgroup_response_header): Define.
26717 (innetgroup_response_header): Define.
26718 (datahead): Add netgroup_response_header and innetgroup_response_header
26719 elements.
26720 * nscd/nscd.conf: Add entries for netgroup cache.
26721 * nscd/nscd.h (dbtype): Add netgrdb.
26722 (_PATH_NSCD_NETGROUP_DB): Define.
26723 (netgroup_iov_disabled): Declare.
26724 (xmalloc, xcalloc, xrealloc): Move declarations here.
26725 (cache_search): Adjust prototype.
26726 Add netgroup-related prototypes.
26727 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26728 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26729 (__nscd_innetgr): Declare.
26730 * nscd/selinux.c (perms): Use access_vector_t as element type and
26731 add netgroup-related initializers.
26732 * nscd/netgroupcache.c: New file.
26733 * nscd/nscd_netgroup.c: New file.
26734 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26735 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26736 For four parameters use innetgr.
26737 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26738 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26739 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26740 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26741
26742 * nscd/connections.c (register_traced_file): Don't register file
26743 for disabled databases.
26744
267452011-10-06 Ulrich Drepper <drepper@gmail.com>
26746
26747 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26748
26749 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26750 from tree and freeing node.
26751
267522011-09-25 Jiri Olsa <jolsa@redhat.com>
26753
26754 * nss/nsswitch.c (__nss_database_lookup): Handle
26755 nss_parse_service_list out of memory case.
26756
267572011-09-15 Jiri Olsa <jolsa@redhat.com>
26758
26759 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26760 out of memory case.
26761
267622011-10-04 Andreas Schwab <schwab@redhat.com>
26763
26764 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26765 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26766 pass it down.
26767 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26768 elf_machine_rela, elf_machine_lazy_rel.
26769 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26770 (ELF_DYNAMIC_DO_REL): Likewise.
26771 (ELF_DYNAMIC_DO_RELA): Likewise.
26772 (ELF_DYNAMIC_RELOCATE): Likewise.
26773 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26774 to ELF_DYNAMIC_DO_REL.
26775 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26776 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26777 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26778 elf_machine_rela.
26779 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26780 skip_ifunc, don't call ifunc function if non-zero.
26781 (elf_machine_rela): Likewise.
26782 (elf_machine_lazy_rel): Likewise.
26783 (elf_machine_lazy_rela): Likewise.
26784 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26785 (elf_machine_lazy_rel): Likewise.
26786 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26787 Likewise.
26788 (elf_machine_lazy_rel): Likewise.
26789 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26790 Likewise.
26791 (elf_machine_lazy_rel): Likewise.
26792 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26793 (elf_machine_lazy_rel): Likewise.
26794 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26795 (elf_machine_lazy_rel): Likewise.
26796 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26797 (elf_machine_lazy_rel): Likewise.
26798 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26799 (elf_machine_lazy_rel): Likewise.
26800 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26801 (elf_machine_lazy_rel): Likewise.
26802 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26803 (elf_machine_lazy_rel): Likewise.
26804
268052011-09-28 Ulrich Drepper <drepper@gmail.com>
26806
26807 * nss/nss_files/files-init.c (_nss_files_init): Use static
26808 initialization for all the *_traced_file variables.
26809
268102011-09-28 Andreas Schwab <schwab@redhat.com>
26811
26812 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26813
268142011-09-27 Roland McGrath <roland@hack.frob.com>
26815
26816 [BZ #13226]
26817 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26818
268192011-09-27 Andreas Schwab <schwab@redhat.com>
26820
26821 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26822 Reread the line before reparsing it.
26823
268242011-09-26 Andreas Schwab <schwab@redhat.com>
26825
26826 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26827
268282011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26829 Maxim Kuvyrkov <maxim@codesourcery.com>
26830 Joseph Myers <joseph@codesourcery.com>
26831
26832 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26833 if needed for __stack_chk_guard.
26834
268352011-09-19 Roland McGrath <roland@hack.frob.com>
26836
26837 * sysdeps/posix/spawni.c (script_execute): Always define it.
26838 It will be optimized away if unused.
26839 (maybe_script_execute): New function.
26840 (__spawni): Call it.
26841
26842 * Makerules: Don't include tls.make.
26843 (config-tls): Always set to thread.
26844 * tls.make.c: File removed.
26845
268462011-09-19 Mike Frysinger <vapier@gentoo.org>
26847
26848 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26849 * config.make.in (CPPFLAGS-config): New substituted variable.
26850
268512011-09-15 Ulrich Drepper <drepper@gmail.com>
26852
26853 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26854
26855 [BZ #13192]
26856 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26857 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26858
268592011-09-15 Roland McGrath <roland@hack.frob.com>
26860
26861 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26862 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26864 (CALL_FAIL): Likewise.
26865 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26866 (CALL_FAIL): Macro removed.
26867 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26868
268692011-09-15 Ulrich Drepper <drepper@gmail.com>
26870
26871 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26872 for __FINITE_MATH_ONLY__ == 1.
26873
268742011-09-15 Andreas Schwab <schwab@redhat.com>
26875
26876 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26877 __ieee754_sqrt instead of sqrt.
26878 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26879 __ieee754_sqrtf instead of sqrtf.
26880 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26881 __floorf instead of floorf.
26882 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26883 __floorf, __truncf instead of floorf, truncf.
26884
268852011-09-14 Ulrich Drepper <drepper@gmail.com>
26886
26887 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26888
26889 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26890 __extern_always_inline.
26891 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26892 32-bit.
26893
268942011-09-14 Andreas Schwab <schwab@redhat.com>
26895
26896 * elf/rtld.c (dl_main): Also relocate in dependency order when
26897 doing symbol dependency testing.
26898
268992011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26900
26901 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26902 Always define `refsym'.
26903
269042011-09-13 Andreas Schwab <schwab@redhat.com>
26905
26906 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26907 (__FD_ELT): Renamed from __FDELT.
26908 * misc/bits/select2.h (__FD_ELT): Likewise.
26909 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26910 __FD_MASK instead of __FDELT, __FDMASK.
26911 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26912 Likewise.
26913 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26914 Likewise.
26915
26916 * elf/Makefile (gen-ldd): Fix pattern.
26917
26918 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26919 (init_tls): Likewise.
26920
269212011-09-12 Ulrich Drepper <drepper@gmail.com>
26922
26923 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26924
269252011-09-12 Andreas Schwab <schwab@redhat.com>
26926
26927 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26928 `struct cmsghdr *' instead of `void *'.
26929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26930 Likewise.
26931
269322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26933
26934 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26935 if non-absolute.
26936 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26937 ldd_rewrite_script.
26938
269392011-09-11 Ulrich Drepper <drepper@gmail.com>
26940
26941 * configure.in: Remove --with-tls option.
26942 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26943 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26944 out in case it is missing.
26945 * sysdeps/ia64/elf/configure.in: Likewise.
26946 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26947 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26948 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26949 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26950 * sysdeps/sh/elf/configure.in: Likewise.
26951 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26952 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26953 * sysdeps/x86_64/elf/configure.in: Likewise.
26954 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26955 * sysdeps/mach/hurd/tls.h: Likewise.
26956
26957 [BZ #13067]
26958 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26959
26960 [BZ #13090]
26961 * configure.in: Fix use of AC_INIT.
26962
26963 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26964
269652011-09-10 Ulrich Drepper <drepper@gmail.com>
26966
26967 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26968 __set_errno.
26969 * malloc/hooks.c: Likewise.
26970
26971 [BZ #11929]
26972 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26973 variables statically.
26974 (narenas): Initialize.
26975 (list_lock): Initialize.
26976 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26977 initializtion of main_arena and list_lock. Small cleanups.
26978 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26979 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26980 Add initializers to main_arena and mp_.
26981 (malloc_state): Remove pagesize member. Change all users to use
26982 GLRO(dl_pagesize).
26983
26984 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26985 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26986 is always initialized.
26987
26988 * malloc/malloc.c: Removed unused configurations and dead code.
26989 * malloc/arena.c: Likewise.
26990 * malloc/hooks.c: Likewise.
26991 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26992
26993 * include/tls.h: Removed. USE___THREAD must always be defined.
26994 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26995 * elf/dl-libc.c: Likewise.
26996 * elf/dl-tsd.c: Likewise.
26997 * include/errno.h: Likewise.
26998 * include/netdb.h: Likewise.
26999 * include/resolv.h: Likewise.
27000 * inet/herrno-loc.c: Likewise.
27001 * inet/herrno.c: Likewise.
27002 * malloc/arena.c: Likewise.
27003 * malloc/hooks.c: Likewise.
27004 * malloc/malloc.c: Likewise.
27005 * resolv/res-state.c: Likewise.
27006 * resolv/res_libc.c: Likewise.
27007 * sysdeps/i386/dl-machine.h: Likewise.
27008 * sysdeps/ia64/dl-machine.h: Likewise.
27009 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27010 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27011 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27012 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27013 * sysdeps/sh/dl-machine.h: Likewise.
27014 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27015 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27016 * sysdeps/unix/i386/sysdep.S: Likewise.
27017 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27018 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27019 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27020 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27022 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27023 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27027 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27028 * sysdeps/x86_64/dl-machine.h: Likewise.
27029 * tls.make.c: Likewise.
27030
27031 * configure.in: Remove --with-__thread option. Make tests for
27032 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27033 tls_model attribute fail if no support is available. Remove
27034 USE_IN_LIBIO.
27035 * Makeconfig: Adjust for dropped configure option. All features are
27036 now mandatory.
27037 * Makerules: Likewise.
27038 * Versions.def: Likewise.
27039 * argp/argp-fmtstream.c: Likewise.
27040 * argp/argp-fmtstream.h: Likewise.
27041 * argp/argp-help.c: Likewise.
27042 * assert/assert.c: Likewise.
27043 * config.h.in: Likewise.
27044 * config.make.in: Likewise.
27045 * configure: Likewise.
27046 * configure.in: Likewise.
27047 * csu/Versions: Likewise.
27048 * csu/init.c: Likewise.
27049 * elf/tst-audit2.c: Likewise.
27050 * elf/tst-tls10.c: Likewise.
27051 * elf/tst-tls10.h: Likewise.
27052 * elf/tst-tls11.c: Likewise.
27053 * elf/tst-tls12.c: Likewise.
27054 * elf/tst-tls14.c: Likewise.
27055 * elf/tst-tlsmod11.c: Likewise.
27056 * elf/tst-tlsmod12.c: Likewise.
27057 * elf/tst-tlsmod13.c: Likewise.
27058 * elf/tst-tlsmod13a.c: Likewise.
27059 * elf/tst-tlsmod14a.c: Likewise.
27060 * elf/tst-tlsmod15b.c: Likewise.
27061 * elf/tst-tlsmod16a.c: Likewise.
27062 * elf/tst-tlsmod16b.c: Likewise.
27063 * elf/tst-tlsmod7.c: Likewise.
27064 * elf/tst-tlsmod8.c: Likewise.
27065 * elf/tst-tlsmod9.c: Likewise.
27066 * gmon/gmon.c: Likewise.
27067 * grp/fgetgrent_r.c: Likewise.
27068 * grp/putgrent.c: Likewise.
27069 * hurd/fopenport.c: Likewise.
27070 * include/libc-symbols.h: Likewise.
27071 * include/tls.h: Likewise.
27072 * intl/gettextP.h: Likewise.
27073 * intl/loadinfo.h: Likewise.
27074 * locale/global-locale.c: Likewise.
27075 * locale/localeinfo.h: Likewise.
27076 * mach/devstream.c: Likewise.
27077 * malloc/arena.c: Likewise.
27078 * malloc/set-freeres.c: Likewise.
27079 * misc/err.c: Likewise.
27080 * misc/getttyent.c: Likewise.
27081 * misc/mntent_r.c: Likewise.
27082 * posix/getopt.c: Likewise.
27083 * posix/wordexp.c: Likewise.
27084 * pwd/fgetpwent_r.c: Likewise.
27085 * resolv/Versions: Likewise.
27086 * resolv/res_hconf.c: Likewise.
27087 * shadow/fgetspent_r.c: Likewise.
27088 * shadow/putspent.c: Likewise.
27089 * stdio-common/printf_fphex.c: Likewise.
27090 * stdio-common/tmpfile.c: Likewise.
27091 * stdlib/abort.c: Likewise.
27092 * stdlib/fmtmsg.c: Likewise.
27093 * sunrpc/auth_unix.c: Likewise.
27094 * sunrpc/clnt_perr.c: Likewise.
27095 * sunrpc/clnt_tcp.c: Likewise.
27096 * sunrpc/clnt_udp.c: Likewise.
27097 * sunrpc/clnt_unix.c: Likewise.
27098 * sunrpc/openchild.c: Likewise.
27099 * sunrpc/svc_simple.c: Likewise.
27100 * sunrpc/svc_tcp.c: Likewise.
27101 * sunrpc/svc_udp.c: Likewise.
27102 * sunrpc/svc_unix.c: Likewise.
27103 * sunrpc/xdr.c: Likewise.
27104 * sunrpc/xdr_array.c: Likewise.
27105 * sunrpc/xdr_rec.c: Likewise.
27106 * sunrpc/xdr_ref.c: Likewise.
27107 * sunrpc/xdr_stdio.c: Likewise.
27108
271092011-09-09 Ulrich Drepper <drepper@gmail.com>
27110
27111 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27112
271132011-07-03 Andreas Jaeger <aj@suse.de>
27114
27115 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27116 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27117 regenerate with gen-libm-tests.pl.
27118
271192010-05-12 Petr Baudis <pasky@suse.cz>
27120
27121 [BZ #11589]
27122 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27123 around j0() zero points by switching to j1().
27124 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27125 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27127 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27128
271292011-09-09 Ulrich Drepper <drepper@gmail.com>
27130
27131 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27132 instead of 0.
27133 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27134 instead of 0.
27135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27136 Patch in part by Pavel Roskin <proski@gnu.org>.
27137
27138 [BZ #13138]
27139 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27140 realloc.
27141 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27142 Free memory block if necessary.
27143
27144 [BZ #12847]
27145 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27146 be NULL. Don't lock in this case.
27147
271482011-09-09 Roland McGrath <roland@hack.frob.com>
27149
27150 * elf/elf.h (ELFOSABI_GNU): New macro.
27151 (ELFOSABI_LINUX): Define to that.
27152
271532011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27154
27155 * string/strncat.c (strncat): Undef the symbol in case it has been
27156 defined in bits/string.h.
27157
271582011-09-09 Ulrich Drepper <drepper@gmail.com>
27159
27160 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27161
27162 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27163 link map.
27164
271652011-08-17 Andreas Jaeger <aj@suse.de>
27166
27167 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27168
271692011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27170 Ian Lance Taylor <iant@google.com>
27171
27172 * math/libm-test.inc (lround_test): New testcase.
27173 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27174
271752011-09-08 Ulrich Drepper <drepper@gmail.com>
27176
27177 * Makefile: Remove support for automatic cvs check-ins.
27178 * Makerules: Likewise.
27179 * config.make.in: Likewise.
27180 * configure.in: Likewise.
27181 * intl/Makefile: Likewise.
27182 * locale/Makefile: Likewise.
27183 * po/Makefile: Likewise.
27184 * posix/Makefile: Likewise.
27185 * sysdeps/gnu/Makefile: Likewise.
27186 * sysdeps/mach/hurd/Makefile: Likewise.
27187 * sysdeps/sparc/sparc32/Makefile: Likewise.
27188
27189 [BZ #13118]
27190 * posix/Makefile (bug-regex32-ENV): Define.
27191 Patch by John Stanley <jpsinthemix@verizon.net>.
27192
27193 * misc/Makefile (headers): Add bits/select2.h.
27194 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27195 * misc/bits/select2.h: New file.
27196 * include/bits/select2.h: New file.
27197 * debug/Makefile (routines): Add fdelt_chk.
27198 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27199 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27200 FD_ISSET.
27201 * debug/fdelt_chk.c: New file.
27202
27203 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27204 * wcsmbs/test-wmemcmp.c: Likewise.
27205 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27206 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27207
272082011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27209
27210 * string/Makefile (strop-tests): Add memcmp.
27211 * string/test-wmemcmp.c: New file.
27212 * string/test-memcmp.c: Add wmemcmp support.
27213
272142011-09-08 Roland McGrath <roland@hack.frob.com>
27215
27216 [BZ #13153]
27217 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27218 2011-07-19 change.
27219
27220 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27221 garbage value in a __mach_port_mod_refs call in the cases of the
27222 task-self and thread-self ports.
27223
272242011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27225
27226 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27227
272282011-09-08 Andreas Schwab <schwab@redhat.com>
27229
27230 * elf/dl-load.c (lose): Check for non-null L.
27231
272322011-09-07 Ulrich Drepper <drepper@gmail.com>
27233
27234 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27235
27236 * elf/dl-libc.c (dlerror_run): Pass back error code from
27237 dl_catch_error.
27238
27239 [BZ #13123]
27240 * elf/dl-load.c (lose): Free l_origin if it is valid.
27241
27242 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27243 names.
27244 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27245 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27246 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27247 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27248 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27249 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27250
272512011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27252
27253 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27254 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27255 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27256 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27257 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27258 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27259 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27260 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27261 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27262 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27263
272642011-08-15 Alan Modra <amodra@gmail.com>
27265
27266 [BZ #13092]
27267 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27268 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27269 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27270 ppc_mcount to static-only-routines.
27271 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27272 __mcount_internal.
27273 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27274 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27275
272762011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27277
27278 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27279 for finite and infinity parameters.
27280
272812011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27282
27283 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27284 and add nop instructions for throughput optimization.
27285 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27286
272872011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27288
27289 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27290 aligned copy for power7 with vector-scalar instructions.
27291 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27292
272932011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27294
27295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27296 AVX check.
27297
272982011-09-07 Andreas Schwab <schwab@redhat.com>
27299
27300 [BZ #13144]
27301 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27302 last change.
27303
273042011-09-07 Ulrich Drepper <drepper@gmail.com>
27305
27306 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27307 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27308 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27309 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27310 clock_gettime.
27311
273122011-09-06 Ulrich Drepper <drepper@gmail.com>
27313
27314 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27315 Forgot to demangle the pointer.
27316
27317 * sysdeps/i386/sysdep.h: Define atom_text_section.
27318 * sysdeps/x86_64/sysdep.h: Likewise.
27319 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27320 section with atom_text_section.
27321 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27322 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27323 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27324 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27325 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27326
27327 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27328 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27329 already be defined. Change to take two parameters and don't assign
27330 result to variable. Adjust all users.
27331 Define INTERNAL_GETTIME if not already defined.
27332 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27333 call.
27334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27335 HAVE_CLOCK_GETTIME_VSYSCALL.
27336 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27337
27338 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27339 gettimeofday vsyscall, just use time.
27340
273412011-09-06 Andreas Schwab <schwab@redhat.com>
27342
27343 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27344 <errno.h>.
27345
273462011-09-06 Ulrich Drepper <drepper@gmail.com>
27347
27348 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27349 syscall on x86-64.
27350 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27351 syscall.
27352 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27353 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27354 syscall if possible.
27355
273562011-09-05 Ulrich Drepper <drepper@gmail.com>
27357
27358 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27359 e_ident. Don't pass to find_mapsXX.
27360 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27361
273622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27363
27364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27365 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27366 * sysdeps/x86_64/multiarch/strchr.S: Update.
27367 Check bit_slow_BSF bit.
27368 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27369 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27370 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27371
273722011-09-05 Ulrich Drepper <drepper@gmail.com>
27373
27374 [BZ #13134]
27375 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27376 before glibc 2.15.
27377 (tryshell): Define.
27378 (__spawni): Change last parameter to be flag. Test
27379 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27380 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27381 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27382 * posix/spawni.c: Likewise.
27383 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27384 * posix/spawnp.c: Likewise. Change normal version to use
27385 SPAWN_XFLAGS_USE_PATH.
27386 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27387 SPAWN_XFLAGS_TRY_SHELL.
27388
27389 [BZ #13150]
27390 * posix/glob.h: Remove gcc 1.x support.
27391
27392 [BZ #13068]
27393 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27394
273952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27396
27397 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27398 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27399 strrchr-sse2-bsf
27400 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27401 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27402 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27403 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27404 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27405 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27406
274072011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27408
27409 * sysdeps/x86_64/wcscmp.S: New file.
27410
27411 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27412 wcscmp-c wcscmp-sse2
27413 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27414 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27415 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27416 * wcsmbs/wcscmp.c: Allow renaming.
27417
274182011-09-05 David S. Miller <davem@davemloft.net>
27419
27420 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27421 stack slot, rather than the struct return pointer slot.
27422 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27423 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27425 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27426
274272011-09-05 Ulrich Drepper <drepper@gmail.com>
27428
27429 * po/ja.po: Update from translation team.
27430
27431 [BZ #13144]
27432 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27433 kernel in 64-bit binaries.
27434
274352011-09-01 David S. Miller <davem@davemloft.net>
27436
27437 * elf/elf.h (HWCAP_SPARC_*): Move to..
27438 * sysdeps/sparc/sysdep.h: this new file and add new values.
27439 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27440 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27441 _DL_HWCAP_COUNT to 24.
27442 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27443 entries.
27444 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27445 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27446 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27447 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27448 instead of magic constants.
27449 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27450
274512011-08-31 David S. Miller <davem@davemloft.net>
27452
27453 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27454 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27455 Reimplement to do errno handling inline.
27456 (SYSCALL_ERROR_HANDLER): New macro.
27457 (__SYSCALL_STRING): Do not do errno handling in asm.
27458 (__CLONE_SYSCALL_STRING): Delete.
27459 (__INTERNAL_SYSCALL_STRING): Delete.
27460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27461 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27462 (PSEUDO): Reimplement to do errno handling inline.
27463 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27464 (SYSCALL_ERROR_HANDLER): New macro.
27465 (__SYSCALL_STRING): Do not do errno handling in asm.
27466 (__CLONE_SYSCALL_STRING): Delete.
27467 (__INTERNAL_SYSCALL_STRING): Delete.
27468 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27469 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27470 i386.
27471 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27472 (inline_syscall*): Add 'err' argument.
27473 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27474 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27475 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27476 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27477
27478 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27479 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27480
274812011-08-30 Andreas Schwab <schwab@redhat.com>
27482
27483 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27484
274852011-08-29 Jiri Olsa <jolsa@redhat.com>
27486
27487 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27488 directive.
27489
274902011-08-24 David S. Miller <davem@davemloft.net>
27491
27492 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27493
274942011-08-24 Andreas Schwab <schwab@redhat.com>
27495
27496 * elf/Makefile: Add rules to build and run unload8 test.
27497 * elf/unload8.c: New file.
27498 * elf/unload8mod1.c: New file.
27499 * elf/unload8mod1x.c: New file.
27500 * elf/unload8mod2.c: New file.
27501 * elf/unload8mod3.c: New file.
27502
27503 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27504 it wasn't used.
27505
275062011-08-23 David S. Miller <davem@davemloft.net>
27507
27508 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27509 subtract stack bias.
27510 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27511 %sp not %fp in calculations.
27512 (_JMPBUF_UNWINDS_ADJ): Likewise.
27513
27514 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27515 (aio_suspend): Call it to force an exception region around the
27516 AIO_MISC_WAIT() invocation.
27517
275182011-08-23 Andreas Schwab <schwab@redhat.com>
27519
27520 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27521 backslash.
27522
275232011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27524
27525 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27526 protection macro.
27527 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27528 and <dl-machine.h>.
27529 (Elf64_FuncDesc): Remove.
27530
275312011-08-22 David S. Miller <davem@davemloft.net>
27532
27533 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27534 sigaltstack check, add missing cfi directives.
27535 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27536 missing cfi directives, and sigaltstack handling.
27537
275382011-08-16 Andreas Schwab <schwab@redhat.com>
27539
27540 [BZ #11724]
27541 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27542 object is seen twice.
27543 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27544
27545 * elf/Makefile (distribute): Add tst-initorder2.c.
27546 (tests): Add tst-initorder2.
27547 (modules-names): Add tst-initorder2a tst-initorder2b
27548 tst-initorder2c tst-initorder2d. Add rules to build them.
27549 ($(objpfx)tst-initorder2.out): New rule.
27550 * elf/tst-initorder2.c: New file.
27551 * elf/tst-initorder2.exp: New file.
27552
275532011-08-22 Andreas Schwab <schwab@redhat.com>
27554
27555 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27556
27557 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27558 dependencies back to end of function.
27559
27560 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27561 $(elfobjdir)/ld.so.
27562
275632011-08-21 Ulrich Drepper <drepper@gmail.com>
27564
27565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27566 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27567 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27568 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27569 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27570 of __vdso_gettimeofday.
27571 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27572 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27573 attribute_hidden.
27574 (_libc_vdso_platform_setup): Remove initialization of
27575 __vdso_gettimeofday and __vdso_time.
27576
275772011-08-20 Ulrich Drepper <drepper@gmail.com>
27578
27579 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27580 and fgetc_unlocked.
27581 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27582 getc_unlocked.
27583
27584 * elf/dl-open.c (add_to_global): Report additions to the global scope
27585 for LD_DEBUG=scopes.
27586 (dl_open_worker): Also print scope of newly loaded dependencies.
27587 (_dl_show_scope): Indicate if there is no scope.
27588
27589 [BZ #13114]
27590 * stdio-common/Makefile (tests): Add bug24.
27591 * stdio-common/bug24.c: New file.
27592
275932011-08-19 Andreas Jaeger <aj@suse.de>
27594
27595 [BZ #13114]
27596 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27597 non-existant file when using close-on-exec mode.
27598
275992011-08-20 Ulrich Drepper <drepper@gmail.com>
27600
27601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27602 the very first instruction.
27603
27604 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27605 the CFI state in the end.
27606 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27607 inclusion of dl-trampoline.h.
27608 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27609
276102011-08-19 Andreas Schwab <schwab@redhat.com>
27611
27612 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27613 expectations for long double.
27614
27615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27616 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27617
276182011-08-14 David S. Miller <davem@davemloft.net>
27619
27620 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27621 artificual limit depends upon the system page size.
27622
276232011-08-17 Ulrich Drepper <drepper@gmail.com>
27624
27625 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27626 * resolv/Makefile: Define CFLAGS-libresolv.
27627
276282011-08-17 Andreas Schwab <schwab@redhat.com>
27629
27630 * nss/makedb.c (compute_tables): Make variables used in nested
27631 function static.
27632
276332011-08-17 Ulrich Drepper <drepper@gmail.com>
27634
27635 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27636 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27637 if buffer was too small.
27638
27639 * elf/pldd.c (main): Attach to all threads in the process.
27640 Rewrite /proc handling to use *at functions.
27641
276422011-08-16 Ulrich Drepper <drepper@gmail.com>
27643
27644 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27645 specifies first scope to show.
27646 (dl_open_worker): Update callers. Move printing scope of new
27647 object to before the relocation.
27648 * elf/rtld.c (dl_main): Update _dl_show_scope call.
27649 * sysdeps/generic/ldsodefs.h: Update declaration.
27650
27651 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27652 string for the scope number.
27653
276542011-08-14 Ulrich Drepper <drepper@gmail.com>
27655
27656 * nscd/servicescache.c (cache_addserv): Make sure written is always
27657 initialized.
27658
276592011-08-14 Roland McGrath <roland@hack.frob.com>
27660
27661 * sysdeps/i386/i486/bits/atomic.h
27662 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27663 statement expression, so as to suppress "set but not used" warning.
27664 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27665
27666 * string/strncat.c (STRNCAT): Use prototype definition.
27667
27668 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27669 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27670 -Iprograms here.
27671 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27672 (localedef-modules): Add localedef.
27673 (locale-modules): Add locale.
27674
27675 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27676 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27677 to avoid a warning.
27678
276792011-08-14 David S. Miller <davem@davemloft.net>
27680
27681 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27682 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27683
276842011-08-13 Ulrich Drepper <drepper@gmail.com>
27685
27686 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
27687 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27688 * elf/rtld.c (dl_main): Set l_name of vDSO.
27689 Call _dl_show_scope when DL_DEBUG_SCOPES.
27690 (process_dl_debug): Recognize scopes flag and also set it for all.
27691 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27692 Declare _dl_show_scope.
27693
27694 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27695 (do_dlopen): Pass caller_dlopen to dl_open.
27696 (__libc_dlopen_mode): Initialize caller_dlopen.
27697
27698 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27699 of libc. Make tolower call locale-independent. Optimize a bit by
27700 using isdigit instead of isalnum.
27701 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27702
277032011-08-12 Ulrich Drepper <drepper@gmail.com>
27704
27705 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27706 was a dependency or dynamically loaded.
27707
277082011-08-11 Ulrich Drepper <drepper@gmail.com>
27709
27710 * intl/l10nflist.c: Allow architecture-specific pop function.
27711 * sysdeps/x86_64/l10nflist.c: New file.
27712
27713 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27714 classification.
27715
277162011-08-10 Andreas Schwab <schwab@redhat.com>
27717
27718 * include/dirent.h: Add libc_hidden_proto for scandirat and
27719 scandirat64. Don't declare __scandirat64.
27720 * dirent/scandirat.c: Add libc_hidden_def.
27721 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27722 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27723
277242011-08-10 David S. Miller <davem@davemloft.net>
27725
27726 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27727 enum.
27728 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27729 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27730 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27731
277322011-08-09 Ulrich Drepper <drepper@gmail.com>
27733
27734 * Versions.def [libc]: Add GLIBC_2.15.
27735 * dirent/Makefile (routines): Add scandirat and scandirat64.
27736 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27737 GLIBC_2.15.
27738 * dirent/dirent.h: Declare scandirat and scandirat64.
27739 * dirent/scandirat.c: New file.
27740 * dirent/scandirat64.c: New file.
27741 * sysdeps/wordsize-64/scandirat.c: New file.
27742 * sysdeps/wordsize-64/scandirat64.c: New file.
27743 * dirent/opendir.c: Define opendirat.
27744 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27745 using scandirat.
27746 * dirent/scandir64.c: Adjust for scandir.c change.
27747 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27748 __scandirat64, and __scandir_cancel_handler.
27749 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27750 additional parameter and use openat instead of open (outside of ld.so).
27751 Add new __opendir as wrapper around __opendirat.
27752 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27753 here without requiring old scandirat implementation.
27754
277552011-08-08 Ulrich Drepper <drepper@gmail.com>
27756
27757 * dirent/scandir.c (cancel_handler): Renamed to
27758 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27759 defined. Adjust users.
27760 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27761 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27762
277632011-08-04 Ulrich Drepper <drepper@gmail.com>
27764
27765 * string/test-string.h (IMPL): Use __STRING to expand name and then
27766 stringify it.
27767
27768 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27769 of cleanups.
27770
277712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27772
27773 * string/Makefile: Update.
27774 (strop-tests): Append strncat.
27775 * string/test-wcscmp.c: New file.
27776 New comprehensive test for wcscmp.
27777 * string/test-strcmp.c: Update.
27778 (WIDE): New define.
27779
277802011-07-22 Andreas Schwab <schwab@redhat.com>
27781
27782 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27783 line.
27784
277852011-07-26 Andreas Schwab <schwab@redhat.com>
27786
27787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27788 encoding to ACE if AI_IDN.
27789
277902011-08-01 Jakub Jelinek <jakub@redhat.com>
27791
27792 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27793 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27794
277952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27796
27797 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27798 Fix overflow bug in strncat.
27799 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27800
27801 * string/test-strncat.c: Update.
27802 Add new tests for checking overflow bugs.
27803
278042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27805
27806 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27807 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27808 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27809 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27810 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27811 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27812 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27813 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27814 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27815
27816 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27817 (USE_AS_STRCAT): Define.
27818 Add strcat and strncat support.
27819 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27820
278212011-07-25 Andreas Schwab <schwab@redhat.com>
27822
27823 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27824 __n bigger than INT_MAX+1.
27825 (__strncmp_g): Likewise.
27826
278272011-07-23 Ulrich Drepper <drepper@gmail.com>
27828
27829 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27830 * libio/stido.h: Likewise.
27831
27832 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27833 (AF_NFC): Define.
27834 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27835 (AF_NFC): Define.
27836
27837 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27838 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27839 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27840 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27841 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27842
27843 [BZ #13021]
27844 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27845 installed.
27846
27847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27848 typo.
27849 (_dl_x86_64_save_sse): Likewise.
27850
278512011-07-22 Ulrich Drepper <drepper@gmail.com>
27852
27853 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27854 OSXSAVE.
27855 (_dl_x86_64_save_sse): Likewise.
27856
27857 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27858
27859 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27860
278612011-07-21 Andreas Schwab <schwab@redhat.com>
27862
27863 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27864 change.
27865 (_dl_x86_64_save_sse): Use correct AVX check.
27866
278672011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27868
27869 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27870 bug in strncpy/strncat.
27871 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27872
278732011-07-21 Ulrich Drepper <drepper@gmail.com>
27874
27875 * string/tester.c (test_strcat): Add tests for different alignments
27876 of source and destination.
27877 (test_strncat): Likewise.
27878
278792011-07-20 Ulrich Drepper <drepper@gmail.com>
27880
27881 [BZ #12852]
27882 * posix/glob.c (glob): Check passed in values before using them in
27883 expressions to avoid some overflows.
27884 (glob_in_dir): Likewise.
27885
27886 [BZ #13007]
27887 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27888 check for AVX enablement so that we don't crash with old kernels and
27889 new hardware.
27890 * elf/tst-audit4.c: Add same checks here.
27891 * elf/tst-audit6.c: Likewise.
27892
27893 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
27894
278952011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27896
27897 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27898
278992011-07-20 Ulrich Drepper <drepper@gmail.com>
27900
27901 * po/cs.po: Update from translation team.
27902 * po/bg.po: Likewise.
27903
279042011-07-12 Marek Polacek <mpolacek@redhat.com>
27905
27906 * misc/sys/cdefs.h: Add support for const attribute.
27907 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27908 to gnu_dev_{major,minor,makedev} functions.
27909
279102011-07-20 Marek Polacek <mpolacek@redhat.com>
27911
27912 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27913
279142011-07-20 Andreas Schwab <schwab@redhat.com>
27915
27916 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27917 strlen results.
27918
279192011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27920
27921 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27922 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27923 register in order to avoid conflicts with the soft frame pointer
27924 being held in r11 when necessary.
27925 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27926 (INTERNAL_VSYSCALL_NCS): Likewise.
27927
279282011-07-14 Marek Polacek <mpolacek@redhat.com>
27929
27930 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27931 * elf/dl-fini.c (_dl_fini): Adjust caller.
27932 * elf/dl-close.c (_dl_close_worker): Likewise.
27933 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27934
279352011-07-15 Marek Polacek <mpolacek@redhat.com>
27936
27937 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27938 "aux_cache->nlibs < 0".
27939
27940 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27941 in the reload-count case.
27942
279432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27944
27945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27946 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27947 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27948 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27949 * sysdeps/x86_64/multiarch/strcat.S: New file.
27950 * sysdeps/x86_64/multiarch/strncat.S: New file.
27951 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27952 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27953 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27954 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27956 (USE_AS_STRCAT): Define.
27957 Add strcat and strncat support.
27958 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27959 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27960 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27961 * string/strncat.c: Update.
27962 (USE_AS_STRNCAT): Define.
27963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27964 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27965 and i7.
27966 * sysdeps/x86_64/multiarch/init-arch.h
27967 (bit_Prefer_PMINUB_for_stringop): New.
27968 (index_Prefer_PMINUB_for_stringop): Likewise.
27969 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27970 bit_Prefer_PMINUB_for_stringop.
27971
279722011-07-19 Ulrich Drepper <drepper@gmail.com>
27973
27974 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27975 buffer64.
27976 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27977 of casting of buffer.
27978 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27979 buffer32 and buffer64.
27980 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27981 writes instead of casting of buffer.
27982 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27983 buffer32.
27984 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27985 casting of buffer.
27986
279872011-07-19 Andreas Schwab <schwab@redhat.com>
27988
27989 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27990
279912011-07-19 Ulrich Drepper <drepper@gmail.com>
27992
27993 * nscd/nscd.c (termination_handler): Don't do anything for a database
27994 if it has not yet been initialized.
27995
279962011-07-18 Ulrich Drepper <drepper@gmail.com>
27997
27998 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27999
280002011-07-15 Marek Polacek <mpolacek@redhat.com>
28001
28002 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28003
280042011-07-18 Ulrich Drepper <drepper@gmail.com>
28005
28006 * po/nl.po: Update from translation team.
28007 * po/sv.po: Likewise.
28008
280092011-07-16 Roland McGrath <roland@hack.frob.com>
28010
28011 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28012 now disallowed by GCC.
28013
28014 * configure.in (use-default-link): Default to yes if a test -shared
28015 link meets our qualifications.
28016 * configure: Regenerated.
28017
28018 * config.make.in (output-format): New variable.
28019 * configure.in: Check for ld --print-output-format support.
28020 * configure: Regenerated.
28021 * Makerules ($(common-objpfx)format.lds)
28022 [$(output-format) != unknown]: Just use $(output-format),
28023 instead of the linker-script munging.
28024
280252011-07-14 Roland McGrath <roland@hack.frob.com>
28026
28027 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28028 of $(common-objpfx)shlib.lds.
28029 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28030
28031 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28032 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28033
28034 * configure.in (-z relro check): Adjust test code to add a large
28035 writable data section after it.
28036 * configure: Regenerated.
28037
280382011-07-11 Roland McGrath <roland@hack.frob.com>
28039
28040 * configure.in (-z relro check): Fix test code to make the variable
28041 truly const.
28042 * configure: Regenerated.
28043
280442011-07-11 Ulrich Drepper <drepper@gmail.com>
28045
28046 * nscd/nscd.h (struct traced_file): Define.
28047 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28048 elements. Add traced_files.
28049 (inotify_fd): Declare.
28050 (register_traced_file): Declare.
28051 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28052 (inotify_fd): Export.
28053 (resolv_conf_descr): Remove.
28054 (nscd_init): Move inotify descriptor creation to main.
28055 Don't register files for notification here.
28056 (register_traced_file): New function.
28057 (invalidate_cache): Don't use reset_res to determine whether to call
28058 res_init, go through the list of registered files.
28059 (main_loop_poll): The inotify descriptors are now stored in the
28060 structures for the traced files.
28061 (main_loop_epoll): Likewise
28062 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28063 to __nss_disable_nscd.
28064 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28065 for a database anymore. Check the records for all the registered
28066 files instead.
28067 * nss/Makefile (libnss_files-routines): Add files-init.
28068 (libnss_db-routines): Add db-init.
28069 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28070 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28071 * nss/nss_db/db-init.c: New file.
28072 * nss/nss_files/files-init.c: New file.
28073 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28074 __nss_lookup_function.
28075 (__nss_lookup_function): Call nss_load_library.
28076 (nss_load_all_libraries): New function.
28077 (__nss_disable_nscd): Take parameter with callback function for files
28078 to register. Set is_nscd. Load all the DSOs for the NSS modules
28079 used for the cached services.
28080 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28081 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28082 options for features to all the files in nscd.
28083
28084 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28085
280862011-07-10 Roland McGrath <roland@hack.frob.com>
28087
28088 * csu/elf-init.c (__libc_csu_init): Comment typo.
28089
280902011-07-09 Ulrich Drepper <drepper@gmail.com>
28091
28092 * po/pl.po: Update from translation team.
28093 * po/ja.po: Likewise.
28094 * po/ru.po: Likewise.
28095 * po/ko.po: Likewise.
28096 * po/fr.po: Likewise.
28097
280982011-07-09 Roland McGrath <roland@hack.frob.com>
28099
28100 * configure.in (.ctors/.dtors header and trailer check):
28101 Use an empirical test on a built program.
28102 * configure: Regenerated.
28103
28104 * configure.in (-z relro check): Use an empirical test on a built DSO.
28105 Detect, but do not require, on ia64.
28106 * configure: Regenerated.
28107
28108 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28109 Update tests that use readelf to use $READELF instead.
28110 * configure: Regenerated.
28111
281122011-07-08 Ulrich Drepper <drepper@gmail.com>
28113
28114 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28115 if the result is not used.
28116
281172011-07-05 Andreas Jaeger <aj@suse.de>
28118
28119 [BZ#9696]
28120 * stdlib/tst-strtod.c: Add testcase.
28121
281222011-07-07 Ulrich Drepper <drepper@gmail.com>
28123
28124 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28125 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28126 The latter has a higher limit. Take additional parameter to pass to
28127 the new function.
28128 (__pathconf): Pass file to __statfs_link_max.
28129 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28130 __statfs_link_max.
28131 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28132 __statfs_link_max.
28133
28134 [BZ #12868]
28135 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28136 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28137 Handle Lustre.
28138 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28139 (__statfs_filesize_max): Likewise.
28140 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28141
281422011-07-05 Andreas Jaeger <aj@suse.de>
28143
28144 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28145
281462011-07-06 Marek Polacek <mpolacek@redhat.com>
28147
28148 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28149 `status' variable.
28150 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28151 Likewise.
28152
281532011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28154
28155 * Makefile (strop-tests): Add strncat.
28156 * string/test-strncat.c: New file.
28157
281582011-06-30 Marek Polacek <mpolacek@redhat.com>
28159
28160 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28161
281622011-06-21 Andreas Jaeger <aj@suse.de>
28163
28164 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28165 Copy rule from iconvdata/Makefile.
28166
281672011-07-06 Ulrich Drepper <drepper@gmail.com>
28168
28169 [BZ #12922]
28170 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28171 but no long options are defined, just return 'W'.
28172
281732011-06-22 Marek Polacek <mpolacek@redhat.com>
28174
28175 [BZ #9696]
28176 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28177
281782011-07-06 Ulrich Drepper <drepper@gmail.com>
28179
28180 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28181 netgroups to read.
28182 (innetgr): Likewise.
28183
281842011-07-05 Roland McGrath <roland@hack.frob.com>
28185
28186 * config.make.in (install_root): Default to $(DESTDIR).
28187
281882011-07-05 Ulrich Drepper <drepper@gmail.com>
28189
28190 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28191
281922011-07-02 Roland McGrath <roland@hack.frob.com>
28193
28194 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28195
28196 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28197 containing directory rather than embedding absolute directory names.
28198
28199 * scripts/check-local-headers.sh: Rewritten using awk.
28200 Match by word, not by line. Print error messages for matches.
28201 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28202
28203 * Makerules [shlib-lds-flags empty]:
28204 ($(common-objpfx)libc_pic.opts): New target.
28205 ($(common-objpfx)libc_pic.os.clean): New target.
28206 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28207
28208 * config.make.in (OBJCOPY): New variable.
28209 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28210 * configure: Regenerated.
28211
28212 * config.make.in (use-default-link): New variable.
28213 * configure.in (use_default_link): Grok --with-default-link to set it.
28214 * configure: Regenerated.
28215 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28216 (shlib-lds, shlib-lds-flags): Define to empty.
28217
28218 * Makerules (shlib-lds): New variable.
28219 (shlib-lds-flags): New variable.
28220 (build-shlib, build-moduile, build-module-asneeded): Use it.
28221 ($(common-objpfx)libc.so): Use $(shlib-lds).
28222 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28223 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28224
28225 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28226 DT_FLAGS/DT_FLAGS_1 with zero flags.
28227
28228 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28229 linker script munging.
28230
282312011-07-02 Ulrich Drepper <drepper@gmail.com>
28232
28233 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28234 as 128-bit value.
28235 * crypt/sha512.c (sha512_process_block): Perform total addition using
28236 128-bit if possible.
28237 (__sha512_finish_ctx): Likewise.
28238 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28239 as 64-bit value.
28240 * crypt/sha256.c (SWAP64): Define.
28241 (sha256_process_block): Perform total addition using 64-bit if
28242 possible.
28243 (__sha256_finish_ctx): Likewise.
28244
282452011-07-01 Ulrich Drepper <drepper@gmail.com>
28246
28247 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28249 * nscd/hstcache.c (cache_addhst): Likewise.
28250 * nscd/grpcache.c (cache_addgr): Likewise.
28251 * nscd/aicache.c (addhstaiX): Likewise
28252 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28253
282542011-07-01 Thorsten Kukuk <kukuk@suse.de>
28255
28256 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28257 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28258 * nscd/hstcache.c (cache_addhst): Likewise.
28259 * nscd/grpcache.c (cache_addgr): Likewise.
28260 * nscd/aicache.c (addhstaiX): Likewise
28261
282622011-07-01 Andreas Schwab <schwab@redhat.com>
28263
28264 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28265 domain only when needed.
28266
282672011-06-30 Andreas Schwab <schwab@redhat.com>
28268
28269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28270 is always restored.
28271
282722011-06-29 Ulrich Drepper <drepper@gmail.com>
28273
28274 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28275 are re-adding the entry.
28276 * nscd/servicescache.c (cache_addserv): Likewise.
28277
282782011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28279
28280 * sysdeps/generic/dl-irel.h: fix protection against multiple
28281 inclusions.
28282 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28283
282842011-06-28 Ulrich Drepper <drepper@gmail.com>
28285
28286 [BZ #12935]
28287 * malloc/memusage.sh: Fix quoting in message.
28288 * debug/xtrace.sh: Likewise.
28289
28290 * configure.in: Remove support for --experimental-malloc option, make
28291 it the default.
28292 * config.make.in: Likewise.
28293 * malloc/Makefile: Likewise.
28294
282952011-06-27 Andreas Schwab <schwab@redhat.com>
28296
28297 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28298 two-byte characters.
28299
283002011-06-27 Roland McGrath <roland@hack.frob.com>
28301
28302 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28303 AC_CACHE_CHECK invocation.
28304 * configure: Regenerated.
28305
28306 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28307
283082011-06-27 Ulrich Drepper <drepper@gmail.com>
28309
28310 [BZ #12350]
28311 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28312 bit from old_res_options.
28313
28314 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28315
28316 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28317 value type for setfct.
28318
283192011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28320
28321 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28322 __gettimeofday instead of gettimeofday.
28323
283242011-06-26 Ulrich Drepper <drepper@gmail.com>
28325
28326 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28327
283282011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28329
28330 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28331
28332 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28333 info.
28334
283352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28336
28337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28338 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28339 strcpy-sse2-unaligned strncpy-sse2-unaligned
28340 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28341 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28342 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28343 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28344 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28345 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28346 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28347 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28348 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28349 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28350 (STRCPY): Support SSE2 and SSSE3 versions.
28351
283522011-06-24 Ulrich Drepper <drepper@gmail.com>
28353
28354 [BZ #12874]
28355 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28356 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28357 kernels which artificially limit size of requests.
28358
283592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28360
28361 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28362 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28363 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28364 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28365 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28366 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28367 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28368 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28369 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28370 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28371 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28372 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28373 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28374 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28375 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28377 Enable unaligned load optimization for Intel Core i3, i5 and i7
28378 processors.
28379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28380 Define.
28381 (index_Fast_Unaligned_Load): Define.
28382 (HAS_FAST_UNALIGNED_LOAD): Define.
28383
283842011-06-23 Marek Polacek <mpolacek@redhat.com>
28385
28386 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28387
283882011-06-22 Ulrich Drepper <drepper@gmail.com>
28389
28390 [BZ #12907]
28391 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28392 until it is clear that the information is realy needed.
28393 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28394
283952011-06-22 Andreas Schwab <schwab@redhat.com>
28396
28397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28398
283992011-06-22 Ulrich Drepper <drepper@gmail.com>
28400
28401 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28402 /sys/devices/system/cpu/online if it is usable.
28403
28404 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28405 reading the information from the /proc filesystem to once a second.
28406
284072011-06-21 Andreas Jaeger <aj@suse.de>
28408
28409 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28410 NULL after inclusion of kernel headers.
28411
284122011-06-21 Ulrich Drepper <drepper@gmail.com>
28413
28414 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28415 calls to internal_setent.
28416
28417 [BZ #12885]
28418 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28419 addresses using gethostbyname4_r ignore IPv4 addresses.
28420
28421 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28422 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28423
28424 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28425
284262011-06-20 David S. Miller <davem@davemloft.net>
28427
28428 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28429 inclusions.
28430 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28431
28432 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28433 (elf_irel): Use it.
28434 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28435 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28436 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28437 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28438 * sysdeps/x86_64/dl-irel.h: Likewise.
28439
28440 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28441 * elf/dl-sym.c: Likewise.
28442
284432011-06-15 Ulrich Drepper <drepper@gmail.com>
28444
28445 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28446 need to dereference resplen2.
28447
284482011-06-14 Andreas Schwab <schwab@redhat.com>
28449
28450 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28451
284522011-06-15 Ulrich Drepper <drepper@gmail.com>
28453
28454 * Makeconfig: Define vardbdir and inst_vardbdir.
28455 * nss/Makefile: Add rules to install db-Makefile.
28456
28457 * nss/nss_db/db-XXX.c: Cleanup.
28458
28459 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28460 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28461 GLIBC_PRIVATE.
28462 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28463 * nss/makedb.c: Implement -g option to specify that value strings
28464 are generated and should not be added to table iterated over for
28465 get*ent calls.
28466 * nss/nss_db/db-initgroups.c: New file.
28467
28468 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28469 interface.
28470
28471 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28472 (internal_getgrouplist): Adjust to name change.
28473 Update use_initgroups_entry if this is not the first call.
28474 * nss/databases.def: Add initgroups entry.
28475
28476 * nss/makedb.c (compute_tables): Check result of multiple hash table
28477 sizes to minimize maximum chain length.
28478
284792011-06-14 Ulrich Drepper <drepper@gmail.com>
28480
28481 * Versions.def: Add entry for libnss_db.
28482 * shlib-versions: Likewise.
28483 * nss/Makefile: Add rules to build libnss_db.
28484 * nss/Versions: Add libnss_db information. Organize libnss_files
28485 entries better.
28486 * nss/db-Makefile: Add gshadow support. Change rules for the new
28487 makedb progra. Some minor improvements to generate smaller files.
28488 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28489 here from...
28490 * nss/makedb.c: ...here.
28491 Improve database format to be smaller and require less memory at
28492 runtime.
28493 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28494 db anymore.
28495 * nss/nss_db/db-netgrp.c: Likewise.
28496 * nss/nss_db/db-open.c: Likewise.
28497 * nss/nss_files/flies-XXX.x: Adjust comments.
28498 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28499 * nss/nss_files/files-grp.c: Likewise.
28500 * nss/nss_files/files-hosts.c: Likewise.
28501 * nss/nss_files/files-network.c: Likewise.
28502 * nss/nss_files/files-proto.c: Likewise.
28503 * nss/nss_files/files-pwd.c: Likewise.
28504 * nss/nss_files/files-rpc.c: Likewise.
28505 * nss/nss_files/files-service.c: Likewise.
28506 * nss/nss_files/files-sgrp.c: Likewise.
28507 * nss/nss_files/files-spwd.c: Likewise.
28508 * nss/nss_db/db-alias.c: Removed.
28509 * nss/nss_db/dummy-db.h: Removed.
28510
285112011-06-02 Ulrich Drepper <drepper@gmail.com>
28512
28513 * nss/makedb.c: Rewritten to not use database library.
28514 * nss/Makefile: Update to build new makedb program.
28515
285162011-06-14 Andreas Jaeger <aj@suse.de>
28517
28518 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28519 memset declaration.
28520
285212011-06-10 Andreas Schwab <schwab@redhat.com>
28522
28523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28524 tmpbuf.
28525
285262011-06-10 Roland McGrath <roland@hack.frob.com>
28527
28528 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28529 * elf/Makefile ($(objpfx)ld.so): Likewise.
28530
28531 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28532 Don't list ld.so twice in dependencies.
28533
28534 * posix/bug-regex31.c: Include <stdlib.h>.
28535
28536 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28537
28538 * nis/nss_compat/compat-spwd.c
28539 (getspent_next_nss_netgr): Remove unused variable.
28540 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28541
28542 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28543 nonmembers" output to use the right array.
28544
28545 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28546
28547 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28548
28549 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28550 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28551 * catgets/gencat.c (read_input_file): Likewise.
28552 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28553
28554 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28555 variable definition inside #if's controlling its use.
28556
28557 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28558
28559 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28560
28561 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28562
28563 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28564 unreachable code.
28565
28566 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28567
28568 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28569 * configure: Regenerated.
28570
28571 * Makerules: Revert last change.
28572 * elf/Makefile: Likewise.
28573
285742011-06-09 Roland McGrath <roland@hack.frob.com>
28575
28576 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28577 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28578 (reloc-link): Likewise.
28579
285802011-06-09 Ulrich Drepper <drepper@gmail.com>
28581
28582 * elf/Makefile: Add rules to build pldd.
28583 * elf/pldd.c: New file.
28584 * elf/pldd-xx.c: New file.
28585
285862011-06-07 Ulrich Drepper <drepper@gmail.com>
28587
28588 * version.h: Update for 2.15 development version.
28589
285902011-06-07 David S. Miller <davem@davemloft.net>
28591
28592 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28593 ifuncs.
28594 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28595 elf_machine_lazy_rel): Likewise.
28596 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28597 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28598 elf_machine_lazy_rel): Likewise.
28599 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28600 dl_hwcap via passed in argument.
28601 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28602 Likewise.
28603
286042011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28605
28606 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28607
286082011-06-06 Roland McGrath <roland@hack.frob.com>
28609
28610 [BZ #12849]
28611 * manual/fdl-1.1.texi: New file, verbatim from:
28612 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28613 * manual/lgpl-2.1.texi: New file, verbatim from:
28614 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28615 * manual/Makefile (licenses): New variable, list those new file names.
28616 (texis): Use it.
28617 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28618
28619 * manual/fdl.texi: File removed.
28620 * manual/lesser.texi: File removed.
28621 * manual/libc.texinfo (Copying, Documentation License):
28622 Use new @include file names, put @appendix directive before @include.
28623
286242011-06-04 Jakub Jelinek <jakub@redhat.com>
28625
28626 [BZ #12841]
28627 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28628 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28629 (mq_open): Add __NTH.
28630
286312011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28632
28633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28634 Assume Intel Core i3/i5/i7 processor if AVX is available.
28635
286362011-05-31 Ulrich Drepper <drepper@gmail.com>
28637
28638 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28639 typo.
28640
286412011-05-31 Andreas Schwab <schwab@redhat.com>
28642
28643 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28644 memory. Use alloca_account. Fix memory leak when retrying.
28645
286462011-05-31 Ulrich Drepper <drepper@gmail.com>
28647
28648 * version.h (RELEASE): Bump for 2.14 release.
28649 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28650
28651 * config.make.in (RANLIB): Remove entry.
28652
286532011-05-30 Ulrich Drepper <drepper@gmail.com>
28654
28655 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28656 (libc.pot): Work around missing support for .ksh extension in xgettext.
28657
28658 [BZ #12684]
28659 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28660 if both request failed.
28661 (send_dg): In case of server errors clear resplen or *resplen2.
28662
28663 [BZ #12454]
28664 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28665 when there are multiple maps.
28666 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28667 (_dl_fini): Remove test here.
28668
28669 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28670
286712011-05-29 Ulrich Drepper <drepper@gmail.com>
28672
28673 [BZ #12350]
28674 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28675 bit from old_res_options.
28676 (gaih_inet): Likewise.
28677
28678 [BZ #11099]
28679 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
28680 as signed.
28681
28682 * resolv/res_init.c (res_setoptions): Make the code more compact.
28683
28684 [BZ #11558]
28685 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28686 set RES_USEVC.
28687
28688 [BZ #11634]
28689 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28690
28691 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28692
28693 [BZ #11781]
28694 * malloc/malloc.h: Declare malloc hook variables as volatile.
28695
28696 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28697 in last patch.
28698
28699 [BZ #11799]
28700 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
28701 raise in the comment.
28702 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28703 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28704 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
28705
287062011-05-28 Ulrich Drepper <drepper@gmail.com>
28707
28708 [BZ #12811]
28709 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28710 grow the buffers more if it already has to be sufficient.
28711 (build_wcs_upper_buffer): Likewise.
28712 * posix/regexec.c (check_matching): Likewise.
28713 (clean_state_log_if_needed): Likewise.
28714 (extend_buffers): Don't enlarge buffers beyond size of the input
28715 buffer.
28716 Patches mostly by Emil Wojak <emil@wojak.eu>.
28717 * posix/bug-regex32.c: New file.
28718 * posix/Makefile (tests): Add bug-regex32.
28719
28720 * locale/findlocale.c (_nl_find_locale): Return right away if
28721 _nl_explode_name failed.
28722 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28723
28724 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28725
28726 * debug/xtrace.sh: Unify messages.
28727 * malloc/memusage.sh: Likewise.
28728
28729 [BZ #12813]
28730 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28731 time symbol from vDSO. Substitute with vsyscall if not available.
28732 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28733 __vdso_time.
28734
28735 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28736 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28737 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28738 Add sendmmsg and internal_sendmmsg.
28739 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28740 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28741 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28742
28743 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28744 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28745 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28746
287472011-05-27 Ulrich Drepper <drepper@gmail.com>
28748
28749 [BZ #12813]
28750 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28751 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28752 available.
28753 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28754 __vdso_getcpu.
28755
28756 [BZ #12814]
28757 * iconvdata/Makefile (tests): Add bug-iconv9.
28758 * iconvdata/bug-iconv9.c: New file.
28759
287602011-05-27 Andreas Schwab <schwab@redhat.com>
28761
28762 [BZ #12814]
28763 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28764
287652011-05-25 Jakub Jelinek <jakub@redhat.com>
28766
28767 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28768 (struct user_regs_struct): Change intcs field back to cs.
28769
287702011-05-25 Ulrich Drepper <drepper@gmail.com>
28771
28772 * po/ja.po: Update from translation team.
28773
287742011-05-23 Ulrich Drepper <drepper@gmail.com>
28775
28776 [BZ #12795]
28777 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28778 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28779
287802011-05-20 Andreas Schwab <schwab@redhat.com>
28781
28782 * stdlib/longlong.h: Update from GCC.
28783
287842011-05-23 Andreas Schwab <schwab@redhat.com>
28785
28786 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28787 parameter name.
28788 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28789 Add parameter name.
28790 (__sysconf): Pass it down.
28791
287922011-05-22 Ulrich Drepper <drepper@gmail.com>
28793
28794 [BZ #12671]
28795 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28796 some situations.
28797 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28798 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28799 add in in __libc_use_alloca calls. Adjust callers.
28800 (glob): Use malloc in some situations.
28801
28802 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28803 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28804 pltexit.
28805
288062011-05-21 Ulrich Drepper <drepper@gmail.com>
28807
28808 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28809 and CLOCK_BOOTTIME_ALARM.
28810
28811 [BZ #12782]
28812 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28813 is returned.
28814
28815 * string/_strerror.c (__strerror_r): Print negative errors as signed
28816 numbers.
28817
28818 [BZ #12777]
28819 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28820 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28821 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28822
28823 * configure.in: Fix typo in redirection and correct removal of test
28824 files in two cases.
28825
28826 [BZ #12788]
28827 * locale/setlocale.c (new_composite_name): Fix test to check for
28828 identical name of all categories.
28829
28830 [BZ #12792]
28831 * libio/filedoalloc.c (local_isatty): New function.
28832 (_IO_file_doallocate): Use local_isatty.
28833 * stdio-common/perror.c (perror): In case a new stream is used
28834 forward the stream error.
28835 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28836 error flag.
28837
288382011-05-20 Ulrich Drepper <drepper@gmail.com>
28839
28840 [BZ #11869]
28841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28842 alloca.
28843 * include/alloca.h (extend_alloca_account): Define.
28844
28845 [BZ #11857]
28846 * posix/regex.h: Fix comments with documentation of user-accessible
28847 fields after compilation and describe correct free'ing of pattern
28848 after re_compile_pattern.
28849 Patch by Reuben Thomas <rrt@sc3d.org>.
28850
288512011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28852
28853 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28854 and -mno-altivec to prevent the compiler from using Altivec and/or
28855 VSX instructions when the corresponding registers are not available.
28856
288572011-05-19 Andreas Schwab <schwab@redhat.com>
28858
28859 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28860
288612011-05-19 Ulrich Drepper <drepper@gmail.com>
28862
28863 * libio/freopen.c (freopen): Use __dup2, not dup2.
28864 * libio/freopen64.c (freopen64): Likewise.
28865
288662011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28867
28868 [BZ #12775]
28869 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28870 * math/Makefile (tests): Add test-powl.
28871 (CFLAGS-test-powl.c): Define.
28872 * math/test-powl.c: New file.
28873
288742011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28875
28876 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28877
288782011-05-17 Ulrich Drepper <drepper@gmail.com>
28879
28880 [BZ #11837]
28881 * iconvdata/gb18030.c: Update to GB18020-2005.
28882
288832011-05-16 Ulrich Drepper <drepper@gmail.com>
28884
28885 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28886 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28887 Patch by Aharon Robbins <arnold@skeeve.com>.
28888
28889 [BZ #11892]
28890 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28891 on the stack.
28892
28893 [BZ #11895]
28894 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28895 through underflows.
28896
28897 [BZ #12766]
28898 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28899 point to strings before performing equality test for error_one_per_line
28900 mode.
28901
28902 [BZ #11697]
28903 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28904
28905 [BZ #11820]
28906 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28907 (struct user_fpregs_struct): Avoid __uint*_t types.
28908
28909 [BZ #6420]
28910 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28911 symbol info. Use it instead of calling _dl_addr locally.
28912 (lock_and_info): New function.
28913 (tr_freehook): Call lock_and_info and pass symbol info as additional
28914 parameter to tr_where.
28915 (tr_mallochook): Likewise.
28916 (tr_reallochook): Likewise.
28917 (tr_memalignhook): Likewise.
28918
28919 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28920 used and couldn't be at all thread-safe.
28921
289222011-05-15 Ulrich Drepper <drepper@gmail.com>
28923
28924 * libio/freopen.c (freopen): Don't close old file descriptor
28925 before the new one is opened. Instead dup the new file descriptor
28926 to the old one after the new stream is created.
28927 * libio/freopen64.c (freopen64): Likewise.
28928 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28929 * libio/fileops.c (_IO_new_file_close_it): Handle new
28930 _IO_FLAGS2_NOCLOSE flag.
28931 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28932 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28933 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28934 _IO_FLAGS2_NOCLOSE flag.
28935 * include/unistd.h: Add hidden_proto for dup3.
28936 Define __have_dup3.
28937 * io/dup3.c: Define hidden symbol.
28938 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28939
28940 [BZ #7101]
28941 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28942 when an incomplete long option is used.
28943 * posix/tst-getopt_long1.c: New file.
28944 * posix/Makefile (tests): Add tst-getopt_long1.
28945
28946 [BZ #10138]
28947 * scripts/config.guess: Update from autoconf-2.68.
28948 * scripts/config.sub: Likewise.
28949
28950 [BZ #10157]
28951 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28952 tests into ...
28953 (has_cpuclock): ...this. New function.
28954 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28955 macro here based on has_cpuclock code.
28956
28957 [BZ #10149]
28958 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28959 First byte (not low byte) is now always NUL.
28960 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28961
28962 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28963 Use non-cancelable interfaces.
28964
28965 [BZ #9809]
28966 * locale/iso-639.def: Add entry for Sorani.
28967
28968 [BZ #11901]
28969 * include/stdlib.h: Move include protection to the right place.
28970 Define abort_msg_s. Declare __abort_msg with it.
28971 * stdlib/abort.c (__abort_msg): Adjust type.
28972 * assert/assert.c (__assert_fail_base): New function. Majority
28973 of code from __assert_fail. Allocate memory for __abort_msg with
28974 mmap.
28975 (__assert_fail): Now call __assert_fail_base.
28976 * assert/assert-perr.c: Remove bulk of implementation. Use
28977 __assert_fail_base.
28978 * include/assert.hL Declare __assert_fail_base.
28979 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28980 mmap.
28981 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28982
289832011-05-14 Ulrich Drepper <drepper@gmail.com>
28984
28985 [BZ #11952]
28986 [BZ #12453]
28987 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28988 until all modules are registered in the DTV.
28989 * elf/Makefile: Add rules to build and run tst-tls19.
28990 * elf/tst-tls19.c: New file.
28991 * elf/tst-tls19mod1.c: New file.
28992 * elf/tst-tls19mod2.c: New file.
28993 * elf/tst-tls19mod3.c: New file.
28994 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28995
28996 [BZ #12083]
28997 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28998 correctly.
28999
29000 [BZ #12601]
29001 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29002 two-byte sequence errors.
29003 * iconvdata/Makefile (tests): Add bug-iconv8.
29004 * iconvdata/bug-iconv8.c: New file.
29005
29006 [BZ #12626]
29007 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29008 buf2 definition.
29009
29010 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29011
29012 [BZ #12432]
29013 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29014 (dummy_getcfa): New function.
29015 (init): Get _Unwind_GetCFA address, use dummy if not found.
29016 (backtrace_helper): In recursion check, also check whether CFA changes.
29017 (__backtrace): Completely initialize arg.
29018
29019 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29020 storing incomplete byte sequence in state object. Avoid testing for
29021 guaranteed too small input if we know there is enough data available.
29022
290232011-05-11 Andreas Schwab <schwab@redhat.com>
29024
29025 * Makeconfig (+link-pie): Indent.
29026 * Rules (binaries-pie): Define if $(have-fpie) and
29027 $(build-shared).
29028 (binaries-shared): Also filter out $(binaries-pie).
29029 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29030 * nscd/Makefile (others-pie): Add nscd.
29031 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29032 ($(objpfx)nscd): Remove command override.
29033 * login/Makefile (others-pie): Add pt_chown.
29034 ($(objpfx)pt_chown): Remove command override.
29035 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29036 remove command overrides.
29037
290382011-05-13 Ulrich Drepper <drepper@gmail.com>
29039
29040 * libio/tst_putwc.c: Fix error messages.
29041
29042 [BZ #12724]
29043 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29044 currently writing and seek to current position when not.
29045 * libio/Makefile (tests): Add bug-fclose1.
29046 * libio/bug-fclose1.c: New file.
29047
290482011-05-12 Ulrich Drepper <drepper@gmail.com>
29049
29050 [BZ #12511]
29051 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29052 don't set DF_1_NODELETE here.
29053 (do_lookup_x): When entering new entry test for copy relocation
29054 and if necessary set DF_1_NODELETE flag.
29055 * elf/tst-unique4.cc: New file.
29056 * elf/tst-unique4.h: New file.
29057 * elf/tst-unique4lib.cc: New file.
29058 * elf/Makefile: Add rules to build and run tst-unique4.
29059 Patch by Piotr Bury <pbury@goahead.com>.
29060
290612011-05-11 Ulrich Drepper <drepper@gmail.com>
29062
29063 [BZ #12052]
29064 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29065
29066 [BZ #12625]
29067 * misc/mntent_r.c (addmntent): Flush the stream after the output
29068
29069 [BZ #12393]
29070 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29071 (is_trusted_path_normalize): Skip initial colon. Append slash
29072 to empty buffer. Duplicate is_trusted_path code but allow
29073 constructed patch to be prefix.
29074 (is_dst): Allow $ORIGIN followed by /.
29075 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29076 Correct testing of result of is_trusted_path_normalize
29077 (decompose_rpath): Fix warning.
29078
290792011-05-10 Ulrich Drepper <drepper@gmail.com>
29080
29081 [BZ #11257]
29082 * grp/initgroups.c (internal_getgrouplist): When we found the service
29083 list through the initgroups entry in nsswitch.conf do not always
29084 continue on a successful lookup. Don't always use the
29085 __nss_group_database value if it is set.
29086 * nss/nsswitch.conf (initgroups): Change action for successful db
29087 lookup to continue for compatibility.
29088
290892011-05-09 Ulrich Drepper <drepper@gmail.com>
29090
29091 [BZ #11532]
29092 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29093 and CP774 modules.
29094 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29095 and CP774 modules.
29096 * iconvdata/tst-tables.sh: Likewise.
29097 * iconvdata/cp770.c: New file.
29098 * iconvdata/cp771.c: New file.
29099 * iconvdata/cp772.c: New file.
29100 * iconvdata/cp773.c: New file.
29101 * iconvdata/cp774.c: New file.
29102 * iconvdata/testdata/CP770: New file.
29103 * iconvdata/testdata/CP770..UTF8: New file.
29104 * iconvdata/testdata/CP771: New file.
29105 * iconvdata/testdata/CP771..UTF8: New file.
29106 * iconvdata/testdata/CP772: New file.
29107 * iconvdata/testdata/CP772..UTF8: New file.
29108 * iconvdata/testdata/CP773: New file.
29109 * iconvdata/testdata/CP773..UTF8: New file.
29110 * iconvdata/testdata/CP774: New file.
29111 * iconvdata/testdata/CP774..UTF8: New file.
29112
29113 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29114 END CHARMAP line.
29115 * iconvdata/gen-8bit-gap.sh: Likewise.
29116 * iconvdata/gen-8bit.sh: Likewise.
29117
29118 * locale/iso-639.def: Add ary entry.
29119
29120 [BZ #11258]
29121 * locale/C-translit.h.in: Add U20A1 transliteration.
29122
29123 [BZ #12178]
29124 * locale/iso-639.def: Add wae entry.
29125 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29126
29127 [BZ #12545]
29128 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29129 for n.
29130
29131 [BZ #12711]
29132 * locale/C-translit.h.in: Add entry for U20B9.
29133 Patch by pravin.d.s@gmail.com.
29134
291352011-05-08 Ulrich Drepper <drepper@gmail.com>
29136
29137 [BZ #12713]
29138 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29139 ENAMETOOLONG use generic getcwd.
29140 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29141 in rtld. Use *stat64.
29142 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29143 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29144 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29145 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29146 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29147 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29148 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29149 __fstatat64 macros.
29150 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29151 * dirent/rewinddir.c: Add libc_hidden_def.
29152 * sysdeps/mach/hurd/rewinddir.c: Likewise.
29153 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
29154
29155 * include/dirent.h (__alloc_dir): Add flags parameter.
29156 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29157 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29158 __alloc_dir.
29159 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29160 from fdopendir if O_CLOEXEC is already set.
29161
291622011-03-15 Alan Modra <amodra@gmail.com>
29163
29164 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29165 l_tls_firstbyte_offset non-zero. Save padding offset in
29166 l_tls_firstbyte_offset for later use.
29167 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29168 freeing static tls block.
29169
291702011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29171
29172 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29173 where #ifdef was intended. The intent is to prevent ARG_MAX from
29174 being defined by the kernel headers.
29175
291762011-05-07 Ulrich Drepper <drepper@gmail.com>
29177
29178 [BZ #12734]
29179 * resolv/resolv.h: Define RES_NOTLDQUERY.
29180 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29181 no-tld-query and set RES_NOTLDQUERY.
29182 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29183 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29184 modern BIND to search name as TLD unless forbidden.
29185
291862011-05-07 Petr Baudis <pasky@suse.cz>
29187 Ulrich Drepper <drepper@gmail.com>
29188
29189 [BZ #12393]
29190 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29191 (is_trusted_path): ...to here.
29192 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29193 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29194 using is_trusted_path_normalize() in setuid scripts.
29195
291962011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29197
29198 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29199 __BEGIN/__END_DECLS.
29200
292012011-05-06 Ulrich Drepper <drepper@gmail.com>
29202
29203 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29204 NSS_STATUS_NOTFOUND if no record was found.
29205
292062011-05-05 Andreas Schwab <schwab@redhat.com>
29207
29208 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29209 (headers-not-in-tirpc): Remove rpc/netdb.h
29210 * resolv/netdb.h: Revert last change.
29211
292122011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29213
29214 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29215 circular dependency between libgcc.a and libc.a.
29216
292172011-05-05 Andreas Schwab <schwab@redhat.com>
29218
29219 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29220 * nis/Makefile: Don't install rpcsvc/*.
29221 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29222 instead of <rpc/types.h>.
29223 (MAXHOSTNAMELEN): Define.
29224
292252011-05-03 Andreas Schwab <schwab@redhat.com>
29226
29227 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29228
292292011-04-28 Maciej Babinski <mbabinski@google.com>
29230
29231 [BZ #12714]
29232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29233 gethostbyname4_r when IPv6 results are possible.
29234
292352011-05-02 Ulrich Drepper <drepper@gmail.com>
29236
29237 [BZ #12723]
29238 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29239 _PC_PIPE_BUF handling.
29240
292412011-04-30 Bruno Haible <bruno@clisp.org>
29242
29243 [BZ #12717]
29244 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29245 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29246 to 'int'.
29247 * inet/getnameinfo.c (getnameinfo): Likewise.
29248
292492011-04-29 Ulrich Drepper <drepper@gmail.com>
29250
29251 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29252 to groups setting in database lookup.
29253 * nss/nsswitch.conf: Add initgroups entry.
29254
292552011-04-22 Ulrich Drepper <drepper@gmail.com>
29256
29257 [BZ #12685]
29258 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29259 mode string.
29260 Patch by Eric Blake <eblake@redhat.com>.
29261
292622011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29263
29264 * sunrpc/Makefile (need-export-routines): Add svc_run.
29265 (routines): Remove svc_run.
29266 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29267 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29268 * sunrpc/svc_run.c (svc_run): Likewise.
29269 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29270
292712011-04-21 Ulrich Drepper <drepper@gmail.com>
29272
29273 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29274 problem in reallocation in last patch.
29275
292762011-04-20 Ulrich Drepper <drepper@gmail.com>
29277
29278 * sunrpc/Makefile: Move inclusion of Rules.
29279
292802011-04-19 Ulrich Drepper <drepper@gmail.com>
29281
29282 * nss/nss_files/files-initgroups.c: New file.
29283 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29284 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29285 _nss_files_initgroups_dyn.
29286
292872011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29288
29289 * elf/elf.h (R_ARM_IRELATIVE): Define.
29290
292912011-04-19 Ulrich Drepper <drepper@gmail.com>
29292
29293 * po/ru.po: Update from translation team.
29294
292952011-04-17 Ulrich Drepper <drepper@gmail.com>
29296
29297 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29298 dependencies.
29299
293002011-02-06 Mike Frysinger <vapier@gentoo.org>
29301
29302 [BZ #12653]
29303 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29304 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29305 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29306 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29307 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29308
293092011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29310
29311 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29312 differing bytes.
29313 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29314 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29315 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29316
293172011-04-17 Ulrich Drepper <drepper@gmail.com>
29318
29319 [BZ #12420]
29320 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29321 storing it.
29322 * stdlib/bug-getcontext.c: New file.
29323 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29324
293252011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29326
29327 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29328 instructions into .machine "z9-109".
29329 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29330 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29331
293322011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29333
29334 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29335 between environment variables and auxiliary vector.
29336
293372011-04-16 Ulrich Drepper <drepper@gmail.com>
29338
29339 * Makefile: Add rules to build linkobj/libc.so.
29340 * include/libc-symbols.h: Define libc_hidden_nolink.
29341 * include/rpc/auth.h: Mark functions which are to be hidden.
29342 * include/rpc/auth_des.h: Likewise.
29343 * include/rpc/auth_unix.h: Likewise.
29344 * include/rpc/clnt.h: Likewise.
29345 * include/rpc/des_crypt.h: Likewise.
29346 * include/rpc/key_prot.h: Likewise.
29347 * include/rpc/pmap_clnt.h: Likewise.
29348 * include/rpc/pmap_prot.h: Likewise.
29349 * include/rpc/pmap_rmt.h: Likewise.
29350 * include/rpc/rpc_msg.h: Likewise.
29351 * include/rpc/svc.h: Likewise.
29352 * include/rpc/svc_auth.h: Likewise.
29353 * include/rpc/xdr.h: Likewise.
29354 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29355 * nss/Makefile: Likewise.
29356 * sunrpc/Makefile: Don't install headers. Build library with normal
29357 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29358 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29359 for the compat linking library. Remove use of INTDEF/INTUSE.
29360 * sunrpc/auth_none.c: Likewise.
29361 * sunrpc/auth_unix.c: Likewise.
29362 * sunrpc/authdes_prot.c: Likewise.
29363 * sunrpc/authuxprot.c: Likewise.
29364 * sunrpc/clnt_gen.c: Likewise.
29365 * sunrpc/clnt_perr.c: Likewise.
29366 * sunrpc/clnt_raw.c: Likewise.
29367 * sunrpc/clnt_simp.c: Likewise.
29368 * sunrpc/clnt_tcp.c: Likewise.
29369 * sunrpc/clnt_udp.c: Likewise.
29370 * sunrpc/clnt_unix.c: Likewise.
29371 * sunrpc/des_crypt.c: Likewise.
29372 * sunrpc/des_soft.c: Likewise.
29373 * sunrpc/get_myaddr.c: Likewise.
29374 * sunrpc/key_call.c: Likewise.
29375 * sunrpc/key_prot.c: Likewise.
29376 * sunrpc/netname.c: Likewise.
29377 * sunrpc/pm_getmaps.c: Likewise.
29378 * sunrpc/pm_getport.c: Likewise.
29379 * sunrpc/pmap_clnt.c: Likewise.
29380 * sunrpc/pmap_prot.c: Likewise.
29381 * sunrpc/pmap_prot2.c: Likewise.
29382 * sunrpc/pmap_rmt.c: Likewise.
29383 * sunrpc/publickey.c: Likewise.
29384 * sunrpc/rpc_cmsg.c: Likewise.
29385 * sunrpc/rpc_common.c: Likewise.
29386 * sunrpc/rpc_dtable.c: Likewise.
29387 * sunrpc/rpc_prot.c: Likewise.
29388 * sunrpc/rpc_thread.c: Likewise.
29389 * sunrpc/rtime.c: Likewise.
29390 * sunrpc/svc.c: Likewise.
29391 * sunrpc/svc_auth.c: Likewise.
29392 * sunrpc/svc_authux.c: Likewise.
29393 * sunrpc/svc_raw.c: Likewise.
29394 * sunrpc/svc_run.c: Likewise.
29395 * sunrpc/svc_simple.c: Likewise.
29396 * sunrpc/svc_tcp.c: Likewise.
29397 * sunrpc/svc_udp.c: Likewise.
29398 * sunrpc/svc_unix.c: Likewise.
29399 * sunrpc/svcauth_des.c: Likewise.
29400 * sunrpc/xcrypt.c: Likewise.
29401 * sunrpc/xdr.c: Likewise.
29402 * sunrpc/xdr_array.c: Likewise.
29403 * sunrpc/xdr_float.c: Likewise.
29404 * sunrpc/xdr_intXX_t.c: Likewise.
29405 * sunrpc/xdr_mem.c: Likewise.
29406 * sunrpc/xdr_rec.c: Likewise.
29407 * sunrpc/xdr_ref.c: Likewise.
29408 * sunrpc/xdr_sizeof.c: Likewise.
29409 * sunrpc/xdr_stdio.c: Likewise.
29410
294112011-04-10 Ulrich Drepper <drepper@gmail.com>
29412
29413 [BZ #12650]
29414 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29415 * sysdeps/ia64/dl-tls.h: Likewise.
29416 * sysdeps/powerpc/dl-tls.h: Likewise.
29417 * sysdeps/s390/dl-tls.h: Likewise.
29418 * sysdeps/sh/dl-tls.h: Likewise.
29419 * sysdeps/sparc/dl-tls.h: Likewise.
29420 * sysdeps/x86_64/dl-tls.h: Likewise.
29421 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29422
294232011-03-14 Andreas Schwab <schwab@redhat.com>
29424
29425 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29426 rpath element also skip the following colon.
29427 (expand_dynamic_string_token): Add is_path parameter and pass
29428 down to DL_DST_REQUIRED and _dl_dst_substitute.
29429 (decompose_rpath): Call expand_dynamic_string_token with
29430 non-zero is_path. Ignore empty rpaths.
29431 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29432 with zero is_path.
29433
294342011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29435
29436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29437 Make cancelable.
29438
294392011-04-09 Ulrich Drepper <drepper@gmail.com>
29440
29441 [BZ #12655]
29442 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29443 Patch by Filipe David Manana <fdmanana@apache.org>.
29444
294452011-04-07 Andreas Schwab <schwab@redhat.com>
29446
29447 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29448 Maintain aligned stack.
29449 (CHECK_RSP): Remove unused macro.
29450
294512011-04-03 Ulrich Drepper <drepper@gmail.com>
29452
29453 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29454 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29455
294562011-04-02 Ulrich Drepper <drepper@gmail.com>
29457
29458 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29459
29460 * include/features.h: Mention __USE_XOPEN2K8 in comment.
29461
294622011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29463
29464 [BZ #12518]
29465 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29466 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29467 * sysdeps/x86_64/memmove.c: New file.
29468 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29469 (memcpy): Renamed to ...
29470 (__new_memcpy): This.
29471 (memcpy): Provide GLIBC_2_14 memcpy.
29472 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29473 (memcpy): Provide GLIBC_2_2_5 memcpy.
29474
294752011-04-01 Ulrich Drepper <drepper@gmail.com>
29476
29477 [BZ #12631]
29478 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29479
294802011-03-30 Andreas Schwab <schwab@redhat.com>
29481
29482 * misc/syncfs.c: New file.
29483 * misc/Makefile (routines): Add syncfs.
29484 * posix/unistd.h: Declare syncfs.
29485 * sysdeps/unix/syscalls.list: Add syncfs.
29486
294872011-04-01 Andreas Schwab <schwab@redhat.com>
29488
29489 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29490 open_by_handle_at.
29491 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29492 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29493 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29494 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29495 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29496 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29497 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29498
294992011-04-01 Ulrich Drepper <drepper@gmail.com>
29500
29501 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29502 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29503 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29504 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29505 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29506 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29507 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29508
29509 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29510 sync_file_range.c with -fexceptions.
29511 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29512 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29513 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29514 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29515 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29516 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29517 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29518 sync_file_range as cancellation point
29519 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29520 now a wrapper around __call_sync_file_range with cancellation handling.
29521 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29522 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29523 function name to __call_sync_file_range.
29524 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29525 Add call_sync_file_range.
29526
295272011-04-01 Andreas Schwab <schwab@redhat.com>
29528
29529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29530 bits/timex.h.
29531
295322011-04-01 Ulrich Drepper <drepper@gmail.com>
29533
29534 * iconv/iconv.h: Fix typo in comment.
29535 * io/fcntl.h: Likewise.
29536 * libio/stdio.h: Likewise.
29537 * posix/spawn.h: Likewise.
29538 * posix/unistd.h: Likewise.
29539 * stdlib/stdlib.h: Likewise.
29540 * time/time.h: Likewise.
29541 * wcsmbs/wchar.h: Likewise.
29542
29543 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29544 open_by_handle): Add.
29545 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29546 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29547 Augment a few comments.
29548 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29552 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29553 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29554 open_by_handle.
29555
29556 * io/fcntl.h (AT_EMPTY_PATH): Define.
29557
295582011-03-30 Ulrich Drepper <drepper@gmail.com>
29559
29560 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29561 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29562 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29563 to...
29564 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
29565 * Versions.def: Add GLIBC_2.14.
29566 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29567 Export.
29568
295692011-03-22 Ulrich Drepper <drepper@gmail.com>
29570
29571 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29572 round counter.
29573 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29574
295752011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29576
29577 [BZ #12597]
29578 * string/test-strncmp.c (do_page_test): New function.
29579 (check2): Likewise.
29580 (test_main): Call check2.
29581 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29582
295832011-03-20 Ulrich Drepper <drepper@gmail.com>
29584
29585 [BZ #12587]
29586 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29587 Handle cache information in CPU leaf 4.
29588 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29589
295902011-03-18 Ulrich Drepper <drepper@gmail.com>
29591
29592 [BZ #12583]
29593 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29594 character representation.
29595 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29596
295972011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29598
29599 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29600 END(__isnan) to END(__isnanf) to match function entry point/label
29601 EALIGN(__isnanf,...).
29602
296032011-03-10 Jakub Jelinek <jakub@redhat.com>
29604
29605 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29606
296072011-03-10 Ulrich Drepper <drepper@gmail.com>
29608
29609 [BZ #12510]
29610 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29611 copy from the symbol referenced in the relocation to initialize the
29612 used variable.
29613 Patch by Piotr Bury <pbury@goahead.com>.
29614 * elf/Makefile: Add rules to build and tst-unique3.
29615 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29616 * elf/tst-unique3.cc: New file.
29617 * elf/tst-unique3.h: New file.
29618 * elf/tst-unique3lib.cc: New file.
29619 * elf/tst-unique3lib2.cc: New file.
29620
29621 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29622
296232011-03-10 Mike Frysinger <vapier@gentoo.org>
29624
29625 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29626 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29627 to _start.
29628
296292011-03-06 Ulrich Drepper <drepper@gmail.com>
29630
29631 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29632 to-be-loaded object along a path to loader is ld.so.
29633
296342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29635 Ulrich Drepper <drepper@gmail.com>
29636
29637 * sysdeps/x86_64/memset.S: After aligning destination, code
29638 branches to different locations depending on the value of
29639 misalignment, when multiarch is enabled. Fix this.
29640
296412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29642
29643 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29644 Set _x86_64_preferred_memory_instruction for AMD processsors.
29645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29646 Set bit_Prefer_SSE_for_memop for AMD processors.
29647
296482011-03-04 Ulrich Drepper <drepper@gmail.com>
29649
29650 * libio/fmemopen.c (fmemopen): Optimize a bit.
29651
296522011-03-03 Andreas Schwab <schwab@redhat.com>
29653
29654 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29655
296562011-03-03 Roland McGrath <roland@redhat.com>
29657
29658 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29659
296602011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29661
29662 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
29663 __bzero_ultra1 instead of __memset_ultra1.
29664
296652011-02-23 Andreas Schwab <schwab@redhat.com>
29666 Ulrich Drepper <drepper@gmail.com>
29667
29668 [BZ #12509]
29669 * include/link.h (struct link_map): Add l_orig_initfini.
29670 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29671 returning unsuccessfully.
29672 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29673 close of a file loaded at startup, restore the original l_initfini
29674 list.
29675 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29676 list, store the pointer.
29677 * elf/Makefile ($(objpfx)noload-mem): New rule.
29678 (noload-ENV): Define.
29679 (tests): Add $(objpfx)noload-mem.
29680 * elf/noload.c: Include <memcheck.h>.
29681 (main): Call mtrace. Close all opened handles.
29682
296832011-02-17 Andreas Schwab <schwab@redhat.com>
29684
29685 [BZ #12454]
29686 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29687 dependencies are missing.
29688
296892011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29690
29691 Fix __if_freereq crash: Unlike the generic version which uses free,
29692 Hurd needs munmap.
29693 * sysdeps/mach/hurd/ifreq.h: New file.
29694
296952011-01-27 Petr Baudis <pasky@suse.cz>
29696 Ulrich Drepper <drepper@gmail.com>
29697
29698 [BZ 12445]#
29699 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29700 to extend_alloca().
29701 * stdio-common/bug23.c: New file.
29702 * stdio-common/Makefile (tests): Add bug23.
29703
297042010-09-28 Andreas Schwab <schwab@redhat.com>
29705 Ulrich Drepper <drepper@gmail.com>
29706
29707 [BZ #12489]
29708 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29709 before performing relro protection. At old place add assertion
29710 to make sure nothing changed.
29711
297122011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29713 Glauber de Oliveira Costa <glommer@gmail.com>
29714
29715 * elf/elf.h: Add new ARM TLS relocs.
29716
297172011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29718
29719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29720 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29721 cast from r3.
29722 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29723 'tests' variable.
29724 * sysdeps/wordsize-64/tst-writev.c: New file.
29725
297262011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29727
29728 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29729 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29730 insns in _dl_start to prevent a TOC reference before relocs are
29731 resolved.
29732
297332011-02-15 Ulrich Drepper <drepper@gmail.com>
29734
29735 [BZ #12469]
29736 * Makeconfig: Remove RANLIB definition.
29737 * Makerules: Don't use RANLIB.
29738 * aclocal.m4: Remove ranlib test.
29739 * configure.in: No need to check for ranlib.
29740 * elf/rtld-Rules: Don't use RANLIB.
29741
297422011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29743
29744 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29745 protection macro.
29746 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29747 inclusion protection macro.
29748
29749 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29750 SIGRTMIN and SIGRTMAX and print information in that case only when
29751 SIGRTMIN is defined.
29752
297532011-02-11 Jakub Jelinek <jakub@redhat.com>
29754
29755 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29756 arginfo fn returning -1.
29757
29758 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29759 and thousands string is zero terminated.
29760
297612011-02-03 Andreas Schwab <schwab@redhat.com>
29762
29763 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29764 sysdeps/unix/sysv/linux/bits/socket.h.
29765
297662011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29767
29768 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29769 (__CPU_COUNT): Remove old macros.
29770 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29771 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29772 (__CPU_ALLOC, __CPU_FREE): Add macros.
29773 (__sched_cpualloc, __sched_cpufree): Add declarations.
29774
297752011-02-05 Ulrich Drepper <drepper@gmail.com>
29776
29777 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29778 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29779 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29780 (readdhstai): Return value of addhstaiX call.
29781 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29782 (addgrbyX): Return value returned by cache_addgr.
29783 (readdgrbyname): Return value returned by addgrbyX.
29784 (readdgrbygid): Likewise.
29785 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29786 (addpwbyX): Return value returned by cache_addpw.
29787 (readdpwbyname): Return value returned by addhstbyX.
29788 (readdpwbyuid): Likewise.
29789 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29790 (addservbyX): Return value returned by cache_addserv.
29791 (readdservbyname): Return value returned by addservbyX:
29792 (readdservbyport): Likewise.
29793 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29794 (addhstbyX): Return value returned by cache_addhst.
29795 (readdhstbyname): Return value returned by addhstbyX.
29796 (readdhstbyaddr): Likewise.
29797 (readdhstbynamev6): Likewise.
29798 (readdhstbyaddrv6): Likewise.
29799 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29800 (readdinitgroups): Return value returned by addinitgroupsX.
29801 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29802 (prune_cache): Keep track of timeout value of re-added entries.
29803 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29804 * nscd/nscd.h: Adjust prototypes of readd* functions.
29805
298062011-02-04 Roland McGrath <roland@redhat.com>
29807
29808 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29809 (nis_stats): Likewise.
29810 * nis/nis_modify.c (nis_modify): Likewise.
29811 * nis/nis_remove.c (nis_remove): Likewise.
29812 * nis/nis_add.c (nis_add): Likewise.
29813
29814 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29815
29816 * posix/fnmatch_loop.c: Add some consts.
29817
29818 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29819
298202011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29821
29822 [BZ #12460]
29823 * config.make.in (config-cflags-novzeroupper): Define.
29824 * configure.in: Substitute libc_cv_cc_novzeroupper.
29825 * elf/Makefile (AVX-CFLAGS): Define.
29826 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29827 (CFLAGS-tst-auditmod4a.c): Likewise.
29828 (CFLAGS-tst-auditmod4b.c): Likewise.
29829 (CFLAGS-tst-auditmod6b.c): Likewise.
29830 (CFLAGS-tst-auditmod6c.c): Likewise.
29831 (CFLAGS-tst-auditmod7b.c): Likewise.
29832 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29833
298342011-02-02 Ulrich Drepper <drepper@gmail.com>
29835
29836 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29837 function to the callback.
29838 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29839
298402011-02-02 Andreas Schwab <schwab@redhat.com>
29841
29842 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29843 of errno.
29844
298452011-01-19 Ulrich Drepper <drepper@gmail.com>
29846
29847 [BZ #11724]
29848 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29849 of constructors.
29850 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29851 of destructors.
29852 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29853
29854 [BZ #11724]
29855 * elf/Makefile: Add rules to build and run new test.
29856 * elf/tst-initorder.c: New file.
29857 * elf/tst-initorder.exp: New file.
29858 * elf/tst-initordera1.c: New file.
29859 * elf/tst-initordera2.c: New file.
29860 * elf/tst-initordera3.c: New file.
29861 * elf/tst-initordera4.c: New file.
29862 * elf/tst-initorderb1.c: New file.
29863 * elf/tst-initorderb2.c: New file.
29864 * elf/tst-order-a1.c: New file.
29865 * elf/tst-order-a2.c: New file.
29866 * elf/tst-order-a3.c: New file.
29867 * elf/tst-order-a4.c: New file.
29868 * elf/tst-order-b1.c: New file.
29869 * elf/tst-order-b2.c: New file.
29870 * elf/tst-order-main.c: New file.
29871 New test case by George Gensure <werkt0@gmail.com>.
29872
298732010-10-01 Andreas Schwab <schwab@redhat.com>
29874
29875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29876 decoding ACE if AI_CANONIDN.
29877
298782011-01-18 Ulrich Drepper <drepper@gmail.com>
29879
29880 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29881
298822011-01-17 Ulrich Drepper <drepper@gmail.com>
29883
29884 * version.h (RELEASE): Bump for 2.13 release.
29885 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29886
29887 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29888
29889 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29890 MADV_NOHUGEPAGE.
29891 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29892 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29893 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29894 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29895 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29896 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29897
29898 * posix/getconf.c: Update copyright year.
29899 * catgets/gencat.c: Likewise.
29900 * csu/version.c: Likewise.
29901 * debug/catchsegv.sh: Likewise.
29902 * debug/xtrace.sh: Likewise.
29903 * elf/ldconfig.c: Likewise.
29904 * elf/ldd.bash.in: Likewise.
29905 * elf/sprof.c (print_version): Likewise.
29906 * iconv/iconv_prog.c: Likewise.
29907 * iconv/iconvconfig.c: Likewise.
29908 * locale/programs/locale.c: Likewise.
29909 * locale/programs/localedef.c: Likewise.
29910 * malloc/memusage.sh: Likewise.
29911 * malloc/mtrace.pl: Likewise.
29912 * nscd/nscd.c (print_version): Likewise.
29913 * nss/getent.c: Likewise.
29914
29915 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29916 PF_CAIF, and PF_ALG.
29917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29918
299192011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29920
29921 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29922 (modules-names): Use them.
29923 (ifunc-test-modules, ifunc-pie-tests): Define.
29924 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29925 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29926 (test-extras): Likewise.
29927 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29928 $(compile-command.c).
29929 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29930 (all-built-dso): Define.
29931 (check-textrel.out, check-execstack.out): Depend on it.
29932
29933 * configure.in: Don't override --enable-multi-arch.
29934
299352011-01-15 Ulrich Drepper <drepper@gmail.com>
29936
29937 [BZ #6812]
29938 * nscd/hstcache.c (tryagain): Define.
29939 (cache_addhst): Return tryagain not notfound for temporary errors.
29940 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29941 failed.
29942
299432011-01-14 Ulrich Drepper <drepper@gmail.com>
29944
29945 [BZ #10563]
29946 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29947 to make the syscall.
29948 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29949
29950 [BZ #12378]
29951 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29952 and fall back to matching as normal character if the string ends before
29953 the matching ']' is found. This is what POSIX requires.
29954 * posix/testfnm.c: Adjust test result.
29955 * posix/globtest.sh: Adjust test result. Add new test.
29956 * posix/tst-fnmatch.input: Likewise.
29957 * posix/tst-fnmatch2.c: Add new test.
29958
299592010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29960
29961 * elf/Makefile (check-execstack): Revert last change. Depend on
29962 check-execstack.h.
29963 (check-execstack.h): New target.
29964 (generated): Add check-execstack.h.
29965 * elf/check-execstack.c: Include "check-execstack.h".
29966 (main): Revert last change.
29967 (handle_file): Return zero if GNU_STACK is absent and
29968 DEFAULT_STACK_PERMS doesn't include PF_X.
29969
299702011-01-13 Ulrich Drepper <drepper@gmail.com>
29971
29972 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29973 in child fails because the descriptor is already closed.
29974 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29975 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29976 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29977
29978 [BZ #12397]
29979 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29980 syscall.
29981
29982 [BZ #10484]
29983 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29984 temporary buffer used to handle multi lookups locally.
29985 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29986
299872011-01-12 Ulrich Drepper <drepper@gmail.com>
29988
29989 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29990 loader is ld.so.
29991
299922011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29993
29994 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29995 alignment for SSE2.
29996
299972011-01-12 Ulrich Drepper <drepper@gmail.com>
29998
29999 [BZ #12394]
30000 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30001 characters. When rounding increased number of integer digits recompute
30002 number of groups.
30003 * stdio-common/tst-grouping.c: New file.
30004 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30005
300062011-01-09 Ulrich Drepper <drepper@gmail.com>
30007
30008 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30009 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30010
30011 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30012 void.
30013 * bits/select.h: Likewise.
30014
300152011-01-08 Ulrich Drepper <drepper@gmail.com>
30016
30017 * po/ja.po: Update from translation team.
30018
300192011-01-04 David S. Miller <davem@sunset.davemloft.net>
30020
30021 [BZ #11155]
30022 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30023 implementation just like for lxstat, fxstatat, et al.
30024
300252010-12-27 Jim Meyering <meyering@redhat.com>
30026
30027 [BZ #12348]
30028 * posix/regexec.c (build_trtable): Return failure indication upon
30029 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30030
300312010-12-25 Ulrich Drepper <drepper@gmail.com>
30032
30033 [BZ #12201]
30034 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30035 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30036 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30037 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30038
30039 [BZ #12207]
30040 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30041
30042 [BZ #12204]
30043 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30044 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30045
300462010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30047
30048 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30049 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30050 script has SORT_BY_INIT_PRIORITY.
30051 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30052 NO_CTORS_DTORS_SECTIONS is defined.
30053 * elf/soinit.c: Likewise.
30054 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30055 NO_CTORS_DTORS_SECTIONS is defined.
30056 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30057 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30058 * sysdeps/sh/init-first.c: Likewise.
30059 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30060
300612010-12-24 Ulrich Drepper <drepper@gmail.com>
30062
30063 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30064 always use the slow path.
30065
300662010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30067
30068 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30069 similar rule which adds the sysdep directories to the header search in
30070 order to pick up the correct platform stackinfo.h.
30071 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30072 perform test if it is, otherwise return successfully without testing.
30073 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30074 DEFAULT_STACK_PERMS define in stackinfo.h.
30075 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30076 defined in stackinfo.h.
30077 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30078 DEFAULT_STACK_PERMS defined in stackinfo.h.
30079 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30080 * sysdeps/ia64/stackinfo.h: Likewise.
30081 * sysdeps/s390/stackinfo.h: Likewise.
30082 * sysdeps/sh/stackinfo.h: Likewise.
30083 * sysdeps/sparc/stackinfo.h: Likewise.
30084 * sysdeps/x86_64/stackinfo.h: Likewise.
30085 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30086 PF_X for powerpc64. Retain PF_X for powerpc32.
30087
300882010-12-19 Ulrich Drepper <drepper@gmail.com>
30089
30090 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30091 accurately.
30092 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30093 GETDENTS_64BIT_ALIGNED.
30094
300952010-12-14 Ulrich Drepper <dreper@gmail.com>
30096
30097 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30098
300992010-12-10 Andreas Schwab <schwab@redhat.com>
30100
30101 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30102 _GNU_SOURCE.
30103
30104 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30105 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30106 Remove __restrict.
30107 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30108 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30109
301102010-12-09 Ulrich Drepper <drepper@gmail.com>
30111
30112 [BZ #11655]
30113 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30114 are initialized.
30115
301162010-12-09 Jakub Jelinek <jakub@redhat.com>
30117
30118 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30119
301202010-12-03 Ulrich Drepper <drepper@gmail.com>
30121
30122 * po/it.po: Update from translation team.
30123
301242010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30125
30126 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30127 unused codes.
30128
301292010-11-30 Ulrich Drepper <drepper@gmail.com>
30130
30131 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30132
301332010-11-24 Andreas Schwab <schwab@redhat.com>
30134
30135 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30136 specially.
30137 (gaih_getanswer_slice): Likewise.
30138
301392010-10-20 Jakub Jelinek <jakub@redhat.com>
30140
30141 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30142
301432010-05-31 Petr Baudis <pasky@suse.cz>
30144
30145 [BZ #11149]
30146 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30147 silently even in the chroot mode.
30148
301492010-11-22 Ulrich Drepper <drepper@gmail.com>
30150
30151 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30152 last patch a bit. Pretty printing
30153
301542010-05-31 Petr Baudis <pasky@suse.cz>
30155
30156 [BZ #10085]
30157 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30158 initialization of skip_initgroups_dyn.
30159
301602010-11-19 Ulrich Drepper <drepper@gmail.com>
30161
30162 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30163 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30164
301652010-11-16 Ulrich Drepper <drepper@gmail.com>
30166
30167 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30168
301692010-11-11 Andreas Schwab <schwab@redhat.com>
30170
30171 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30172 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30173 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30174 ($(objpfx)tst-fnmatch-mem): New rule.
30175 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30176 * posix/tst-fnmatch.c (main): Call mtrace.
30177
301782010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30179
30180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30181 Support Intel processor model 6 and model 0x2c.
30182
301832010-11-10 Luis Machado <luisgpm@br.ibm.com>
30184
30185 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30186 signed comparison.
30187
301882010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30189
30190 [BZ #12205]
30191 * string/test-strncasecmp.c (check_result): New function.
30192 (do_one_test): Use it.
30193 (check1): New function.
30194 (test_main): Use it.
30195 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30196 Support strcasecmp and strncasecmp.
30197
301982010-11-08 Ulrich Drepper <drepper@gmail.com>
30199
30200 [BZ #12194]
30201 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30202 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30203
302042010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30205
30206 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30207 IFUNC support.
30208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30209 memset-x86-64.
30210 * sysdeps/x86_64/multiarch/bzero.S: New file.
30211 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30212 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30213 * sysdeps/x86_64/multiarch/memset.S: New file.
30214 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30216 Set bit_Prefer_SSE_for_memop for Intel processors.
30217 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30218 Define.
30219 (index_Prefer_SSE_for_memop): Define.
30220 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30221
302222010-11-04 Luis Machado <luisgpm@br.ibm.com>
30223
30224 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30225 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30226
302272010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30228
30229 [BZ #12191]
30230 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30231 (__x86_64_raw_data_cache_size_half): Likewise.
30232 (__x86_64_raw_shared_cache_size): Likewise.
30233 (__x86_64_raw_shared_cache_size_half): Likewise.
30234
30235 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30236 (__x86_64_raw_data_cache_size_half): Likewise.
30237 (__x86_64_raw_shared_cache_size): Likewise.
30238 (__x86_64_raw_shared_cache_size_half): Likewise.
30239 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30240 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30241 and __x86_64_raw_shared_cache_size_half. Round
30242 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30243 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30244 to multiple of 256 bytes.
30245
302462010-11-03 Ulrich Drepper <drepper@gmail.com>
30247
30248 [BZ #12167]
30249 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30250 of inacessible symlinks. Verify result of symlink before returning it.
30251 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30252 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30253
302542010-10-28 Erich Ritz <erichritz@gmail.com>
30255
30256 * math/math.h (isinf): Fix typo in comment.
30257
302582010-11-01 Ulrich Drepper <drepper@gmail.com>
30259
30260 * po/da.po: Update from translation team.
30261
302622010-10-26 Ulrich Drepper <drepper@gmail.com>
30263
30264 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30265 is added to the list.
30266
302672010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30268 Ulrich Drepper <drepper@gmail.com>
30269
30270 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30271 the global list here. Move code to...
30272 (_dl_add_to_namespace_list): ...here. New function.
30273 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30274 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30275 * elf/dl-load.c (lose): Don't remove the element from the list.
30276 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30277 (_dl_map_object): Likewise.
30278
302792010-10-25 Ulrich Drepper <drepper@gmail.com>
30280
30281 [BZ #12159]
30282 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30283 into all bytes of SSE register.
30284 Patch by Richard Li <richardpku@gmail.com>.
30285
302862010-10-24 Ulrich Drepper <drepper@gmail.com>
30287
30288 [BZ #12140]
30289 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30290 perturbing.
30291
302922010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30293
30294 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30295 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30296 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30297 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30299 submachine.
30300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30301
303022010-10-22 Andreas Schwab <schwab@redhat.com>
30303
30304 * include/dlfcn.h (__RTLD_SECURE): Define.
30305 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30306 mode & __RTLD_SECURE instead.
30307 (open_path): Rename preloaded parameter to secure.
30308 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30309 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30310 * elf/dl-deps.c (openaux): Likewise.
30311 * elf/rtld.c (struct map_args): Remove is_preloaded.
30312 (map_doit): Don't use it.
30313 (dl_main): Likewise.
30314 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30315 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30316
303172010-09-09 Andreas Schwab <schwab@redhat.com>
30318
30319 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30320 (sysd-rules-targets): Remove duplicates.
30321 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30322 rtld-%.$o dependency.
30323
303242010-10-18 Andreas Schwab <schwab@redhat.com>
30325
30326 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30327 _dl_map_object do it.
30328
303292010-10-19 Ulrich Drepper <drepper@gmail.com>
30330
30331 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30332 fast fma builtins, define the macros in the C99 standard.
30333 (FP_FAST_FMAF): Likewise.
30334 (FP_FAST_FMAL): Likewise.
30335 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30336
30337 * bits/mathdef.h: Update copyright year.
30338 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30339
303402010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30341
30342 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30343 builtins, define the macros in the C99 standard.
30344 (FP_FAST_FMAF): Likewise.
30345 (FP_FAST_FMAL): Likewise.
30346 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30347 multiply/add.
30348 (FP_FAST_FMAF): Likewise.
30349
303502010-10-15 Jakub Jelinek <jakub@redhat.com>
30351
30352 [BZ #3268]
30353 * math/libm-test.inc (fma_test): Some new testcases.
30354 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30355 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30356 y and infinite z. Do multiplication by C already in long double.
30357 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30359 y and infinite z. Do bitwise or of inexact bit into u.d.
30360 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30361 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30362 * sysdeps/i386/fpu/s_fma.S: Removed.
30363 * sysdeps/i386/fpu/s_fmal.S: Removed.
30364
303652010-10-16 Jakub Jelinek <jakub@redhat.com>
30366
30367 [BZ #3268]
30368 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30369 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30370 computation is not scheduled after fetestexcept. Fix value
30371 of minimum denormal long double.
30372
303732010-10-14 Jakub Jelinek <jakub@redhat.com>
30374
30375 [BZ #3268]
30376 * math/libm-test.inc (fma_test): Add some more tests.
30377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30378 correctly.
30379
303802010-10-15 Andreas Schwab <schwab@redhat.com>
30381
30382 * scripts/data/localplt-s390-linux-gnu.data: New file.
30383 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30384
303852010-10-13 Jakub Jelinek <jakub@redhat.com>
30386
30387 [BZ #3268]
30388 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30389 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30390 instead of dbl-64.
30391 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30392 inlines.
30393 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30395 if one of x and y is very large and the other is subnormal.
30396 * sysdeps/s390/fpu/s_fmaf.c: New file.
30397 * sysdeps/s390/fpu/s_fma.c: New file.
30398 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30399 * sysdeps/powerpc/fpu/s_fma.S: New file.
30400 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30401 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30402 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30403
304042010-10-12 Jakub Jelinek <jakub@redhat.com>
30405
30406 [BZ #3268]
30407 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30408 fma tests.
30409 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30410 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30411 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30412 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30413 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30414 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30415 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30416
304172010-10-12 Ulrich Drepper <drepper@redhat.com>
30418
30419 [BZ #12078]
30420 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30421 * posix/bug-regex31.input: Add test case.
30422
304232010-10-11 Ulrich Drepper <drepper@gmail.com>
30424
30425 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30426 * posix/bug-regex31.input: New file.
30427
30428 [BZ #12078]
30429 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30430 (parse_sub_exp): Fix last change, use postorder.
30431
30432 * posix/bug-regex31.c: New file.
30433 * posix/Makefile: Add rules to build and run bug-regex31.
30434
30435 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30436
30437 [BZ #12078]
30438 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30439
30440 [BZ #12108]
30441 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30442 to have entries in sys_siglist.
30443
30444 [BZ #12093]
30445 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30446 be NULL.
30447
304482010-10-07 Jakub Jelinek <jakub@redhat.com>
30449
30450 [BZ #3268]
30451 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30452 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30453 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30454 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30455 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30456 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30457 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30458 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30459 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30460 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30461 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30462 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30463 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30464 * math/ftestexcept.c (fetestexcept): Likewise.
30465 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30466 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30467 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30468 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30469 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30470 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30471 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30472
304732010-10-11 Ulrich Drepper <drepper@gmail.com>
30474
30475 [BZ #12107]
30476 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30477 newline.
30478
304792010-10-06 Ulrich Drepper <drepper@gmail.com>
30480
30481 * string/bug-strstr1.c: New file.
30482 * string/Makefile: Add rules to build and run bug-strstr1.
30483
304842010-10-05 Eric Blake <eblake@redhat.com>
30485
30486 [BZ #12092]
30487 * string/str-two-way.h (two_way_long_needle): Always clear memory
30488 when skipping input due to the shift table.
30489
304902010-10-03 Ulrich Drepper <drepper@gmail.com>
30491
30492 [BZ #12005]
30493 * malloc/mcheck.c: Handle large requests.
30494
30495 [BZ #12077]
30496 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30497 for strncmp and strncasecmp.
30498 * string/stratcliff.c: Add tests for strcmp and strncmp.
30499 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30500
305012010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30502
30503 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30504 __set_fpscr.
30505
305062010-09-30 Andreas Jaeger <aj@suse.de>
30507
30508 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30509 (CGROUP_SUPER_MAGIC): Define.
30510 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30511 Handle btrfs and cgroup file systems.
30512 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30513 Likewise.
30514
305152010-09-27 Luis Machado <luisgpm@br.ibm.com>
30516
30517 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30518 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30519
305202010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30521
30522 [BZ #12067]
30523 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30524 trying to locate the ELF header.
30525
305262010-09-27 Andreas Schwab <schwab@redhat.com>
30527
30528 [BZ #11611]
30529 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30530 Mask out sign-bit copies when constructing f_fsid.
30531
305322010-09-24 Petr Baudis <pasky@suse.cz>
30533
30534 * debug/stack_chk_fail_local.c: Add missing licence exception.
30535 * debug/warning-nop.c: Likewise.
30536
305372010-09-15 Joseph Myers <joseph@codesourcery.com>
30538
30539 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30540 implementing getdents64 using getdents syscall, set d_type if
30541 __ASSUME_GETDENTS32_D_TYPE.
30542
305432010-09-16 Andreas Schwab <schwab@redhat.com>
30544
30545 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30546 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30547
305482010-09-21 Ulrich Drepper <drepper@redhat.com>
30549
30550 [BZ #12037]
30551 * posix/unistd.h: Undo change of feature selection for ftruncate from
30552 2010-01-11.
30553
305542010-09-20 Ulrich Drepper <drepper@redhat.com>
30555
30556 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30557 detection.
30558
305592010-09-20 Andreas Schwab <schwab@redhat.com>
30560
30561 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30562 fanotify_mark.
30563 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30564
305652010-09-14 Andreas Schwab <schwab@redhat.com>
30566
30567 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30568 variables after CHECK_SP call.
30569 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30570
305712010-09-13 Andreas Schwab <schwab@redhat.com>
30572 Ulrich Drepper <drepper@redhat.com>
30573
30574 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30575 re-relocationg ld.so.
30576 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30577 _dl_init_paths call.
30578 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30579 here anymore.
30580
305812010-09-14 Ulrich Drepper <drepper@redhat.com>
30582
30583 * resolv/res_init.c (__res_vinit): Count the default server we added.
30584
305852010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30586 Ulrich Drepper <drepper@redhat.com>
30587
30588 [BZ #11968]
30589 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30590 (____longjmp_chk): Use %ebx for saving value across system call.
30591 Add unwind info.
30592
305932010-09-06 Andreas Schwab <schwab@redhat.com>
30594
30595 * manual/Makefile: Don't mix pattern rules with normal rules.
30596
305972010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30598
30599 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30600 operation.
30601 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30602 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30603 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30604 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30605 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30606 Likewise.
30607
306082010-09-04 Ulrich Drepper <drepper@redhat.com>
30609
30610 [BZ #11979]
30611 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30612 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30613
306142010-09-02 Ulrich Drepper <drepper@redhat.com>
30615
30616 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30617 * sysdeps/x86_64/addmul_1.S: Likewise.
30618 * sysdeps/x86_64/lshift.S: Likewise.
30619 * sysdeps/x86_64/mul_1.S: Likewise.
30620 * sysdeps/x86_64/rshift.S: Likewise.
30621 * sysdeps/x86_64/sub_n.S: Likewise.
30622 * sysdeps/x86_64/submul_1.S: Likewise.
30623
306242010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30625
30626 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30627 Define __sched_param instead of SCHED_* and sched_param when
30628 <bits/sched.h> is included with __need_schedparam defined.
30629 * bits/sched.h [__need_schedparam]
30630 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30631 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30632 (__defined_schedparam): Define to 1.
30633 (__sched_param): New structure, identical to sched_param.
30634 (__need_schedparam): Undefine.
30635
306362010-08-31 Mike Frysinger <vapier@gentoo.org>
30637
30638 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30639 (epoll_create1): Declare.
30640
30641 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30642
306432010-08-31 Andreas Schwab <schwab@redhat.com>
30644
30645 [BZ #7066]
30646 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30647 shifting retval into place.
30648
306492010-09-01 Ulrich Drepper <drepper@redhat.com>
30650
30651 * nis/rpcsvc/nis.h: Update copyright notice.
30652 * nis/rpcsvc/nis.x: Likewise.
30653 * nis/rpcsvc/nis_callback.h: Likewise.
30654 * nis/rpcsvc/nis_callback.x: Likewise.
30655 * nis/rpcsvc/nis_object.x: Likewise.
30656 * nis/rpcsvc/nis_tags.h: Likewise.
30657 * nis/rpcsvc/yp.h: Likewise.
30658 * nis/rpcsvc/yp.x: Likewise.
30659 * nis/rpcsvc/ypupd.h: Likewise.
30660 * nis/yp_xdr.c: Likewise.
30661 * nis/ypupdate_xdr.c: Likewise.
30662
30663 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30664 mainly the body of pmap_getport. Add parameters to specify timeouts.
30665 (pmap_getport): Use __libc_rpc_getport.
30666 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30667 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30668 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30669
306702010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30671
30672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30673 fanotify_mark.
30674
306752010-08-27 Roland McGrath <roland@redhat.com>
30676
30677 * sysdeps/i386/i686/multiarch/Makefile
30678 (CFLAGS-varshift.c): New variable.
30679
306802010-08-27 Ulrich Drepper <drepper@redhat.com>
30681
30682 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30683 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30684
30685 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30686
30687 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30688
306892010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30690
30691 * sysdeps/x86_64/strlen.S: Unroll the loop.
30692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30693 strlen-sse2 strlen-sse2-bsf.
30694 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30695 __strlen_no_bsf if bit_Slow_BSF is set.
30696 (__strlen_sse42): Removed.
30697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30698 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30699
307002010-08-25 Roland McGrath <roland@redhat.com>
30701
30702 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30703 * sysdeps/x86_64/multiarch/varshift.c: New file.
30704 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30705 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30706 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30707 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30708
307092010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30710
30711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30712 strlen-sse2 strlen-sse2-bsf.
30713 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30714 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30715 (__strlen_sse2): Removed.
30716 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30717 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30719 bit_Slow_BSF for Atom.
30720 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30721 (index_Slow_BSF): Define.
30722 (HAS_SLOW_BSF): Define.
30723
307242010-08-25 Ulrich Drepper <drepper@redhat.com>
30725
30726 [BZ #10851]
30727 * resolv/res_init.c (__res_vinit): When no server address at all
30728 is given default to loopback.
30729
307302010-08-24 Roland McGrath <roland@redhat.com>
30731
30732 * configure.in: Remove config-name.h generation.
30733 * configure: Regenerated.
30734 * config-name.in: File removed.
30735 * scripts/config-uname.sh: New file.
30736 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30737 ($(objdir)config-name.h): New target.
30738
30739 * sunrpc/rpc_parse.h: Avoid nested comment.
30740
307412010-08-24 Richard Henderson <rth@redhat.com>
30742 Ulrich Drepper <drepper@redhat.com>
30743 H.J. Lu <hongjiu.lu@intel.com>
30744
30745 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30746 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30747 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30748 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30749 _mm_alignr_epi8 with _mm_loadu_si128.
30750 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30751 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30752 (__m128i_shift_right): Removed.
30753 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30754 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30755 * sysdeps/x86_64/multiarch/varshift.h: New file.
30756 * sysdeps/x86_64/multiarch/varshift.S: New file.
30757
307582010-08-21 Mike Frysinger <vapier@gentoo.org>
30759
30760 * configure.in: Move assembler checks to before sysdep dir checking.
30761
307622010-08-20 Petr Baudis <pasky@suse.cz>
30763
30764 * LICENSES: Sync the sunrpc license.
30765
307662010-08-19 Ulrich Drepper <drepper@redhat.com>
30767
30768 * sunrpc/auth_des.c: Update copyright notice once again.
30769 * sunrpc/auth_none.c: Likewise.
30770 * sunrpc/auth_unix.c: Likewise.
30771 * sunrpc/authdes_prot.c: Likewise.
30772 * sunrpc/authuxprot.c: Likewise.
30773 * sunrpc/bindrsvprt.c: Likewise.
30774 * sunrpc/clnt_gen.c: Likewise.
30775 * sunrpc/clnt_perr.c: Likewise.
30776 * sunrpc/clnt_raw.c: Likewise.
30777 * sunrpc/clnt_simp.c: Likewise.
30778 * sunrpc/clnt_tcp.c: Likewise.
30779 * sunrpc/clnt_udp.c: Likewise.
30780 * sunrpc/clnt_unix.c: Likewise.
30781 * sunrpc/des_crypt.c: Likewise.
30782 * sunrpc/des_soft.c: Likewise.
30783 * sunrpc/get_myaddr.c: Likewise.
30784 * sunrpc/getrpcport.c: Likewise.
30785 * sunrpc/key_call.c: Likewise.
30786 * sunrpc/key_prot.c: Likewise.
30787 * sunrpc/openchild.c: Likewise.
30788 * sunrpc/pm_getmaps.c: Likewise.
30789 * sunrpc/pm_getport.c: Likewise.
30790 * sunrpc/pmap_clnt.c: Likewise.
30791 * sunrpc/pmap_prot.c: Likewise.
30792 * sunrpc/pmap_prot2.c: Likewise.
30793 * sunrpc/pmap_rmt.c: Likewise.
30794 * sunrpc/rpc/auth.h: Likewise.
30795 * sunrpc/rpc/auth_unix.h: Likewise.
30796 * sunrpc/rpc/clnt.h: Likewise.
30797 * sunrpc/rpc/des_crypt.h: Likewise.
30798 * sunrpc/rpc/key_prot.h: Likewise.
30799 * sunrpc/rpc/netdb.h: Likewise.
30800 * sunrpc/rpc/pmap_clnt.h: Likewise.
30801 * sunrpc/rpc/pmap_prot.h: Likewise.
30802 * sunrpc/rpc/pmap_rmt.h: Likewise.
30803 * sunrpc/rpc/rpc.h: Likewise.
30804 * sunrpc/rpc/rpc_des.h: Likewise.
30805 * sunrpc/rpc/rpc_msg.h: Likewise.
30806 * sunrpc/rpc/svc.h: Likewise.
30807 * sunrpc/rpc/svc_auth.h: Likewise.
30808 * sunrpc/rpc/types.h: Likewise.
30809 * sunrpc/rpc/xdr.h: Likewise.
30810 * sunrpc/rpc_clntout.c: Likewise.
30811 * sunrpc/rpc_cmsg.c: Likewise.
30812 * sunrpc/rpc_common.c: Likewise.
30813 * sunrpc/rpc_cout.c: Likewise.
30814 * sunrpc/rpc_dtable.c: Likewise.
30815 * sunrpc/rpc_hout.c: Likewise.
30816 * sunrpc/rpc_main.c: Likewise.
30817 * sunrpc/rpc_parse.c: Likewise.
30818 * sunrpc/rpc_parse.h: Likewise.
30819 * sunrpc/rpc_prot.c: Likewise.
30820 * sunrpc/rpc_sample.c: Likewise.
30821 * sunrpc/rpc_scan.c: Likewise.
30822 * sunrpc/rpc_scan.h: Likewise.
30823 * sunrpc/rpc_svcout.c: Likewise.
30824 * sunrpc/rpc_tblout.c: Likewise.
30825 * sunrpc/rpc_util.c: Likewise.
30826 * sunrpc/rpc_util.h: Likewise.
30827 * sunrpc/rpcinfo.c: Likewise.
30828 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30829 * sunrpc/rpcsvc/key_prot.x: Likewise.
30830 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30831 * sunrpc/rpcsvc/mount.x: Likewise.
30832 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30833 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30834 * sunrpc/rpcsvc/rex.x: Likewise.
30835 * sunrpc/rpcsvc/rstat.x: Likewise.
30836 * sunrpc/rpcsvc/rusers.x: Likewise.
30837 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30838 * sunrpc/rpcsvc/spray.x: Likewise.
30839 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30840 * sunrpc/rtime.c: Likewise.
30841 * sunrpc/svc.c: Likewise.
30842 * sunrpc/svc_auth.c: Likewise.
30843 * sunrpc/svc_authux.c: Likewise.
30844 * sunrpc/svc_raw.c: Likewise.
30845 * sunrpc/svc_run.c: Likewise.
30846 * sunrpc/svc_simple.c: Likewise.
30847 * sunrpc/svc_tcp.c: Likewise.
30848 * sunrpc/svc_udp.c: Likewise.
30849 * sunrpc/svc_unix.c: Likewise.
30850 * sunrpc/svcauth_des.c: Likewise.
30851 * sunrpc/xcrypt.c: Likewise.
30852 * sunrpc/xdr.c: Likewise.
30853 * sunrpc/xdr_array.c: Likewise.
30854 * sunrpc/xdr_float.c: Likewise.
30855 * sunrpc/xdr_mem.c: Likewise.
30856 * sunrpc/xdr_rec.c: Likewise.
30857 * sunrpc/xdr_ref.c: Likewise.
30858 * sunrpc/xdr_sizeof.c: Likewise.
30859 * sunrpc/xdr_stdio.c: Likewise.
30860
30861 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30862 handling.
30863
308642010-08-19 Andreas Schwab <schwab@redhat.com>
30865
30866 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30867
308682010-08-19 Luis Machado <luisgpm@br.ibm.com>
30869
30870 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30871 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30872 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30873 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30874 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30875 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30876 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30877 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30878 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30879 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30880 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30881 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30882 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30883 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30884
308852010-07-26 Anton Blanchard <anton@samba.org>
30886
30887 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30888 * malloc/arena.c (heap_trim): Likewise.
30889
308902010-08-16 Ulrich Drepper <drepper@redhat.com>
30891
30892 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30893 here. Not...
30894 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30895 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30896
308972010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30898
30899 * sysdeps/i386/elf/Makefile: New file.
30900
309012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30902
30903 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30904 from fanotify_init.
30905 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30906 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30907
309082010-08-15 Ulrich Drepper <drepper@redhat.com>
30909
30910 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30911 of strncasecmp_l.
30912 * sysdeps/multiarch/strcmp.S: Likewise.
30913
309142010-08-14 Ulrich Drepper <drepper@redhat.com>
30915
30916 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30917 strncase_l-nonascii.
30918 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30919 Add strncase_l-ssse3.
30920 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30921 * sysdeps/x86_64/strcmp.S: Likewise.
30922 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30923 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30924 * sysdeps/x86_64/strncase.S: New file.
30925 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30926 * sysdeps/x86_64/strncase_l.S: New file.
30927 * string/Makefile (strop-tests): Add strncasecmp.
30928 * string/test-strncasecmp.c: New file.
30929
30930 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30931 warning.
30932
30933 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30934 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30935
309362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30937
30938 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30939
309402010-08-12 Ulrich Drepper <drepper@redhat.com>
30941
30942 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30943 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30944 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30945
309462010-05-01 Alan Modra <amodra@gmail.com>
30947
30948 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30949 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30950 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30951 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30952 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30953 tidying. Don't tail-call __sigjmp_save for static lib.
30954 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30955 save location.
30956 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30957 (CALL_MCOUNT): Add eh info, and nop after bl.
30958 (TAIL_CALL_SYSCALL_ERROR): New macro.
30959 (PSEUDO_RET): Use it.
30960 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30961 Correct save location of integer regs and cr.
30962 (_dl_profile_resolve): Correct cr save location. Delete nops
30963 after bl when SHARED. Reduce cfi size a little by better
30964 placement of cfi directives.
30965 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30966 make a stack frame. Instead use parm save area as a temp.
30967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30968 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30970 Don't make a stack frame for parent, use parm save area.
30971 Increase child stack frame to 112 bytes. Don't save unused reg,
30972 and adjust reg usage. Set up cfi on error recovery and
30973 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30975 (__makecontext): Add dummy nop after jump to exit.
30976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30977 Use correct parm save area and cr save, reduce stack frame.
30978 Correct cfi for possible PSEUDO_RET frame setup.
30979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30980 Branch to local label emitted by PSEUDO_RET rather than
30981 __syscall_error.
30982
309832010-08-12 Andreas Schwab <schwab@redhat.com>
30984
30985 [BZ #11904]
30986 * locale/programs/locale.c (print_assignment): New function.
30987 (show_locale_vars): Use it.
30988
309892010-08-11 Ulrich Drepper <drepper@redhat.com>
30990
30991 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30992 field.
30993 (struct statfs64): Likewise.
30994 (_STATFS_F_FLAGS): Define.
30995 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30996 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30997 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30998 (ST_VALID): Define locally.
30999 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31000 __statvfs_getflags, use the provided value.
31001 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31002 __ASSUME_STATFS_F_FLAGS.
31003
31004 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31005
31006 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31007 Add sys/fanotify.h.
31008 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31009 fanotify_mask for GLIBC_2.13.
31010 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31011 fanotify_init and fanotify_mark.
31012 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31013 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31014
31015 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31016 Add prlimit.
31017 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31018 prlimit64 for GLIBC_2.13.
31019 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31020 prlimit64.
31021 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31022 syscall.
31023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31024 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31025 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31026 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31028 add prlimit alias.
31029 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31030
31031 [BZ #11903]
31032 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31033 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31034
31035 * nss/Makefile: Add rules to build and run tst-nss-test1.
31036 * shlib-versions: Add entry for libnss_test1.
31037 * nss/nss_test1.c: New file.
31038 * nss/tst-nss-test1.c: New file.
31039
31040 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31041 (__nss_configure_lookup): Set appropriate entry in
31042 __nss_configure_lookup to true.
31043 * nss/nsswitch.h: Define enum with indeces of databases in
31044 databases and __nss_database_custom arrays. Declare
31045 __nss_database_custom.
31046 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31047 to avoid using nscd when custom rules are installed.
31048 * nss/getXXbyYY_r.c: Likewise.
31049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31050
31051 * nss/nss_files/files-parse.c: Whitespace fixes.
31052
310532010-08-09 Ulrich Drepper <drepper@redhat.com>
31054
31055 [BZ #11883]
31056 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31057 * posix/fnmatch_loop.c: Likewise.
31058
310592010-07-17 Andi Kleen <ak@linux.intel.com>
31060
31061 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31062 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31063 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31064 * Versions.def [GLIBC_2.13]: Add.
31065
310662010-08-06 Ulrich Drepper <drepper@redhat.com>
31067
31068 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31069 Also fail if tpwd after pwuid call is NULL.
31070
310712010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31072
31073 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31074 when converting to ms.
31075
310762010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31077
31078 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31079 EOPNOTSUPP errors with ENOTTY.
31080 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31081 EOPNOTSUPP errors with ENOTTY.
31082
310832010-07-31 Ulrich Drepper <drepper@redhat.com>
31084
31085 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31086 Add strcasecmp_l-ssse3.
31087 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31088 strcasecmp.
31089 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31090 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31091 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31092
310932010-07-30 Ulrich Drepper <drepper@redhat.com>
31094
31095 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31096
31097 * string/Makefile (strop-tests): Add strcasecmp.
31098 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31099 strcasecmp_l-nonascii.
31100 (gen-as-const-headers): Add locale-defines.sym.
31101 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31102 * sysdeps/x86_64/strcasecmp.S: New file.
31103 * sysdeps/x86_64/strcasecmp_l.S: New file.
31104 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31105 * sysdeps/x86_64/locale-defines.sym: New file.
31106 * string/test-strcasecmp.c: New file.
31107
31108 * string/test-strcasestr.c: Test both ends of the range of characters.
31109 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31110
311112010-07-29 Roland McGrath <roland@redhat.com>
31112
31113 [BZ #11856]
31114 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31115
311162010-07-27 Ulrich Drepper <drepper@redhat.com>
31117
31118 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31119 for ld.so.
31120
311212010-07-27 Andreas Schwab <schwab@redhat.com>
31122
31123 * manual/memory.texi (Malloc Tunable Parameters): Document
31124 M_PERTURB.
31125
311262010-07-26 Roland McGrath <roland@redhat.com>
31127
31128 [BZ #11840]
31129 * configure.in (-fgnu89-inline check): Set and substitute
31130 gnu89_inline, not libc_cv_gnu89_inline.
31131 * configure: Regenerated.
31132 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31133
311342010-07-26 Ulrich Drepper <drepper@redhat.com>
31135
31136 * string/test-strnlen.c: New file.
31137 * string/Makefile (strop-tests): Add strnlen.
31138 * string/tester.c (test_strnlen): Add a few more test cases.
31139 * string/tst-strlen.c: Better error reporting.
31140
31141 * sysdeps/x86_64/strnlen.S: New file.
31142
311432010-07-24 Ulrich Drepper <drepper@redhat.com>
31144
31145 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31146 lower-latency instructions.
31147
311482010-07-23 Ulrich Drepper <drepper@redhat.com>
31149
31150 * string/test-strcasestr.c: New file.
31151 * string/test-strstr.c: New file.
31152 * string/Makefile (strop-tests): Add strstr and strcasestr.
31153 * string/str-two-way.h: Don't undefine MAX.
31154 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31155
311562010-07-21 Andreas Schwab <schwab@redhat.com>
31157
31158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31159 strcasestr-nonascii.
31160 (CFLAGS-strcasestr-nonascii.c): Define.
31161 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31162 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31163 Remove unused attribute.
31164
311652010-07-20 Roland McGrath <roland@redhat.com>
31166
31167 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31168 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31169 ld.so.cache was broken. With it, there is no way to disable dsocaps
31170 like LD_HWCAP_MASK can disable hwcaps.
31171
311722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31173
31174 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31175
311762010-07-16 Ulrich Drepper <drepper@redhat.com>
31177
31178 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31179 call in strcasestr.
31180 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31181 __strcasestr_sse42_nonascii.
31182 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31183 strcasestr-nonascii.c.
31184 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31185
311862010-06-15 Luis Machado <luisgpm@br.ibm.com>
31187
31188 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31189 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31190 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31191 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31192
311932010-07-09 Ulrich Drepper <drepper@redhat.com>
31194
31195 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31196 fcntl.
31197
311982010-07-06 Andreas Schwab <schwab@redhat.com>
31199
31200 [BZ #11577]
31201 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31202 dl_signal_cerror.
31203
312042010-07-06 Ulrich Drepper <drepper@redhat.com>
31205
31206 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31207 _PC_PIPE_BUF using F_GETPIPE_SZ.
31208
312092010-07-05 Roland McGrath <roland@redhat.com>
31210
31211 * manual/arith.texi (Rounding Functions): Fix rint description
31212 implicit in round description.
31213
312142010-07-02 Ulrich Drepper <drepper@redhat.com>
31215
31216 * elf/Makefile: Fix linking for a few tests to make recent linker
31217 happy.
31218
312192010-06-30 Andreas Schwab <schwab@redhat.com>
31220
31221 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31222 $(common-objpfx)libc_nonshared.a.
31223
312242010-06-21 Luis Machado <luisgpm@br.ibm.com>
31225
31226 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31227 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31228 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31229 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31230 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31231 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31232 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31233 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31248 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31249 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31250 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31251 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31252 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31253 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31254 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31255 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31256 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31257 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31258 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31259 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31274
312752010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31276
31277 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31278 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31279 * string/memmove.c (memmove): Renamed to ...
31280 (MEMMOVE): ...this. Default to memmove.
31281 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31282 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31283 (END_CHK): Define.
31284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31285 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31286 mempcpy-ssse3-back memmove-ssse3-back.
31287 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31288 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31289 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31290 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31291 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31292 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31293 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31294 * sysdeps/x86_64/multiarch/memmove.c: New file.
31295 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31296 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31297 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31298 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31299 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31300 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31301 Define.
31302 (index_Fast_Copy_Backward): Define.
31303 (HAS_ARCH_FEATURE): Define.
31304 (HAS_FAST_REP_STRING): Define.
31305 (HAS_FAST_COPY_BACKWARD): Define.
31306
313072010-06-21 Andreas Schwab <schwab@redhat.com>
31308
31309 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31310 Restore proper fallback handling.
31311
313122010-06-19 Ulrich Drepper <drepper@redhat.com>
31313
31314 [BZ #11701]
31315 * posix/group_member.c (__group_member): Correct checking loop.
31316
31317 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31318 OOM in getpwuid_r correctly. Return error number when the caller
31319 should return, otherwise -1.
31320 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31321 call returning > 0 value.
31322 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31323
313242010-06-07 Andreas Schwab <schwab@redhat.com>
31325
31326 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31327 libc_nonshared.a from targets in modules-names.
31328
313292010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31330
31331 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31332 requires it.
31333
313342010-06-10 Luis Machado <luisgpm@br.ibm.com>
31335
31336 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31337 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31338 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31339 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31340
313412010-06-02 Andreas Schwab <schwab@redhat.com>
31342
31343 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31344
313452010-06-14 Ulrich Drepper <drepper@redhat.com>
31346
31347 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31348 and F_GETPIPE_SZ.
31349 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31351 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31353 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31354 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31355
313562010-06-14 Roland McGrath <roland@redhat.com>
31357
31358 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31359
313602010-06-07 Jakub Jelinek <jakub@redhat.com>
31361
31362 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31363 __REDIRECT followed by __THROW.
31364 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31365 * posix/getopt.h (getopt): Likewise.
31366
313672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31368
31369 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31370 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31371 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31372 in AT_FLAGS.
31373 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31374 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31375
313762010-05-28 Luis Machado <luisgpm@br.ibm.com>
31377
31378 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31379
313802010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31381
31382 [BZ #11640]
31383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31384 Properly check family and model.
31385
313862010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31387
31388 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31389
313902010-05-24 Luis Machado <luisgpm@br.ibm.com>
31391
31392 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31393
313942010-05-21 Ulrich Drepper <drepper@redhat.com>
31395
31396 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31397 symbol reference.
31398
313992010-05-19 Andreas Schwab <schwab@redhat.com>
31400
31401 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31402 symbol reference.
31403
314042010-05-21 Andreas Schwab <schwab@redhat.com>
31405
31406 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31407 and internal_recvmmsg.
31408 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31409 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31410 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31411 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31412
31413 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31414 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31415 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31416
314172010-05-20 Andreas Schwab <schwab@redhat.com>
31418
31419 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31420
314212010-05-17 Luis Machado <luisgpm@br.ibm.com>
31422
31423 POWER7 optimizations.
31424 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31425 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31426
314272010-05-19 Ulrich Drepper <drepper@redhat.com>
31428
31429 * version.h: Update for 2.13 development version.
31430
314312010-05-12 Andrew Stubbs <ams@codesourcery.com>
31432
31433 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31434 exceptions. Return 0.
31435
314362010-05-07 Roland McGrath <roland@redhat.com>
31437
31438 * elf/ldconfig.c (main): Add a const.
31439
314402010-05-06 Ulrich Drepper <drepper@redhat.com>
31441
31442 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31443 (args_options): Add no-idn option.
31444 (ahosts_keys_int): Add idn_flags to ai_flags.
31445 (parse_option): Handle 'i' option to clear idn_flags.
31446
31447 * malloc/malloc.c (_int_free): Possible race in the most recently
31448 added check. Only act on the data if no current modification
31449 happened.
31450
31451See ChangeLog.17 for earlier changes.