]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update Chinese (traditional) translation from translation project
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3ee7e9fe
AJ
12013-06-11 Andreas Jaeger <aj@suse.de>
2
3 * po/zh_TW.po: Update Chinese (traditional) translation from
4 translation project.
5
89fb6835
SP
62013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7
8 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12 (clock_getcpuclockid): Likewise.
13 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14 Add weak_alias and libc_hidden_def.
15 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16 * rt/clock_gettime.c (clock_gettime): Rename to
17 __clock_gettime. Add weak_alias and libc_hidden_def.
18 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23 Likewise.
24 * rt/clock_settime.c (clock_settime): Rename to
25 __clock_settime. Add weak_alias and libc_hidden_def.
26 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27
0efa6f8b
JM
282013-06-10 Joseph Myers <joseph@codesourcery.com>
29
b8c61b4b
JM
30 * mach/err_boot.sub: Remove trailing whitespace.
31 * mach/err_ipc.sub: Likewise.
32 * mach/err_mach.sub: Likewise.
33
0efa6f8b
JM
34 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35 (ROUNDING_TESTS_double): Likewise.
36 (ROUNDING_TESTS_long_double): Likewise.
37 (ROUNDING_TESTS): Likewise.
38 * math/libm-test.inc: Include <math-tests.h>.
39 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42 (IF_ROUND_INIT_FE_UPWARD): Likewise.
43
50b818bf
SP
442013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45
46 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
47 of assigning.
48
60d2f8f3
JM
492013-06-08 Joseph Myers <joseph@codesourcery.com>
50
4902d2c3
JM
51 * sysdeps/gnu/errlist.awk: Do not generate space at end of
52 otherwise empty TRANS lines.
53 * sysdeps/gnu/errlist.c: Regenerated.
54
60d2f8f3
JM
55 * catgets/gencat.c (error_print): Use (void) in function
56 definition.
57 * crypt/crypt_util.c (__init_des): Likewise.
58 * crypt/speeds.c (Stop): Likewise.
59 (main): Likewise.
60 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
61 * inet/ruserpass.c (token): Likewise.
62 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
63 * intl/localealias.c (extend_alias_table): Likewise.
64 * intl/plural-exp.c (init_germanic_plural): Likewise.
65 * libio/fcloseall.c (__fcloseall): Likewise.
66 * libio/genops.c (_IO_flush_all): Likewise.
67 (_IO_flush_all_linebuffered): Likewise.
68 (_IO_cleanup): Likewise.
69 (_IO_iter_begin): Likewise.
70 (_IO_iter_end): Likewise.
71 (_IO_list_lock): Likewise.
72 (_IO_list_unlock): Likewise.
73 (_IO_list_resetlock): Likewise.
74 * libio/getchar.c (getchar): Likewise.
75 * libio/getchar_u.c (getchar_unlocked): Likewise.
76 * libio/getwchar.c (getwchar): Likewise.
77 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
78 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
79 * login/getpt.c (__getpt): Likewise.
80 * login/tst-utmp.c (main): Likewise.
81 * malloc/hooks.c (__malloc_check_init): Likewise.
82 * malloc/malloc.c (__malloc_stats): Likewise.
83 * malloc/mtrace.c (tr_break): Likewise.
84 (mtrace): Likewise.
85 (muntrace): Likewise.
86 * misc/fstab.c (endfsent): Likewise.
87 * misc/getclktck.c (__getclktck): Likewise.
88 * misc/getdtsz.c (__getdtablesize): Likewise.
89 * misc/gethostid.c (gethostid): Likewise.
90 * misc/getpagesize.c (__getpagesize): Likewise.
91 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
92 (__get_nprocs): Likewise.
93 (__get_phys_pages): Likewise.
94 (__get_avphys_pages): Likewise.
95 * misc/getttyent.c (getttyent): Likewise.
96 (setttyent): Likewise.
97 (endttyent): Likewise.
98 * misc/getusershell.c (getusershell): Likewise.
99 (endusershell): Likewise.
100 (setusershell): Likewise.
101 (initshells): Likewise.
102 * misc/hsearch.c (__hdestroy): Likewise.
103 * misc/sync.c (sync): Likewise.
104 * misc/syslog.c (closelog_internal): Likewise.
105 (closelog): Likewise.
106 * misc/ttyslot.c (ttyslot): Likewise.
107 * misc/vhangup.c (vhangup): Likewise.
108 * posix/fork.c (__fork): Likewise.
109 * posix/getegid.c (__getegid): Likewise.
110 * posix/geteuid.c (__geteuid): Likewise.
111 * posix/getgid.c (__getgid): Likewise.
112 * posix/getpid.c (__getpid): Likewise.
113 * posix/getppid.c (__getppid): Likewise.
114 * posix/getuid.c (__getuid): Likewise.
115 * posix/pause.c (pause): Likewise.
116 * posix/setpgrp.c (setpgrp): Likewise.
117 * posix/setsid.c (__setsid): Likewise.
118 * posix/test-vfork.c (noop): Likewise.
119 * resolv/gethnamaddr.c (_endhtent): Likewise.
120 (_gethtent): Likewise.
121 (ht_endhostent): Likewise.
122 (gethostent): Likewise.
123 (dns_service): Likewise.
124 * stdlib/drand48.c (drand48): Likewise.
125 * stdlib/lrand48.c (lrand48): Likewise.
126 * stdlib/mrand48.c (mrand48): Likewise.
127 * stdlib/rand.c (rand): Likewise.
128 * stdlib/random.c (__random): Likewise.
129 * stdlib/setenv.c (clearenv): Likewise.
130 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
131 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
132 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
133 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
134 (__get_nprocs): Likewise.
135 (__get_phys_pages): Likewise.
136 (__get_avphys_pages): Likewise.
137 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
138 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
139 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
140 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
141 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
142 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
143 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
144 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
145 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
146 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
147 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
148 * sysdeps/mach/hurd/sync.c (sync): Likewise.
149 * sysdeps/posix/clock.c (clock): Likewise.
150 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
151 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
152 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
153 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
154 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
156 (__get_nprocs_conf): Likewise.
157 (__get_phys_pages): Likewise.
158 (__get_avphys_pages): Likewise.
159 * time/clock.c (clock): Likewise.
160 * time/tzset.c (__tzname_max): Likewise.
161
2e09a79a
JM
1622013-06-07 Joseph Myers <joseph@codesourcery.com>
163
164 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
165 (__bswap_32): Do not use "register".
166 * crypt/crypt.c (_ufc_doit_r): Likewise.
167 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
168 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
169 * gmon/gmon.c (__monstartup): Likewise.
170 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
171 * hurd/hurdmalloc.c (more_memory): Likewise.
172 (malloc): Likewise.
173 (free): Likewise.
174 (realloc): Likewise.
175 (malloc_fork_prepare): Likewise.
176 (malloc_fork_parent): Likewise.
177 (malloc_fork_child): Likewise.
178 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
179 (_svcauth_des): Likewise.
180 * inet/inet_lnaof.c (inet_lnaof): Likewise.
181 * inet/inet_net.c (inet_network): Likewise.
182 * inet/inet_netof.c (inet_netof): Likewise.
183 * inet/rcmd.c (__validuser2_sa): Likewise.
184 * io/fts.c (fts_open): Likewise.
185 (fts_load): Likewise.
186 (fts_close): Likewise.
187 (fts_read): Likewise.
188 (fts_children): Likewise.
189 (fts_build): Likewise.
190 (fts_stat): Likewise.
191 (fts_sort): Likewise.
192 (fts_alloc): Likewise.
193 (fts_lfree): Likewise.
194 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
195 (_IO_file_xsgetn): Likewise.
196 (_IO_file_xsgetn_mmap): Likewise.
197 * libio/iofopncook.c (_IO_cookie_read): Likewise.
198 (_IO_cookie_write): Likewise.
199 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
200 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
201 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
202 * malloc/obstack.c (_obstack_begin): Likewise.
203 (_obstack_begin_1): Likewise.
204 (_obstack_newchunk): Likewise.
205 (_obstack_allocated_p): Likewise.
206 (obstack_free): Likewise.
207 (_obstack_memory_used): Likewise.
208 * misc/getttyent.c (getttynam): Likewise.
209 (getttyent): Likewise.
210 (skip): Likewise.
211 (value): Likewise.
212 * misc/getusershell.c (initshells): Likewise.
213 * misc/syslog.c (__vsyslog_chk): Likewise.
214 * misc/ttyslot.c (ttyslot): Likewise.
215 * nis/nis_hash.c (__nis_hash): Likewise.
216 * posix/fnmatch_loop.c (FCT): Likewise.
217 * posix/getconf.c (print_all): Likewise.
218 (main): Likewise.
219 * posix/getopt.c (exchange): Likewise.
220 * posix/glob.c (globfree): Likewise.
221 (prefix_array): Likewise.
222 (__glob_pattern_type): Likewise.
223 * resolv/arpa/nameser.h (NS_GET16): Likewise.
224 (NS_GET32): Likewise.
225 (NS_PUT16): Likewise.
226 (NS_PUT32): Likewise.
227 * resolv/gethnamaddr.c (getanswer): Likewise.
228 (gethostbyname2): Likewise.
229 (gethostbyaddr): Likewise.
230 (_gethtent): Likewise.
231 (_gethtbyname2): Likewise.
232 (_gethtbyaddr): Likewise.
233 * resolv/ns_print.c (dst_s_get_int16): Likewise.
234 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
235 * resolv/res_init.c (__res_vinit): Likewise.
236 (net_mask): Likewise.
237 * resolv/res_mkquery.c (outchar): Likewise.
238 (PRINT): Likewise.
239 * stdio-common/printf_fp.c (outchar): Likewise.
240 (PRINT): Likewise.
241 * stdio-common/printf_fphex.c (outchar): Likewise.
242 (PRINT): Likewise.
243 * stdio-common/printf_size.c (outchar): Likewise.
244 (PRINT): Likewise.
245 * stdio-common/test_rdwr.c (main): Likewise.
246 * stdio-common/tfformat.c (matches): Likewise.
247 * stdio-common/vfprintf.c (outchar): Likewise.
248 (printf_unknown): Likewise.
249 (buffered_vfprintf): Likewise.
250 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
251 * stdio-common/xbug.c (AppendToBuffer): Likewise.
252 (ReadFile): Likewise.
253 * stdlib/qsort.c (SWAP): Likewise.
254 (_quicksort): Likewise.
255 * stdlib/setenv.c (__add_to_environ): Likewise.
256 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
257 * stdlib/strtol_l.c (__strtol_l): Likewise.
258 * stdlib/tst-strtod.c (main): Likewise.
259 * stdlib/tst-strtol.c (main): Likewise.
260 * stdlib/tst-strtoll.c (main): Likewise.
261 * string/bits/string2.h (__strcmp_cc): Likewise.
262 (__strcmp_cg): Likewise.
263 (__strcspn_c1): Likewise.
264 (__strcspn_c2): Likewise.
265 (__strcspn_c3): Likewise.
266 (__strspn_c1): Likewise.
267 (__strspn_c2): Likewise.
268 (__strspn_c3): Likewise.
269 (__strsep_1c): Likewise.
270 (__strsep_2c): Likewise.
271 (__strsep_3c): Likewise.
272 * string/memccpy.c (__memccpy): Likewise.
273 * string/stpcpy.c (__stpcpy): Likewise.
274 * string/strcmp.c (strcmp): Likewise.
275 * string/strrchr.c (strrchr): Likewise.
276 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
277 Likewise.
278 * sysdeps/mach/hurd/getcwd.c
279 (_hurd_canonicalize_directory_name_internal): Likewise.
280 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
281 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
282 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
283 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
284 Likewise, in both definitions.
285 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
286 definitions.
287 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
288 64] (__bswap_64): Likewise.
289 * time/test_time.c (main): Likewise.
290 * time/tzfile.c (__tzfile_read): Likewise.
291 (__tzfile_compute): Likewise.
292 * time/tzset.c (__tzset_parse_tz): Likewise.
293 (tzset_internal): Likewise.
294 (compute_change): Likewise.
295 * wcsmbs/wcscat.c (__wcscat): Likewise.
296 * wcsmbs/wcschr.c (wcschr): Likewise.
297 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
298 * wcsmbs/wcscspn.c (wcscspn): Likewise.
299 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
300 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
301 * wcsmbs/wcsspn.c (wcsspn): Likewise.
302 * wcsmbs/wcsstr.c (wcsstr): Likewise.
303 * wcsmbs/wmemchr.c (wmemchr): Likewise.
304 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
305 * wcsmbs/wmemset.c (wmemset): Likewise.
306
9e54314b
JM
3072013-06-06 Joseph Myers <joseph@codesourcery.com>
308
309 * scripts/config.guess: Update to version 2013-05-16.
310 * scripts/config.sub: Update to version 2013-04-24.
311 * scripts/install-sh: Update to version 2011-11-20.07.
312 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
313 * scripts/move-if-change: Update to version 2012-01-06 07:23.
314
350635a5
OB
3152013-06-06 Ondřej Bílka <neleai@seznam.cz>
316
317 * debug/fgetws_u_chk.c: Fix leading whitespaces.
318 * elf/sln.c: Likewise.
319 * hurd/hurd/ioctl.h: Likewise.
320 * hurd/hurdmalloc.c: Likewise.
321 * hurd/xattr.c: Likewise.
322 * include/shlib-compat.h: Likewise.
323 * inet/ruserpass.c: Likewise.
324 * libio/iofgets_u.c: Likewise.
325 * libio/iofgetws_u.c: Likewise.
326 * locale/programs/ld-identification.c: Likewise.
327 * locale/programs/ld-time.c: Likewise.
328 * mach/msg-destroy.c: Likewise.
329 * nss/nss_files/files-netgrp.c: Likewise.
330 * resolv/res_data.c: Likewise.
331 * soft-fp/op-1.h: Likewise.
332 * soft-fp/op-2.h: Likewise.
333 * soft-fp/op-4.h: Likewise.
334 * soft-fp/op-common.h: Likewise.
335 * stdio-common/printf_fphex.c: Likewise.
336 * stdlib/strtod_l.c: Likewise.
337 * sunrpc/rpc/clnt.h: Likewise.
338 * sysdeps/generic/framestate.c: Likewise.
339 * sysdeps/i386/bsd-_setjmp.S: Likewise.
340 * sysdeps/i386/bsd-setjmp.S: Likewise.
341 * sysdeps/i386/__longjmp.S: Likewise.
342 * sysdeps/i386/setjmp.S: Likewise.
343 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
344 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
345 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
346 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
347 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
348 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
349 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
350 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
351 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
352 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
353 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
354 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
355 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
356 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
357 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
358 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
359 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
360 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
361 * sysdeps/ieee754/support.c: Likewise.
362 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
363 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
364 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
365 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
366 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
367 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
368 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
369 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
370 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
371 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
372 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
373 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
374 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
375 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
376 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
377 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
378 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
380
44a988af
OB
3812013-06-05 Ondřej Bílka <neleai@seznam.cz>
382
25506f09 383 * posix/transbug.c: Remove executable mode.
44a988af 384
9c84384c
JM
3852013-06-05 Joseph Myers <joseph@codesourcery.com>
386
387 * crypt/speeds.c: Remove trailing whitespace.
388 * dlfcn/default.c: Likewise.
389 * elf/ifuncdep2.c: Likewise.
390 * elf/ifuncmain1.c: Likewise.
391 * elf/ifuncmain1vis.c: Likewise.
392 * elf/testobj.h: Likewise.
393 * elf/tst-stackguard1.c: Likewise.
394 * gmon/sys/gmon.h: Likewise.
395 * hurd/hurdmsg.c: Likewise.
396 * hurd/new-fd.c: Likewise.
397 * hurd/ports-get.c: Likewise.
398 * iconvdata/ibm1008_420.c: Likewise.
399 * inet/tst-getni1.c: Likewise.
400 * inet/tst-getni2.c: Likewise.
401 * libio/ioungetc.c: Likewise.
402 * libio/wfiledoalloc.c: Likewise.
403 * manual/libm-err-tab.pl: Likewise.
404 * math/w_dremf.c: Likewise.
405 * misc/ftruncate.c: Likewise.
406 * posix/bug-glob2.c: Likewise.
407 * posix/tst-pcre.c: Likewise.
408 * posix/wait4.c: Likewise.
409 * resolv/README: Likewise.
410 * resolv/res_debug.h: Likewise.
411 * resolv/tst-inet_ntop.c: Likewise.
412 * setjmp/bug269-setjmp.c: Likewise.
413 * soft-fp/extended.h: Likewise.
414 * soft-fp/op-1.h: Likewise.
415 * soft-fp/op-2.h: Likewise.
416 * soft-fp/op-4.h: Likewise.
417 * soft-fp/op-8.h: Likewise.
418 * soft-fp/testit.c: Likewise.
419 * stdio-common/bug16.c: Likewise.
420 * stdlib/random.c: Likewise.
421 * sunrpc/rpcsvc/rquota.x: Likewise.
422 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
423 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
424 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
425 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
426 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
427 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
428 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
429 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
430 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
431 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
432 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
433 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
434 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
435 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
436 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
437 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
438 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
439 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
440 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
441 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
442 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
443 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
444 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
445 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
446 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
447 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
448 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
449 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
450 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
451 * sysdeps/ieee754/s_lib_version.c: Likewise.
452 * sysdeps/mach/hurd/check_fds.c: Likewise.
453 * sysdeps/mach/hurd/getsockname.c: Likewise.
454 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
455 * sysdeps/mach/hurd/recvfrom.c: Likewise.
456 * sysdeps/powerpc/bits/link.h: Likewise.
457 * sysdeps/powerpc/dl-procinfo.c: Likewise.
458 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
459 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
460 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
461 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
462 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
463 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
464 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
465 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
466 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
467 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
468 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
469 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
470 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
471 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
472 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
473 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
474 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
475 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
476 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
477 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
478 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
479 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
480 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
481 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
482 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
483 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
484 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
485 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
486 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
487 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
488 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
489 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
490 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
491 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
492 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
493 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
494 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
495 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
496 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
497 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
498 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
499 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
500 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
501 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
502 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
503 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
504 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
505 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
506 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
507 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
508 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
509 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
510 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
511 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
512 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
513 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
514 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
515 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
516 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
517 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
518 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
519 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
520 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
521 * sysdeps/powerpc/sysdep.h: Likewise.
522 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
523 * sysdeps/s390/s390-64/sub_n.S: Likewise.
524 * sysdeps/sh/dl-trampoline.S: Likewise.
525 * sysdeps/sh/memset.S: Likewise.
526 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
527 * sysdeps/sh/strlen.S: Likewise.
528 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
529 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
530 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
531 * sysdeps/sparc/sparc32/rem.S: Likewise.
532 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
533 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
534 * sysdeps/sparc/sparc32/strchr.S: Likewise.
535 * sysdeps/sparc/sparc32/udiv.S: Likewise.
536 * sysdeps/sparc/sparc32/urem.S: Likewise.
537 * sysdeps/sparc/sparc64/add_n.S: Likewise.
538 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
539 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
540 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
541 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
542 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
543 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
544 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
545 * sysdeps/unix/bsd/times.c: Likewise.
546 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
547 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
551 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
552 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
553 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
554 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
555 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
556 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
557 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
558 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
559 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
560 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
561 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
562 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
563 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
564 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
565 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
566 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
567 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
568 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
569 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
570 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
571 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
572 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
573 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
574 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
575 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
576 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
577 * sysdeps/x86_64/strcspn.S: Likewise.
578
869378a5
RA
5792013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
580
581 * locale/C-translit.h: Revert #include <stdint.h> because this is a
582 generated file. Regenerate properly from gen-translit.pl.
583 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
584 locale/C-translit.h.
585
840e2943
AS
5862013-06-05 Andreas Schwab <schwab@suse.de>
587
588 [BZ #15100]
589 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
590 week as 6 instead of -1.
591 * time/tst-strptime.c (day_tests): Add test case.
592
4c60cb0c
SP
5932013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
594
595 * sysdeps/generic/math_private.h
596 (libc_feholdexcept_setround_53bit): Replace with
597 libc_feholdsetround_53bit.
598 (libc_feupdateenv_53bit): Replace with
599 libc_feresetround_53bit.
600 (SET_RESTORE_ROUND_53BIT): Adjust.
601
d180203e
SP
6022013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
603
96df079a
SP
604 * string/test-strchrnul.c: Add copyright header.
605
d180203e
SP
606 * posix/tst-getaddrinfo4.c: Increase test timeout.
607
8b0ccb2d
CD
6082013-06-03 Carlos O'Donell <carlos@redhat.com>
609
610 [BZ #15536]
611 * math/libm-test.inc (MAX_EXP): Remove
612 (MIN_EXP): Define.
613 (ulp): Use MIN_EXP - MANT_DIG.
614 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
615
3b3c4d40
CD
6162013-05-31 Carlos O'Donell <carlos@redhat.com>
617
618 * po/be.po: Revert last change.
619 * po/zh_CN.po: Likewise.
620 * po/header.pot: Likewise.
621
fab7ce3f
JM
6222013-05-31 Joseph Myers <joseph@codesourcery.com>
623
624 * Makefile ($(common-objpfx)linkobj/libc.so): Define
625 link-libc-deps to empty as target-specific variable.
626 * Makerules (link-libc-args): New variable.
627 (libc-for-link): Likewise.
628 (link-libc-deps): Likewise.
629 (lib%.so): Depend on $(link-libc-deps). Link with
630 $(link-libc-args).
631 (build-module): Link with $(link-libc-args).
632 (build-module-asneeded): Likewise.
633 (build-module-helper-objlist): Filter out $(link-libc-deps) from
634 list of objects.
635 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
636 target-specific variable.
637 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
638 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
639 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
640 libc.
641 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
642 libc and ld.so.
643 ($(objpfx)libpcprofile.so): Likewise.
644 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
645 libc_nonshared.a.
646 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
647 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
648 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
649 $(link-libc-deps).
650 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
651 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
652 * login/Makefile ($(objpfx)libutil.so): Likewise.
653 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
654 * math/Makefile ($(objpfx)libm.so): Likewise.
655 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
656 $(objpfx)libnsl.so): Define libc-for-link as target-specific
657 variable instead of depending directly on libc.
658 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
659 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
660 $(link-libc-deps).
661 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
662 libc.
663 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
664 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
665 ($(objpfx)libanl.so): Likewise.
666 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
667 ld.so.
668 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
669 $(link-libc-deps).
670 * sysdeps/i386/fpu/Makefile: Remove file.
671 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
672 ($(objpfx)libm.so): Remove dependency on ld.so.
673
eca5920c
PF
6742013-05-30 Patsy Franklin <pfrankli@redhat.com>
675
676 [BZ # 15553]
677 * nis/yp_xdr.c (XDRMAXNAME): Define.
678 (XDRMAXRECORD): Define.
679 (xdr_domainname): Use XDRMAXNAME.
680 (xdr_mapname): Likewise.
681 (xdr_peername): Likewise.
682 (xdr_keydat): Use XDRMAXRECORD.
683 (xdr_valdat): Likewise.
684
6852013-05-30 Jeff Law <law@redhat.com>
96945714
JL
686
687 [BZ #14256]
688 * manual/errno.texi (ESTALE): Update to account for more than
689 just NFS file systems.
690 * sysdeps/gnu/errlist.c: Regenerated.
691
b9375348
SP
6922013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
693
694 [BZ #15465]
695 * elf/Makefile (tests): Add tst-null-argv.
696 (modules-names): Add tst-null-argv-lib.
697 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
698 (tst-null-argv-ENV): Set environment for tst-null-argv.
699 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
700 (RTLD_PROGNAME): New macro.
701 * elf/tst-null-argv.c: New test case.
702 * elf/tst-null-argv-lib.c: Library for test case.
703 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
704 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
705 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
706 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
707 * elf/dl-init.c (call_init): Likewise.
708 (_dl_init): Likewise.
709 * elf/dl-load.c (print_search_path): Likewise.
710 (_dl_map_object): Likewise.
711 * elf/dl-lookup.c (do_lookup_x): Likewise.
712 (add_dependency): Likewise.
713 (_dl_lookup_symbol_x): Likewise.
714 (_dl_debug_bindings): Likewise.
715 * elf/dl-open.c (_dl_show_scope): Likewise.
716 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
717 * elf/dl-version.c (match_symbol): Likewise.
718 (_dl_check_map_versions): Likewise.
719 * elf/rtld.c (dl_main): Likewise.
720 (print_unresolved): Use RTLD_PROGNAME.
721 (print_missing_version): Likewise.
722 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
723 (elf_machine_rela): Likewise.
724 * sysdeps/powerpc/powerpc32/dl-machine.c
725 (__process_machine_rela): Likewise.
726 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
727 Likewise.
728 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
729 Likewise.
730 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
731 Likewise.
732 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
733 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
734 Likewise.
735 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
736 Likewise.
737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
738
8a9f20c8
CD
7392013-05-28 Carlos O'Donell <carlos@redhat.com>
740
741 * po/be.po: Add descriptive title.
742 * po/zh_CN.po: Likewise.
743 * po/header.pot: Likewise.
744
0e60d68e
MF
7452013-05-28 Mike Frysinger <vapier@gentoo.org>
746
747 * locale/programs/locarchive.c (create_archive): Inlucde fname in
748 error message.
749 (enlarge_archive): Likewise.
750
56b672e9
BN
7512013-05-28 Ben North <ben@redfrontdoor.org>
752
753 * manual/arith.texi (frexp): It is the magnitude of the return
754 value which lies in [0.5, 1), not the return value itself.
755
5e056687
AZ
7562013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
757
758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
759
2b66ef5d
TS
7602013-05-26 Thomas Schwinge <thomas@codesourcery.com>
761
528c2405
TS
762 * stdio-common/bug26.c (main): Correct fscanf template.
763
07b4c13d
TS
764 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
765 declare _dl_skip_args.
766
ec9dd97c
TS
767 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
768 Don't declare.
769
2b66ef5d
TS
770 * manual/platform.texi: Add missing @end deftypefun.
771
4f8dfe27
JM
7722013-05-24 Joseph Myers <joseph@codesourcery.com>
773
0323d086
JM
774 [BZ #15529]
775 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
776 bit of mantissa of 2^16382.
777 * math/libm-test.inc (hypot_test_data): Add more tests.
778
dd4259b9
JM
779 * math/libm-test.inc: Add drem and pow10 to list of tested
780 functions.
781 (pow10_test): New function.
782 (drem_test): Likewise.
783 (drem_test_tonearest): Likewise.
784 (drem_test_towardzero): Likewise.
785 (drem_test_downward): Likewise.
786 (drem_test_upward): Likewise.
787 (main): Call the new functions.
788
4f8dfe27
JM
789 * math/libm-test.inc (finite_test_data): Remove.
790 (finite_test): Run tests from isfinite_test_data.
791 (gamma_test_data): Remove.
792 (gamma_test): Run tests from lgamma_test_data.
793 * sysdeps/i386/fpu/libm-test-ulps: Update.
794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
795
d116b7c4
AZ
7962013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
797
798 * manual/platform.texi: Add PowerPC PPR function set documentation.
799 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
800 implementation.
801
e96e3767
CD
8022013-05-24 Carlos O'Donell <carlos@redhat.com>
803
804 * math/libm-test.inc (MAX_EXP): Define.
805 (ULPDIFF): Define.
806 (ulp): New function.
807 (check_float_internal): Use ULPDIFF.
808 (cpow_test): Disable failing test.
809 (check_ulp): Test ulp() implemetnation.
810 (main): Call check_ulp before starting tests.
811
b679a606
JM
8122013-05-24 Joseph Myers <joseph@codesourcery.com>
813
e8bdba36
JM
814 * math/gen-libm-test.pl (generate_testfile): Do not handle
815 START_DATA and END_DATA.
816 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
817 END_DATA.
818 (acos_tonearest_test_data): Likewise.
819 (acos_towardzero_test_data): Likewise.
820 (acos_downward_test_data): Likewise.
821 (acos_upward_test_data): Likewise.
822 (acosh_test_data): Likewise.
823 (asin_test_data): Likewise.
824 (asin_tonearest_test_data): Likewise.
825 (asin_towardzero_test_data): Likewise.
826 (asin_downward_test_data): Likewise.
827 (asin_upward_test_data): Likewise.
828 (asinh_test_data): Likewise.
829 (atan_test_data): Likewise.
830 (atanh_test_data): Likewise.
831 (atan2_test_data): Likewise.
832 (cabs_test_data): Likewise.
833 (cacos_test_data): Likewise.
834 (cacosh_test_data): Likewise.
835 (carg_test_data): Likewise.
836 (casin_test_data): Likewise.
837 (casinh_test_data): Likewise.
838 (catan_test_data): Likewise.
839 (catanh_test_data): Likewise.
840 (cbrt_test_data): Likewise.
841 (ccos_test_data): Likewise.
842 (ccosh_test_data): Likewise.
843 (ceil_test_data): Likewise.
844 (cexp_test_data): Likewise.
845 (cimag_test_data): Likewise.
846 (clog_test_data): Likewise.
847 (clog10_test_data): Likewise.
848 (conj_test_data): Likewise.
849 (copysign_test_data): Likewise.
850 (cos_test_data): Likewise.
851 (cos_tonearest_test_data): Likewise.
852 (cos_towardzero_test_data): Likewise.
853 (cos_downward_test_data): Likewise.
854 (cos_upward_test_data): Likewise.
855 (cosh_test_data): Likewise.
856 (cosh_tonearest_test_data): Likewise.
857 (cosh_towardzero_test_data): Likewise.
858 (cosh_downward_test_data): Likewise.
859 (cosh_upward_test_data): Likewise.
860 (cpow_test_data): Likewise.
861 (cproj_test_data): Likewise.
862 (creal_test_data): Likewise.
863 (csin_test_data): Likewise.
864 (csinh_test_data): Likewise.
865 (csqrt_test_data): Likewise.
866 (ctan_test_data): Likewise.
867 (ctan_tonearest_test_data): Likewise.
868 (ctan_towardzero_test_data): Likewise.
869 (ctan_downward_test_data): Likewise.
870 (ctan_upward_test_data): Likewise.
871 (ctanh_test_data): Likewise.
872 (ctanh_tonearest_test_data): Likewise.
873 (ctanh_towardzero_test_data): Likewise.
874 (ctanh_downward_test_data): Likewise.
875 (ctanh_upward_test_data): Likewise.
876 (erf_test_data): Likewise.
877 (erfc_test_data): Likewise.
878 (exp_test_data): Likewise.
879 (exp_tonearest_test_data): Likewise.
880 (exp_towardzero_test_data): Likewise.
881 (exp_downward_test_data): Likewise.
882 (exp_upward_test_data): Likewise.
883 (exp10_test_data): Likewise.
884 (exp2_test_data): Likewise.
885 (expm1_test_data): Likewise.
886 (fabs_test_data): Likewise.
887 (fdim_test_data): Likewise.
888 (finite_test_data): Likewise.
889 (floor_test_data): Likewise.
890 (fma_test_data): Likewise.
891 (fma_towardzero_test_data): Likewise.
892 (fma_downward_test_data): Likewise.
893 (fma_upward_test_data): Likewise.
894 (fmax_test_data): Likewise.
895 (fmin_test_data): Likewise.
896 (fmod_test_data): Likewise.
897 (fpclassify_test_data): Likewise.
898 (frexp_test_data): Likewise.
899 (gamma_test_data): Likewise.
900 (hypot_test_data): Likewise.
901 (ilogb_test_data): Likewise.
902 (isfinite_test_data): Likewise.
903 (isgreater_test_data): Likewise.
904 (isgreaterequal_test_data): Likewise.
905 (isinf_test_data): Likewise.
906 (isless_test_data): Likewise.
907 (islessequal_test_data): Likewise.
908 (islessgreater_test_data): Likewise.
909 (isnan_test_data): Likewise.
910 (isnormal_test_data): Likewise.
911 (issignaling_test_data): Likewise.
912 (isunordered_test_data): Likewise.
913 (j0_test_data): Likewise.
914 (j1_test_data): Likewise.
915 (jn_test_data): Likewise.
916 (ldexp_test_data): Likewise.
917 (lgamma_test_data): Likewise.
918 (lrint_test_data): Likewise.
919 (lrint_tonearest_test_data): Likewise.
920 (lrint_towardzero_test_data): Likewise.
921 (lrint_downward_test_data): Likewise.
922 (lrint_upward_test_data): Likewise.
923 (llrint_test_data): Likewise.
924 (llrint_tonearest_test_data): Likewise.
925 (llrint_towardzero_test_data): Likewise.
926 (llrint_downward_test_data): Likewise.
927 (llrint_upward_test_data): Likewise.
928 (log_test_data): Likewise.
929 (log10_test_data): Likewise.
930 (log1p_test_data): Likewise.
931 (log2_test_data): Likewise.
932 (logb_test_data): Likewise.
933 (logb_downward_test_data): Likewise.
934 (lround_test_data): Likewise.
935 (llround_test_data): Likewise.
936 (modf_test_data): Likewise.
937 (nearbyint_test_data): Likewise.
938 (nextafter_test_data): Likewise.
939 (nexttoward_test_data): Likewise.
940 (pow_test_data): Likewise.
941 (pow_tonearest_test_data): Likewise.
942 (pow_towardzero_test_data): Likewise.
943 (pow_downward_test_data): Likewise.
944 (pow_upward_test_data): Likewise.
945 (remainder_test_data): Likewise.
946 (remainder_tonearest_test_data): Likewise.
947 (remainder_towardzero_test_data): Likewise.
948 (remainder_downward_test_data): Likewise.
949 (remainder_upward_test_data): Likewise.
950 (remquo_test_data): Likewise.
951 (rint_test_data): Likewise.
952 (rint_tonearest_test_data): Likewise.
953 (rint_towardzero_test_data): Likewise.
954 (rint_downward_test_data): Likewise.
955 (rint_upward_test_data): Likewise.
956 (round_test_data): Likewise.
957 (scalb_test_data): Likewise.
958 (scalbn_test_data): Likewise.
959 (scalbln_test_data): Likewise.
960 (signbit_test_data): Likewise.
961 (sin_test_data): Likewise.
962 (sin_tonearest_test_data): Likewise.
963 (sin_towardzero_test_data): Likewise.
964 (sin_downward_test_data): Likewise.
965 (sin_upward_test_data): Likewise.
966 (sincos_test_data): Likewise.
967 (sinh_test_data): Likewise.
968 (sinh_tonearest_test_data): Likewise.
969 (sinh_towardzero_test_data): Likewise.
970 (sinh_downward_test_data): Likewise.
971 (sinh_upward_test_data): Likewise.
972 (sqrt_test_data): Likewise.
973 (tan_test_data): Likewise.
974 (tan_tonearest_test_data): Likewise.
975 (tan_towardzero_test_data): Likewise.
976 (tan_downward_test_data): Likewise.
977 (tan_upward_test_data): Likewise.
978 (tanh_test_data): Likewise.
979 (tgamma_test_data): Likewise.
980 (trunc_test_data): Likewise.
981 (y0_test_data): Likewise.
982 (y1_test_data): Likewise.
983 (yn_test_data): Likewise.
984 (significand_test_data): Likewise.
985
b679a606
JM
986 * math/gen-libm-test.pl (@functions): Remove variable.
987 (generate_testfile): Don't handle START and END lines.
988 * math/libm-test.inc (START): New macro.
989 (END): Likewise.
990 (END_COMPLEX): Likewise.
991 (acos_test): Use END macro without arguments.
992 (acos_test_tonearest): Likewise.
993 (acos_test_towardzero): Likewise.
994 (acos_test_downward): Likewise.
995 (acos_test_upward): Likewise.
996 (acosh_test): Likewise.
997 (asin_test): Likewise.
998 (asin_test_tonearest): Likewise.
999 (asin_test_towardzero): Likewise.
1000 (asin_test_downward): Likewise.
1001 (asin_test_upward): Likewise.
1002 (asinh_test): Likewise.
1003 (atan_test): Likewise.
1004 (atanh_test): Likewise.
1005 (atan2_test): Likewise.
1006 (cabs_test): Likewise.
1007 (cacos_test): Use END_COMPLEX macro without arguments.
1008 (cacosh_test): Likewise.
1009 (carg_test): Use END macro without arguments.
1010 (casin_test): Use END_COMPLEX macro without arguments.
1011 (casinh_test): Likewise.
1012 (catan_test): Likewise.
1013 (catanh_test): Likewise.
1014 (cbrt_test): Use END macro without arguments.
1015 (ccos_test): Use END_COMPLEX macro without arguments.
1016 (ccosh_test): Likewise.
1017 (ceil_test): Use END macro without arguments.
1018 (cexp_test): Use END_COMPLEX macro without arguments.
1019 (cimag_test): Use END macro without arguments.
1020 (clog_test): Use END_COMPLEX macro without arguments.
1021 (clog10_test): Likewise.
1022 (conj_test): Likewise.
1023 (copysign_test): Use END macro without arguments.
1024 (cos_test): Likewise.
1025 (cos_test_tonearest): Likewise.
1026 (cos_test_towardzero): Likewise.
1027 (cos_test_downward): Likewise.
1028 (cos_test_upward): Likewise.
1029 (cosh_test): Likewise.
1030 (cosh_test_tonearest): Likewise.
1031 (cosh_test_towardzero): Likewise.
1032 (cosh_test_downward): Likewise.
1033 (cosh_test_upward): Likewise.
1034 (cpow_test): Use END_COMPLEX macro without arguments.
1035 (cproj_test): Likewise.
1036 (creal_test): Use END macro without arguments.
1037 (csin_test): Use END_COMPLEX macro without arguments.
1038 (csinh_test): Likewise.
1039 (csqrt_test): Likewise.
1040 (ctan_test): Likewise.
1041 (ctan_test_tonearest): Likewise.
1042 (ctan_test_towardzero): Likewise.
1043 (ctan_test_downward): Likewise.
1044 (ctan_test_upward): Likewise.
1045 (ctanh_test): Likewise.
1046 (ctanh_test_tonearest): Likewise.
1047 (ctanh_test_towardzero): Likewise.
1048 (ctanh_test_downward): Likewise.
1049 (ctanh_test_upward): Likewise.
1050 (erf_test): Use END macro without arguments.
1051 (erfc_test): Likewise.
1052 (exp_test): Likewise.
1053 (exp_test_tonearest): Likewise.
1054 (exp_test_towardzero): Likewise.
1055 (exp_test_downward): Likewise.
1056 (exp_test_upward): Likewise.
1057 (exp10_test): Likewise.
1058 (exp2_test): Likewise.
1059 (expm1_test): Likewise.
1060 (fabs_test): Likewise.
1061 (fdim_test): Likewise.
1062 (finite_test): Likewise.
1063 (floor_test): Likewise.
1064 (fma_test): Likewise.
1065 (fma_test_towardzero): Likewise.
1066 (fma_test_downward): Likewise.
1067 (fma_test_upward): Likewise.
1068 (fmax_test): Likewise.
1069 (fmin_test): Likewise.
1070 (fmod_test): Likewise.
1071 (fpclassify_test): Likewise.
1072 (frexp_test): Likewise.
1073 (gamma_test): Likewise.
1074 (hypot_test): Likewise.
1075 (ilogb_test): Likewise.
1076 (isfinite_test): Likewise.
1077 (isgreater_test): Likewise.
1078 (isgreaterequal_test): Likewise.
1079 (isinf_test): Likewise.
1080 (isless_test): Likewise.
1081 (islessequal_test): Likewise.
1082 (islessgreater_test): Likewise.
1083 (isnan_test): Likewise.
1084 (isnormal_test): Likewise.
1085 (issignaling_test): Likewise.
1086 (isunordered_test): Likewise.
1087 (j0_test): Likewise.
1088 (j1_test): Likewise.
1089 (jn_test): Likewise.
1090 (ldexp_test): Likewise.
1091 (lgamma_test): Likewise.
1092 (lrint_test): Likewise.
1093 (lrint_test_tonearest): Likewise.
1094 (lrint_test_towardzero): Likewise.
1095 (lrint_test_downward): Likewise.
1096 (lrint_test_upward): Likewise.
1097 (llrint_test): Likewise.
1098 (llrint_test_tonearest): Likewise.
1099 (llrint_test_towardzero): Likewise.
1100 (llrint_test_downward): Likewise.
1101 (llrint_test_upward): Likewise.
1102 (log_test): Likewise.
1103 (log10_test): Likewise.
1104 (log1p_test): Likewise.
1105 (log2_test): Likewise.
1106 (logb_test): Likewise.
1107 (logb_test_downward): Likewise.
1108 (lround_test): Likewise.
1109 (llround_test): Likewise.
1110 (modf_test): Likewise.
1111 (nearbyint_test): Likewise.
1112 (nextafter_test): Likewise.
1113 (nexttoward_test): Likewise.
1114 (pow_test): Likewise.
1115 (pow_test_tonearest): Likewise.
1116 (pow_test_towardzero): Likewise.
1117 (pow_test_downward): Likewise.
1118 (pow_test_upward): Likewise.
1119 (remainder_test): Likewise.
1120 (remainder_test_tonearest): Likewise.
1121 (remainder_test_towardzero): Likewise.
1122 (remainder_test_downward): Likewise.
1123 (remainder_test_upward): Likewise.
1124 (remquo_test): Likewise.
1125 (rint_test): Likewise.
1126 (rint_test_tonearest): Likewise.
1127 (rint_test_towardzero): Likewise.
1128 (rint_test_downward): Likewise.
1129 (rint_test_upward): Likewise.
1130 (round_test): Likewise.
1131 (scalb_test): Likewise.
1132 (scalbn_test): Likewise.
1133 (scalbln_test): Likewise.
1134 (signbit_test): Likewise.
1135 (sin_test): Likewise.
1136 (sin_test_tonearest): Likewise.
1137 (sin_test_towardzero): Likewise.
1138 (sin_test_downward): Likewise.
1139 (sin_test_upward): Likewise.
1140 (sincos_test): Likewise.
1141 (sinh_test): Likewise.
1142 (sinh_test_tonearest): Likewise.
1143 (sinh_test_towardzero): Likewise.
1144 (sinh_test_downward): Likewise.
1145 (sinh_test_upward): Likewise.
1146 (sqrt_test): Likewise.
1147 (tan_test): Likewise.
1148 (tan_test_tonearest): Likewise.
1149 (tan_test_towardzero): Likewise.
1150 (tan_test_downward): Likewise.
1151 (tan_test_upward): Likewise.
1152 (tanh_test): Likewise.
1153 (tgamma_test): Likewise.
1154 (trunc_test): Likewise.
1155 (y0_test): Likewise.
1156 (y1_test): Likewise.
1157 (yn_test): Likewise.
1158 (significand_test): Likewise.
1159
bae143d2
OB
11602013-05-24 Ondřej Bílka <neleai@seznam.cz>
1161
1162 [BZ #15381]
1163 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1164
9323d39b
EM
11652013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1166
d4ea44a0 1167 [BZ #14894]
9323d39b
EM
1168 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1169 __ppc_mdoio and __ppc_mdoom.
1170 * manual/platform.texi: Document new functions __ppc_yield,
1171 __ppc_mdoio and __ppc_mdoom.
1172
13e23af7
CD
11732013-05-22 Carlos O'Donell <carlos@redhat.com>
1174
1175 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1176 (main): Mention "tls" pseudo-hwcap is legacy.
1177 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1178
351fe550
JM
11792013-05-22 Joseph Myers <joseph@codesourcery.com>
1180
1181 * math/gen-libm-test.pl (parse_args): Output only string of
1182 arguments as text for test name, not full call or descriptions of
1183 tests for extra outputs.
1184 (generate_testfile): Do not pass function name to parse_args.
1185 Generate this_func variable from START.
1186 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1187 field to arg_str.
1188 (struct test_ff_f_data): Likewise.
1189 (test_ff_f_data_nexttoward): Likewise.
1190 (struct test_fi_f_data): Likewise.
1191 (struct test_fl_f_data): Likewise.
1192 (struct test_if_f_data): Likewise.
1193 (struct test_fff_f_data): Likewise.
1194 (struct test_c_f_data): Likewise.
1195 (struct test_f_f1_data): Likewise. Remove field extra_name.
1196 (struct test_fF_f1_data): Likewise.
1197 (struct test_ffI_f1_data): Likewise.
1198 (struct test_c_c_data): Rename test_name field to arg_str.
1199 (struct test_cc_c_data): Likewise.
1200 (struct test_f_i_data): Likewise.
1201 (struct test_ff_i_data): Likewise.
1202 (struct test_f_l_data): Likewise.
1203 (struct test_f_L_data): Likewise.
1204 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1205 and extra2_name.
1206 (COMMON_TEST_SETUP): New macro.
1207 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1208 (COMMON_TEST_CLEANUP): Likewise.
1209 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1210 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1211 macros.
1212 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1213 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1214 macros.
1215 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1216 (RUN_TEST_fff_f): Take argument string. Call new setup and
1217 cleanup macros.
1218 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1219 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1220 macros.
1221 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1222 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1223 macros.
1224 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1225 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1226 cleanup macros.
1227 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1228 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1229 cleanup macros.
1230 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1231 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1232 cleanup macros.
1233 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1234 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1235 macros.
1236 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1237 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1238 macros.
1239 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1240 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1241 macros.
1242 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1243 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1244 cleanup macros.
1245 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1246 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1247 cleanup macros.
1248 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1249 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1250 macros.
1251 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1252 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1253 cleanup macros.
1254 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1255 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1256 macros.
1257 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1258 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1259 macros.
1260 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1261 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1262 cleanup macros.
1263 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1264
85118d4d
EBM
12652013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1266
1267 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1268 to _sifields.sigfault.
1269 (si_addr_lsb): Define new macro.
1270 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1271 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1272 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1273
7a44c18f
CD
12742013-05-03 Carlos O'Donell <carlos at redhat.com>
1275
1276 [BZ #15441]
1277 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1278 returns -1.
1279 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1280 null return -1.
1281 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1282 loading the domain.
1283
b50a7181
JM
12842013-05-22 Joseph Myers <joseph@codesourcery.com>
1285
1286 * math/gen-libm-test.pl (parse_args): Do not include expected
1287 result in test name.
1288 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1289 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1290 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1291 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1292 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1294
051063c8
SP
12952013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1296
3ce9e010
SP
1297 * benchtests/Makefile: Sort function entries.
1298
051063c8
SP
1299 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1300 tanh, asinh, acosh, atanh.
1301 * benchtests/acos-inputs: New file.
1302 * benchtests/acosh-inputs: New file.
1303 * benchtests/asin-inputs: New file.
1304 * benchtests/asinh-inputs: New file.
1305 * benchtests/atanh-inputs: New file.
1306 * benchtests/cosh-inputs: New file.
1307 * benchtests/log-inputs: New file.
1308 * benchtests/sinh-inputs: New file.
1309 * benchtests/tanh-inputs: New file.
1310
47c22455
DL
13112013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1312
1313 [BZ #15339]
1314 * posix/tst-getaddrinfo4.c: New test.
1315 * posix/Makefile (tests): Add it.
1316
3d04f5db
SP
13172013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1318
1319 [BZ #15339]
1320 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1321 when no services were used.
1322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1323 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1324
d5dd6189
AS
13252013-05-21 Andreas Schwab <schwab@suse.de>
1326
1327 [BZ #15014]
1328 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1329 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1330 successful.
1331 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1332 redundant variable declarations and reallocation of buffer when
1333 parsing as IPv6 address. Always set NSS status when called from
1334 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1335 buffer too small. Correct computation of needed size.
1336 * nss/Makefile (tests): Add test-digits-dots.
1337 * nss/test-digits-dots.c: New test.
1338
fef94eab
SP
13392013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1340
1341 * benchtests/Makefile: Remove instructions for adding
1342 benchmark tests.
1343 * benchtests/README: New file to explain how to execute and
1344 enhance the benchmark tests.
1345
e39adf43
AS
13462013-05-21 Andreas Schwab <schwab@suse.de>
1347
1348 [BZ #15493]
1349 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1350 * setjmp/tst-sigsetjmp.c: New test.
1351
b2b671b6
OB
13522013-05-20 Ondřej Bílka <neleai@seznam.cz>
1353
1354 * sysdeps/x86_64/memset.S (memset): New implementation.
1355 (__bzero): Likewise.
1356 (__memset_tail): New function.
1357
2d48b41c
OB
13582013-05-20 Ondřej Bílka <neleai@seznam.cz>
1359
1360 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1361 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1362 __memcpy_sse2_unaligned ifunc selection.
1363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1364 Add memcpy-sse2-unaligned.S.
1365 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1366 Add: __memcpy_sse2_unaligned.
1367
f16cc3eb
JM
13682013-05-19 Joseph Myers <joseph@codesourcery.com>
1369
3e694268
JM
1370 [BZ #15490]
1371 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1372 math_force_eval before restoring floating-point envrionment.
1373 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1374 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1375 Likewise.
1376 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1377 <math_private.h>.
1378 (__nearbyintl): Use math_force_eval before restoring
1379 floating-point environment.
1380 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1381
db62a907
JM
1382 * math/gen-libm-test.pl (special_functions): Remove.
1383 (parse_args): Don't handle TEST_extra. Handle functions with no
1384 return value.
1385 * math/libm-test.inc (struct test_sincos_data): Replace with
1386 struct test_fFF_11_data.
1387 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1388 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1389 (sincos_test_data): Change element type to struct
1390 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1391 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1392 RUN_TEST_LOOP_sincos.
1393 * math/README.libm-test: Don't mention special handling of
1394 individual functions.
1395 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1396 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1397 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1398 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1399 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1401
f16cc3eb
JM
1402 * math/gen-libm-test.pl (get_variable): Remove function.
1403 (parse_args): Don't show pointer parameters to call in test
1404 names. Use "extra output N" in test names for extra outputs
1405 rather than naming variables.
1406
3779b5b6
JM
14072013-05-18 Joseph Myers <joseph@codesourcery.com>
1408
2ee094ff
JM
1409 [BZ #15488]
1410 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1411 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1412 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1413 double tests.
1414 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1415 disable.
1416 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1417 check_long_double.
1418
3779b5b6
JM
1419 * math/gen-libm-test.pl (@tests): Remove variable.
1420 ($count): Likewise.
1421 (new_test): Remove function.
1422 (show_exceptions): New function.
1423 (special_functions): Use show_exceptions instead of new_test.
1424 (parse_args): Likewise.
1425 (generate_testfile): Pass only function name in generated call to
1426 print_max_error or print_complex_max_error.
1427 (get_ulps): Do not handle complex tests specially.
1428 (output_test): Rename to ...
1429 (get_all_ulps_for_test): ... this. Return a string rather than
1430 printing to a file. Require ulps to be present.
1431 (output_ulps): Generate arrays rather than #defines.
1432 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1433 (struct ulp_data): New type.
1434 (BUILD_COMPLEX_ULP): Remove macro.
1435 (compare_ulp_data): New function.
1436 (find_ulps): Likewise.
1437 (find_test_ulps): Likewise.
1438 (find_function_ulps): Likewise.
1439 (find_complex_function_ulps): Likewise.
1440 (print_max_error): Determine allowed ulps using
1441 find_function_ulps.
1442 (print_complex_max_error): Determine allowed ulps using
1443 find_complex_function_ulps.
1444 (check_float_internal): Determine max ulps using find_test_ulps.
1445 (check_float): Do not take max_ulp parameter. Update call to
1446 check_float_internal.
1447 (check_complex): Likewise.
1448 (check_int): Do not take max_ulp parameter.
1449 (check_long): Likewise.
1450 (check_bool): Likewise.
1451 (check_longlong): Likewise.
1452 (struct test_f_f_data): Remove max_ulp field.
1453 (struct test_ff_f_data): Likewise.
1454 (struct test_ff_f_data_nexttoward): Likewise.
1455 (struct test_fi_f_data): Likewise.
1456 (struct test_fl_f_data): Likewise.
1457 (struct test_if_f_data): Likewise.
1458 (struct test_fff_f_data): Likewise.
1459 (struct test_c_f_data): Likewise.
1460 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1461 (struct test_fF_f1_data): Likewise.
1462 (struct test_ffI_f1_data): Likewise.
1463 (struct test_c_c_data): Remove max_ulp field.
1464 (struct test_cc_c_data): Likewise.
1465 (struct test_f_i_data): Likewise.
1466 (struct test_ff_i_data): Likewise.
1467 (struct test_f_l_data): Likewise.
1468 (struct test_f_L_data): Likewise.
1469 (struct test_sincos_data): Likewise.
1470 (RUN_TEST_f_f): Do not handle ulps.
1471 (RUN_TEST_LOOP_f_f): Likewise.
1472 (RUN_TEST_2_f): Likewise.
1473 (RUN_TEST_LOOP_2_f): Likewise.
1474 (RUN_TEST_fff_f): Likewise.
1475 (RUN_TEST_LOOP_fff_f): Likewise.
1476 (RUN_TEST_c_f): Likewise.
1477 (RUN_TEST_LOOP_c_f): Likewise.
1478 (RUN_TEST_f_f1): Likewise.
1479 (RUN_TEST_LOOP_f_f1): Likewise.
1480 (RUN_TEST_fF_f1): Likewise.
1481 (RUN_TEST_LOOP_fF_f1): Likewise.
1482 (RUN_TEST_fI_f1): Likewise.
1483 (RUN_TEST_LOOP_fI_f1): Likewise.
1484 (RUN_TEST_ffI_f1): Likewise.
1485 (RUN_TEST_LOOP_ffI_f1): Likewise.
1486 (RUN_TEST_c_c): Likewise.
1487 (RUN_TEST_LOOP_c_c): Likewise.
1488 (RUN_TEST_cc_c): Likewise.
1489 (RUN_TEST_LOOP_cc_c): Likewise.
1490 (RUN_TEST_f_i): Likewise.
1491 (RUN_TEST_LOOP_f_i): Likewise.
1492 (RUN_TEST_f_i_tg): Likewise.
1493 (RUN_TEST_LOOP_f_i_tg): Likewise.
1494 (RUN_TEST_ff_i_tg): Likewise.
1495 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1496 (RUN_TEST_f_b): Likewise.
1497 (RUN_TEST_LOOP_f_b): Likewise.
1498 (RUN_TEST_f_b_tg): Likewise.
1499 (RUN_TEST_LOOP_f_b_tg): Likewise.
1500 (RUN_TEST_f_l): Likewise.
1501 (RUN_TEST_LOOP_f_l): Likewise.
1502 (RUN_TEST_f_L): Likewise.
1503 (RUN_TEST_LOOP_f_L): Likewise.
1504 (RUN_TEST_sincos): Likewise.
1505 (RUN_TEST_LOOP_sincos): Likewise.
1506
8269107f
JM
15072013-05-17 Joseph Myers <joseph@codesourcery.com>
1508
bb38759d
JM
1509 [BZ #15480]
1510 [BZ #15485]
1511 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1512 main case of finite arguments, set rounding mode to FE_TONEAREST
1513 and discard exceptions.
1514 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1515 exceptions.
1516 (remainder_tonearest_test_data): New variable.
1517 (remainder_test_tonearest): New function.
1518 (remainder_towardzero_test_data): New variable.
1519 (remainder_test_towardzero): New function.
1520 (remainder_downward_test_data): New variable.
1521 (remainder_test_downward): New function.
1522 (remainder_upward_test_data): New variable.
1523 (remainder_test_upward): New function.
1524 (main): Call the new test functions.
1525
a00bdcf0
JM
1526 * math/libm-test.inc (struct test_f_f1_data): Remove field
1527 extra_init.
1528 (struct test_fF_f1_data): Likewise.
1529 (struct test_ffI_f1_data): Likewise.
1530 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1531 based on value of EXTRA_EXPECTED.
1532 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1533 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1534 EXTRA_VAR based on value of EXTRA_EXPECTED.
1535 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1536 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1537 EXTRA_VAR based on value of EXTRA_EXPECTED.
1538 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1539 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1540 EXTRA_VAR based on value of EXTRA_EXPECTED.
1541 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1542 * math/gen-libm-test.pl (parse_args): Don't output initializers
1543 for extra output values.
1544
de407f79
JM
1545 * math/libm-test.inc (check_int): Expect result to be exactly
1546 equal to expected value and do not handle ulps.
1547 (check_long): Likewise.
1548 (check_longlong): Likewise.
1549
8269107f
JM
1550 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1551 exceptions.
1552 (cimag_test_data): Likewise.
1553 (conj_test_data): Likewise.
1554 (copysign_test_data): Likewise.
1555 (cproj_test_data): Likewise.
1556 (creal_test_data): Likewise.
1557 (fabs_test_data): Likewise.
1558 (fdim_test_data): Likewise.
1559 (finite_test_data): Likewise.
1560 (floor_test_data): Likewise.
1561 (fmax_test_data): Likewise.
1562 (fmin_test_data): Likewise.
1563 (fmod_test_data): Likewise.
1564 (fpclassify_test_data): Likewise.
1565 (frexp_test_data): Likewise.
1566 (ilogb_test_data): Likewise.
1567 (isfinite_test_data): Likewise.
1568 (isgreater_test_data): Likewise.
1569 (isgreaterequal_test_data): Likewise.
1570 (isinf_test_data): Likewise.
1571 (isless_test_data): Likewise.
1572 (islessequal_test_data): Likewise.
1573 (islessgreater_test_data): Likewise.
1574 (isnan_test_data): Likewise.
1575 (isnormal_test_data): Likewise.
1576 (issignaling_test_data): Likewise.
1577 (isunordered_test_data): Likewise.
1578 (ldexp_test_data): Likewise.
1579 (lrint_test_data): Likewise.
1580 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1581 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1582 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1583 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1584 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1585 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1586 test input.
1587 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1588 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1589 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1590 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1591 that test input.
1592 (lrint_downward_test_data): Test for "inexact" exceptions.
1593 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1594 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1595 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1596 test input.
1597 (lrint_upward_test_data): Test for "inexact" exceptions.
1598 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1599 test input.
1600 (llrint_test_data): Test for "inexact" exceptions.
1601 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1602 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1603 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1604 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1605 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1606 (llrint_downward_test_data): Test for "inexact" exceptions.
1607 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1608 (llrint_upward_test_data): Test for "inexact" exceptions.
1609 (logb_test_data): Likewise.
1610 (logb_downward_test_data): Likewise.
1611 (nextafter_test_data): Likewise.
1612 (nexttoward_test_data): Likewise.
1613 (remainder_test_data): Likewise.
1614 (remquo_test_data): Likewise.
1615 (scalbn_test_data): Likewise.
1616 (scalbln_test_data): Likewise.
1617 (signbit_test_data): Likewise.
1618 (sqrt_test_data): Likewise.
1619 (significand_test_data): Likewise.
1620
48a18de1
SP
16212013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1622
1623 [BZ #15424]
1624 * benchtests/bench-modf.c (struct args): Mark arg0 as
1625 volatile.
1626 * scripts/bench.pl: Mark members of struct args as volatile.
1627
13d3b41a
AZ
16282013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1629
68191c1d 1630 [BZ # 15497]
13d3b41a
AZ
1631 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1632 negative infinity on POWER6 or lower.
1633 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1634
2848b105
MR
16352013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1636
1637 [BZ #15442]
1638 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1639 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1640 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1641 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1642 (_FP_SETQNAN): New macro.
1643 (_FP_SETQNAN_SEMIRAW): Likewise.
1644 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1645 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1646 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1647 (FP_EXTEND): Use _FP_FRAC_SNANP.
1648 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1649 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1650 into account.
1651 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1652 New macro.
1653 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1654 Likewise.
1655
323e5cb7
JM
16562013-05-16 Joseph Myers <joseph@codesourcery.com>
1657
c58b274f
JM
1658 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1659 with DIVIDE_BY_ZERO_EXCEPTION.
1660 (gamma_test_data): Likewise.
1661 (lgamma_test_data): Likewise.
1662 (log_test_data): Likewise.
1663 (log10_test_data): Likewise.
1664 (log2_test_data): Likewise.
1665 (tgamma_test_data): Likewise.
1666
0ab34904
JM
1667 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1668 (acos_test_tonearest): Likewise.
1669 (acos_test_towardzero): Likewise.
1670 (acos_test_downward): Likewise.
1671 (acos_test_upward): Likewise.
1672 (acosh_test): Likewise.
1673 (asin_test): Likewise.
1674 (asin_test_tonearest): Likewise.
1675 (asin_test_towardzero): Likewise.
1676 (asin_test_downward): Likewise.
1677 (asin_test_upward): Likewise.
1678 (asinh_test): Likewise.
1679 (atan_test): Likewise.
1680 (atanh_test): Likewise.
1681 (atan2_test): Likewise.
1682 (cabs_test): Likewise.
1683 (cacos_test): Likewise.
1684 (cacosh_test): Likewise.
1685 (casin_test): Likewise.
1686 (casinh_test): Likewise.
1687 (catan_test): Likewise.
1688 (catanh_test): Likewise.
1689 (cbrt_test): Likewise.
1690 (ccos_test): Likewise.
1691 (ccosh_test): Likewise.
1692 (cexp_test): Likewise.
1693 (clog_test): Likewise.
1694 (clog10_test): Likewise.
1695 (cos_test): Likewise.
1696 (cos_test_tonearest): Likewise.
1697 (cos_test_towardzero): Likewise.
1698 (cos_test_downward): Likewise.
1699 (cos_test_upward): Likewise.
1700 (cosh_test): Likewise.
1701 (cosh_test_tonearest): Likewise.
1702 (cosh_test_towardzero): Likewise.
1703 (cosh_test_downward): Likewise.
1704 (cosh_test_upward): Likewise.
1705 (cpow_test): Likewise.
1706 (csin_test): Likewise.
1707 (csinh_test): Likewise.
1708 (csqrt_test): Likewise.
1709 (ctan_test): Likewise.
1710 (ctan_test_tonearest): Likewise.
1711 (ctan_test_towardzero): Likewise.
1712 (ctan_test_downward): Likewise.
1713 (ctan_test_upward): Likewise.
1714 (ctanh_test): Likewise.
1715 (ctanh_test_tonearest): Likewise.
1716 (ctanh_test_towardzero): Likewise.
1717 (ctanh_test_downward): Likewise.
1718 (ctanh_test_upward): Likewise.
1719 (erf_test): Likewise.
1720 (erfc_test): Likewise.
1721 (exp_test): Likewise.
1722 (exp_test_tonearest): Likewise.
1723 (exp_test_towardzero): Likewise.
1724 (exp_test_downward): Likewise.
1725 (exp_test_upward): Likewise.
1726 (exp10_test): Likewise.
1727 (exp2_test): Likewise.
1728 (expm1_test): Likewise.
1729 (fmod_test): Likewise.
1730 (gamma_test): Likewise.
1731 (hypot_test): Likewise.
1732 (j0_test): Likewise.
1733 (j1_test): Likewise.
1734 (jn_test): Likewise.
1735 (lgamma_test): Likewise.
1736 (log_test): Likewise.
1737 (log10_test): Likewise.
1738 (log1p_test): Likewise.
1739 (log2_test): Likewise.
1740 (logb_test_downward): Likewise.
1741 (pow_test): Likewise.
1742 (pow_test_tonearest): Likewise.
1743 (pow_test_towardzero): Likewise.
1744 (pow_test_downward): Likewise.
1745 (pow_test_upward): Likewise.
1746 (remainder_test): Likewise.
1747 (remquo_test): Likewise.
1748 (sin_test): Likewise.
1749 (sin_test_tonearest): Likewise.
1750 (sin_test_towardzero): Likewise.
1751 (sin_test_downward): Likewise.
1752 (sin_test_upward): Likewise.
1753 (sincos_test): Likewise.
1754 (sinh_test): Likewise.
1755 (sinh_test_tonearest): Likewise.
1756 (sinh_test_towardzero): Likewise.
1757 (sinh_test_downward): Likewise.
1758 (sinh_test_upward): Likewise.
1759 (sqrt_test): Likewise.
1760 (tan_test): Likewise.
1761 (tan_test_tonearest): Likewise.
1762 (tan_test_towardzero): Likewise.
1763 (tan_test_downward): Likewise.
1764 (tan_test_upward): Likewise.
1765 (tanh_test): Likewise.
1766 (tgamma_test): Likewise.
1767 (y0_test): Likewise.
1768 (y1_test): Likewise.
1769 (yn_test): Likewise.
1770
323e5cb7
JM
1771 * math/gen-libm-test.pl (adjust_arg): Remove function.
1772 (special_function): Remove argument $in_func. Only handle
1773 generating output for tables of tests, not inside functions.
1774 (parse_args): Likewise.
1775 (generate_testfile): Remove variable $in_func. Update call to
1776 parse_args.
1777 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1778 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1779 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1780 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1781 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1782 (MAX_VALUE_INIT): Rename macro to max_value.
1783 (MIN_VALUE_INIT): Rename macro to min_value.
1784 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1785 (plus_zero): Remove variable.
1786 (minus_zero): Likewise.
1787 (plus_infty): Likewise.
1788 (minus_infty): Likewise.
1789 (qnan_value): Likewise.
1790 (max_value): Likewise.
1791 (min_value): Likewise.
1792 (min_subnorm_value): Likewise.
1793
e054f494
RA
17942013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1795
1796 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1797 uint64_t or uint32_t usage.
1798 * crypt/sha256-block.c: Likewise.
1799 * crypt/sha256-crypt.c: Likewise.
1800 * crypt/sha256.c: Likewise.
1801 * crypt/sha512-block.c: Likewise.
1802 * crypt/sha512-crypt.c: Likewise.
1803 * crypt/sha512.c: Likewise.
1804 * debug/backtrace-tst.c: Likewise.
1805 * debug/pcprofiledump.c: Likewise.
1806 * elf/cache.c: Likewise.
1807 * elf/dl-cache.c: Likewise.
1808 * elf/dl-misc.c: Likewise.
1809 * elf/dl-profile.c: Likewise.
1810 * elf/dl-support.c: Likewise.
1811 * elf/ldconfig.c: Likewise.
1812 * elf/sprof.c: Likewise.
1813 * iconv/dummy-repertoire.c: Likewise.
1814 * iconv/iconv_charmap.c: Likewise.
1815 * iconv/skeleton.c: Likewise.
1816 * iconvdata/8bit-generic.c: Likewise.
1817 * iconvdata/cp737.h: Likewise.
1818 * iconvdata/cp775.h: Likewise.
1819 * iconvdata/ibm1008.h: Likewise.
1820 * iconvdata/ibm1025.h: Likewise.
1821 * iconvdata/ibm1046.h: Likewise.
1822 * iconvdata/ibm1097.h: Likewise.
1823 * iconvdata/ibm1112.h: Likewise.
1824 * iconvdata/ibm1122.h: Likewise.
1825 * iconvdata/ibm1123.h: Likewise.
1826 * iconvdata/ibm1124.h: Likewise.
1827 * iconvdata/ibm1129.h: Likewise.
1828 * iconvdata/ibm1130.h: Likewise.
1829 * iconvdata/ibm1132.h: Likewise.
1830 * iconvdata/ibm1133.h: Likewise.
1831 * iconvdata/ibm1137.h: Likewise.
1832 * iconvdata/ibm1140.h: Likewise.
1833 * iconvdata/ibm1141.h: Likewise.
1834 * iconvdata/ibm1142.h: Likewise.
1835 * iconvdata/ibm1143.h: Likewise.
1836 * iconvdata/ibm1144.h: Likewise.
1837 * iconvdata/ibm1145.h: Likewise.
1838 * iconvdata/ibm1146.h: Likewise.
1839 * iconvdata/ibm1147.h: Likewise.
1840 * iconvdata/ibm1148.h: Likewise.
1841 * iconvdata/ibm1149.h: Likewise.
1842 * iconvdata/ibm1153.h: Likewise.
1843 * iconvdata/ibm1154.h: Likewise.
1844 * iconvdata/ibm1155.h: Likewise.
1845 * iconvdata/ibm1156.h: Likewise.
1846 * iconvdata/ibm1157.h: Likewise.
1847 * iconvdata/ibm1158.h: Likewise.
1848 * iconvdata/ibm1160.h: Likewise.
1849 * iconvdata/ibm1161.h: Likewise.
1850 * iconvdata/ibm1162.h: Likewise.
1851 * iconvdata/ibm1163.h: Likewise.
1852 * iconvdata/ibm1164.h: Likewise.
1853 * iconvdata/ibm1166.h: Likewise.
1854 * iconvdata/ibm1167.h: Likewise.
1855 * iconvdata/ibm12712.h: Likewise.
1856 * iconvdata/ibm1390.h: Likewise.
1857 * iconvdata/ibm1399.h: Likewise.
1858 * iconvdata/ibm16804.h: Likewise.
1859 * iconvdata/ibm4517.h: Likewise.
1860 * iconvdata/ibm4899.h: Likewise.
1861 * iconvdata/ibm4909.h: Likewise.
1862 * iconvdata/ibm4971.h: Likewise.
1863 * iconvdata/ibm5347.h: Likewise.
1864 * iconvdata/ibm803.h: Likewise.
1865 * iconvdata/ibm856.h: Likewise.
1866 * iconvdata/ibm901.h: Likewise.
1867 * iconvdata/ibm902.h: Likewise.
1868 * iconvdata/ibm9030.h: Likewise.
1869 * iconvdata/ibm9066.h: Likewise.
1870 * iconvdata/ibm921.h: Likewise.
1871 * iconvdata/ibm922.h: Likewise.
1872 * iconvdata/ibm9448.h: Likewise.
1873 * iconvdata/isiri-3342.h: Likewise.
1874 * iconvdata/jis0201.h: Likewise.
1875 * include/link.h: Likewise.
1876 * include/netdb.h: Likewise.
1877 * inet/check_native.c: Likewise.
1878 * inet/check_pf.c: Likewise.
1879 * inet/getipv4sourcefilter.c: Likewise.
1880 * inet/getnameinfo.c: Likewise.
1881 * inet/getsourcefilter.c: Likewise.
1882 * inet/htonl.c: Likewise.
1883 * inet/setipv4sourcefilter.c: Likewise.
1884 * inet/setsourcefilter.c: Likewise.
1885 * inet/test-inet6_opt.c: Likewise.
1886 * inet/tst-network.c: Likewise.
1887 * locale/C-collate.c: Likewise.
1888 * locale/C-ctype.c: Likewise.
1889 * locale/C-time.c: Likewise.
1890 * locale/C-translit.h: Likewise.
1891 * locale/loadarchive.c: Likewise.
1892 * locale/programs/3level.h: Likewise.
1893 * locale/programs/charmap.c: Likewise.
1894 * locale/programs/charmap.h: Likewise.
1895 * locale/programs/ld-address.c: Likewise.
1896 * locale/programs/ld-collate.c: Likewise.
1897 * locale/programs/ld-ctype.c: Likewise.
1898 * locale/programs/ld-identification.c: Likewise.
1899 * locale/programs/ld-measurement.c: Likewise.
1900 * locale/programs/ld-messages.c: Likewise.
1901 * locale/programs/ld-monetary.c: Likewise.
1902 * locale/programs/ld-name.c: Likewise.
1903 * locale/programs/ld-numeric.c: Likewise.
1904 * locale/programs/ld-paper.c: Likewise.
1905 * locale/programs/ld-telephone.c: Likewise.
1906 * locale/programs/ld-time.c: Likewise.
1907 * locale/programs/linereader.c: Likewise.
1908 * locale/programs/locale.c: Likewise.
1909 * locale/programs/locarchive.c: Likewise.
1910 * locale/programs/locfile.h: Likewise.
1911 * locale/programs/repertoire.c: Likewise.
1912 * locale/programs/simple-hash.c: Likewise.
1913 * locale/programs/simple-hash.h: Likewise.
1914 * malloc/memusage.c: Likewise.
1915 * malloc/memusagestat.c: Likewise.
1916 * nis/nis_defaults.c: Likewise.
1917 * nis/nis_hash.c: Likewise.
1918 * nis/nis_print.c: Likewise.
1919 * nis/nis_xdr.c: Likewise.
1920 * nscd/connections.c: Likewise.
1921 * nscd/hstcache.c: Likewise.
1922 * nscd/nscd_gethst_r.c: Likewise.
1923 * nscd/nscd_getserv_r.c: Likewise.
1924 * nscd/nscd_helper.c: Likewise.
1925 * nscd/servicescache.c: Likewise.
1926 * nss/makedb.c: Likewise.
1927 * nss/nss_db/db-XXX.c: Likewise.
1928 * nss/nss_db/db-initgroups.c: Likewise.
1929 * nss/nss_db/db-netgrp.c: Likewise.
1930 * nss/nss_files/files-network.c: Likewise.
1931 * nss/nss_files/files-parse.c: Likewise.
1932 * posix/bug-regex5.c: Likewise.
1933 * posix/fnmatch_loop.c: Likewise.
1934 * posix/regcomp.c: Likewise.
1935 * posix/regexec.c: Likewise.
1936 * posix/tst-rfc3484-2.c: Likewise.
1937 * posix/tst-rfc3484-3.c: Likewise.
1938 * posix/tst-rfc3484.c: Likewise.
1939 * resolv/nss_dns/dns-canon.c: Likewise.
1940 * resolv/nss_dns/dns-network.c: Likewise.
1941 * resolv/res_init.c: Likewise.
1942 * resolv/res_mkquery.c: Likewise.
1943 * resolv/tst-aton.c: Likewise.
1944 * stdlib/cxa_atexit.c: Likewise.
1945 * stdlib/cxa_finalize.c: Likewise.
1946 * stdlib/gen-fpioconst.c: Likewise.
1947 * stdlib/strtol_l.c: Likewise.
1948 * string/tst-endian.c: Likewise.
1949 * sunrpc/auth_des.c: Likewise.
1950 * sunrpc/clnt_udp.c: Likewise.
1951 * sunrpc/rtime.c: Likewise.
1952 * sunrpc/svcauth_des.c: Likewise.
1953 * sunrpc/xdr.c: Likewise.
1954 * sunrpc/xdr_intXX_t.c: Likewise.
1955 * sunrpc/xdr_rec.c: Likewise.
1956 * sysdeps/generic/ldconfig.h: Likewise.
1957 * sysdeps/generic/ldsodefs.h: Likewise.
1958 * sysdeps/generic/memusage.h: Likewise.
1959 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1960 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1961 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1962 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1963 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1964 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1965 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1966 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1967 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1968 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1969 * sysdeps/posix/getaddrinfo.c: Likewise.
1970 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1971 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1972 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1973 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1974 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1975 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1976 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1977 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1978 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1979 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1980 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1981 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1982 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1983 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1984 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1985 * sysdeps/x86_64/dl-tls.h: Likewise.
1986 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1987 * time/alt_digit.c: Likewise.
1988 * time/era.c: Likewise.
1989 * wcsmbs/tst-c16c32-1.c: Likewise.
1990
8c75f674
JM
19912013-05-16 Joseph Myers <joseph@codesourcery.com>
1992
1993 * math/libm-test.inc (struct test_sincos_data): New type.
1994 (RUN_TEST_LOOP_sincos): New macro.
1995 (sincos_test_data): New variable.
1996 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1997
e6e49e59
RH
19982013-05-16 Richard Henderson <rth@redhat.com>
1999
2000 * math/atest-exp2.c (LIMB64): New macro.
2001 (CONSTSZ): New macro.
2002 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2003 (hexdig): Move ...
2004 (print_mpn_fp): ... to function scope.
2005 (read_mpn_hex): Remove.
2006 (get_log2): Remove.
2007 (exp2_mpn): Use mp_log2.
2008 (main): Use mp_exp1.
2009
15c7c18d
JM
20102013-05-16 Joseph Myers <joseph@codesourcery.com>
2011
105a07df
JM
2012 * math/libm-test.inc: Remove comment about not testing "inexact"
2013 exceptions.
2014 (INEXACT_EXCEPTION): New macro.
2015 (NO_INEXACT_EXCEPTION): Likewise.
2016 (INVALID_EXCEPTION_OK): Update value.
2017 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2018 (OVERFLOW_EXCEPTION_OK): Likewise.
2019 (UNDERFLOW_EXCEPTION_OK): Likewise.
2020 (IGNORE_ZERO_INF_SIGN): Likewise.
2021 (ERRNO_UNCHANGED): Likewise.
2022 (ERRNO_EDOM): Likewise.
2023 (ERRNO_ERANGE): Likewise.
2024 (test_exceptions): Handle testing "inexact" exceptions.
2025 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2026 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2027 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2028 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2029 INEXACT_EXCEPTION.
2030 (rint_towardzero_test_data): Likewise.
2031 (rint_downward_test_data): Likewise.
2032 (rint_upward_test_data): Likewise.
2033
e9eee333
JM
2034 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2035 with OVERFLOW_EXCEPTION.
2036 (exp10_test_data): Likewise.
2037 (exp2_test_data): Likewise.
2038 (expm1_test_data): Likewise.
2039 (lgamma_test_data): Likewise.
2040 (pow_test_data): Likewise.
2041 (tgamma_test_data): Likewise.
2042 (yn_test_data): Remove duplicate test of overflow.
2043
1c38ff73
JM
2044 * math/libm-test.inc (struct test_cc_c_data): New type.
2045 (RUN_TEST_LOOP_cc_c): New macro.
2046 (cpow_test_data): New variable.
2047 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2048
15c7c18d
JM
2049 * math/libm-test.inc (struct test_f_L_data): New type.
2050 (RUN_TEST_LOOP_f_L): New macro.
2051 (llrint_test_data): New variable.
2052 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2053 (llrint_tonearest_test_data): New variable.
2054 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2055 (llrint_towardzero_test_data): New variable.
2056 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2057 (llrint_downward_test_data): New variable.
2058 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2059 (llrint_upward_test_data): New variable.
2060 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2061 (llround_test_data): New variable.
2062 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2063
f137ff13
PC
20642013-05-13 Peter Collingbourne <pcc@google.com>
2065
2066 * math/atest-exp2.c (get_log2): Remove const attribute.
2067
3608cb24
JM
20682013-05-15 Joseph Myers <joseph@codesourcery.com>
2069
2070 * math/libm-test.inc (struct test_f_l_data): New type.
2071 (RUN_TEST_LOOP_f_l): New macro.
2072 (lrint_test_data): New variable.
2073 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2074 (lrint_tonearest_test_data): New variable.
2075 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2076 (lrint_towardzero_test_data): New variable.
2077 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2078 (lrint_downward_test_data): New variable.
2079 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2080 (lrint_upward_test_data): New variable.
2081 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2082 (lround_test_data): New variable.
2083 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2084
39b1f617
PC
20852013-05-15 Peter Collingbourne <pcc@google.com>
2086
1deff3dc
PC
2087 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2088 (EXTRACT_WORDS64) Use where appropriate.
2089 (INSERT_WORDS64) Likewise.
2090
791f3ba0
PC
2091 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2092 constraints with x constraints.
2093 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2094
39b1f617
PC
2095 * malloc/obstack.c (_obstack_compat): Add initializer.
2096
12fba011
EM
20972013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2098
2099 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2100 si_trapno and add si_addr_lsb to _sifields.sigfault.
2101 (si_trapno): Remove macro.
2102 (si_addr_lsb): Define new macro.
2103 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2104
d369f531
JM
21052013-05-15 Joseph Myers <joseph@codesourcery.com>
2106
b861c6c4
JM
2107 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2108 instead of TEST_f_l.
2109 (llrint_test_tonearest): Likewise.
2110 (llrint_test_towardzero): Likewise.
2111 (llrint_test_downward): Likewise.
2112 (llrint_test_upward): Likewise.
2113 (llround_test): Likewise.
2114
7abeee12
JM
2115 * math/libm-test.inc (struct test_f_i_data): Add comment.
2116 (RUN_TEST_LOOP_f_b): New macro.
2117 (RUN_TEST_LOOP_f_b_tg): Likewise.
2118 (finite_test_data): New variable.
2119 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2120 (isfinite_test_data): New variable.
2121 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2122 (isinf_test_data): New variable.
2123 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2124 (isnan_test_data): New variable.
2125 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2126 (isnormal_test_data): New variable.
2127 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2128 (issignaling_test_data): New variable.
2129 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2130 (signbit_test_data): New variable.
2131 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2132
cbe8c4d3
JM
2133 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2134 with INVALID_EXCEPTION.
2135 (acosh_test_data): Likewise.
2136 (asin_test_data): Likewise.
2137 (atanh_test_data): Likewise.
2138 (fmod_test_data): Likewise.
2139 (log_test_data): Likewise.
2140 (log10_test_data): Likewise.
2141 (log2_test_data): Likewise.
2142 (pow_test_data): Likewise.
2143 (sqrt_test_data): Likewise.
2144 (y0_test_data): Likewise.
2145 (y1_test_data): Likewise.
2146 (yn_test_data): Likewise.
2147
5575c0e5
JM
2148 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2149 function contents.
2150
d369f531
JM
2151 * math/libm-test.inc (struct test_ff_i_data): New type.
2152 (RUN_TEST_LOOP_ff_i_tg): New macro.
2153 (isgreater_test_data): New variable.
2154 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2155 (isgreaterequal_test_data): New variable.
2156 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2157 (isless_test_data): New variable.
2158 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2159 (islessequal_test_data): New variable.
2160 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2161 (islessgreater_test_data): New variable.
2162 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2163 (isunordered_test_data): New variable.
2164 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2165
781fd748
DM
21662013-05-14 David S. Miller <davem@davemloft.net>
2167
2168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2169
87aa21df
JM
21702013-05-14 Joseph Myers <joseph@codesourcery.com>
2171
5e908270
JM
2172 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2173
f71172e5
JM
2174 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2175 extra_test to int.
2176 (struct test_f_i_data): Change type of max_ulp to int.
2177
8cfa635a
JM
2178 * math/libm-test.inc (test_ffI_f1_data): New type.
2179 (RUN_TEST_LOOP_ffI_f1): New macro.
2180 (remquo_test_data): New variable.
2181 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2182
2bcb36b2
JM
2183 * setjmp/tst-setjmp-fp.c: New file.
2184 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2185 (link-libm): New variable.
2186 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2187
acbd839a
JM
2188 * math/libm-test.inc (struct test_f_i_data): New type.
2189 (RUN_TEST_LOOP_f_i): New macro.
2190 (RUN_TEST_LOOP_f_i_tg): Likewise.
2191 (fpclassify_test_data): New variable.
2192 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2193 (ilogb_test_data): New variable.
2194 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2195
e414d745
JM
2196 * math/libm-test.inc (scalbln_test): Correct function name in END
2197 call.
2198
d9c2a0fd
JM
2199 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2200 (RUN_TEST_LOOP_fI_f1): New macro.
2201 (frexp_test_data): New variable.
2202 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2203
9dc9095d
JM
2204 * math/libm-test.inc (struct test_fF_f1_data): New type.
2205 (RUN_TEST_LOOP_fF_f1): New macro.
2206 (modf_test_data): New variable.
2207 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2208
87aa21df
JM
2209 * math/libm-test.inc (struct test_f_f1_data): New type.
2210 (RUN_TEST_LOOP_f_f1): New macro.
2211 (gamma_test_data): New variable.
2212 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2213 (lgamma_test_data): New variable.
2214 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2215
141af660
CD
22162013-05-13 Carlos O'Donell <carlos@redhat.com>
2217
2218 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2219 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2220 (main): Comment "tls" pseudo-hwcap.
2221
6d33265c
JM
22222013-05-13 Joseph Myers <joseph@codesourcery.com>
2223
68fc074c
JM
2224 * math/libm-test.inc (struct test_fl_f_data): New type.
2225 (RUN_TEST_LOOP_fl_f): New variable.
2226 (scalbln_test_data): New variable.
2227 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2228
243216e1
JM
2229 * math/libm-test.inc (struct test_fi_f_data): New type.
2230 (RUN_TEST_LOOP_fi_f): New macro.
2231 (ldexp_test_data): New variable.
2232 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2233 (scalbn_test_data): New variable.
2234 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2235
6a1992e2
JM
2236 * math/libm-test.inc (struct test_c_f_data): New type.
2237 (RUN_TEST_LOOP_c_f): New macro.
2238 (cabs_test_data): New variable.
2239 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2240 (carg_test_data): New variable.
2241 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2242 (cimag_test_data): New variable.
2243 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2244 (creal_test_data): New variable.
2245 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2246
0e400df5
JM
2247 * math/libm-test.inc (struct test_if_f_data): New type.
2248 (RUN_TEST_LOOP_if_f): New macro.
2249 (jn_test_data): New variable.
2250 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2251 (yn_test_data): New variable.
2252 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2253
6d33265c
JM
2254 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2255
f98ece5f
AZ
22562013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2257
2258 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2259 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2260
0f7d347b
SP
22612013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2262
43fe811b
SP
2263 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2264 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2265 (bench-deps): Add bench-timing.h.
2266 * benchtests-bench-skeleton.c: Include bench-timing.h.
2267 (main): Use TIMING_* macros instead of clock_gettime.
2268 * benchtests/bench-timing.h: New file.
2269
0f7d347b
SP
2270 [BZ #14582]
2271 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2272 Renamed from _LIB_VERSION.
2273 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2274
601a3a5f
JM
22752013-05-12 Joseph Myers <joseph@codesourcery.com>
2276
4f184d30
JM
2277 * math/libm-test.inc (struct test_fff_f_data): New type.
2278 (RUN_TEST_LOOP_fff_f): New macro.
2279 (fma_test_data): New variable.
2280 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2281 (fma_towardzero_test_data): New variable.
2282 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2283 (fma_downward_test_data): New variable.
2284 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2285 (fma_upward_test_data): New variable.
2286 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2287
08198877
JM
2288 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2289 (struct test_c_c_data): New type.
2290 (RUN_TEST_LOOP_c_c): New macro.
2291 (cacos_test_data): New variable.
2292 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2293 (cacosh_test_data): New variable.
2294 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2295 (casin_test_data): New variable.
2296 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2297 (casinh_test_data): New variable.
2298 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2299 (catan_test_data): New variable.
2300 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2301 (catanh_test_data): New variable.
2302 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2303 (ccos_test_data): New variable.
2304 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2305 (ccosh_test_data): New variable.
2306 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2307 (cexp_test_data): New variable.
2308 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2309 (clog_test_data): New variable.
2310 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2311 (clog10_test_data): New variable.
2312 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2313 (conj_test_data): New variable.
2314 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2315 (cproj_test_data): New variable.
2316 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2317 (csin_test_data): New variable.
2318 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2319 (csinh_test_data): New variable.
2320 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2321 (csqrt_test_data): New variable.
2322 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2323 (ctan_test_data): New variable.
2324 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2325 (ctan_tonearest_test_data): New variable.
2326 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2327 (ctan_towardzero_test_data): New variable.
2328 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2329 (ctan_downward_test_data): New variable.
2330 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2331 (ctan_upward_test_data): New variable.
2332 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2333 (ctanh_test_data): New variable.
2334 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2335 (ctanh_tonearest_test_data): New variable.
2336 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2337 (ctanh_towardzero_test_data): New variable.
2338 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2339 (ctanh_downward_test_data): New variable.
2340 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2341 (ctanh_upward_test_data): New variable.
2342 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2343 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2344 of BUILD_COMPLEX.
2345
601a3a5f
JM
2346 * math/libm-test.inc (struct test_ff_f_data): New type.
2347 (struct test_ff_f_data_nexttoward): Likewise.
2348 (RUN_TEST_LOOP_2_f): New macro.
2349 (RUN_TEST_LOOP_ff_f): Likewise.
2350 (atan2_test_data): New variable.
2351 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2352 (copysign_test_data): New variable.
2353 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2354 (fdim_test_data): New variable.
2355 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2356 (fmax_test_data): New variable.
2357 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2358 (fmin_test_data): New variable.
2359 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2360 (fmod_test_data): New variable.
2361 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2362 (hypot_test_data): New variable.
2363 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2364 (nextafter_test_data): New variable.
2365 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2366 (nexttoward_test_data): New variable.
2367 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2368 (pow_test_data): New variable.
2369 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2370 (pow_tonearest_test_data): New variable.
2371 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2372 (pow_towardzero_test_data): New variable.
2373 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2374 (pow_downward_test_data): New variable.
2375 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2376 (pow_upward_test_data): New variable.
2377 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2378 (remainder_test_data): New variable.
2379 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2380 (scalb_test_data): New variable.
2381 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2382 * sysdeps/i386/fpu/libm-test-ulps: Update.
2383
74c57478
JM
23842013-05-11 Joseph Myers <joseph@codesourcery.com>
2385
8329e4da
JM
2386 * math/libm-test.inc (fma_test): Use max_value instead of local
2387 variable fltmax.
2388 (nextafter_test): Likewise.
2389
74c57478
JM
2390 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2391 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2392 (acos_downward_test_data): New variable.
2393 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2394 (acos_upward_test_data): New variable.
2395 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2396 (acosh_test_data): New variable.
2397 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2398 (asin_test_data): New variable.
2399 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2400 (asin_tonearest_test_data): New variable.
2401 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2402 (asin_towardzero_test_data): New variable.
2403 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2404 (asin_downward_test_data): New variable.
2405 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2406 (asin_upward_test_data): New variable.
2407 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2408 (asinh_test_data): New variable.
2409 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2410 (atan_test_data): New variable.
2411 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2412 (atanh_test_data): New variable.
2413 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2414 (cbrt_test_data): New variable.
2415 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2416 (ceil_test_data): New variable.
2417 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2418 (cos_test_data): New variable.
2419 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2420 (cos_tonearest_test_data): New variable.
2421 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2422 (cos_towardzero_test_data): New variable.
2423 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2424 (cos_downward_test_data): New variable.
2425 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2426 (cos_upward_test_data): New variable.
2427 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2428 (cosh_test_data): New variable.
2429 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2430 (cosh_tonearest_test_data): New variable.
2431 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2432 (cosh_towardzero_test_data): New variable.
2433 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2434 (cosh_downward_test_data): New variable.
2435 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2436 (cosh_upward_test_data): New variable.
2437 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2438 (erf_test_data): New variable.
2439 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2440 (erfc_test_data): New variable.
2441 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2442 (exp_test_data): New variable.
2443 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2444 (exp_tonearest_test_data): New variable.
2445 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2446 (exp_towardzero_test_data): New variable.
2447 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2448 (exp_downward_test_data): New variable.
2449 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2450 (exp_upward_test_data): New variable.
2451 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2452 (exp10_test_data): New variable.
2453 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2454 (exp2_test_data): New variable.
2455 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2456 (expm1_test_data): New variable.
2457 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2458 (fabs_test_data): New variable.
2459 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2460 (floor_test_data): New variable.
2461 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2462 (j0_test_data): New variable.
2463 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2464 (j1_test_data): New variable.
2465 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2466 (log_test_data): New variable.
2467 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2468 (log10_test_data): New variable.
2469 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2470 (log1p_test_data): New variable.
2471 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2472 (log2_test_data): New variable.
2473 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2474 (logb_test_data): New variable.
2475 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2476 (logb_downward_test_data): New variable.
2477 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2478 (nearbyint_test_data): New variable.
2479 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2480 (rint_test_data): New variable.
2481 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2482 (rint_tonearest_test_data): New variable.
2483 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2484 (rint_towardzero_test_data): New variable.
2485 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2486 (rint_downward_test_data): New variable.
2487 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2488 (rint_upward_test_data): New variable.
2489 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2490 (round_test_data): New variable.
2491 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2492 (sin_test_data): New variable.
2493 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2494 (sin_tonearest_test_data): New variable.
2495 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2496 (sin_towardzero_test_data): New variable.
2497 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2498 (sin_downward_test_data): New variable.
2499 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2500 (sin_upward_test_data): New variable.
2501 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2502 (sinh_test_data): New variable.
2503 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2504 (sinh_tonearest_test_data): New variable.
2505 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2506 (sinh_towardzero_test_data): New variable.
2507 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2508 (sinh_downward_test_data): New variable.
2509 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2510 (sinh_upward_test_data): New variable.
2511 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2512 (sqrt_test_data): New variable.
2513 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2514 (tan_test_data): New variable.
2515 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2516 (tan_tonearest_test_data): New variable.
2517 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2518 (tan_towardzero_test_data): New variable.
2519 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2520 (tan_downward_test_data): New variable.
2521 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2522 (tan_upward_test_data): New variable.
2523 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2524 (tanh_test_data): New variable.
2525 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2526 (tgamma_test_data): New variable.
2527 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2528 (trunc_test_data): New variable.
2529 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2530 (y0_test_data): New variable.
2531 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2532 (y1_test_data): New variable.
2533 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2534 (significand_test_data): New variable.
2535 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2536
7187d844
CG
25372013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2538
2539 [BZ #12387]
2540 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2541
f63fae73
PT
25422013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2543
2544 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2545
8a67a4b3
AJ
25462013-05-10 Andreas Jaeger <aj@suse.de>
2547
2548 [BZ #15448]
2549 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2550 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2551
51df539d
JM
25522013-05-10 Joseph Myers <joseph@codesourcery.com>
2553
2554 * math/gen-libm-test.pl (adjust_arg): New function.
2555 (special_functions): Handle generating output in both functions
2556 and arrays.
2557 (parse_args): Likewise.
2558 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2559 $in_func argument to parse_args.
2560 * math/libm-test.inc (struct test_f_f_data): New type.
2561 (IF_ROUND_INIT_): New macro.
2562 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2563 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2564 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2565 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2566 (ROUND_RESTORE_): Likewise.
2567 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2568 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2569 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2570 (ROUND_RESTORE_FE_UPWARD): Likewise.
2571 (RUN_TEST_LOOP_f_f): New macro.
2572 (acos_test_data): New variable.
2573 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2574 (acos_tonearest_test_data): New variable.
2575 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2576
5c637fe5
SP
25772013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2578
2579 * benchtests/bench-skeleton.c (startup): Fix coding style.
2580
ab2b9461
JM
25812013-05-10 Joseph Myers <joseph@codesourcery.com>
2582
2583 [BZ #6809]
2584 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2585 negative infinity argument.
2586 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2587 negative infinity argument.
2588 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2589 negative infinity argument.
2590 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2591 domain errors.
2592
4c0fe6fe
FW
25932013-05-10 Florian Weimer <fweimer@redhat.com>
2594
2595 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2596 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2597 * iconv/iconv_prog.c (main): Likewise.
2598 * locale/programs/charmap-dir.c (charmap_readdir)
2599 (fopen_uncompressed): Likewise.
2600 * locale/programs/locfile.c (siblings_uncached)
2601 (write_locale_data): Use lstat64 instead of lstat.
2602 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2603 stat.
2604
a3375d29
AJ
26052013-05-10 Andreas Jaeger <aj@suse.de>
2606
2607 [BZ #15395]
2608 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2609 localization.
2610 Include <locale.h>.
2611
36129722
CD
26122013-05-09 Carlos O'Donell <carlos@redhat.com>
2613
2614 * elf/dl-close.c (_dl_close_worker): Add comments.
2615
faa7f811
JM
26162013-05-09 Joseph Myers <joseph@codesourcery.com>
2617
ed41ffef
JM
2618 [BZ #15359]
2619 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2620 high part of pi/2.
2621 (__ieee754_rem_pio2l): Update comments.
2622
d0213cd0
JM
2623 [BZ #15429]
2624 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2625 high part of pi/2.
2626 (__ieee754_rem_pio2l): Update comments.
2627
0d3e777a
JM
2628 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2629 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2630
24f56066
JM
2631 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2632 M_PI_4l.
2633
faa7f811
JM
2634 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2635 (M_PI_34_LOG10El): Likewise.
2636 (M_PI2_LOG10El): Likewise.
2637 (M_PI4_LOG10El): Likewise.
2638 (M_PI_LOG10El): Likewise.
2639
e9a5e0fd
AZ
26402013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2641
2642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2643
d8cd06db
JM
26442013-05-08 Joseph Myers <joseph@codesourcery.com>
2645
a0d9f9d7
JM
2646 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2647 (MINUS_ZERO_INIT): Likewise.
2648 (PLUS_INFTY_INIT): Likewise.
2649 (MINUS_INFTY_INIT): Likewise.
2650 (QNAN_VALUE_INIT): Likewise.
2651 (MAX_VALUE_INIT): Likewise.
2652 (MIN_VALUE_INIT): Likewise.
2653 (MIN_SUBNORM_VALUE_INIT): Likewise.
2654 (plus_zero): Initialize with PLUS_ZERO_INIT.
2655 (minus_zero): Initialize with MINUS_ZERO_INIT.
2656 (plus_infty): Initialize with PLUS_INFTY_INIT.
2657 (minus_infty): Initialize with MINUS_INFTY_INIT.
2658 (qnan_value): Initialize with QNAN_VALUE_INIT.
2659 (max_value): Initialize with MAX_VALUE_INIT.
2660 (min_value): Initialize with MIN_VALUE_INIT.
2661 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2662
ae08db3b
JM
2663 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2664 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2665 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2666 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2667
f44bf14a
JM
2668 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2669 (RUN_TEST_2_f): Likewise.
2670 (RUN_TEST_ff_f): Likewise.
2671 (RUN_TEST_fi_f): Likewise.
2672 (RUN_TEST_fl_f): Likewise.
2673 (RUN_TEST_fff_f): Likewise.
2674 (RUN_TEST_c_f): Likewise.
2675 (RUN_TEST_f_f1): Likewise.
2676 (RUN_TEST_fF_f1): Likewise.
2677 (RUN_TEST_fI_f1): Likewise.
2678 (RUN_TEST_ffI_f1): Likewise.
2679 (RUN_TEST_c_c): Likewise.
2680 (RUN_TEST_cc_c): Likewise.
2681 (RUN_TEST_f_i): Likewise.
2682 (RUN_TEST_f_i_tg): Likewise.
2683 (RUN_TEST_ff_i_tg): Likewise.
2684 (RUN_TEST_f_b): Likewise.
2685 (RUN_TEST_f_b_tg): Likewise.
2686 (RUN_TEST_f_l): Likewise.
2687 (RUN_TEST_f_L): Likewise.
2688 (RUN_TEST_sincos): Likewise.
2689 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2690 whether to show exceptions. Do not include ");\n" in return
2691 value.
2692 (special_functions): Output call to RUN_TEST_sincos instead of
2693 check_float calls. Update calls to new_test.
2694 (parse_args): Output call to single RUN_TEST_* macro instead of
2695 check_* calls and other assignments. Update calls to new_test.
2696
d8cd06db
JM
2697 [BZ #2546]
2698 [BZ #2560]
2699 [BZ #5159]
2700 [BZ #15426]
2701 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2702 input to result for tgamma overflow.
2703 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2704 (gamma_coeff): New variable.
2705 (NCOEFF): New macro.
2706 (gamma_positive): New function.
2707 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2708 underflow here. Use gamma_positive instead of exp (lgamma) for
2709 other arguments.
2710 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2711 (gamma_coeff): New variable.
2712 (NCOEFF): New macro.
2713 (gammaf_positive): New function.
2714 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2715 underflow here. Use gamma_positive instead of exp (lgamma) for
2716 other arguments.
2717 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2718 (gamma_coeff): New variable.
2719 (NCOEFF): New macro.
2720 (gammal_positive): New function.
2721 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2722 underflow here. Use gamma_positive instead of exp (lgamma) for
2723 other arguments.
2724 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2725 (gamma_coeff): New variable.
2726 (NCOEFF): New macro.
2727 (gammal_positive): New function.
2728 (__ieee754_gammal_r): Handle positive infinity, overflow and
2729 underflow here. Handle NaN the same as positive infinity. Remove
2730 check x < 0xffffffff for negative integers. Use gamma_positive
2731 instead of exp (lgamma) for other arguments.
2732 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2733 (gamma_coeff): New variable.
2734 (NCOEFF): New macro.
2735 (gammal_positive): New function.
2736 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2737 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2738 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2739 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2740 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2741 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2742 * sysdeps/generic/math_private.h (__gamma_productf): New
2743 prototype.
2744 (__gamma_product): Likewise.
2745 (__gamma_productl): Likewise.
2746 * math/Makefile (libm-calls): Add gamma_product.
2747 * math/libm-test.inc (tgamma_test): Add more tests.
2748 * sysdeps/i386/fpu/libm-test-ulps: Update.
2749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2750
bb7cf681
OB
27512013-05-08 Ondřej Bílka <neleai@seznam.cz>
2752
2753 * benchtests/bench-skeleton.c (main): Preheat CPU.
2754
ba853947
AJ
27552013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2756
2757 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2758
8347c74c
RM
27592013-05-07 Roland McGrath <roland@hack.frob.com>
2760
2761 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2762 and _dl_skip_args_internal.
2763
e8dd4791
CD
27642013-05-07 Carlos O'Donell <carlos@redhat.com>
2765
2766 * manual/message.texi (Message Translation): Talk about users.
2767 Message to key mapping impacts design.
2768
c7405830
RM
27692013-05-06 Roland McGrath <roland@hack.frob.com>
2770
a9173057
RM
2771 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2772
976e2f03
RM
2773 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2774
9723ffc5
RM
2775 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2776 * sysdeps/wordsize-64/glob64.c: ... here.
2777
962e6658
RM
2778 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2779 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2780 New macros.
2781
ee586a6d
RM
2782 * debug/getlogin_r_chk.c: Moved to ...
2783 * login/getlogin_r_chk.c: ... here.
2784 * debug/Makefile (routines): Move getlogin_r_chk to ...
2785 * login/Makefile (routines): ... here.
2786 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2787 * login/Versions (libc: GLIBC_2.4): ... here.
2788
355f9165
RM
2789 * io/poll.c (__poll): Renamed from poll.
2790 Add libc_hidden_def.
2791 (poll): Define as weak alias.
2792
bd9ffde6
RM
2793 * debug/ptsname_r_chk.c: Moved to ...
2794 * login/ptsname_r_chk.c: ... here.
2795 * debug/Makefile (routines): Move ptsname_r_chk to ...
2796 * login/Makefile (routines): ... here.
2797 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2798 * login/Versions (libc: GLIBC_2.4): ... here.
2799
8fb16a04
RM
2800 * posix/getlogin.c: Moved to ...
2801 * login/getlogin.c: ... here.
2802 * posix/getlogin_r.c: Moved to ...
2803 * login/getlogin_r.c: ... here.
2804 * posix/getlogin_r.c: Moved to ...
2805 * login/getlogin_r.c: ... here.
2806 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2807 * login/Makefile (routines): ... here.
2808 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2809 * login/Versions (libc: GLIBC_2.0): ... here.
2810
b99b892f
RM
2811 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2812 (setrlimit): Define as weak alias.
2813
c7405830
RM
2814 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2815 Call __ names for open, ftruncate, and close.
2816 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2817 (truncate): Define as weak alias.
2818
5bf96de5
JM
28192013-05-06 Joseph Myers <joseph@codesourcery.com>
2820
9ea3513c
JM
2821 * math/gen-libm-test.pl (parse_args): Initialize x before each
2822 test of frexp, modf and remquo.
2823
5bf96de5
JM
2824 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2825 test signgam value.
2826
16e616a7
AZ
28272013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2828
2829 [BZ #15418]
2830 [BZ #15419]
2831 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2832 internal tests.
2833 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2834
d5e82754
RM
28352013-05-06 Roland McGrath <roland@hack.frob.com>
2836
2837 * elf/dl-writev.h: New file.
2838 * elf/dl-misc.c: Include it.
2839 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2840 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2841
a7548d41
JM
28422013-05-04 Joseph Myers <joseph@codesourcery.com>
2843
b7dab1e4
JM
2844 * math/libm-test.inc (noXFails): Remove variable.
2845 (noXPasses): Likewise.
2846 (BUILD_COMPLEX_INT): Remove macro.
2847 (print_screen): Remove xfail argument.
2848 (print_screen_max_error): Likewise.
2849 (update_stats): Likewise.
2850 (print_max_error): Likewise. Update calls to other affected
2851 functions.
2852 (print_complex_max_error): Likewise.
2853 (test_single_exception): Update calls to print_screen.
2854 (test_single_errno): Likewise.
2855 (check_float_internal): Remove xfail argument. Update calls to
2856 other affected functions.
2857 (check_float): Likewise.
2858 (check_complex): Likewise.
2859 (check_int): Likewise.
2860 (check_long): Likewise.
2861 (check_bool): Likewise.
2862 (check_longlong): Likewise.
2863 (main): Don't print noXFails and noXPasses.
2864 * math/gen-libm-test.pl (top level): Don't mention expected
2865 failure handling in comment.
2866 (new_test): Don't handle expected failures.
2867 (parse_args): Don't mention expected failure handling in comment.
2868 (generate_testfile): Don't handle expected failures.
2869 (parse_ulps): Likewise.
2870 (print_ulps_file): Likewise.
2871 (get_failure): Remove function.
2872 (output_test): Don't handle expected failures.
2873 * make/README.libm-test: Don't mention expected failure handling.
2874
a7548d41
JM
2875 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2876 (minus_zero): Likewise.
2877 (plus_infty): Likewise.
2878 (minus_infty): Likewise.
2879 (qnan_value): Likewise.
2880 (max_value): Likewise.
2881 (min_value): Likewise.
2882 (min_subnorm_value): Likewise.
2883 (initialize): Do not initialize those variables dynamically.
2884
60bfd54c
RM
28852013-05-03 Roland McGrath <roland@hack.frob.com>
2886
cc0e6ed8
RM
2887 * io/open.c (__open_2): Moved to ...
2888 * io/open_2.c: ... this new file.
2889 * io/open64.c (__open64_2): Moved to ...
2890 * io/open64_2.c: ... this new file.
2891 * io/openat.c (__openat_2): Moved to ...
2892 * io/openat_2.c: ... this new file.
2893 * io/openat64.c (__openat64_2): Moved to ...
2894 * io/openat64_2.c: ... this new file.
2895 * io/Makefile (routines): Add them.
2896 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2897 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2898 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2899 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2900 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2901 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2902 (__openat64): Add hidden_ver.
2903 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2904 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2905
60bfd54c
RM
2906 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2907 Separately conditionalize setting of GLRO(dl_sysinfo) so
2908 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2909 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2910
83e7640f
AZ
29112013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2912
2913 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2914 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2915 definition.
2916 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2917 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2918 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2919 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2920 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2921
d5dc2af3
JM
29222013-05-03 Joseph Myers <joseph@codesourcery.com>
2923
c31a5b1e
JM
2924 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2925 test signgam value.
2926
d5dc2af3
JM
2927 * math/libm-test.inc (hypot_test): Do not use
2928 IGNORE_ZERO_INF_SIGN.
2929
164fd39d
AJ
29302013-05-03 Andreas Jaeger <aj@suse.de>
2931
2932 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2933 Linux 3.9.
2934 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2935 (PF_MAX): Adjust for VSOCK change.
2936
8237f48c
AZ
29372013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2938
2939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2940
9df02941
CD
29412013-05-02 Carlos O'Donell <carlos@redhat.com>
2942
2943 [BZ #15264]
2944 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2945 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2946 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2947
d422395e
DM
29482013-05-02 David S. Miller <davem@davemloft.net>
2949
2950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2951
a07c5731
OB
29522013-05-01 Ondřej Bílka <neleai@seznam.cz>
2953
2954 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2955
1324e37f
RM
29562013-05-01 Roland McGrath <roland@hack.frob.com>
2957
2958 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2959
0695940b
RS
29602013-05-01 Richard Smith <richard@metafoo.co.uk>
2961
bb5f27ad 2962 [BZ #14952]
0695940b
RS
2963 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2964 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2965 Use __attribute__ ((__gnu_inline__)).
2966 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2967 Don't use __attribute__ ((__gnu_inline__)).
2968
10de07f5
JM
29692013-05-01 Joseph Myers <joseph@codesourcery.com>
2970
2971 [BZ #15423]
2972 * math/s_catan.c (__catan): Handle small real or imaginary part of
2973 input specially to avoid spurious underflow.
2974 * math/s_catanf.c (__catanf): Likewise.
2975 * math/s_catanh.c (__catanh): Likewise.
2976 * math/s_catanhf.c (__catanhf): Likewise.
2977 * math/s_catanhl.c (__catanhl): Likewise.
2978 * math/s_catanl.c (__catanl): Likewise.
2979 * math/libm-test.inc (catan_test): Add more tests.
2980 (catanh_test): Likewise.
2981 * sysdeps/i386/fpu/libm-test-ulps: Update.
2982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2983
cb4d5414
AZ
29842013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2985
2986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2987
caf84319
JM
29882013-04-30 Joseph Myers <joseph@codesourcery.com>
2989
2990 [BZ #15416]
2991 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2992 accurately for denominator in atan2.
2993 * math/s_catanf.c (__catanf): Likewise.
2994 * math/s_catanh.c (__catanh): Likewise.
2995 * math/s_catanhf.c (__catanhf): Likewise.
2996 * math/s_catanhl.c (__catanhl): Likewise.
2997 * math/s_catanl.c (__catanl): Likewise.
2998 * math/libm-test.inc (catan_test): Add more tests.
2999 (catanh_test): Likewise.
3000 * sysdeps/i386/fpu/libm-test-ulps: Update.
3001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3002
d569c6ee
SP
30032013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3004
6dbe713d
SP
3005 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3006
f0ee064b
SP
3007 * benchtests/Makefile (bench): Remove slow benchmarks.
3008 * benchtests/atan-inputs: Add slow benchmark inputs.
3009 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3010 (BENCH_FUNC): Accept variant offset.
3011 (VARIANT): Define.
3012 * benchtests/bench-skeleton.c (main): Run benchmark for each
3013 variant.
3014 * benchtests/cos-inputs: Add slow benchmark inputs.
3015 * benchtests/exp-inputs: Likewise.
3016 * benchtests/pow-inputs: Likewise.
3017 * benchtests/sin-inputs: Likewise.
3018 * benchtests/slowatan-inputs: Remove.
3019 * benchtests/slowatan.c: Remove.
3020 * benchtests/slowcos-inputs: Remove.
3021 * benchtests/slowcos.c: Remove.
3022 * benchtests/slowexp-inputs: Remove.
3023 * benchtests/slowexp.c: Remove.
3024 * benchtests/slowpow-inputs: Remove.
3025 * benchtests/slowpow.c: Remove.
3026 * benchtests/slowsin-inputs: Remove.
3027 * benchtests/slowsin.c: Remove.
3028 * benchtests/slowtan-inputs: Remove.
3029 * benchtests/slowtan.c: Remove.
3030 * benchtests/tan-inputs: Add slow benchmark inputs.
3031 * scripts/bench.pl: Parse comments and directives.
3032
d569c6ee
SP
3033 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3034 in CPPFLAGS.
3035 ($(objpfx)bench-%.c): Remove *-ITER.
3036 * benchtests/bench-modf.c: Remove definition of ITER.
3037 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3038 (main): Loop for DURATION seconds instead of fixed number of
3039 iterations.
3040 * scripts/bench.pl: Don't expect iterations in parameters.
3041
a6a242fe
RM
30422013-04-29 Roland McGrath <roland@hack.frob.com>
3043
3044 * io/fchdir.c (__fchdir): Renamed from fchdir.
3045 (fchdir): Define as weak alias.
3046
f2da7793
JM
30472013-04-29 Joseph Myers <joseph@codesourcery.com>
3048
3049 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3050 (ERRNO_EDOM): Likewise.
3051 (ERRNO_ERANGE): Likewise.
3052 (noErrnoTests): New variable.
3053 (init_max_error): Set errno to 0.
3054 (test_single_errno): New function.
3055 (test_errno): Likewise.
3056 (check_float_internal): Call test_errno. Set errno to 0.
3057 (check_complex): Refer to errno tests in comment.
3058 (check_int): Call test_errno. Set errno to 0.
3059 (check_long): Likewise.
3060 (check_bool): Likewise.
3061 (check_longlong): Likewise.
3062 (cos_test): Use ERRNO_* flags for errno tests instead of
3063 check_int.
3064 (expm1_test): Likewise.
3065 (fmod_test): Likewise.
3066 (ilogb_test): Likewise.
3067 (lgamma_test): Likewise.
3068 (pow_test): Likewise.
3069 (remainder_test): Likewise.
3070 (sin_test): Likewise.
3071 (tan_test): Likewise.
3072 (yn_test): Likewise.
3073 (initialize): Set errno to 0.
3074 (main): Print number of errno tests.
3075 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3076
b1a36ceb
AJ
30772013-04-29 Andreas Jaeger <aj@suse.de>
3078
c3ed8088
AJ
3079 [BZ #15084]
3080 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3081 and RES_USEVC.
3082
f1a24198
AJ
3083 [BZ #15085]
3084 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3085 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3086 unimplemented.
3087
9ce3b2cb
AJ
3088 [BZ #15380]
3089 * stdlib/random.c (__initstate): Return NULL if
3090 __initstate fails.
3091
f1a24198 3092 [BZ #15086]
b1a36ceb
AJ
3093 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3094 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3095 RES_SNGLKUPREOP.
3096
7e7b6f36
AZ
30972013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3098
3099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3100
4d14f449
JM
31012013-04-29 Joseph Myers <joseph@codesourcery.com>
3102
3103 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3104 of individual tests.
3105 (casin_test): Likewise.
3106 (casinh_test): Likewise.
3107
5b4217d7
JM
31082013-04-27 Joseph Myers <joseph@codesourcery.com>
3109
3110 [BZ #15409]
3111 * math/s_catan.c (__catan): Handle arguments with large real or
3112 imaginary part separately without squaring.
3113 * math/s_catanf.c (__catanf): Likewise.
3114 * math/s_catanh.c (__catanh): Likewise.
3115 * math/s_catanhf.c (__catanhf): Likewise.
3116 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3117 and redefine.
3118 (__catanhl): Handle arguments with large real or imaginary part
3119 separately without squaring.
3120 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3121 and redefine.
3122 (__catanl): Handle arguments with large real or imaginary part
3123 separately without squaring.
3124 * math/libm-test.inc (catan_test): Add more tests.
3125 (catanh_test): Likewise.
3126 * sysdeps/i386/fpu/libm-test-ulps: Update.
3127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3128
4220c3ef
AJ
31292013-04-27 Andreas Jaeger <aj@suse.de>
3130
3131 [BZ #15007]
3132 * stdlib/stdlib.h: Update guards for qecvt.
3133 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3134 <stdlib.h>.
3135
4721b2d1
AM
31362013-04-27 Allan McRae <allan@archlinux.org>
3137
3138 * sysdeps/i386/fpu/libm-test-ulps: Update.
3139
f0302940
JM
31402013-04-26 Joseph Myers <joseph@codesourcery.com>
3141
9457fd95
JM
3142 [BZ #15406]
3143 * math/s_catan.c: Include <float.h>.
3144 (__catan): Ensure underflow exception occurs for underflowed
3145 result.
3146 * math/s_catanf.c: Include <float.h>.
3147 (__catanf): Ensure underflow exception occurs for underflowed
3148 result.
3149 * math/s_catanh.c: Include <float.h>.
3150 (__catanh): Ensure underflow exception occurs for underflowed
3151 result.
3152 * math/s_catanhf.c: Include <float.h>.
3153 (__catanhf): Ensure underflow exception occurs for underflowed
3154 result.
3155 * math/s_catanhl.c: Include <float.h>.
3156 (__catanhl): Ensure underflow exception occurs for underflowed
3157 result.
3158 * math/s_catanl.c: Include <float.h>.
3159 (__catanl): Ensure underflow exception occurs for underflowed
3160 result.
3161 * math/libm-test.inc (catan_test): Add more tests.
3162 (catanh_test): Likewise.
3163
f0302940
JM
3164 [BZ #15405]
3165 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3166 underflowed result.
3167 * math/s_ccoshf.c (__ccoshf): Likewise.
3168 * math/s_ccoshl.c (__ccoshl): Likewise.
3169 * math/s_csin.c (__csin): Likewise.
3170 * math/s_csinf.c (__csinf): Likewise.
3171 * math/s_csinh.c (__csinh): Likewise.
3172 * math/s_csinhf.c (__csinhf): Likewise.
3173 * math/s_csinhl.c (__csinhl): Likewise.
3174 * math/s_csinl.c (__csinl): Likewise.
3175 * math/libm-test.inc (ccos_test): Add more tests.
3176 (ccosh_test): Likewise.
3177 (csin_test): Likewise.
3178 (csinh_test): Likewise.
3179
aa630f59
AZ
31802013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3181
3182 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3183 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3184 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3185 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3186 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3187 powerpc/power5+/fpu folders.
3188 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3189
3190
1b835983
MT
31912013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3192
3193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3194
73709b26
JM
31952013-04-25 Joseph Myers <joseph@codesourcery.com>
3196
3197 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3198 additions to variable.
3199 [$(config-machine) = x86_64] (modules-names): Likewise.
3200 ($(objpfx)tst-audit3): Remove dependency.
3201 ($(objpfx)tst-audit3.out): Likewise.
3202 ($(objpfx)tst-audit4): Likewise.
3203 ($(objpfx)tst-audit4.out): Likewise.
3204 ($(objpfx)tst-audit5): Likewise.
3205 ($(objpfx)tst-audit5.out): Likewise.
3206 ($(objpfx)tst-audit6): Likewise.
3207 ($(objpfx)tst-audit6.out): Likewise.
3208 ($(objpfx)tst-audit7): Likewise.
3209 ($(objpfx)tst-audit7.out): Likewise.
3210 (tst-audit3-ENV): Remove variable.
3211 (tst-audit4-ENV): Likewise.
3212 (tst-audit5-ENV): Likewise.
3213 (tst-audit6-ENV): Likewise.
3214 (tst-audit7-ENV): Likewise.
3215 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3216 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3217 addition to variable.
3218 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3219 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3220 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3221 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3222 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3223 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3224 tst-audit3, tst-audit4 and tst-audit5.
3225 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3226 tst-audit6 and tst-audit7.
3227 [$(subdir) = elf] (modules-names): Add audit modules for those
3228 tests.
3229 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3230 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3231 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3232 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3233 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3234 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3235 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3236 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3237 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3238 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3239 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3240 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3241 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3242 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3243 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3244 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3245 Likewise.
3246 [$(subdir) = elf && $(config-cflags-avx) = yes]
3247 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3248 [$(subdir) = elf && $(config-cflags-avx) = yes]
3249 (CFLAGS-tst-auditmod4a.c): Likewise.
3250 [$(subdir) = elf && $(config-cflags-avx) = yes]
3251 (CFLAGS-tst-auditmod4b.c): Likewise.
3252 [$(subdir) = elf && $(config-cflags-avx) = yes]
3253 (CFLAGS-tst-auditmod6b.c): Likewise.
3254 [$(subdir) = elf && $(config-cflags-avx) = yes]
3255 (CFLAGS-tst-auditmod6c.c): Likewise.
3256 [$(subdir) = elf && $(config-cflags-avx) = yes]
3257 (CFLAGS-tst-auditmod7b.c): Likewise.
3258 * elf/tst-audit3.c: Move to ...
3259 * sysdeps/x86_64/tst-audit3.c: ... here.
3260 * elf/tst-audit4.c: Move to ...
3261 * sysdeps/x86_64/tst-audit4.c: ... here.
3262 * elf/tst-audit5.c: Move to ...
3263 * sysdeps/x86_64/tst-audit5.c: ... here.
3264 * elf/tst-audit6.c: Move to ...
3265 * sysdeps/x86_64/tst-audit6.c: ... here.
3266 * elf/tst-audit7.c: Move to ...
3267 * sysdeps/x86_64/tst-audit7.c: ... here.
3268 * elf/tst-auditmod3a.c: Move to ...
3269 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3270 * elf/tst-auditmod3b.c: Move to ...
3271 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3272 * elf/tst-auditmod4a.c: Move to ...
3273 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3274 * elf/tst-auditmod4b.c: Move to ...
3275 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3276 * elf/tst-auditmod5a.c: Move to ...
3277 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3278 * elf/tst-auditmod5b.c: Move to ...
3279 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3280 * elf/tst-auditmod6a.c: Move to ...
3281 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3282 * elf/tst-auditmod6b.c: Move to ...
3283 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3284 * elf/tst-auditmod6c.c: Move to ...
3285 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3286 * elf/tst-auditmod7a.c: Move to ...
3287 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3288 * elf/tst-auditmod7b.c: Move to ...
3289 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3290
1ef74943
PP
32912013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3292
3293 [BZ #15366]
3294 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3295 define unconditionally.
3296 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3297 define unconditionally.
3298 (INT8_C, INT16_C, etc.): Likewise.
3299
93fd48c5
MR
33002013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3301
ae9552cf
MR
3302 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3303 __ehdr_start with hidden visibility.
3304
93fd48c5
MR
3305 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3306
418601aa
CD
33072013-04-24 Carlos O'Donell <carlos@redhat.com>
3308
3309 * math/libm-test.inc (cos_test): Use accurate hex constants.
3310 (sincost_test): Likewise.
3311
2f38fbfe
JM
33122013-04-24 Joseph Myers <joseph@codesourcery.com>
3313
5e221800
JM
3314 * math/libm-test.inc (catan_test): Add more tests.
3315 (catanh_test): Likewise.
3316
77f143fd
JM
3317 * math/s_catanf.c (__catanf): Use suffixed floating-point
3318 constants.
3319 * math/s_catanhf.c (__catanhf): Likewise.
3320 * math/s_catanhl.c (__catanhl): Likewise.
3321 * math/s_catanl.c (__catanl): Likewise.
3322
2f38fbfe
JM
3323 [BZ #15394]
3324 * math/s_catan.c (__catan): Calculate imaginary part of result
3325 with log1p not log unless computing log of number close to 0.
3326 * math/s_catanf.c (__catanf): Likewise.
3327 * math/s_catanl.c (__catanl): Likewise.
3328 * math/s_catanh.c (__catanh): Calculate real part of result with
3329 log1p not log unless computing log of number close to 0.
3330 * math/s_catanhf.c (__catanhf): Likewise.
3331 * math/s_catanhl.c (__catanhl): Likewise.
3332 * math/libm-test.inc (catan_test): Add more tests.
3333 (catanh_test): Likewise.
3334 * sysdeps/i386/fpu/libm-test-ulps: Update.
3335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3336
45d69176
SP
33372013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3338
3339 * benchtests/Makefile: Mention files in which fast and slow
3340 paths of math functions are implemented.
3341
87f51853
RM
33422013-04-23 Roland McGrath <roland@hack.frob.com>
3343
3344 * sysdeps/posix/timespec_get.c: New file.
3345
3c026539
AZ
33462013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3347
3348 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3349 POWER.
3350 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3351 for POWER.
3352 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3353 powerpc/power5/fpu folders.
3354 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3355 * benchtests/Makefile: Add modf testcase.
3356 * benchtests/bench-modf.c: New file: Benchmark test for mo
3357
ff491d14
SP
33582013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3359
3360 [BZ #14888]
3361 * time/Makefile (tests): Add tst-strptime-whitespace.
3362 * time/strptime_l.c (get_number): Use ISSPACE.
3363 (__strptime_internal): Likewise.
3364 * time/tst-strptime-whitespace.c: New test case.
3365
7ed3f4e8
AS
33662013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3367
3368 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3369 member.
3370 (_nss_files_init): Set it here.
3371
5c95f7b6
HC
33722013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3373
3374 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3375 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3376 unsigned.
3377
d34c9158
JBG
33782013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3379
3380 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3381
2169712d
SP
33822013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3383
3384 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3385 size just once.
3386
29c5de99
DM
33872013-04-21 David S. Miller <davem@davemloft.net>
3388
3389 * po/ru.po: Update Russion translation from translation project.
3390
ccdad15d
AC
33912013-04-17 Adam Conrad <adconrad@0c3.net>
3392
3393 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3394 and setfsgid.
3395
0f122b8d
CD
33962013-04-17 Carlos O'Donell <carlos@redhat.com>
3397
5c5b07da 3398 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3399 * configure: Regenerate.
5c5b07da 3400 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3401 Add example to error message.
3402 * sysdeps/i386/configure: Regenerate.
3403
037714dd
SP
34042013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3405
3406 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3407 slowtan.
3408 * benchtests/cos-inputs: New file.
3409 * benchtests/slowcos-inputs: New file.
3410 * benchtests/slowcos.c: New file.
3411 * benchtests/slowtan-inputs: New file.
3412 * benchtests/slowtan.c: New file.
3413 * benchtests/tan-inputs: New file.
3414
e913141d
RM
34152013-04-16 Roland McGrath <roland@hack.frob.com>
3416
3417 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3418 considered kosher.
3419
a2964074
SP
34202013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3421
4856bcd2
SP
3422 * benchtests/Makefile: Include cppflags-iterator.mk to add
3423 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3424
a2964074
SP
3425 * Makefile.in (bench-clean): New target.
3426 * benchtests/Makefile (bench-clean): Likewise.
3427
9fbf9aca
DH
34282013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3429
3430 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3431
207d1e2a
TS
34322013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3433
3434 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3435
306dfba9
AS
34362013-04-15 Andreas Schwab <schwab@suse.de>
3437
3438 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3439 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3440 * nscd/pwdcache.c (cache_addpw): Likewise.
3441 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3442 more than recsize.
3443
206a6699
SP
34442013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3445
3446 * benchtests/Makefile (bench): Write all output to
3447 bench-out.tmp together.
3448
0582f6b3
AS
34492013-04-15 Andreas Schwab <schwab@suse.de>
3450
3451 * nscd/nscd.c (main): Don't fork again after closing files.
3452
acb4325f
SP
34532013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3454
5cb26d0a
SP
3455 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3456
acb4325f
SP
3457 * benchtests/Rules (bench-deps): Collect dependencies into a
3458 single variable. Add Makefile to dependencies.
3459 ($(objpfx)bench-%.c): Depend on bench-deps.
3460
47792506
RM
34612013-04-12 Roland McGrath <roland@hack.frob.com>
3462 Xavier Roche <roche+kml2@exalead.com>
3463
3464 [BZ #15361]
3465 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3466 just that it's a file descriptor.
3467 * manual/llio.texi (Synchronizing AIO Operations): Update description
3468 for EBADF error from aio_fsync.
3469
8fc1bee5
SP
34702013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3471
3472 * Rules (bench): Move target definition...
3473 * benchtests/Makefile: ... here.
3474
aba5e333
CD
34752013-04-11 Carlos O'Donell <carlos@redhat.com>
3476
3477 * math/libm-test.inc (cos_test): Fix PI/2 test.
3478 (sincos_test): Likewise.
3479 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3480 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3481
273cdee8
AS
34822013-04-11 Andreas Schwab <schwab@suse.de>
3483
6ecec3b6
AS
3484 [BZ #13988]
3485 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3486 accept exponent character only when digits were seen.
3487 * stdio-common/Makefile (tests): Add bug26.
3488 * stdio-common/bug26.c: New file.
3489
273cdee8
AS
3490 [BZ #14293]
3491 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3492 non-freeable.
3493
8da491f5
SP
34942013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3495
01dc6df9
SP
3496 * Makeconfig (rtld-prefix): Define built linker prefix.
3497 * Rules (run-bench): Use it.
3498 * math/Makefile (run-regen-ulps): Likewise.
3499
8da491f5
SP
3500 * Rules (bench): Remove eval.
3501
abe7f530
SP
35022013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3503 Roland McGrath <roland@hack.frob.com>
3504 Ondrej Bilka <neleai@seznam.cz>
3505
3506 [BZ #15346]
3507 * time/getdate.c: Include ctype.h and alloca.h.
3508 (__getdate_r): Trim leading and trailing spaces of input.
3509 * time/tst-getdate.c (tests): Add tests with leading and
3510 trailing spaces.
3511
61c23e62
RM
35122013-04-08 Roland McGrath <roland@hack.frob.com>
3513
3514 [BZ #14280]
3515 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3516 when computing value.
3517
7208a313
CD
35182013-04-06 Carlos O'Donell <carlos@redhat.com>
3519
085b2d41
CD
3520 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3521 Use testrun.sh to run libm tests.
3522
7208a313
CD
3523 [BZ #15309]
3524 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3525
872c0acd
MM
35262013-04-06 Marko Myllynen <myllynen@redhat.com>
3527
3528 [BZ #15264]
3529 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3530
26510bdd
CD
35312013-04-06 Carlos O'Donell <carlos@redhat.com>
3532
3533 * Makefile.in (regen-ulps): New target.
3534 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3535 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3536 [ifneq (no,$(PERL)] (regen-ulps): New target.
3537 [ifeq (no,$(PERL)] (regen-ulps): New target.
3538 * math/libm-test.inc (ulps_file_name): Define.
3539 (output_dir): New variable.
3540 (options): Add "output-dir" option.
3541 (parse_opt): Handle 'o' case.
3542 (main): If output_dir is non-NULL use it as a prefix
3543 otherwise use "".
3544 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3545
a01f19c8
CD
35462013-04-06 Carlos O'Donell <carlos@redhat.com>
3547
3548 [BZ #10060, #10062]
3549 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3550 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3551 fail configure if __sync_val_compare_and_swap is not inlined.
3552 * sysdeps/i386/configure: Regenerate.
3553 * configure.in: Build for i686 when configured for i386.
3554 * configure: Regenerate.
3555 * README: Remove i386 reference.
3556
b7a329a5
CD
35572013-04-06 Carlos O'Donell <carlos@redhat.com>
3558
3559 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3560 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3561
bf0f50df
TS
35622013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3563
ee091edf
TS
3564 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3565 (lmsnanval): New variables.
3566 (F): Add conversion tests.
3567 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3568 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3569
a8b792d6
TS
3570 * stdio-common/tstdiomisc.c (F): Properly collect individual
3571 tests' results.
3572
a1cbf437
TS
3573 [BZ #14686, #15336]
3574 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3575 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3576 Instead, use input NaN values or generate a qNaN by arithmetic
3577 operation. Also fix bugs to comply with the standard.
3578 * math/libm-test.inc (remainder_test): Add more tests.
3579
8b43a0c9
TS
3580 [BZ #15335, #15342]
3581 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3582 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3583 input NaN values or generate a qNaN by arithmetic operation.
3584
d91da4ce
TS
3585 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3586 unreachable code.
3587
bf0f50df
TS
3588 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3589 definitions.
3590
05e166c8
JM
35912013-04-03 Joseph Myers <joseph@codesourcery.com>
3592
3593 [BZ #14478]
3594 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3595 underflowed result.
3596 * math/s_cexpf.c (__cexpf): Likewise.
3597 * math/s_cexpl.c (__cexpl): Likewise.
3598 * math/libm-test.inc (cexp_test): Add more tests.
3599
1cef1b19
AS
36002013-04-03 Andreas Schwab <schwab@suse.de>
3601
3602 [BZ #15330]
3603 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3604 order arrays from heap if bigger than alloca cutoff.
3605
74d87055
TS
36062013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3607
3608 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3609 (SNAN_TESTS_double): Refer to GCC PR56831.
3610 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3611 GCC PR56828.
3612
d755bba4
SP
36132013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3614
90d5d5bb
SP
3615 * Rules (bench): Move bench.out after the run is complete.
3616
73e0cd5d
SP
3617 * Rules (bench): Echo currently running benchmark.
3618
64aabd4b
SP
3619 * benchtests/Makefile (bench): Add atan and slowatan.
3620 * benchtests/atan-inputs: New file.
3621 * benchtests/slowatan-inputs: New file.
3622 * benchtests/slowatan.c: New file.
3623
c871eccd
SP
3624 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3625 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3626 its value.
3627
d755bba4
SP
3628 [BZ #15305]
3629 * sysdeps/unix/sysv/linux/kernel-features.h
3630 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3631 __ASSUME_XFS_RESTRICTED_CHOWN.
3632 * sysdeps/unix/sysv/linux/pathconf.c
3633 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3634 Save and restore errno.
3635
52ce4860
JM
36362013-04-02 Joseph Myers <joseph@codesourcery.com>
3637
3638 [BZ #15327]
3639 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3640 arguments using __kernel_casinh.
3641 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3642 arguments using __kernel_casinhf.
3643 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3644 arguments using __kernel_casinhl.
3645 * math/libm-test.inc (cacosh_test): Add more tests.
3646 * sysdeps/i386/fpu/libm-test-ulps: Update.
3647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3648
81f311c2
SP
36492013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3650
e7906a47
SP
3651 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3652 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3653
92e3664b
SP
3654 * bench/Makefile (bench): Add sin and slowsin.
3655 * benchtests/sin-inputs: New file.
3656 * benchtests/slowsin-inputs: New file.
3657 * benchtests/slowsin.c: New file.
3658
81f311c2
SP
3659 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3660 (bench): Add slowexp and slowpow.
3661 (exp-ITER): Increase iterations.
3662 (pow-ITER): Likewise.
3663 * benchtests/exp-inputs: Change input.
3664 * benchtests/pow-inputs: Likewise.
3665 * benchtests/slowexp-inputs: New file.
3666 * benchtests/slowexp.c: New file.
3667 * benchtests/slowpow-inputs: New file.
3668 * benchtests/slowpow.c: New file.
3669
ab0f1aa9
AZ
36702013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3671
3672 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3673 instructions.
3674 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3675 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3676 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3677 * benchtests/Makefile: Add rint benchtest.
3678 * benchtests/rint-inputs: Input for rint benchtest.
3679
57267616
TS
36802013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3681
3682 * Versions.def (libm): Add GLIBC_2.18.
3683 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3684 hidden libm prototypes.
3685 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3686 * math/Makefile (libm-calls): Add s_issignaling.
3687 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3688 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3689 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3690 declaration.
3691 * math/math.h [__USE_GNU] (issignaling): New macro.
3692 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3693 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3694 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3695 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3698 * manual/arith.texi (issignaling): New section.
3699 * manual/libm-err-tab.pl (@all_functions): Update comment.
3700 * math/gen-libm-test.pl (parse_args): Apply special handling for
3701 issignaling.
3702 * math/libm-test.inc (print_float, issignaling_test): New
3703 functions.
3704 (check_float_internal): Add issignaling checks.
3705 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3706 default definition.
3707 * sysdeps/powerpc/math-tests.h: New file.
3708 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3709 tests.
3710 * math/test-snan.c (TEST_FUNC): Likewise.
3711
6142896d
DM
37122013-03-30 David S. Miller <davem@davemloft.net>
3713
3714 * po/de.po: Update from translation team.
3715
ccc8cadf
JM
37162013-03-30 Joseph Myers <joseph@codesourcery.com>
3717
3718 [BZ #10357]
3719 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3720 imaginary part less than 1.0 and real part less than 0.5
3721 specially.
3722 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3723 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3724 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3725 (cacos_test): Add more tests.
3726 (casin_test): Likewise.
3727 (casinh_test): Likewise.
3728 * sysdeps/i386/fpu/libm-test-ulps: Update.
3729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3730
0f6a8d4b
SP
37312013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3732
0d1029de
SP
3733 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3734 ONE with its value.
3735
c2d94018
SP
3736 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3737 (__pow_mp): Replace ONE and MONE with their values.
3738 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3739 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3740 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3741 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3742 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3743 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3744
27ec37f1
SP
3745 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3746
a64d7e0e
SP
3747 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3748 (__pow_mp): Replace ZERO and MZERO with their values.
3749 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3750 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3751 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3752 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3753 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3754 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3755 (__sqr): Likewise.
3756
d26dd3eb
SP
3757 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3758
0f6a8d4b
SP
3759 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3760
e57b0c61
RM
37612013-03-28 Roland McGrath <roland@hack.frob.com>
3762
3763 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3764 Declare with __attribute__ ((weak)).
3765 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3766 Call __call_tls_dtors only if it's not NULL.
3767
356b3480
RM
37682013-03-28 Roland McGrath <roland@hack.frob.com>
3769
288f7d79
RM
3770 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3771 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3772 magic __ehdr_start linker symbol if it's defined.
3773 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3774 them up here if it was already done.
3775
dc0a0263
RM
3776 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3777 (_dl_aux_init): Use const in cast when setting it.
3778 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3779 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3780 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3781
3d3436ae
RM
3782 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3783 Declare them here.
3784 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3785 * csu/libc-tls.c: Nor here.
3786 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3787
356b3480
RM
3788 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3789 (__libc_message): Never call vsyslog.
3790
b0f1246a
AM
37912013-03-28 Alan Modra <amodra@gmail.com>
3792
3793 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3794 Define as empty.
3795 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3796 Likewise.
3797
fbbe2b9a
AZ
37982013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3799
3800 [BZ #15214]
3801 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3802 underflow.
3803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3804
1728ab37
SP
38052013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3806
7a86be6e
SP
3807 [BZ #15304]
3808 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3809 Don't add gid passed as argument.
3810
1728ab37
SP
3811 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3812
3a7182a1
JM
38132013-03-27 Joseph Myers <joseph@codesourcery.com>
3814
3815 [BZ #15307]
3816 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3817 imaginary part between 1.0 and 1.5 and real part less than 0.5
3818 specially.
3819 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3820 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3821 * math/libm-test.inc (cacos_test): Add more tests.
3822 (casin_test): Likewise.
3823 (casinh_test): Likewise.
3824 * sysdeps/i386/fpu/libm-test-ulps: Update.
3825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3826
6f2e90e7
SP
38272013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3828
5739f705
SP
3829 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3830 constants.
3831 (norm): Likewise.
3832 (denorm): Likewise.
3833 (__dbl_mp): Likewise.
3834 (add_magnitudes): Likewise.
3835 (sub_magnitudes): Likewise.
3836 (__add): Likewise.
3837 (__sub): Likewise.
3838 (__mul): Likewise.
3839 (__sqr): Likewise.
3840 (__inv): Likewise.
3841 (__dvd): Likewise.
3842
e375e83d
SP
3843 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3844 commented code.
3845 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3846 (__dubcos): Likewise.
3847 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3848 (__ieee754_acos): Likewise.
3849 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3850 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3851 (__exp1): Likewise.
3852 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3853 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3854 (log1): Likewise.
3855 (my_log2): Likewise.
3856 (checkint): Likewise.
3857 * sysdeps/ieee754/dbl-64/e_remainder.c
3858 (__ieee754_remainder): Likewise.
3859 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3860 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3861 (bsloww): Likewise.
3862 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3863
6f2e90e7
SP
3864 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3865 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3866 MANTISSA_STORE_T to store computations on mantissa. Use
3867 macros for rounding and division.
3868 (denorm): Likewise.
3869 (__dbl_mp): Likewise.
3870 (add_magnitudes): Likewise.
3871 (sub_magnitudes): Likewise.
3872 (__mul): Likewise.
3873 (__sqr): Likewise.
3874 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3875 powers of two in terms of TWOPOW macro.
3876 (mp_no): Make type of mantissa as MANTISSA_T.
3877 [!RADIXI]: Define RADIXI.
3878 [!TWO52]: Define TWO52.
3879 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3880
fce14d4e
AZ
38812013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3882
3883 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3884 llroundl symbol when building for PPC32.
3885
9ad027fb
MW
38862013-03-24 Mark H Weaver <mhw@netris.org>
3887
3888 * manual/arith.texi (Normalization Functions): Fix prototypes for
3889 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3890
e42a38dd
AZ
38912013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3892
3893 [BZ #13889]
3894 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3895 high value to check if expl overflow.
3896 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3897 to check for underflow and overflow.
3898 * math/libm-test.inc: Add exp test.
3899
2e0fb521
DL
39002013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3901
3902 [BZ #11120]
3903 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3904 with NOT_IN_libc.
3905
b5784d95
AZ
39062013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3907
3908 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3909 symbol.
3910
5aa4a1a1
TS
39112013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3912
bdef0be7
TS
3913 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3914 wrap blocks consisting of several statements.
3915
5aa4a1a1
TS
3916 * sysdeps/generic/math-tests.h: New file.
3917 * sysdeps/i386/fpu/math-tests.h: Likewise.
3918 * math/test-snan.c: Include it.
3919 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3920
98c48fe5
JM
39212013-03-21 Joseph Myers <joseph@codesourcery.com>
3922
3923 [BZ #15285]
3924 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3925 (__ieee754_j0l): Do not improve calculations using cos of twice
3926 input for inputs above LDBL_MAX / 2.0L.
3927 (__ieee754_y0l): Likewise.
3928 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3929 (__ieee754_j1l): Do not improve calculations using cos of twice
3930 input for inputs above LDBL_MAX / 2.0L.
3931 (__ieee754_y1l): Likewise.
3932 * math/libm-test.inc (j0_test): Add another test.
3933 (j1_test): Likewise.
3934 (y0_test): Likewise.
3935 (y1_test): Likewise.
3936 * sysdeps/i386/fpu/libm-test-ulps: Update.
3937
3775a8bc
SP
39382013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3939
3940 * Rules ($(objpfx)bench-%.c): Include code from a C source
3941 file.
3942
0a1b2ae6
JM
39432013-03-21 Joseph Myers <joseph@codesourcery.com>
3944
3945 [BZ #15287]
3946 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3947 imaginary part 1.0 and real part less than 0.5 specially.
3948 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3949 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3950 * math/libm-test.inc (cacos_test): Add more tests.
3951 (casin_test): Likewise.
3952 (casinh_test): Likewise.
3953 * sysdeps/i386/fpu/libm-test-ulps: Update.
3954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3955
b33d4ce4
SP
39562013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3957
3958 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3959 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3960
bef0b507
JM
39612013-03-20 Joseph Myers <joseph@codesourcery.com>
3962
3963 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3964 * config.make.in (config-cflags-sse4): Remove variable.
3965 (config-cflags-avx): Likewise.
3966 (config-cflags-sse2avx): Likewise.
3967 (config-cflags-novzeroupper): Likewise.
3968 (config-asflags-i686): Likewise.
3969 (have-mfma4): Likewise.
3970 (have-as-vis3): Likewise.
3971 (MIG): Likewise.
3972 * configure.in (MIG): Do not AC_SUBST.
3973 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3974 (libc_cv_cc_sse4): Do not AC_SUBST.
3975 (libc_cv_cc_avx): Likewise.
3976 (libc_cv_cc_sse2avx): Likewise.
3977 (libc_cv_cc_novzeroupper): Likewise.
3978 (libc_cv_cc_fma4): Likewise.
3979 (libc_cv_as_i686): Likewise.
3980 (libc_cv_sparc_as_vis3): Likewise.
3981 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3982 LIBC_CONFIG_VAR.
3983 (config-asflags-i686): Likewise.
3984 (config-cflags-avx): Likewise.
3985 (config-cflags-sse2avx): Likewise.
3986 (have-mfma4): Likewise.
3987 (config-cflags-novzeroupper): Likewise.
3988 * sysdeps/mach/configure.in (MIG): Likewise.
3989 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3990 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3991 LIBC_CONFIG_VAR.
3992 (config-cflags-avx): Likewise.
3993 (config-cflags-sse2avx): Likewise.
3994 (have-mfma4): Likewise.
3995 (config-cflags-novzeroupper): Likewise.
3996 * configure: Regenerated.
3997 * sysdeps/i386/configure: Likewise.
3998 * sysdeps/mach/configure: Likewise.
3999 * sysdeps/sparc/configure: Likewise.
4000 * sysdeps/x86_64/configure: Likewise.
4001
912cc4b3
RM
40022013-03-20 Roland McGrath <roland@hack.frob.com>
4003
4004 [BZ #14812]
4005 * locale/programs/localedef.c (options): Put N_ translation marker
4006 on argument names, not just descriptions.
4007
04eed2b0
MS
40082013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4009
4010 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4011
a065ceff
OB
40122013-03-20 Ondřej Bílka <neleai@seznam.cz>
4013
9bb2a810 4014 [BZ #14176]
a065ceff
OB
4015 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4016
a600e5ce
RM
40172013-03-19 Roland McGrath <roland@hack.frob.com>
4018
4019 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4020 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4021 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4022 [!BEFORE_ABORT] (before_abort): New function.
4023 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4024 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4025 (writev_for_fatal): New function.
4026 (WRITEV_FOR_FATAL): New macro; call that.
4027 (backtrace_and_maps): New function.
4028 (BEFORE_ABORT): New macro; call that.
4029 (struct str_list): Type removed.
4030 (__libc_message, __libc_fatal): Functions removed.
4031 Include <sysdeps/posix/libc_fatal.c> instead.
4032
6b18bea6
JM
40332013-03-19 Joseph Myers <joseph@codesourcery.com>
4034
4035 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4036 constants.
4037 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4038 double constants.
4039
aaa8cb4b
AS
40402013-03-19 Andreas Schwab <schwab@suse.de>
4041
44673770
AS
4042 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4043 * sysdeps/gnu/configure: Regenerate.
4044
aaa8cb4b
AS
4045 * configure.in: Substitute libc_cv_rtlddir.
4046 * configure: Regenerate.
4047 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4048 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4049 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4050 * elf/Makefile (install-others, CFLAGS-interp.c)
4051 (ldso_install, common-ldd-rewrite): Likewise.
4052 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4053 $(inst_slibdir)/$(rtld-installed-name).
4054 * scripts/rellns-sh: Add -p option.
4055 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4056 for source.
4057
d3cfc668
SP
40582013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4059
4060 * manual/nptl.texi: Renamed to ...
4061 * manual/threads.texi: ... this.
4062 * manual/Makefile (chapters): Update.
4063
0e2b9cdd
RM
40642013-03-18 Roland McGrath <roland@hack.frob.com>
4065
4066 [BZ #14812]
4067 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4068 on argument names, not just descriptions.
0e2b9cdd
RM
4069 * malloc/memusagestat.c (options): Likewise.
4070 * nss/getent.c (options): Likewise.
63270c24
RM
4071
40722013-03-18 Benno Schulenberg <bensberg@justemail.net>
4073
4074 [BZ #14812]
4075 * iconv/iconv_prog.c (options): Put N_ translation marker
4076 on argument names, not just descriptions.
4077 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4078
b2e1393c
OB
40792013-03-18 Ondrej Bilka <neleai@seznam.cz>
4080
4081 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4082 implementation which is faster on all x86_64 architectures.
4083 Tested on AMD, Intel Nehalem, SNB, IVB.
4084 * sysdeps/x86_64/strnlen.S: Likewise.
4085
4086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4087 Remove all multiarch strlen and strnlen versions.
4088 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4089 Remove strlen and strnlen related parts.
4090
4091 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4092 Inline strlen part.
4093 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4094
4095 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4096 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4097 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4098 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4099 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4100 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4101
ec4ff04d
CD
41022013-03-17 Carlos O'Donell <carlos@redhat.com>
4103
4104 * manual/memory.texi (Malloc Tunable Parameters):
4105 Sort parameters alphabetically. Add comments for missing entries.
4106
cd18e90a
DM
41072013-03-17 David S. Miller <davem@davemloft.net>
4108
4109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4110
2a185d32
JM
41112013-03-16 Joseph Myers <joseph@codesourcery.com>
4112
d2f9799e
JM
4113 [BZ #15283]
4114 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4115 for arguments at most half maximum finite value.
4116 * math/libm-test.inc (j0_test): Add more tests.
4117 (j1_test): Likewise.
4118 (y0_test): Likewise.
4119 (y1_test): Likewise.
4120 * sysdeps/i386/fpu/libm-test-ulps: Update.
4121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4122
2a185d32
JM
4123 [BZ #14155]
4124 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4125 1 / x and functions P and Q for arguments above 0x1p256L.
4126 (__ieee754_y0l): Likewise.
4127 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4128 (__ieee754_y1l): Likewise.
4129 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4130 (j1_test): Likewise.
4131 (y0_test): Likewise.
4132 (y1_test): Likewise.
4133
6cbec759
TS
41342013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4135
4136 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4137 variable.
4138
bc16e260
RM
41392013-03-15 Roland McGrath <roland@hack.frob.com>
4140
aefc9b8c
RM
4141 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4142 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4143 zero since it's initialized to EXEC_PAGESIZE.
4144
bc16e260
RM
4145 * sysdeps/unix/sysv/linux/ldsodefs.h
4146 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4147 * sysdeps/generic/ldsodefs.h: ... here.
4148
a57da955
TS
41492013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4150
af00a34d
TS
4151 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4152
495ded2c
TS
4153 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4154 math/test-snan.c.
4155 * math/test-snan.c: Renamed from
4156 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4157 * math/Makefile (tests): Add test-snan.
4158 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4159 test-powerpc-snan.
4160
777b0332
TS
4161 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4162 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4163 functions.
4164 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4165 __builtin_nan family of functions.
4166 * math/libm-test.inc (initialize): Initialize qnan_value with
4167 __builtin_nan family of functions.
4168 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4169 Remove variables.
4170 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4171 Remove functions.
4172 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4173 storage class. Initialize qNaN_var and sNaN_var with
4174 __builtin_nan and __builtin_nans families of functions,
4175 respectively.
4176
64d063b8
TS
4177 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4178 (sqrt_test): Remove duplicate test with qNaN input.
4179 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4180 (round_test, signbit_test, significand_test): Note missing +/-Inf
4181 as well as qNaN tests.
4182
67e971f1
TS
4183 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4184 qNaN_var. Fix a few strings, too.
4185 * math/libm-test.inc (nan_value): Rename to qnan_value.
4186 * math/gen-libm-test.pl (%beautify): Adjust to that.
4187 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4188 * math/test-misc.c (main): Likewise.
4189 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4190 to __qnan_bytes, and __qnan_union, respectively.
4191 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4192 Likewise.
4193 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4194 and lqnanval, respectively.
4195 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4196 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4197 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4198 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4199
64487e12
TS
4200 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4201 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4202 doubles.
4203
e015e27b
TS
4204 * math/test-misc.c (main): Fix copy'n'pastos.
4205 * misc/tst-efgcvt.c (special): Likewise.
4206
a57da955
TS
4207 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4208 Remove declarations.
4209
1e380345
SP
42102013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4211
4212 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4213 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4214 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4215 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4216
ef26eece
AZ
42172013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4218
4219 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4220 macro to return vdso values correctly in IFUNC implementations.
4221 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4222 Optimization by using IFUNC.
4223
8cfdb7e0
SP
42242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4225 Richard Henderson <rth@redhat.com>
4226 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4227
4228 * Makefile.in (bench): New target.
4229 * NEWS: Mention the benchmark framework.
4230 * Rules (bench): Likewise.
4231 (binaries-bench): Generate binaries for functions to
4232 benchmark.
4233 * benchtests/Makefile: New makefile for benchmark tests.
4234 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4235 programs.
4236 * benchtests/exp-inputs: New input file for EXP function.
4237 * benchtests/pow-inputs: New input file for POW function.
4238 * scripts/bench.pl: New script to generate source files for
4239 benchmark programs.
4240
bcda9880
SP
42412013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4242
d22ca8cd
SP
4243 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4244 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4245 computations on mantissa. Use macros for rounding and
4246 division.
4247 (denorm): Likewise.
4248 (__dbl_mp): Likewise.
4249 (add_magnitudes): Likewise.
4250 (sub_magnitudes): Likewise.
4251 (__mul): Likewise.
4252 (__sqr): Likewise.
4253 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4254 powers of two in terms of TWOPOW macro.
4255 (mp_no): Make type of mantissa as MANTISSA_T.
4256 [!RADIXI]: Define RADIXI.
4257 [!TWO52]: Define TWO52.
4258 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4259
bcda9880
SP
4260 * manual/nptl.texi (cindex): Modify threads to pthreads.
4261
06d5adfb
JM
42622013-03-15 Joseph Myers <joseph@codesourcery.com>
4263
4264 * sysdeps/x86_64/preconfigure: Regenerated.
4265
41c7328e
JM
42662013-03-14 Joseph Myers <joseph@codesourcery.com>
4267
4268 [BZ #14155]
4269 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4270 0x1p28 and above.
4271 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4272 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4273 0x1p28 and above.
4274 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4275 * math/libm-test.inc (j0_test): Do not allow one spurious
4276 underflow exception.
4277 (y1_test): Likewise.
4278
e25cfa60
SP
42792013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4280
0409959c
SP
4281 * manual/Makefile (chapters): Add nptl.
4282 * manual/debug.texi (Debugging Support): Add link to Threads
4283 chapter.
4284 * manual/nptl.texi: New file.
4285
e25cfa60
SP
4286 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4287
58a1335e
PB
42882013-03-14 Petr Baudis <pasky@ucw.cz>
4289
4290 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4291 for non-NULL pointer before the memory validity test. Pointed
4292 out by Holger Brunck <holger.brunck@keymile.com>.
4293
9dc7c64f
AS
42942013-03-13 Andreas Schwab <schwab@suse.de>
4295
4296 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4297 instead of .os.
4298
54206aa6
JM
42992013-03-13 Joseph Myers <joseph@codesourcery.com>
4300
4301 * timezone/zic.c: Update from tzcode 2013b.
4302
e98cdb38
CD
43032013-03-12 Carlos O'Donell <carlos@redhat.com>
4304
4305 * manual/install.texi (Configuring and compiling):
4306 Mention i686 and i586.
4307 * INSTALL: Regenerate.
4308
9967e003
RM
43092013-03-12 Roland McGrath <roland@hack.frob.com>
4310
4311 * sysdeps/init_array/elf-init.c: New file.
4312 * csu/elf-init.c
4313 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4314 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4315
4316 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4317 __gmon_start__ as global, but as static with a .preinit_array pointer.
4318 * sysdeps/init_array/gmon-start.c: New file. Use that.
4319 * sysdeps/init_array/crti.S: New file, empty except for comments.
4320 * sysdeps/init_array/crtn.S: Likewise.
4321
e6b5a293 43222013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4323
4324 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4325 definining bcopy.
80f844c9
OB
4326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4327 Remove Prefer_SSE_for_memop.
4328 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4329 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4330 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4332 memset-x86-64.
80f844c9 4333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4334 Remove bzero, memset ifunc support.
80f844c9
OB
4335 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4336 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4337 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4338 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4339
fb6b0fcb
AS
43402013-03-11 Andreas Schwab <schwab@suse.de>
4341
4342 [BZ #15234]
4343 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4344 by SHLIB_COMPAT.
4345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4346 (GLIBC_2.16): Remove pthread_atfork.
4347
3e6bd4b1
PP
43482013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4349
4350 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4351 (ptestcases.h): Likewise.
4352
222d7f00
RM
43532013-03-08 Roland McGrath <roland@hack.frob.com>
4354
4355 * Makeconfig ($(common-objpfx)config.status): Depend on
4356 sysdeps/*/preconfigure{,.in} too.
4357
1ba4f030
JM
43582013-03-08 Joseph Myers <joseph@codesourcery.com>
4359
a222d91a
JM
4360 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4361 (__free_hook): Use void * instead of __malloc_ptr_t.
4362 (__malloc_hook): Likewise.
4363 (__realloc_hook): Likewise.
4364 (__memalign_hook): Likewise.
4365 (__after_morecore_hook): Likewise.
4366 * malloc/arena.c (save_malloc_hook): Likewise.
4367 (save_free_hook): Likewise.
4368 * malloc/hooks.c (malloc_hook_ini): Likewise.
4369 (realloc_hook_ini): Likewise.
4370 (memalign_hook_ini): Likewise.
4371 * malloc/malloc.c (malloc_hook_ini): Likewise.
4372 (realloc_hook_ini): Likewise.
4373 (memalign_hook_ini): Likewise.
4374 (__free_hook): Likewise.
4375 (__malloc_hook): Likewise.
4376 (__realloc_hook): Likewise.
4377 (__memalign_hook): Likewise.
4378 (__libc_malloc): Likewise.
4379 (__libc_free): Likewise.
4380 (__libc_realloc): Likewise.
4381 (__libc_memalign): Likewise.
4382 (__libc_valloc): Likewise.
4383 (__libc_pvalloc): Likewise.
4384 (__libc_calloc): Likewise.
4385 (__posix_memalign): Likewise.
4386 * malloc/morecore.c (__sbrk): Likewise.
4387 (__default_morecore): Likewise.
4388
5cc45e10
JM
4389 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4390
dd54b864
JM
4391 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4392 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4393 __malloc_ptrdiff_t.
4394
1ba4f030
JM
4395 * malloc/malloc.h (__malloc_size_t): Remove macro.
4396 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4397 __malloc_size_t.
4398 (old_memalign_hook): Likewise.
4399 (old_realloc_hook): Likewise.
4400 (struct hdr): Likewise.
4401 (flood): Likewise.
4402 (mallochook): Likewise.
4403 (memalignhook): Likewise.
4404 (reallochook): Likewise.
4405 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4406 (tr_old_realloc_hook): Likewise.
4407 (tr_old_memalign_hook): Likewise.
4408 (tr_mallochook): Likewise.
4409 (tr_reallochook): Likewise.
4410 (tr_memalignhook): Likewise.
4411
edf66e57
AZ
44122013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4413
4414 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4415 default_ldbl_pack and using as default implementation.
4416 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4417 implementation.
4418 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4419 redundant definition.
4420 (ldbl_insert_mantissa): Likewise.
4421 (ldbl_canonicalize): Likewise.
4422 (ldbl_nearbyint): Likewise.
4423 (ldbl_pack): Rename to ldbl_pack_ppc.
4424 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4425 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4426 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4427
6d9145d8
SP
44282013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4429
4430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4431 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4432 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4433 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4435 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4436 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4437 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4438
4dd4e157
AJ
44392013-03-07 Andreas Jaeger <aj@suse.de>
4440
4441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4442 bits/mman-linux.h.
4443
adbb8027
SP
44442013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4445
ce544b5b
SP
4446 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4447 Include mpa.h and declare __MPEXP.
4448 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4449 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4450 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4451 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4452 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4453 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4454 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4455
4cc149fd
SP
4456 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4457 (__slowpow): Use long double EXPL and LOGL functions to
4458 compute POW.
4459 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4460 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4461 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4462 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4463 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4464 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4465
e6ebd4a7
SP
4466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4467 intermediate variable to calculate exponent.
4468 (__sqr): Likewise.
4469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4470 Likewise.
4471 (__sqr): Likewise.
4472
82a9811d
SP
4473 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4474 [!NO__SQR]: Define __sqr.
4475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4476 and NO__SQR. Remove all code except __mul and __sqr. Include
4477 sysdeps/ieee754/dbl-64/mpa.c.
4478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4479
adbb8027
SP
4480 [BZ #12723]
4481 * posix/Makefile (tests): Add tst-pathconf.
4482 * posix/tst-pathconf.c: New test case.
4483 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4484 _PC_PIPE_BUF.
4485 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4486
39120df9
PF
44872013-03-06 Patsy Franklin <pfrankli@redhat.com>
4488
4489 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4490
67525cb8
AJ
44912013-03-06 Andreas Jaeger <aj@suse.de>
4492
664a9ce4
AJ
4493 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4494 definition via __MAP_ANONYMOUS.
4495
8e39047d
AJ
4496 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4497 it's not part of Linux headers.
4498
67525cb8
AJ
4499 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4500 (MAP_HUGE_MASK): Define.
4501
4502 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4503 Define.
4504 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4505 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4506 Define.
4507 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4508 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4509 Define.
4510 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4512 Define.
4513 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4514
4515 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4516 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4517 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4518 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4519 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4520 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4521
4522 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4523 Handle f2fs.
4524
4525 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4526 Handle f2fs and efivarfs.
4527
4528 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4529 f2fs.
4530
4531 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4532 (EFIVARFS_MAGIC): Add.
4533 (F2FS_LINK_MAX): Add.
4534
e1b42695
PP
45352013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4536
4537 * stdio-common/vfprintf.c: Replace __builtin_expect with
4538 __glibc_unlikely.
4539
2d67d91a
JM
45402013-03-06 Joseph Myers <joseph@codesourcery.com>
4541
4542 [BZ #13550]
4543 * sysdeps/generic/bp-sym.h: Remove file.
4544 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4545 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4546 <bp-sym.h> and <bp-asm.h>.
4547 (__longjmp): Don't use BP_SYM.
4548 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4549 and <bp-asm.h>.
4550 (memcpy): Don't use BP_SYM.
4551 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4552 <bp-sym.h> and <bp-asm.h>.
4553 (memcpy): Don't use BP_SYM.
4554 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4555 <bp-asm.h>.
4556 (memcpy): Don't use BP_SYM.
4557 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4558 <bp-asm.h>.
4559 (memset): Don't use BP_SYM.
4560 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4561 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4562 (__bzero): Don't use BP_SYM.
4563 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4564 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4565 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4566 <bp-sym.h> and <bp-asm.h>.
4567 (memcmp): Don't use BP_SYM. Remove comment about bounded
4568 pointers.
4569 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4570 <bp-sym.h> and <bp-asm.h>.
4571 (memcpy): Don't use BP_SYM.
4572 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4573 <bp-sym.h> and <bp-asm.h>.
4574 (memset): Don't use BP_SYM.
4575 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4576 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4577 (__bzero): Don't use BP_SYM.
4578 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4579 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4580 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4581 <bp-sym.h> and <bp-asm.h>.
4582 (strncmp): Don't use BP_SYM. Remove comment about bounded
4583 pointers.
4584 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4585 <bp-sym.h> and <bp-asm.h>.
4586 (memcpy): Don't use BP_SYM.
4587 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4588 <bp-sym.h> and <bp-asm.h>.
4589 (memset): Don't use BP_SYM.
4590 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4591 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4592 (__bzero): Don't use BP_SYM.
4593 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4594 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4595 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4596 <bp-sym.h> and <bp-asm.h>.
4597 (__memchr): Don't use BP_SYM.
4598 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4599 <bp-sym.h> and <bp-asm.h>.
4600 (memcmp): Don't use BP_SYM. Remove comment about bounded
4601 pointers.
4602 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4603 <bp-sym.h> and <bp-asm.h>.
4604 (memcpy): Don't use BP_SYM.
4605 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4606 <bp-sym.h> and <bp-asm.h>.
4607 (__mempcpy): Don't use BP_SYM.
4608 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4609 <bp-sym.h> and <bp-asm.h>.
4610 (__memrchr): Don't use BP_SYM.
4611 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4612 <bp-sym.h> and <bp-asm.h>.
4613 (memset): Don't use BP_SYM.
4614 (__bzero): Likewise.
4615 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4616 <bp-sym.h> and <bp-asm.h>.
4617 (__rawmemchr): Don't use BP_SYM.
4618 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4619 <bp-sym.h> and <bp-asm.h>.
4620 (__STRCMP): Don't use BP_SYM.
4621 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4622 <bp-sym.h> and <bp-asm.h>.
4623 (strchr): Don't use BP_SYM.
4624 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4625 <bp-sym.h> and <bp-asm.h>.
4626 (__strchrnul): Don't use BP_SYM.
4627 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4628 <bp-sym.h> and <bp-asm.h>.
4629 (strlen): Don't use BP_SYM.
4630 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4631 <bp-sym.h> and <bp-asm.h>.
4632 (strncmp): Don't use BP_SYM. Remove comment about bounded
4633 pointers.
4634 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4635 <bp-sym.h> and <bp-asm.h>.
4636 (__strnlen): Don't use BP_SYM.
4637 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4638 <bp-sym.h> and <bp-asm.h>.
4639 (__GI__setjmp): Don't use BP_SYM.
4640 (_setjmp): Likewise.
4641 (__sigsetjmp): Likewise.
4642 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4643 (L(start_addresses)): Don't use BP_SYM.
4644 (_start): Likewise.
4645 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4646 <bp-asm.h>.
4647 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4648 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4649 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4650 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4651 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4652 <bp-asm.h>.
4653 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4654 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4655 about bounded pointers.
4656 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4657 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4658 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4659 <bp-asm.h>.
4660 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4661 about bounded pointers. Remove GKM FIXME comments.
4662 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4663 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4664 <bp-asm.h>.
4665 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4666 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4667 Remove GKM FIXME comments.
4668 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4669 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4670 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4671 <bp-asm.h>.
4672 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4673 about bounded pointers. Remove GKM FIXME comment.
4674 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4675 and <bp-asm.h>.
4676 (strncmp): Don't use BP_SYM. Remove comment about bounded
4677 pointers.
4678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4679 <bp-sym.h> and <bp-asm.h>.
4680 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4682 <bp-sym.h> and <bp-asm.h>.
4683 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4684 comment.
4685
cdcf361f
PP
46862013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4687
4688 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4689 call free(NULL).
4690
3c4a2b15
DM
46912013-03-05 David S. Miller <davem@davemloft.net>
4692
4693 * po/es.po: Update from translation team.
4694
cdcf361f 46952013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
4696
4697 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4698 <bits/mman-linux.h>.
4699 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4700 is fine.
4701 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4702 <bits/mman-linux.h> to end of file.
4703 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4704 is fine.
4705 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4706 <bits/mman-linux.h> to end of file.
4707 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4708 is fine.
4709 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4710 <bits/mman-linux.h> to end of file.
4711
4712 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4713 (MCL_CURRENT, MCL_FUTURE): Define here.
4714
5f67c04f
AK
47152013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4716
8a4473cc 4717 [BZ #15232]
5f67c04f
AK
4718 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4719 attribute_hidden.
4720 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4721
c3e94a95
AK
47222013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4723
4724 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4725 fourth parameter needed for rt_sigprocmask syscall.
4726 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4727 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4728 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4729 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4730 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4731 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4732
cfb6382a
JM
47332013-03-04 Joseph Myers <joseph@codesourcery.com>
4734
4735 [BZ #13550]
4736 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4737 comment about bounded pointers.
4738 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4739 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4740
539d8e01
AJ
47412013-03-04 Andreas Jaeger <aj@suse.de>
4742
4743 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4744 common definitions.
4745
4746 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4747 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4748 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4749 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4750 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
4751 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4752
2e167a70 47532013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
4754
4755 [BZ #15055]
4756 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4757 __ieee754_sqrl instead of __sqrl.
4758
68508633
JM
47592013-03-01 Joseph Myers <joseph@codesourcery.com>
4760
4761 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4762 * sysdeps/powerpc/fpu_control.h: ... here.
4763 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4764 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4765 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4766 * sysdeps/powerpc/bits/mathinline.h: ... here.
4767
7775448e
RM
47682013-03-01 Roland McGrath <roland@hack.frob.com>
4769
4770 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4771 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4772 to just [NEED_DL_SYSINFO_DSO].
4773 * elf/dl-support.c: Likewise.
4774 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4775 * elf/rtld.c (dl_main): Likewise.
4776 * elf/setup-vdso.h (setup_vdso): Likewise.
4777 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4778 * sysdeps/unix/sysv/linux/dl-sysdep.c
4779 (_dl_discover_osversion): Likewise.
4780
4e9b5995
CD
47812013-03-01 Carlos O'Donell <carlos@redhat.com>
4782
4783 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4784 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4785
e23872c8
SP
47862013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4787
e5c74c63
SP
4788 * NEWS: Mention libm performance improvements and non-x86 PI
4789 futex support.
4790
e23872c8
SP
4791 * csu/libc-start.c (__pthread_initialize_minimal): Change
4792 function arguments.
4793 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4794
b5510883
JM
47952013-02-28 Joseph Myers <joseph@codesourcery.com>
4796
4797 [BZ #13550]
4798 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4799 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4800 <bp-sym.h> and <bp-asm.h>.
4801 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4802 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4803 and <bp-asm.h>.
4804 (memcpy): Don't use BP_SYM.
4805 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4806 <bp-asm.h>.
4807 (__mpn_add_n): Don't use BP_SYM.
4808 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4809 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4810 and <bp-asm.h>.
4811 (__mpn_addmul_1): Don't use BP_SYM.
4812 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4813 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4814 <bp-sym.h>.
4815 (_setjmp): Don't use BP_SYM.
4816 (__novmx_setjmp): Likewise.
4817 (__GI__setjmp): Likewise.
4818 (__vmx_setjmp): Likewise.
4819 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4820 <bp-sym.h>.
4821 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4822 (__bzero): Don't use BP_SYM.
4823 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4824 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4825 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4826 <bp-sym.h> and <bp-asm.h>.
4827 (memcpy): Don't use BP_SYM.
4828 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4829 <bp-sym.h> and <bp-asm.h>.
4830 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4831 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4832 <bp-sym.h> and <bp-asm.h>.
4833 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4834 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4835 <bp-asm.h>.
4836 (__mpn_lshift): Don't use BP_SYM.
4837 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4838 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4839 <bp-asm.h>.
4840 (memset): Don't use BP_SYM.
4841 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4842 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4843 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4844 <bp-asm.h>.
4845 (__mpn_mul_1): Don't use BP_SYM.
4846 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4847 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4848 <bp-sym.h> and <bp-asm.h>.
4849 (memcmp): Don't use BP_SYM.
4850 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4851 <bp-sym.h> and <bp-asm.h>.
4852 (memcpy): Don't use BP_SYM.
4853 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4854 <bp-sym.h> and <bp-asm.h>.
4855 (memset): Don't use BP_SYM.
4856 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4857 <bp-sym.h> and <bp-asm.h>.
4858 (strncmp): Don't use BP_SYM.
4859 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4860 <bp-sym.h> and <bp-asm.h>.
4861 (memcpy): Don't use BP_SYM.
4862 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4863 <bp-sym.h> and <bp-asm.h>.
4864 (memset): Don't use BP_SYM.
4865 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4866 <bp-sym.h> and <bp-asm.h>.
4867 (__memchr): Don't use BP_SYM.
4868 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4869 <bp-sym.h> and <bp-asm.h>.
4870 (memcmp): Don't use BP_SYM.
4871 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4872 <bp-sym.h> and <bp-asm.h>.
4873 (memcpy): Don't use BP_SYM.
4874 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4875 <bp-sym.h> and <bp-asm.h>.
4876 (__mempcpy): Don't use BP_SYM.
4877 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4878 <bp-sym.h> and <bp-asm.h>.
4879 (__memrchr): Don't use BP_SYM.
4880 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4881 <bp-sym.h> and <bp-asm.h>.
4882 (memset): Don't use BP_SYM.
4883 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4884 <bp-sym.h> and <bp-asm.h>.
4885 (__rawmemchr): Don't use BP_SYM.
4886 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4887 <bp-sym.h> and <bp-asm.h>.
4888 (__STRCMP): Don't use BP_SYM.
4889 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4890 <bp-sym.h> and <bp-asm.h>.
4891 (strchr): Don't use BP_SYM.
4892 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4893 <bp-sym.h> and <bp-asm.h>.
4894 (__strchrnul): Don't use BP_SYM.
4895 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4896 <bp-sym.h> and <bp-asm.h>.
4897 (strlen): Don't use BP_SYM.
4898 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4899 <bp-sym.h> and <bp-asm.h>.
4900 (strncmp): Don't use BP_SYM.
4901 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4902 <bp-sym.h> and <bp-asm.h>.
4903 (__strnlen): Don't use BP_SYM.
4904 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4905 <bp-asm.h>.
4906 (__mpn_rshift): Don't use BP_SYM.
4907 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4908 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4909 <bp-sym.h> and <bp-asm.h>.
4910 (__sigsetjmp): Don't use BP_SYM.
4911 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4912 (L(start_addresses)): Don't use BP_SYM.
4913 (_start): Likewise.
4914 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4915 <bp-asm.h>.
4916 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4917 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4918 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4919 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4920 <bp-asm.h>.
4921 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4922 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4923 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4924 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4925 <bp-asm.h>.
4926 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4927 comments.
4928 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4929 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4930 <bp-asm.h>.
4931 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4932 FIXME comments.
4933 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4934 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4935 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4936 <bp-asm.h>.
4937 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4938 comment.
4939 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4940 and <bp-asm.h>.
4941 (strncmp): Don't use BP_SYM,
4942 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4943 <bp-asm.h>.
4944 (__mpn_sub_n): Don't use BP_SYM.
4945 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4946 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4947 and <bp-asm.h>.
4948 (__mpn_submul_1): Don't use BP_SYM.
4949 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4951 <bp-sym.h> and <bp-asm.h>.
4952 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4954 <bp-sym.h> and <bp-asm.h>.
4955 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4956 comment.
4957
8d19fe64
SP
49582013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4959
4960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4961 Use ZK to minimize writes to Z.
4962 (sub_magnitudes): Simplify code a bit.
4963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4964 Use ZK to minimize writes to Z.
4965 (sub_magnitudes): Simplify code a bit.
4966
85bd816a
RM
49672013-02-27 Roland McGrath <roland@hack.frob.com>
4968
4969 * csu/gmon-start.c: Add special exception to license text.
4970
b5977bf2
RH
49712013-02-27 Richard Henderson <rth@redhat.com>
4972
4973 * scripts/config.guess: Update from config.git.
4974 * scripts/config.sub: Likewise.
4975
11d6e2f2
SP
49762013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4977
09c14ed2
SP
4978 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4979
a688864e
SP
4980 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4981
6295157a
SP
4982 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4983
b8de2202
SP
4984 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4985
11d6e2f2
SP
4986 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4987
7e80ddb8
RM
49882013-02-26 Roland McGrath <roland@hack.frob.com>
4989
4990 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4991 [$(build-shared = yes].
7e80ddb8 4992
7da6d9ed
SP
49932013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4994
45f05884
SP
4995 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4996 (__mul): Reduce iterations for calculating mantissa.
4997
2236d359
SP
4998 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4999 MPTWO.
5000 (__mpranred): Likewise.
5001
7da6d9ed
SP
5002 [BZ #15160]
5003 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5004 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5005
b7688c42
PE
50062013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5007
5008 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5009 Define __attribute__.
5010
53a5c423
SP
50112013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5012
5013 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5014 unused.
5015 * posix/regex_internal.h (__attribute): Remove.
5016 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5017 (re_string_context_at): Likewise.
5018 (bitset_not): Use __attribute__ and mark function as possibly
5019 unused.
5020 (bitset_merge): Likewise.
5021 (bitset_mask): Likewise.
5022 (re_string_char_size_at): Likewise.
5023 (re_string_wchar_at): Likewise.
5024 (re_string_elem_size_at): Likewise.
5025
60f5a8b5
SP
50262013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5027
2a983a2e
SP
5028 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5029 code.
5030 (cc32): Likewise.
5031
e69804d1
SP
5032 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5033 (__acr): Likewise.
5034 (__cpy): Likewise.
5035 (norm): Likewise.
5036 (denorm): Likewise.
5037 (__dbl_mp): Likewise.
5038 (add_magnitudes): Likewise.
5039 (sub_magnitudes): Likewise.
5040 (__mul): Likewise.
5041 (__inv): Likewise.
5042
2f22a1e8
SP
5043 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5044 style.
5045
8930ddc7
SP
5046 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5047 style.
5048
dc60cb11
SP
5049 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5050 code.
5051
60f5a8b5
SP
5052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5053 up changes with default code.
5054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5055 Likewise.
5056
b4d1fd33
AM
50572013-02-24 Allan McRae <allan@archlinux.org>
5058
faf6f8bc
AM
5059 * manual/socket.texi (The Internet Namespace): Order menu items
5060 to match that in the file.
5061
b4d1fd33
AM
5062 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5063 node listing of the info page menu.
5064
2366713d
JM
50652013-02-21 Joseph Myers <joseph@codesourcery.com>
5066
5067 [BZ #13550]
5068 * sysdeps/i386/bp-asm.h: Remove file.
5069 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5070 (PARMS): Do not use macros from bp-asm.h.
5071 (S1): Likewise.
5072 (S2): Likewise.
5073 (SIZE): Likewise.
5074 (__mpn_add_n): Do not use BP_SYM
5075 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5076 "bp-asm.h".
5077 (PARMS): Do not use macros from bp-asm.h.
5078 (S1): Likewise.
5079 (SIZE): Likewise.
5080 (__mpn_addmul_1): Do not use BP_SYM
5081 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5082 "bp-asm.h".
5083 (PARMS): Do not use macros from bp-asm.h.
5084 (SIGMSK): Likewise.
5085 (_setjmp): Likewise. Do not use BP_SYM.
5086 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5087 "bp-asm.h".
5088 (PARMS): Do not use macros from bp-asm.h.
5089 (SIGMSK): Likewise.
5090 (setjmp): Likewise. Do not use BP_SYM.
5091 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5092 "bp-asm.h".
5093 (PARMS): Do not use macros from bp-asm.h.
5094 (__frexp): Do not use BP_SYM.
5095 (frexp): Likewise.
5096 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5097 "bp-asm.h".
5098 (PARMS): Do not use macros from bp-asm.h.
5099 (__frexpf): Do not use BP_SYM.
5100 (frexpf): Likewise.
5101 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5102 "bp-asm.h".
5103 (PARMS): Do not use macros from bp-asm.h.
5104 (__frexpl): Do not use BP_SYM.
5105 (frexpl): Likewise.
5106 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5107 "bp-asm.h".
5108 (PARMS): Do not use macros from bp-asm.h.
5109 (__remquo): Do not use BP_SYM.
5110 (remquo): Likewise.
5111 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5112 "bp-asm.h".
5113 (PARMS): Do not use macros from bp-asm.h.
5114 (__remquof): Do not use BP_SYM.
5115 (remquof): Likewise.
5116 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5117 "bp-asm.h".
5118 (PARMS): Do not use macros from bp-asm.h.
5119 (__remquol): Do not use BP_SYM.
5120 (remquol): Likewise.
5121 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5122 "bp-asm.h".
5123 (PARMS): Do not use macros from bp-asm.h.
5124 (DEST): Likewise.
5125 (SRC): Likewise.
5126 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5127 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5128 "bp-asm.h".
5129 (PARMS): Do not use macros from bp-asm.h.
5130 (strlen): Do not use BP_SYM.
5131 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5132 "bp-asm.h".
5133 (PARMS): Do not use macros from bp-asm.h.
5134 (S1): Likewise.
5135 (S2): Likewise.
5136 (SIZE): Likewise.
5137 (__mpn_add_n): Do not use BP_SYM.
5138 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5139 "bp-asm.h".
5140 (PARMS): Do not use macros from bp-asm.h.
5141 (S1): Likewise.
5142 (SIZE): Likewise.
5143 (__mpn_addmul_1): Do not use BP_SYM.
5144 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5145 weak_alias.
5146 (bzero): Likewise.
5147 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5148 "bp-asm.h".
5149 (PARMS): Do not use macros from bp-asm.h.
5150 (S): Likewise.
5151 (SIZE): Likewise.
5152 (__mpn_lshift): Do not use BP_SYM.
5153 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5154 "bp-asm.h".
5155 (PARMS): Do not use macros from bp-asm.h.
5156 (DEST): Likewise.
5157 (SRC): Likewise.
5158 (LEN): Likewise.
5159 (memcpy): Likewise. Do not use BP_SYM.
5160 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5161 libc_hidden_def and weak_alias.
5162 (mempcpy): Do not use BP_SYM in weak_alias.
5163 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5164 "bp-asm.h".
5165 (PARMS): Do not use macros from bp-asm.h.
5166 (DEST): Likewise.
5167 (LEN): Likewise.
5168 [!BZERO_P] (CHR): Likewise.
5169 (memset): Likewise. Do not use BP_SYM.
5170 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5171 "bp-asm.h".
5172 (PARMS): Do not use macros from bp-asm.h.
5173 (S1): Likewise.
5174 (SIZE): Likewise.
5175 (__mpn_mul_1): Do not use BP_SYM.
5176 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5177 "bp-asm.h".
5178 (PARMS): Do not use macros from bp-asm.h.
5179 (S): Likewise.
5180 (SIZE): Likewise.
5181 (__mpn_rshift): Do not use BP_SYM.
5182 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5183 "bp-asm.h".
5184 (PARMS): Do not use macros from bp-asm.h.
5185 (STR): Likewise.
5186 (CHR): Likewise.
5187 (strchr): Likewise. Do not use BP_SYM.
5188 (index): Do not use BP_SYM in weak_alias.
5189 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5190 "bp-asm.h".
5191 (PARMS): Do not use macros from bp-asm.h.
5192 (DEST): Likewise.
5193 (SRC): Likewise.
5194 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5195 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5196 "bp-asm.h".
5197 (PARMS): Do not use macros from bp-asm.h.
5198 (strlen): Do not use BP_SYM.
5199 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5200 "bp-asm.h".
5201 (PARMS): Do not use macros from bp-asm.h.
5202 (S1): Likewise.
5203 (S2): Likewise.
5204 (SIZE): Likewise.
5205 (__mpn_sub_n): Do not use BP_SYM.
5206 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5207 "bp-asm.h".
5208 (PARMS): Do not use macros from bp-asm.h.
5209 (S1): Likewise.
5210 (SIZE): Likewise.
5211 (__mpn_submul_1): Do not use BP_SYM.
5212 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5213 "bp-asm.h".
5214 (PARMS): Do not use macros from bp-asm.h.
5215 (S1): Likewise.
5216 (S2): Likewise.
5217 (SIZE): Likewise.
5218 (__mpn_add_n): Do not use BP_SYM.
5219 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5220 weak_alias.
5221 (bzero): Likewise.
5222 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5223 "bp-asm.h".
5224 (PARMS): Do not use macros from bp-asm.h.
5225 (BLK2): Likewise.
5226 (LEN): Likewise.
5227 (memcmp): Do not use BP_SYM.
5228 (bcmp): Do not use BP_SYM in weak_alias.
5229 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5230 "bp-asm.h".
5231 (PARMS): Do not use macros from bp-asm.h.
5232 (DEST): Likewise.
5233 (SRC): Likewise.
5234 (LEN): Likewise.
5235 (memcpy): Likewise. Do not use BP_SYM.
5236 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5237 "bp-asm.h".
5238 (PARMS): Do not use macros from bp-asm.h.
5239 (DEST): Likewise.
5240 (SRC): Likewise.
5241 (LEN): Likewise.
5242 (memmove): Likewise. Do not use BP_SYM.
5243 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5244 "bp-asm.h".
5245 (PARMS): Do not use macros from bp-asm.h.
5246 (DEST): Likewise.
5247 (SRC): Likewise.
5248 (LEN): Likewise.
5249 (__mempcpy): Likewise. Do not use BP_SYM.
5250 (mempcpy): Do not use BP_SYM in weak_alias.
5251 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5252 "bp-asm.h".
5253 (PARMS): Do not use macros from bp-asm.h.
5254 (DEST): Likewise.
5255 (LEN): Likewise.
5256 [!BZERO_P] (CHR): Likewise.
5257 (memset): Likewise. Do not use BP_SYM.
5258 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5259 "bp-asm.h".
5260 (PARMS): Do not use macros from bp-asm.h.
5261 (STR2): Likewise.
5262 (strcmp): Do not use BP_SYM.
5263 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5264 "bp-asm.h".
5265 (PARMS): Do not use macros from bp-asm.h.
5266 (STR): Likewise.
5267 (DELIM): Likewise.
5268 [USE_AS_STRTOK_R] (SAVE): Likewise.
5269 (FUNCTION): Likewise. Do not use BP_SYM.
5270 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5271 aliases.
5272 (strtok_r): Likewise.
5273 (__GI___strtok_r): Likewise.
5274 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5275 (PARMS): Do not use macros from bp-asm.h.
5276 (S): Likewise.
5277 (SIZE): Likewise.
5278 (__mpn_lshift): Do not use BP_SYM.
5279 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5280 (PARMS): Do not use macros from bp-asm.h.
5281 (STR): Likewise.
5282 (CHR): Likewise.
5283 (__memchr): Do not use BP_SYM.
5284 (memchr): Do not use BP_SYM in weak_alias.
5285 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5286 (PARMS): Do not use macros from bp-asm.h.
5287 (BLK2): Likewise.
5288 (LEN): Likewise.
5289 (memcmp): Do not use BP_SYM.
5290 (bcmp): Do not use BP_SYM in weak_alias.
5291 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5292 (PARMS): Do not use macros from bp-asm.h.
5293 (S1): Likewise.
5294 (SIZE): Likewise.
5295 (__mpn_mul_1): Do not use BP_SYM.
5296 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5297 "bp-asm.h".
5298 (PARMS): Do not use macros from bp-asm.h.
5299 (STR): Likewise.
5300 (CHR): Likewise.
5301 (__rawmemchr): Do not use BP_SYM.
5302 (rawmemchr): Do not use BP_SYM in weak_alias.
5303 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5304 (PARMS): Do not use macros from bp-asm.h.
5305 (S): Likewise.
5306 (SIZE): Likewise.
5307 (__mpn_rshift): Do not use BP_SYM.
5308 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5309 (PARMS): Do not use macros from bp-asm.h.
5310 (SIGMSK): Likewise.
5311 (__sigsetjmp): Likewise. Do not use BP_SYM.
5312 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5313 (_start): Do not use BP_SYM.
5314 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5315 (PARMS): Do not use macros from bp-asm.h.
5316 (DEST): Likewise.
5317 (SRC): Likewise.
5318 (__stpcpy): Likewise. Do not use BP_SYM.
5319 (stpcpy): Do not use BP_SYM in weak_alias.
5320 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5321 "bp-asm.h".
5322 (PARMS): Do not use macros from bp-asm.h.
5323 (DEST): Likewise.
5324 (SRC): Likewise.
5325 (LEN): Likewise.
5326 (__stpncpy): Likewise. Do not use BP_SYM.
5327 (stpncpy): Do not use BP_SYM in weak_alias.
5328 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5329 (PARMS): Do not use macros from bp-asm.h.
5330 (STR): Likewise.
5331 (CHR): Likewise.
5332 (strchr): Likewise. Do not use BP_SYM.
5333 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5334 "bp-asm.h".
5335 (PARMS): Do not use macros from bp-asm.h.
5336 (STR): Likewise.
5337 (CHR): Likewise.
5338 (__strchrnul): Likewise. Do not use BP_SYM.
5339 (strchrnul): Do not use BP_SYM in weak_alias.
5340 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5341 "bp-asm.h".
5342 (PARMS): Do not use macros from bp-asm.h.
5343 (STOP): Likewise.
5344 (strcspn): Do not use BP_SYM.
5345 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5346 "bp-asm.h".
5347 (PARMS): Do not use macros from bp-asm.h.
5348 (STR): Likewise.
5349 (STOP): Likewise.
5350 (strpbrk): Likewise. Do not use BP_SYM.
5351 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5352 "bp-asm.h".
5353 (PARMS): Do not use macros from bp-asm.h.
5354 (STR): Likewise.
5355 (CHR): Likewise.
5356 (strrchr): Likewise. Do not use BP_SYM.
5357 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5358 (PARMS): Do not use macros from bp-asm.h.
5359 (SKIP): Likewise.
5360 (strspn): Do not use BP_SYM.
5361 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5362 (PARMS): Do not use macros from bp-asm.h.
5363 (STR): Likewise.
5364 (DELIM): Likewise.
5365 (SAVE): Likewise.
5366 (FUNCTION): Likewise. Do not use BP_SYM.
5367 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5368 aliases.
5369 (strtok_r): Likewise.
5370 (__GI___strtok_r): Likewise.
5371 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5372 (PARMS): Do not use macros from bp-asm.h.
5373 (S1): Likewise.
5374 (S2): Likewise.
5375 (SIZE): Likewise.
5376 (__mpn_sub_n): Do not use BP_SYM.
5377 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5378 "bp-asm.h".
5379 (PARMS): Do not use macros from bp-asm.h.
5380 (S1): Likewise.
5381 (SIZE): Likewise.
5382 (__mpn_submul_1): Do not use BP_SYM.
5383 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5384 <bp-sym.h>.
5385 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5386 and <bp-asm.h>.
5387 (PARMS): Do not use macros from bp-asm.h.
5388 (FLAGS): Likewise.
5389 (PTID): Likewise.
5390 (TLS): Likewise.
5391 (CTID): Likewise.
5392 (__clone): Do not use BP_SYM.
5393 (clone): Do not use BP_SYM in weak_alias.
5394 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5395 and <bp-asm.h>.
5396 (PARMS): Do not use macros from bp-asm.h.
5397 (LEN): Likewise.
5398 (__mmap64): Do not use BP_SYM.
5399 (mmap64): Do not use BP_SYM in weak_alias.
5400 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5401 <bp-sym.h> and <bp-asm.h>.
5402 (PARMS): Do not use macros from bp-asm.h.
5403 (__posix_fadvise64_l64): Do not use BP_SYM.
5404 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5405 (PARMS): Do not use macros from bp-asm.h.
5406 (NSOPS): Likewise.
5407 (semtimedop): Do not use BP_SYM.
5408 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5409 and <bp-asm.h>.
5410
582a3cff
AM
54112013-02-21 Allan McRae <allan@archlinux.org>
5412
5413 * manual/message.texi (Charset conversion in gettext):
5414 Move @end statement to beginning of line.
5415
bab8a695
SP
54162013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5417
80945231
SP
5418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5419 static.
5420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5421 Likewise.
5422
bab8a695
SP
5423 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5424 (denorm): Likewise.
5425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5427
e21d7aa7
AK
54282013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5429
5430 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5431 tail-call to the resolved function if pltexit isn't needed.
5432
4c7a4263
SP
54332013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5434
5435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5436 or Y being zero as being unlikely.
5437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5438 Likewise.
5439
41f49342
CD
54402013-02-20 Carlos O'Donell <carlos@redhat.com>
5441
5442 * manual/nss.texi (System Databases and Name Service Switch):
5443 Remove frobnicate @pxref.
5444
50022a93
TS
54452013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5446
5447 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5448 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5449
08cbd996
PM
54502013-02-20 Petr Machata <pmachata@redhat.com>
5451
5452 * elf/elf.h (R_ARM_TARGET1): New macro.
5453 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5454 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5455 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5456 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5457 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5458 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5459 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5460 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5461 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5462 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5463 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5464 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5465 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5466 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5467 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5468 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5469 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5470 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5471 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5472 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5473 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5474 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5475 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5476 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5477 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5478 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5479 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5480 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5481 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5482 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5483 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5484 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5485 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5486 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5487 (R_ARM_THM_GOT_BREL12): Likewise.
5488 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5489 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5490 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5491 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5492 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5493 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5494 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5495 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5496 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5497
c7b275d6
TS
54982013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5499
5500 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5501 __attribute_used__ to __attribute__ ((unused)).
5502
20cd7fb3
SP
55032013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5504
5505 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5506 powerpc mpa.c.
5507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5508 comment formatting.
5509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5510
92945b52
JM
55112013-02-19 Joseph Myers <joseph@codesourcery.com>
5512
5513 [BZ #13550]
5514 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5515 Remove macro.
5516 (ENTER): Remove both macro definitions.
5517 (LEAVE): Likewise.
5518 (CHECK_BOUNDS_LOW): Likewise.
5519 (CHECK_BOUNDS_HIGH): Likewise.
5520 (CHECK_BOUNDS_BOTH): Likewise.
5521 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5522 (RETURN_BOUNDED_POINTER): Likewise.
5523 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5524 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5525 (POP_ERRNO_LOCATION_RETURN): Likewise.
5526 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5527 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5528 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5529 macros.
5530 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5531 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5532 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5533 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5534 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5535 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5536 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5537 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5538 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5539 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5540 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5541 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5542 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5543 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5544 removed macros.
5545 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5546 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5547 macros.
5548 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5549 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5550 * sysdeps/i386/i586/memset.S (memset): Likewise.
5551 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5552 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5553 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5554 macros.
5555 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5556 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5557 Change uses of L(2) to L(out).
5558 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5559 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5560 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5561 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5562 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5563 removed macros.
5564 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5565 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5566 macros.
5567 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5568 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5569 (RETURN): Do not use macro LEAVE.
5570 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5571 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5572 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5573 * sysdeps/i386/i686/memset.S (memset): Likewise.
5574 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5575 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5576 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5577 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5578 Likewise.
5579 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5580 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5581 L(1_2) and L(1_3) into L(1).
5582 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5583 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5584 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5585 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5586 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5587 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5588 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5589 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5590 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5591 macros.
5592 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5593 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5594 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5595 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5596 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5597 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5598 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5599 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5600 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5601 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5602 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5603 * sysdeps/i386/strspn.S (strspn): Likewise.
5604 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5605 conditional code.
5606 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5607 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5608 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5609 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5610 L(1_3) into L(1_1).
5611 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5612 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5613 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5614 macros.
5615 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5616
2389741a
JJ
56172013-02-19 Jakub Jelinek <jakub@redhat.com>
5618
5619 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5620 macro.
5621
2016b3cd
SP
56222013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5623
e4f22324
SP
5624 * math/atest-exp.c (exp_mpn): Remove ROUND.
5625 * math/atest-exp2.c (exp_mpn): Likewise.
5626 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5627
2016b3cd
SP
5628 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5629 * stdlib/tst-tls-atexit-lib.c: Likewise.
5630 * stdlib/tst-tls-atexit.c: Likewise.
5631
4be9b544
MF
56322013-02-18 Mike Frysinger <vapier@gentoo.org>
5633
5634 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5635 and __attribute_alloc_size__.
5636
2f62b9ee
MF
56372013-02-18 Mike Frysinger <vapier@gentoo.org>
5638
5639 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5640 __attribute_alloc_size__.
5641 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5642 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5643
6ff444c4
MF
56442013-02-18 Mike Frysinger <vapier@gentoo.org>
5645
5646 * include/programs/xmalloc.h: New file.
5647 * catgets/gencat.c: Include it.
5648 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5649 * elf/pldd.c: Likewise.
5650 * iconv/iconv_charmap.c: Likewise.
5651 * iconv/iconvconfig.c: Likewise.
5652 * iconv/strtab.c: Likewise.
5653 * locale/programs/locale.c: Likewise.
5654 * locale/programs/localedef.h: Likewise.
5655 * locale/programs/simple-hash.c: Likewise.
5656 * nscd/nscd.h: Likewise.
5657 * nss/makedb.c: Likewise.
5658 * sysdeps/generic/ldconfig.h: Likewise.
5659
be179c8a
SP
56602013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5661
ba384f6e
SP
5662 * Versions.def: Add GLIBC_2.18.
5663 * include/link.h (struct link_map): New member l_tls_dtor_count.
5664 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5665 (__call_tls_dtors): Likewise.
5666 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5667 __cxa_thread_atexit_impl.
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5669 Likewise.
5670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5671 Likewise.
5672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5673 Likewise.
5674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5675 Likewise.
5676 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5678 Likewise.
5679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5680 Likewise.
5681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5683 Likewise.
5684 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5685 (tests): Add test case tst-tls-atexit.
5686 (modules-names): Add shared library for tst-tls-atexit.
5687 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5688 (GLIBC_PRIVATE): Add __call_tls_dtors.
5689 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5690 for libstdc++.
5691 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5692 * stdlib/tst-tls-atexit.c: New test case.
5693 * stdlib/tst-tls-atexit-lib.c: New test case.
5694
ffaa74cf 5695 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 5696
be179c8a
SP
5697 * elf/Versions (ld): Add _dl_find_dso_for_object.
5698 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5699 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5700 (dl_open_worker): Use _dl_find_dso_for_object.
5701 * elf/dl-sym.c (do_sym): Likewise.
5702 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5703
f78b5caa
AK
57042013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5705
5706 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5707 Syntactic changes only.
5708 (_dl_runtime_profile): Do a tail-call to the resolved function.
5709
29691210
JM
57102013-02-17 Joseph Myers <joseph@codesourcery.com>
5711
5712 [BZ #13550]
5713 * sysdeps/x86_64/bp-asm.h: Remove file.
5714 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5715 <bp-sym.h> and <bp-asm.h>.
5716 (__clone): Do not use BP_SYM.
5717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5718 <bp-sym.h> and <bp-asm.h>.
5719 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5720 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5721 "bp-asm.h".
5722 (_setjmp): Do not use BP_SYM.
5723 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5724 "bp-asm.h".
5725 (setjmp): Do not use BP_SYM.
5726 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5727 libc_hidden_def.
5728 (mempcpy): Do not use BP_SYM in weak_alias.
5729 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5730 "bp-asm.h".
5731 (strchr): Do not use BP_SYM.
5732 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5733 "bp-asm.h".
5734 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5735 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5736 (_start): Do not use BP_SYM.
5737 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5738 "bp-asm.h".
5739 (strcat): Do not use BP_SYM.
5740 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5741 "bp-asm.h".
5742 (STRCMP): Do not use BP_SYM.
5743 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5744 "bp-asm.h".
5745 (STRCPY): Do not use BP_SYM.
5746 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5747 "bp-asm.h".
5748 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5749 "bp-asm.h".
5750 (FUNCTION): Do not use BP_SYM.
5751 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5752 weak_alias.
5753 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5754
f238fd19
AJ
57552013-02-17 Andreas Jaeger <aj@suse.de>
5756
5757 * time/Versions: Sort entries.
5758 * string/Versions: Likewise.
5759 * resolv/Versions: Likewise.
5760 * posix/Versions: Likewise.
5761 * iconv/Versions: Likewise.
5762 * elf/Versions: Likewise.
5763 * wcsmbs/Versions: Likewise.
5764
bd07f23c 57652013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 5766
22af19f9
SP
5767 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5768 loop termination condition.
5769
4709fe76
SP
5770 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5771 variable to calculate EZ.
5772 (__sqr): Likewise.
2d0e0f29
SP
5773
5774 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5775 the lower precision input.
5776
daaa7713
JM
57772013-02-15 Joseph Myers <joseph@codesourcery.com>
5778
5779 [BZ #13550]
5780 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5781 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5782 (run-via-rtld-prefix): Do not handle %-bp tests.
5783 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5784 (all-object-suffixes): Remove .ob.
5785 (bppfx): Remove variable.
5786 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5787 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5788 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5789 [$(build-bounded) = yes] (libtype.ob): Likewise.
5790 * Makerules (elide-routines.ob): Remove variable.
5791 (do-tests-clean): Do not handle *-bp.out.
5792 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5793 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5794 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5795 (tests): Do not include $(tests-bp.out).
5796 (xtests): Do not include $(xtests-bp.out).
5797 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5798 [$(build-bounded) = yes] ($(addprefix
5799 $(objpfx),$(binaries-bounded))): Remove rule.
5800 ($(objpfx)%-bp.out): Remove rule.
5801 * config.make.in (build-bounded): Remove variable.
5802 * crypt/Makefile [$(build-bounded) = yes]
5803 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5804 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5805 append to variable.
5806 [$(build-bounded) = yes] (install-lib): Likewise.
5807 [$(build-bounded) = yes] (generated): Likewise.
5808 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5809 Remove rule.
5810 * intl/Makefile [$(build-bounded) = yes]
5811 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5812 * math/Makefile [$(build-bounded) = yes]
5813 ($(tests:%=$(objpfx)%-bp): Likewise.
5814 * misc/Makefile [$(build-bounded) = yes]
5815 ($(objpfx)tst-tsearch-bp): Likewise.
5816 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5817 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5818 Remove dependency.
5819 * string/Makefile (o-objects.ob): Remove variable.
5820 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5821 (CFLAGS-.ob): Remove variable.
5822 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5823 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5824 both definitions of variable.
5825 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5826 (ASFLAGS-.ob): Remove variable.
5827
e97ed6dd
JM
58282013-02-14 Joseph Myers <joseph@codesourcery.com>
5829
2bdd4ca6
JM
5830 [BZ #13550]
5831 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5832 Remove __BOUNDED_POINTERS__ from condition.
5833 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5834 * string/bits/string2.h [!__NO_STRING_INLINES &&
5835 !__BOUNDED_POINTERS__]: Likewise.
5836 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5837 Likewise.
5838 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5839 Remove conditional code.
5840 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5841 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5842 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5843 condition.
5844
e97ed6dd
JM
5845 [BZ #13550]
5846 * csu/libc-start.c: Do not include <bp-sym.h>.
5847 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5848 * elf/dl-open.c: Do not include <bp-sym.h>.
5849 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5850 * math/fegetenv.c: Do not include <bp-sym.h>.
5851 (fegetenv): Do not use BP_SYM in versioned symbols.
5852 * nptl/sysdeps/pthread/bits/libc-lockP.h
5853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5854 <bp-sym.h>.
5855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5856 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5858 (__pthread_mutex_destroy): Likewise.
5859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5860 (__pthread_mutex_lock): Likewise.
5861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5862 (__pthread_mutex_trylock): Likewise.
5863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5864 (__pthread_mutex_unlock): Likewise.
5865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5866 (__pthread_mutexattr_init): Likewise.
5867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5868 (__pthread_mutexattr_destroy): Likewise.
5869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5870 (__pthread_mutexattr_settype): Likewise.
5871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5872 (__pthread_rwlock_init): Likewise.
5873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5874 (__pthread_rwlock_destroy): Likewise.
5875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5876 (__pthread_rwlock_rdlock): Likewise.
5877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5878 (__pthread_rwlock_tryrdlock): Likewise.
5879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5880 (__pthread_rwlock_wrlock): Likewise.
5881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5882 (__pthread_rwlock_trywrlock): Likewise.
5883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5884 (__pthread_rwlock_unlock): Likewise.
5885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5886 (__pthread_key_create): Likewise.
5887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5888 (__pthread_setspecific): Likewise.
5889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5890 (__pthread_getspecific): Likewise.
5891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5892 Likewise.
5893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5894 (_pthread_cleanup_push_defer): Likewise.
5895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5896 (_pthread_cleanup_pop_restore): Likewise.
5897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5898 (pthread_setcancelstate): Likewise.
5899 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5900 <bp-sym.h>.
5901 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5902 (memchr): Do not use BP_SYM in weak_alias.
5903 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5904 (fegetenv): Do not use BP_SYM in versioned symbols.
5905 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5906 (fesetenv): Do not use BP_SYM in versioned symbols.
5907 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5908 (feupdateenv): Do not use BP_SYM in versioned symbols.
5909 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5910 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5911 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5912 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5913 (open64): Do not use BP_SYM in weak_alias.
5914 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5915 (fegetenv): Do not use BP_SYM in versioned symbols.
5916 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5917 (fesetenv): Do not use BP_SYM in versioned symbols.
5918 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5919 (feupdateenv): Do not use BP_SYM in versioned symbols.
5920 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5921 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5922 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5923 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5924 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5925 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5926 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5927 <bp-sym.h>.
5928 (__libc_start_main): Do not use BP_SYM.
5929
d6752ccd
SP
59302013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5931
cb57ce60
SP
5932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5933 redundant return line.
5934 (norm): Likewise.
5935 (denorm): Likewise.
5936 (dbl_mp): Likewise.
5937 (sub_magnitudes): Likewise.
5938 (__add): Likewise.
5939 (__sub): Likewise.
5940 (__mul): Likewise.
5941 (__inv): Likewise.
5942 (__dvd): Likewise.
5943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5944 (norm): Likewise.
5945 (denorm): Likewise.
5946 (dbl_mp): Likewise.
5947 (sub_magnitudes): Likewise.
5948 (__add): Likewise.
5949 (__sub): Likewise.
5950 (__mul): Likewise.
5951 (__inv): Likewise.
5952 (__dvd): Likewise.
5953
f414520d
SP
5954 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5955 instead of __mul.
5956 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5957 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5958 (cc32): Likewise.
5959
d6752ccd
SP
5960 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5961 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5962 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5963 of __mul for squares.
5964 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5965 function
5966 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5967 Likewise.
5968 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5969 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5970
70d9946a
JM
59712013-02-13 Joseph Myers <joseph@codesourcery.com>
5972
5973 [BZ #13550]
5974 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5975 code.
5976 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5977 prototype or function definition. Rename ubp_* variables and
5978 parameters. Remove argv definitions conditional on
5979 [__BOUNDED_POINTERS__].
5980 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5981 * elf/dl-runtime.c (_dl_fixup): Likewise.
5982 * include/set-hooks.h (RUN_HOOK): Likewise.
5983 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5984 definition.
5985 * string/strcpy.c (strcpy): Do not use __unbounded.
5986 * sysdeps/generic/frame.h (struct layout): Likewise.
5987 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5988 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5989 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5990 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5991 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5992 (__backtrace): Likewise.
5993 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5994 use __ptrvalue.
5995 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5996 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5997 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5998 Likewise.
5999 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6000 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6001 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6002 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6003 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6004 Do not use __unbounded.
6005 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6006 Rename __unboundedrlimits parameter to rlimits in prototype.
6007 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6008 Do not use __unbounded.
6009 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6010 not use __ptrvalue.
6011 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6012 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6013 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6014 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6015 __ptrvalue or __unbounded.
6016 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6017 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6018 use __unbounded.
6019 (__new_msgctl): Do not use __ptrvalue.
6020 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6021 __unbounded.
6022 (__libc_msgrcv): Do not use __ptrvalue.
6023 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6024 startup_info): Do not use __unbounded.
6025 (__libc_start_main): Likewise. Rename ubp_* variables and
6026 parameters. Remove argv definitions conditional on
6027 [__BOUNDED_POINTERS__].
6028 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6029 __ptrvalue.
6030 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6031 use __unbounded.
6032 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6033 or __ptrvalue.
6034 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6035 use __unbounded.
6036 (__new_shmctl): Do not use __ptrvalue.
6037 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6038 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6039 Likewise.
6040 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6041 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6042 (__libc_sigaction): Likewise.
6043 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6044 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6045 Likewise.
6046 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6047
cc7834d6
OB
60482013-02-13 Ondřej Bílka <neleai@seznam.cz>
6049
ffb1ec7b 6050 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6051
6052 * string/mempcpy.c: Implement by calling memcpy.
6053
bdf02814
SP
60542013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6055
c2af38aa
SP
6056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6057
4e92d59e
SP
6058 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6059 evaluation.
6060
909279a5
SP
6061 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6062 values in the mantissa.
6063
bdf02814
SP
6064 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6065 minimize writes to Z.
6066 (sub_magnitudes): Simplify code a bit.
6067
cd525923
RM
60682013-02-12 Roland McGrath <roland@hack.frob.com>
6069
6070 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6071 from the message. The linker prefixes all warnings with that already.
6072
7e2f0d2d
AS
60732013-02-12 Andreas Schwab <schwab@suse.de>
6074
a445af0b
AS
6075 [BZ #15078]
6076 * posix/regexec.c (extend_buffers): Add parameter min_len.
6077 (check_matching): Pass minimum needed length.
6078 (clean_state_log_if_needed): Likewise.
6079 (get_subexp): Likewise.
6080 * posix/Makefile (tests): Add bug-regex34.
6081 (bug-regex34-ENV): Define.
6082 * posix/bug-regex34.c: New file.
6083
7e2f0d2d
AS
6084 [BZ #11561]
6085 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6086 elements compare against the byte sequence of it, not its name.
6087 * posix/Makefile (tests): Add bug-regex35.
6088 (bug-regex35-ENV): Define.
6089 * posix/bug-regex35.c: New file.
6090
a175b684
TV
60912013-02-11 Tom de Vries <tom@codesourcery.com>
6092
6093 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6094 comment.
6095 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6096 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6097 (CHECK_EOL): Add undef.
6098
310998fe 60992013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6100
6101 * bits/stdlib-bsearch.h: New file.
6102 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6103 * stdlib/stdlib.h: Likewise.
41eda41d 6104
8ded91fb
RM
61052013-02-11 Roland McGrath <roland@hack.frob.com>
6106
6107 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6108 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6109 declaration.
6110 * manual/search.texi (Array Search Function): Add missing const in
6111 lfind prototype.
6112 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6113 declaration to use rlim_t.
6114 (Basic Scheduling Functions): Remove erroneous const from
6115 sched_getparam prototype. Remove erroneous * from
6116 sched_get_priority_max and sched_get_priority_min prototypes.
6117 (Resource Usage): Fix summary @comment on vtimes to refer to
6118 sys/vtimes.h rather than vtimes.h.
6119 Add missing *s in vtimes prototype.
6120 (Limits on Resources): Fix ulimit prototype to return long int.
6121 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6122 prototypes to use long int rather than double.
6123 (BSD Random): Fix initstate and setstate to use char *, not void *.
6124 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6125 prototype to make second argument 'struct aiocb64 *const[]'.
6126 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6127 (Status of AIO Operations): Remove erroneous const in aio_return and
6128 aio_return64 prototypes.
6129 (Synchronizing I/O): Fix sync prototype to return void.
6130 * manual/startup.texi (Suboptions): Remove an erroneous const in
6131 getsubopt prototype.
6132 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6133 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6134 use size_t rather than int.
6135 (Scanning All Users): Likewise for getpwent_r.
6136 (Setting Groups): Add missing const to setgroups prototype.
6137 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6138 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6139 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6140 'const void *' rather than 'const char *'.
6141 (Host Address Functions): Likewise for inet_ntop.
6142 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6143 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6144 ssize_t for return value.
6145 (Sending Data): Likewise for send, sendto, sendmsg.
6146 (Socket Option Functions): Add a missing const in setsockopt prototype.
6147 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6148 use wchar_t for the argument.
6149 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6150 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6151 take no arguments.
6152 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6153 double/float/long double for second argument.
6154 Fix return types of significand, significandf, significandl.
6155 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6156 argument in fchmod prototype.
6157 (File Owner): Use uid_t and gid_t in fchown prototype.
6158 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6159 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6160 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6161 use 'const struct dirent **' as argument types to CMP function pointer
6162 argument.
6163 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6164 (File Times): Fix summary magic @comment for struct utimbuf and utime
6165 to refer to utime.h, not time.h.
6166 * manual/string.texi (Argz Functions): Add missing const in
6167 argz_extract and argz_next prototypes.
6168 (Finding Tokens in a String): Likewise for basename.
6169 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6170 (Copying and Concatenation): Fix typo in wmemmove prototype.
6171 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6172 (Signal Stack): Remove erroneous const in sigstack prototype.
6173 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6174 prototype.
6175 (Simple Calendar Time): Likewise for stime.
6176 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6177 prototype.
6178 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6179 say sys/sysctl.h instead.
6180 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6181 and vsyslog prototypes.
6182
fe77fe6d
TV
61832013-02-11 Tom de Vries <tom@codesourcery.com>
6184
6185 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6186 Remove.
6187
3a09b620
RM
61882013-02-11 Roland McGrath <roland@hack.frob.com>
6189
6190 * misc/sys/mman.h: Fix typo in mremap comment.
6191
550a0b89
RM
61922013-02-08 Roland McGrath <roland@hack.frob.com>
6193
6194 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6195 the '\0' terminator.
6196
a2da1673
JM
61972013-02-08 Joseph Myers <joseph@codesourcery.com>
6198
6199 [BZ #13550]
6200 * debug/segfault.c: Don't include <bp-checks.h>.
6201 * sysdeps/generic/bp-checks.h: Remove file.
6202 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6203 (__GETDENTS): Don't use CHECK_N.
6204 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6205 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6206 (__getgroups): Don't use CHECK_N.
6207 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6208 (setgroups): Don't use CHECK_N.
6209 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6210 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6211 (__libc_msgrcv): Don't use CHECK_N.
6212 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6213 (__libc_msgsnd): Don't use CHECK_N.
6214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6215 <bp-checks.h>.
6216 (__libc_pread): Don't use CHECK_N.
6217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6218 include <bp-checks.h>.
6219 (__libc_pread64): Don't use CHECK_N.
6220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6221 include <bp-checks.h>.
6222 (__libc_pwrite): Don't use CHECK_N.
6223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6224 include <bp-checks.h>.
6225 (__libc_pwrite64): Don't use CHECK_N.
6226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6227 <bp-checks.h>.
6228 (__libc_pread): Don't use CHECK_N.
6229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6230 include <bp-checks.h>.
6231 (__libc_pread64): Don't use CHECK_N.
6232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6233 include <bp-checks.h>.
6234 (__libc_pwrite): Don't use CHECK_N.
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6236 include <bp-checks.h>.
6237 (__libc_pwrite64): Don't use CHECK_N.
6238 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6239 (do_pread): Don't use CHECK_N.
6240 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6241 (do_pread64): Don't use CHECK_N.
6242 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6243 (do_pwrite): Don't use CHECK_N.
6244 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6245 (do_pwrite64): Don't use CHECK_N.
6246 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6247 (__libc_readv): Don't use CHECK_N.
6248 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6249 (semop): Don't use CHECK_N.
6250 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6251 <bp-checks.h>.
6252 (semtimedop): Don't use CHECK_N.
6253 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6254 (__libc_pread): Don't use CHECK_N.
6255 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6256 <bp-checks.h>.
6257 (__libc_pread64): Don't use CHECK_N.
6258 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6259 <bp-checks.h>.
6260 (__libc_pwrite): Don't use CHECK_N.
6261 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6262 <bp-checks.h>.
6263 (__libc_pwrite64): Don't use CHECK_N.
6264 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6265 <bp-checks.h>.
6266 (__libc_msgrcv): Don't use CHECK_N.
6267 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6268 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6269 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6270 (__libc_writev): Don't use CHECK_N.
6271
b84660a8
RM
62722013-02-08 Roland McGrath <roland@hack.frob.com>
6273
7f3e75f8
RM
6274 * string/strcpy.c: Removed unused variable.
6275
b84660a8
RM
6276 * Makeconfig (+sysdep-includes): Define with := rather than =.
6277 Use an existing include/ subdir of each sysdeps dir before it.
6278
471514d3
CD
62792013-02-08 Carlos O'Donell <carlos@redhat.com>
6280
6281 * nscd/connection.c (register_traced_file): Comment function.
6282 [HAVE_INOTIFY] (union __inev): Define.
6283 [HAVE_INOTIFY] (inotify_check_files): New function.
6284 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6285 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6286 clear_db_cache.
6287 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6288
b2d3c3be
CD
62892013-02-08 Carlos O'Donell <carlos@redhat.com>
6290
6291 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6292 loaded if not already and that a failure is permanent.
6293
b39949d2
CD
62942013-02-08 Carlos O'Donell <carlos@redhat.com>
6295
ddacd1db 6296 [BZ #15006]
b39949d2
CD
6297 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6298 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6299
b2c9eff4
JM
63002013-02-08 Joseph Myers <joseph@codesourcery.com>
6301
f3aae3f3
JM
6302 [BZ #13550]
6303 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6304 (CHECK_1_NULL_OK): Likewise.
6305 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6306 (__fxstat): Do not use CHECK_1.
6307 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6308 <bp-checks.h>.
6309 (___fxstat64): Do not use CHECK_1.
6310 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6311 <bp-checks.h>.
6312 (__fxstatat): Do not use CHECK_1.
6313 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6314 <bp-checks.h>.
6315 (__fxstatat64): Do not use CHECK_1.
6316 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6317 <bp-checks.h>.
6318 (__fxstat): Do not use CHECK_1.
6319 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6320 <bp-checks.h>.
6321 (__fxstatat): Do not use CHECK_1.
6322 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6323 <bp-checks.h>.
6324 (__getresgid): Do not use CHECK_1.
6325 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6326 <bp-checks.h>.
6327 (__getresuid): Do not use CHECK_1.
6328 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6329 <bp-checks.h>.
6330 (__lxstat): Do not use CHECK_1.
6331 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6332 <bp-checks.h>.
6333 (__old_msgctl): Do not use CHECK_1.
6334 (__new_msgctl): Likewise.
6335 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6336 <bp-checks.h>.
6337 (__new_setrlimit): Do not use CHECK_1.
6338 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6339 <bp-checks.h>.
6340 (__old_shmctl): Do not use CHECK_1.
6341 (__new_shmctl): Likewise.
6342 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6343 <bp-checks.h>.
6344 (__xstat): Do not use CHECK_1.
6345 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6346 (__lxstat): Do not use CHECK_1.
6347 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6348 <bp-checks.h>.
6349 (___lxstat64): Do not use CHECK_1.
6350 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6351 (__old_msgctl): Do not use CHECK_1.
6352 (__new_msgctl): Likewise.
6353 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6354 <bp-checks.h>.
6355 (__gettimeofday): Do not use CHECK_1.
6356 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6357 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6358 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6359 <bp-checks.h>.
6360 (__gettimeofday): Do not use CHECK_1.
6361 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6362 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6363 (__new_shmctl): Do not use CHECK_1.
6364 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6365 <bp-checks.h>.
6366 (do_sigtimedwait): Do not use CHECK_1.
6367 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6368 <bp-checks.h>.
6369 (do_sigwaitinfo): Do not use CHECK_1.
6370 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6371 <bp-checks.h>.
6372 (msgctl): Do not use CHECK_1.
6373 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6374 <bp-checks.h>.
6375 (shmctl): Do not use CHECK_1.
6376 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6377 (ustat): Do not use CHECK_1.
6378 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6379 <bp-checks.h>.
6380 (__fxstat): Do not use CHECK_1.
6381 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6382 <bp-checks.h>.
6383 (__fxstatat): Do not use CHECK_1.
6384 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6385 <bp-checks.h>.
6386 (__lxstat): Do not use CHECK_1.
6387 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6388 <bp-checks.h>.
6389 (__xstat): Do not use CHECK_1.
6390 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6391 (__xstat): Do not use CHECK_1.
6392 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6393 (___xstat64): Do not use CHECK_1.
6394
b2c9eff4
JM
6395 [BZ #13550]
6396 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6397 definitions.
6398 (CHECK_BOUNDS_HIGH): Likewise.
6399 * string/strcpy.c: Do not include <bp-checks.h>.
6400 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6401
f1d70dad
RM
64022013-02-07 Roland McGrath <roland@hack.frob.com>
6403
6404 * nscd/nscd-client.h (__nscd_drop_map_ref):
6405 Add __attribute__ ((unused)).
6406 * nis/nss-nisplus.h (niserr2nss): Likewise.
6407
6408 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6409 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6410
6411 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6412 Remove inline keyword.
6413 * include/rounding-mode.h (round_away): Likewise.
6414 * libio/wfileops.c (adjust_wide_data): Likewise.
6415 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6416 (__m128i_strloadu_tolower): Likewise.
6417 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6418 (__m128i_strloadu_tolower): Likewise.
6419 * time/mktime.c (ydhms_diff): Likewise.
6420 * locale/elem-hash.h (elem_hash): Likewise.
6421 * locale/setlocale.c (setdata): Likewise.
6422 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6423 (re_string_wchar_at): Likewise.
6424 (bitset_not, bitset_merge, bitset_mask): Likewise.
6425 [!(__GNUC__ > 3)] (inline): Remove macro.
6426 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6427 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6428 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6429 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6430 * string/memcmp.c (memcmp_bytes): Likewise.
6431 * locale/programs/locarchive.c (compute_hashval): Likewise.
6432 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6433 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6434 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6435 * nss/getent.c (print_rpc, print_protocols): Likewise.
6436 (print_passwd, print_group, print_aliases): Likewise.
6437 * nis/nss-nisplus.h (niserr2nss): Likewise.
6438 * nscd/connections.c (restart_p): Likewise.
6439 Change return type to bool.
6440
eab55bfb
RM
64412013-02-05 Roland McGrath <roland@hack.frob.com>
6442
7bd642f5
RM
6443 * Makeconfig (all-Depend-files): Add existing
6444 $(sorted-subdirs:=/Depend) files.
6445 (all-subdirs): Remove nss.
6446 * sysdeps/unix/inet/Subdirs: Add it here instead.
6447 * hesiod/Depend: New file.
6448
573c29b2
RM
6449 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6450 instead of calling alloca.
6451
b2e25af0
RM
6452 * io/lseek.c (__lseek): Rename to __libc_lseek.
6453 Define __lseek as an alias.
6454
eab55bfb
RM
6455 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6456
9a0d1941
CD
64572013-02-04 Carlos O'Donell <carlos@redhat.com>
6458
6459 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6460 else clause and remove check for non-standard endianness.
6461
b83bbec4
DM
64622013-02-04 David S. Miller <davem@davemloft.net>
6463
6464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6465
6277fdab
JM
64662013-02-04 Joseph Myers <joseph@codesourcery.com>
6467
6468 [BZ #13550]
6469 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6470 (__ubp_memchr): Remove prototype.
6471 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6472 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6473 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6474 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6475 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6476 Remove alias.
6477 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6478 (__ubp_memchr): Likewise.
6479 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6480 (__ubp_memchr): Likewise.
6481 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6482 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6483 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6484 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6485 CHECK_STRING.
6486 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6487 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6488 (__getcwd): Do not use CHECK_STRING.
6489 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6490 <bp-checks.h>.
6491 (__real_chown): Do not use CHECK_STRING.
6492 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6493 <bp-checks.h>.
6494 (fchownat): Do not use CHECK_STRING.
6495 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6496 CHECK_STRING.
6497 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6498 <bp-checks.h>.
6499 (__lchown): Do not use CHECK_STRING.
6500 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6501 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6502 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6503 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6505 include <bp-checks.h>.
6506 (truncate64): Do not use CHECK_STRING.
6507 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6508 <bp-checks.h>.
6509 (__real_chown): Do not use CHECK_STRING.
6510 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6511 <bp-checks.h>.
6512 (__lchown): Do not use CHECK_STRING.
6513 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6514 <bp-checks.h>.
6515 (__chown): Do not use CHECK_STRING.
6516 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6517 <bp-checks.h>.
6518 (truncate64): Do not use CHECK_STRING.
6519 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6520 Likewise.
6521 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6522 (__xmknod): Do not use CHECK_STRING.
6523 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6524 <bp-checks.h>.
6525 (__xmknodat): Do not use CHECK_STRING.
6526 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6527 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6528
903ae060
AS
65292013-02-04 Andreas Schwab <schwab@suse.de>
6530
6531 [BZ #14142]
6532 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6533 * include/netdb.h: Likewise for h_errno.
6534 * elf/tst-stackguard1.c: Include <tls.h>.
6535
542f9466
JK
65362013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6537
6538 * elf/link.h (struct link_map): Extend the l_addr comment.
6539 * include/link.h (struct link_map): Likewise.
6540
e782a927
JM
65412013-02-01 Joseph Myers <joseph@codesourcery.com>
6542
6543 [BZ #13550]
6544 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6545 (BOUNDED_1): Remove macro.
6546 * debug/backtrace.c: Don't include <bp-checks.h>.
6547 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6548 (__backtrace): Likewise.
6549 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6550 <bp-checks.h>.
6551 (__backtrace): Don't use BOUNDED_1.
6552 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6553 <bp-checks.h>.
6554 (__backtrace): Don't use BOUNDED_1.
6555 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6556 (__backtrace): Don't use BOUNDED_1.
6557 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6558 (shmat): Don't use BOUNDED_N.
6559
8cf28c5e
JM
65602013-01-31 Joseph Myers <joseph@codesourcery.com>
6561
3a7ac8a0
JM
6562 [BZ #13550]
6563 * sysdeps/generic/bp-start.h: Remove file.
6564 * csu/libc-start.c: Don't include <bp-start.h>.
6565 (LIBC_START_MAIN): Set up __environ directly instead of using
6566 INIT_ARGV_and_ENVIRON.
6567 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6568 <bp-start.h>.
6569
f3499f95
JM
6570 [BZ #13550]
6571 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6572 definitions.
6573 (CHECK_FCNTL): Likewise.
6574 (CHECK_N_PAGES): Likewise.
6575
32a45bea
JM
6576 [BZ #13550]
6577 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6578 definitions.
6579 (CHECK_SIGSET_NULL_OK): Likewise.
6580 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6581 <bp-checks.h>.
6582 (sigpending): Don't use CHECK_SIGSET.
6583 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6584 <bp-checks.h>.
6585 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6586 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6587 <bp-checks.h>.
6588 (do_sigsuspend): Don't use CHECK_SIGSET.
6589 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6590 use CHECK_SIGSET.
6591 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6592 (do_sigwait): Don't use CHECK_SIGSET.
6593 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6594 use CHECK_SIGSET.
6595 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6596 include <bp-checks.h>.
6597 (sigpending): Don't use CHECK_SIGSET.
6598 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6599 include <bp-checks.h>.
6600 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6601 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6602 <bp-checks.h>.
6603 (sigpending): Don't use CHECK_SIGSET.
6604 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6605 <bp-checks.h>.
6606 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6607
2e8a5c8c
JM
6608 [BZ #13550]
6609 * sysdeps/generic/bp-semctl.h: Remove file.
6610 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6611 <bp-checks.h> and <bp-semctl.h>.
6612 (__old_semctl): Don't use CHECK_SEMCTL.
6613 (__new_semctl): Likewise.
6614 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6615 and <bp-semctl.h>.
6616 (__old_semctl): Don't use CHECK_SEMCTL.
6617 (__new_semctl): Likewise.
6618 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6619 <bp-checks.h> and <bp-semctl.h>.
6620 (__old_semctl): Don't use CHECK_SEMCTL.
6621 (__new_semctl): Likewise.
6622 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6623 <bp-checks.h> and <bp-semctl.h>.
6624 (semctl): Don't use CHECK_SEMCTL.
6625
c2d54929
JM
6626 [BZ #13550]
6627 * Makerules (elide-bp-thunks): Remove variable.
6628 (elide-routines.oS): Don't use $(elide-bp-thunks).
6629 (elide-routines.os): Likewise.
6630 (elide-routines.o): Likewise.
6631 (elide-routines.op): Likewise.
6632 (elide-routines.og): Likewise.
6633 (objects): Don't use $(bp-thunks).
6634 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6635 include.
6636 (common-generated): Do not add s-proto-bp.d.
6637 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6638 (int): Likewise.
6639 (typ): Likewise.
6640 Do not generate makefile rules for bounded-pointer thunks.
6641 * sysdeps/generic/bp-thunks.h: Remove file.
6642 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6643 * sysdeps/unix/s-proto-bp.S: Likewise.
6644
8cf28c5e
JM
6645 [BZ #15062]
6646 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6647 parts of result separately when argument is not close to line from
6648 -i to i and one part of argument is small.
6649 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6650 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6651 * math/libm-test.inc (cacos_test): Add more tests.
6652 (casin_test): Likewise.
6653 (casinh_test): Likewise.
6654 * sysdeps/i386/fpu/libm-test-ulps: Update.
6655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6656
c4e33b8d
DM
66572013-01-31 David S. Miller <davem@davemloft.net>
6658
6659 * po/de.po: Update from translation team.
6660
3b60b421
MK
66612013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6662
6663 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6664
bb931195
TS
66652013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6666
b5a5da23
TS
6667 * configure.in (_AC_PROG_CC_C89): New definition.
6668 * configure: Regenerate.
6669
bb931195
TS
6670 * configure.in (AC_PROG_CPP): New definition.
6671 * configure: Regenerate.
6672
8c53a12c
JM
66732013-01-23 Joseph Myers <joseph@codesourcery.com>
6674
6675 * debug/tst-backtrace.h: New file.
6676 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6677 (ret): Remove variable.
6678 (x): Likewise.
6679 (FAIL): Remove macro.
6680 (NO_INLINE): Likewise.
6681 (fn1): Use match function instead of strstr.
6682 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6683 (ret): Remove variable.
6684 (x): Likewise.
6685 (FAIL): Remove macro.
6686 (NO_INLINE): Likewise.
6687 (fn): Use match function instead of strstr.
6688 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6689 (ret): Remove variable.
6690 (x): Likewise.
6691 (FAIL): Remove macro.
6692 (NO_INLINE): Likewise.
6693 (handle_signal): Use match function instead of strstr.
6694 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6695 (ret): Remove variable.
6696 (x): Likewise.
6697 (FAIL): Remove macro.
6698 (NO_INLINE): Likewise.
6699 (handle_signal): Use match function instead of strstr.
6700
4858fa2a
RM
67012013-01-23 Roland McGrath <roland@hack.frob.com>
6702
6703 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6704
bae8e7f5
DM
67052013-01-23 David S. Miller <davem@davemloft.net>
6706
6707 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6708 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6709 argument of CAS if possible.
6710 * sysdeps/sparc/sparc64/bits/atomic.h
6711 (__arch_compare_and_exchange_val_32_acq): Likewise.
6712 (__arch_compare_and_exchange_val_64_acq): Likewise.
6713
9cbbc4ae
PT
67142013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6715
6716 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6717 * sysdeps/posix/ulimit.c: ... this.
92a601b8 6718 Include <limits.h>.
67b3f58c 6719 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 6720
5655a0b5
AC
67212013-01-23 Adam Conrad <adconrad@0c3.net>
6722
6723 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6724 (LDFLAGS-tst-array5): Likewise.
6725
052aff95
JM
67262013-01-23 Joseph Myers <joseph@codesourcery.com>
6727
6728 [BZ #15036]
6729 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6730 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6731 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6732 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6733
7c1e01aa
DM
67342013-01-21 David S. Miller <davem@davemloft.net>
6735
6736 * sysdeps/sparc/backtrace.c: New file.
6737 * sysdeps/sparc/sparc32/backtrace.h: New file.
6738 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6739 * sysdeps/sparc/sparc64/backtrace.h: New file.
6740 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6741 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6742 -funwind-tables.
6743
ab087e0a
AS
67442013-01-21 Andreas Schwab <schwab@suse.de>
6745
6746 [BZ #15020]
6747 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6748 closed its stdout.
6749
ed689c2f
AS
67502013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6751
6752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6753 "mpa2.h".
6754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6755
31d470ac
JM
67562013-01-18 Joseph Myers <joseph@codesourcery.com>
6757 Mark Mitchell <mark@codesourcery.com>
6758 Tom de Vries <tom@codesourcery.com>
6759 Paul Pluzhnikov <ppluzhnikov@google.com>
6760
6761 * debug/tst-backtrace2.c: New file.
6762 * debug/tst-backtrace3.c: Likewise.
6763 * debug/tst-backtrace4.c: Likewise.
6764 * debug/tst-backtrace5.c: Likewise.
6765 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6766 (CFLAGS-tst-backtrace3.c): Likewise.
6767 (CFLAGS-tst-backtrace4.c): Likewise.
6768 (CFLAGS-tst-backtrace5.c): Likewise.
6769 (LDFLAGS-tst-backtrace2): Likewise.
6770 (LDFLAGS-tst-backtrace3): Likewise.
6771 (LDFLAGS-tst-backtrace4): Likewise.
6772 (LDFLAGS-tst-backtrace5): Likewise.
6773 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6774 tst-backtrace4 and tst-backtrace5.
6775
90567f30 67762013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
6777 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6778
6779 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6780 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6781 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6782 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6784 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6785 "+r" and remove output regs list as redundant. Add explicit inline
6786 asm to specify register of return val to work around compiler codegen
6787 bug. Remove (int) cast on return value. Add return type parameter to
6788 use in macro so that this macro does not truncate return value for
6789 64-bit values.
6790 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6791 pass to INTERNAL_VSYSCALL_NCS.
6792 (INLINE_VSYSCALL): Add 'long int' as return type to
6793 INTERNAL_VSYSCALL_NCS macro invocation.
6794 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6795 INTERNAL_VSYSCALL_NCS macro invocation.
6796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6797
d3b9ea61
SP
67982013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6799
0b57daeb
SP
6800 [BZ #14496]
6801 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6802 Fix application of SIMD FP exception mask.
6803
caa99d06
SP
6804 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6805 mp_no from a power of two.
6806 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6807 __mpexp_twomm1. Use __pow_mp.
6808
d3b9ea61
SP
6809 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6810 multiplication.
6811
1dbaee3c
DM
68122013-01-17 David S. Miller <davem@davemloft.net>
6813
6814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6815
728d7b43
JM
68162013-01-17 Joseph Myers <joseph@codesourcery.com>
6817
6818 [BZ #15023]
6819 * include/complex.h: Condition contents on [!_COMPLEX_H].
6820 (__kernel_casinhf): New prototype.
6821 (__kernel_casinh): Likewise.
6822 (__kernel_casinhl): Likewise.
6823 * math/Makefile (libm_calls): Add k_casinh.
6824 * math/k_casinh.c: New file.
6825 * math/k_casinhf.c: Likewise.
6826 * math/k_casinhl.c: Likewise.
6827 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6828 finite nonzero arguments.
6829 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6830 finite nonzero arguments.
6831 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6832 finite nonzero arguments.
6833 * math/s_casinh.c: Do not include <float.h>.
6834 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6835 * math/s_casinhf.c: Do not include <float.h>.
6836 (__casinhf): Move code for finite nonzero arguments to
6837 k_casinhf.c.
6838 * math/s_casinhl.c: Do not include <float.h>.
6839 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6840 redefine.
6841 (__casinhl): Move code for finite nonzero arguments to
6842 k_casinhl.c.
6843 * math/libm-test.inc (cacos_test): Add more tests.
6844 * sysdeps/i386/fpu/libm-test-ulps: Update.
6845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6846
2a26ef3a
PT
68472013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6848
6849 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6850 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6851 [!HAVE_MREMAP]: Remove [defined linux] case.
6852 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6853
a897655d
SP
68542013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6855
6856 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6857
881ebe89 68582013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
6859
6860 * elf/elf.h (R_386_SIZE32): New relocation.
6861 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6862 R_386_SIZE32.
6863 (elf_machine_rela): Likewise.
6864 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6865 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6866
59981e9b
JM
68672013-01-17 Joseph Myers <joseph@codesourcery.com>
6868
6869 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6870 (FP_FAST_FMA): Do not define.
6871 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6872 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6873 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6874 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6875 !_SOFT_FLOAT]: Likewise.
6876 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6877 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6878 value.
6879 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6880 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6881 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6882 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6883 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6884 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6885 file.
6886
cfa8054f
AS
68872013-01-16 Andreas Schwab <schwab@suse.de>
6888
6889 [BZ #14327]
6890 * include/stdlib.h (__mktemp): Add declaration.
6891 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6892 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6893
dd930cc5
SP
68942013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6895
881ebe89
SP
6896 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6897 definitions.
6898 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6899 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6900 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6901 definitions here.
6902 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6903 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6904 definitions.
6905 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6906 and ONE.
6907 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6908 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6909 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6910 definitions.
6911 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6912 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6913 definitions.
6914 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 6915
dd930cc5
SP
6916 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6917
c19a9f89
DM
69182013-01-15 David S. Miller <davem@davemloft.net>
6919
1aa61767
DM
6920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6921 trunc{,f} to libm-sysdep_routes.
6922 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6924 file.
6925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6927 file.
6928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6929 file.
6930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6932 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6933 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6934 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6935 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6936 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6937 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6938
c42d5e98
DM
6939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6940 nearbyint{,f} to libm-sysdep_routes.
6941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6943 New file.
6944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6945 file.
6946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6947 New file.
6948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6949 file.
6950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6952 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6953 file.
6954 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6956 file.
6957 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6958 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6959 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6960
c19a9f89
DM
6961 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6962 libc_feholdexcept and libc_fesetenv.
6963
357679d2
MF
69642013-01-15 Mike Frysinger <vapier@gentoo.org>
6965
6966 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6967
65a82e3d
DM
69682013-01-14 David S. Miller <davem@davemloft.net>
6969
8b954ab9
DM
6970 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6971 (SPARC_ASM_VIS2_IFUNC): Likewise.
6972 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6974 use of 'siam' instruction.
6975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6976 Likewise.
6977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6978 Likewise.
6979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6980 Likewise.
6981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6983 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6986 file.
6987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6988 file.
6989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6990 file.
6991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6992 file.
6993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6998 new VIS2 routines.
6999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7002 Likewise.
7003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7008 routines to libm-sysdep_routines.
7009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7010
65a82e3d
DM
7011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7012 fdim/fdimf to libm-sysdep_routines.
7013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7014 file.
7015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7017 file.
7018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7021 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7022 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7023 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7024 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7025
e34ab705
SP
70262013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7027
2a91b573
SP
7028 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7029 to optimize copies.
7030
1066a534
SP
7031 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7034
e34ab705
SP
7035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7036 local variable MPTWO.
7037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7038 Likewise.
7039
aba5e596
MF
70402013-01-13 Mike Frysinger <vapier@gentoo.org>
7041
7042 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7043 GLOB_NOESCAPE.
7044
e557e9e5
MF
70452013-01-13 Mike Frysinger <vapier@gentoo.org>
7046
7047 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7048
0428cec9
MF
70492013-01-13 Mike Frysinger <vapier@gentoo.org>
7050
7051 * manual/pattern.texi (glob_t): Document gl_flags.
7052 (glob64_t): Likewise.
7053
8794a964
DM
70542013-01-11 David S. Miller <davem@davemloft.net>
7055
66438c3f
RM
7056 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7057 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7058 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7059 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7060 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7061 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7062 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7063 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7064 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7065 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7066 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7067 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7068 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7069
4ae4244d
DM
7070 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7071 sparc V9 rather than using V8 code.
7072 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7073 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7074
8794a964
DM
7075 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7076 Move to...
7077 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7078 Here.
7079
6270516e
RM
70802013-01-11 Roland McGrath <roland@hack.frob.com>
7081
7082 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7083 not in the main loop.
7084 * configure: Regenerated.
7085
6a57d931
JM
70862013-01-11 Joseph Myers <joseph@codesourcery.com>
7087
7088 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7089 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7090 to just #else.
7091 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7092 [!__GLIBC_HAVE_LONG_LONG] case.
7093 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7094 condition to just #else.
7095 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7096 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7097 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7098 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7099 unconditional.
7100 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7101 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7102 #elif condition to just #else.
7103 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7104 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7105 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7106 #elif condition to just #else.
7107
0e8529e9
SE
71082013-01-11 Steve Ellcey <sellcey@mips.com>
7109
7110 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7111 (EF_MIPS_ARCH_64): Fix value.
7112 (EF_MIPS_ARCH_32R2): New.
7113 (EF_MIPS_ARCH_64R2): New.
7114
740b3dbe
L
71152013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7116
7117 * Makeconfig (+link-pie-before-libc): New.
7118 (+link-pie-after-libc): Likewise.
7119 (+link-pie-tests): Likewise.
7120 (+link-pie): Rewritten.
7121 (link-before-libc): Remove $(config-LDFLAGS).
7122 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7123 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7124 (config-LDFLAGS): Renamed to ...
7125 (rtld-LDFLAGS): This.
7126 (rtld-tests-LDFLAGS): New macro.
7127 (link-libc-rpath-link): Likewise.
7128 (link-libc-tests-rpath-link): Likewise.
7129 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7130 (link-libc): Prepand $(link-libc-rpath-link).
7131 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7132 (test-program-prefix): New macro.
7133 (test-via-rtld-prefix): Likewise.
7134 (test-program-cmd): Likewise.
7135 (host-test-program-cmd): Likewise.
7136 * Makefile ($(common-objpfx)testrun.sh): Replace
7137 $(run-program-prefix) with $(test-program-prefix).
7138 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7139 $(rtld-LDFLAGS).
7140 ($(common-objpfx)shlib.lds): Likewise.
7141 (build-module-helper): Likewise.
7142 ($(common-objpfx)format.lds): Likewise.
7143 * Rules (binaries-pie-tests): New.
7144 (binaries-pie-notests): Likewise.
7145 (binaries-pie): Rewritten.
7146 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7147 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7148 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7149 (make-test-out): Replace $(host-built-program-cmd) with
7150 $(host-test-program-cmd).
7151 * config.make.in (build-hardcoded-path-in-tests): New variable.
7152 * configure.in (--enable-hardcoded-path-in-tests): New configure
7153 option.
7154 (hardcoded_path_in_tests): New AC_SUBST.
7155 * configure: Regenerated.
7156 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7157 $(built-program-cmd) with $(test-program-cmd).
7158 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7159 (test_program_cmd): This.
7160 * elf/Makefile ($(objpfx)order.out): Run test with
7161 $(test-program-prefix).
7162 ($(objpfx)order2.out): Likewise.
7163 ($(objpfx)tst-initorder.out): Likewise.
7164 ($(objpfx)tst-initorder2.out): Likewise.
7165 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7166 $(test-program-cmd).
7167 ($(objpfx)tst-array1-static.out): Likewise.
7168 ($(objpfx)tst-array2.out): Likewise.
7169 ($(objpfx)tst-array3.out): Likewise.
7170 ($(objpfx)tst-array4.out): Likewise.
7171 ($(objpfx)tst-array5.out): Likewise.
7172 ($(objpfx)tst-array5-static.out): Likewise.
7173 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7174 $(test-program-cmd).
7175 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7176 $(run-program-prefix) with $(test-program-prefix).
7177 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7178 (test_program_prefix): This.
7179 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7180 $(run-program-prefix) with $(test-program-prefix).
7181 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7182 (test_program_prefix): This.
7183 * iconvdata/tst-tables.sh: Likewise.
7184 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7185 $(run-program-prefix) with $(test-program-prefix).
7186 ($(objpfx)tst-translit.out): Likewise.
7187 ($(objpfx)tst-gettext2.out): Likewise.
7188 ($(objpfx)tst-gettext4.out): Likewise.
7189 ($(objpfx)tst-gettext6.out): Likewise.
7190 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7191 (test_program_prefix): This.
7192 * intl/tst-gettext2.sh: Likewise.
7193 * intl/tst-gettext4.sh Likewise.
7194 * intl/tst-gettext6.sh: Likewise.
7195 * intl/tst-translit.sh: Likewise.
7196 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7197 with $(test-program-cmd).
7198 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7199 $(run-program-prefix) with $(test-program-prefix).
7200 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7201 (test_program_prefix): This.
7202 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7203 $(run-program-prefix) with $(test-program-prefix).
7204 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7205 (test_program_prefix): This.
7206 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7207 * posix/Makefile ($(objpfx)globtest.out): Replace
7208 $(run-via-rtld-prefix) and $(test-wrapper) with
7209 $(test-program-prefix) and $(test-via-rtld-prefix).
7210 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7211 $(test-program-prefix).
7212 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7213 $(host-test-program-cmd).
7214 (tst-spawn-ARGS): Likewise.
7215 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7216 $(test-program-prefix).
7217 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7218 (test_via_rtld_prefix): This.
7219 (test_wrapper): Renamed to ...
7220 (test_program_prefix): This.
7221 (run_program_prefix): Replaced by test_program_prefix.
7222 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7223 (test_program_prefix): This.
7224 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7225 with $(host-test-program-cmd).
7226 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7227 $(run-program-prefix) with $(test-program-prefix).
7228 ($(objpfx)tst-printf.out): Likewise.
7229 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7230 $(test-program-cmd).
7231 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7232 (test_program_prefix): This.
7233 * stdio-common/tst-unbputc.sh: Likewise.
7234 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7235 $(run-program-prefix) with $(test-program-prefix).
7236 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7237 (test_program_prefix): This.
7238 * string/Makefile ($(objpfx)tst-svc.out): Replace
7239 $(built-program-cmd) with $(test-program-cmd).
7240
c6fe55cf
AJ
72412013-01-11 Andreas Jaeger <aj@suse.de>
7242
7243 [BZ #15003]
7244 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7245 value. Sync with Linux 3.7.
7246
9e6919c8
DM
72472013-01-10 David S. Miller <davem@davemloft.net>
7248
7249 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7250 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7251 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7252
1c9f1a02
RM
72532013-01-10 Roland McGrath <roland@hack.frob.com>
7254
7255 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7256 never set.
7257 * configure: Regenerated.
7258
b9de2dde
DM
72592013-01-10 David S. Miller <davem@davemloft.net>
7260
7261 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7262 sparc V9 rather than using V8 code.
7263 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7264 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7265
e7f68ef4
RM
72662013-01-10 Roland McGrath <roland@hack.frob.com>
7267
7268 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7269 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7270 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7271 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7272 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7273 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7274 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7275 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7276 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7277 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7278 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7279 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7280 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7281 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7282 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7283 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7284 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7285 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7286 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7287 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7288 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7289 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7290 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7291 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7292 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7293 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7294 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7295
5a47cc9c
DM
72962013-01-10 David S. Miller <davem@davemloft.net>
7297
7298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7299
4cf8f209
L
73002013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7301
7302 * posix/Makefile (tests-static): New variable.
7303 (tests): Add $(tests-static).
7304 (tst-exec-static-ARGS): New variable.
7305 (tst-spawn-static-ARGS): Likewise.
7306 * posix/tst-exec-static.c: New file.
7307 * posix/tst-spawn-static.c: Likewise.
7308 * posix/tst-exec.c: Support run directly.
7309 * posix/tst-spawn.c: Likewise.
7310
fed0faa1
JM
73112013-01-10 Joseph Myers <joseph@codesourcery.com>
7312
828beb13
JM
7313 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7314 long.
7315 * math/bits/mathcalls.h (llrint): Likewise.
7316 (llround): Likewise.
7317 * stdlib/stdlib.h (struct drand48_data): Likewise.
7318 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7319 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7320 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7321 Likewise.
7322 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7323 Likewise.
7324 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7325 (elf_greg_t): Likewise.
7326 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7327 (__jmp_buf): Likewise.
7328 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7329 definitions.
7330 (llrint): Likewise, for all definitions.
7331 (llrintl): Likewise.
7332
fed0faa1
JM
7333 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7334 Remove [__GNUC__] condition.
7335 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7336 condition to just [__USE_ISOC99].
7337 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7338
1a20cb20
L
73392013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7340
7341 [BZ #14200]
7342 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7343 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7344 defined.
7345 (_POSIX_V6_ILP32_OFF32): Likewise.
7346 (_XBS5_ILP32_OFF32): Likewise.
7347 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7348 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7349
751b85f7
SP
73502013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7351
7490eb81
SP
7352 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7353
751b85f7
SP
7354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7355 doubles __mpexp_twomm1. Adjust usage.
7356 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7357 Remove.
7358
988197f0
AS
73592013-01-10 Andreas Schwab <schwab@suse.de>
7360
7361 [BZ #14964]
7362 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7363 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7364
e83d7298
DM
73652013-01-09 David S. Miller <davem@davemloft.net>
7366
034ed64b 7367 [BZ #15003]
e83d7298
DM
7368 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7369 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7370 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7371 TCP_FASTOPEN): Define.
7372 (tcp_repair_opt): New structure.
7373 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7374 enum values.
7375 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7376 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7377 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7378 (tcp_cookie_transactions): New structure.
7379
d5e0b9bd
AB
73802013-01-09 Anton Blanchard <anton@samba.org>
7381
7382 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7383 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7384 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7385 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7386
0c07e3ea
JM
73872013-01-09 Joseph Myers <joseph@codesourcery.com>
7388
7389 * include/features.h (__USE_ANSI): Remove.
7390
232f7002
RM
73912013-01-09 Roland McGrath <roland@hack.frob.com>
7392
ad98e30c
RM
7393 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7394
232f7002
RM
7395 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7396
950c99ca
SP
73972013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7398
b5792741
SP
7399 * sysdeps/s390/fpu/libm-test-ulps: Update.
7400
47cf2278
SP
7401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7402
950c99ca
SP
7403 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7404 (__acr): Likewise.
7405 (__cpy): Likewise.
7406 (norm): Likewise.
7407 (denorm): Likewise.
7408 (__mp_dbl): Likewise.
7409 (__dbl_mp): Likewise.
7410 (add_magnitudes): Likewise.
7411 (sub_magnitudes): Likewise.
7412 (__add): Likewise.
7413 (__sub): Likewise.
7414 (__mul): Likewise.
7415 (__inv): Likewise.
7416 (__dvd): Likewise.
7417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7418 (__acr): Likewise.
7419 (__cpy): Likewise.
7420 (norm): Likewise.
7421 (denorm): Likewise.
7422 (__mp_dbl): Likewise.
7423 (__dbl_mp): Likewise.
7424 (add_magnitudes): Likewise.
7425 (sub_magnitudes): Likewise.
7426 (__add): Likewise.
7427 (__sub): Likewise.
7428 (__mul): Likewise.
7429 (__inv): Likewise.
7430 (__dvd): Likewise.
7431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7432 (__acr): Likewise.
7433 (__cpy): Likewise.
7434 (norm): Likewise.
7435 (denorm): Likewise.
7436 (__mp_dbl): Likewise.
7437 (__dbl_mp): Likewise.
7438 (add_magnitudes): Likewise.
7439 (sub_magnitudes): Likewise.
7440 (__add): Likewise.
7441 (__sub): Likewise.
7442 (__mul): Likewise.
7443 (__inv): Likewise.
7444 (__dvd): Likewise.
7445
eede9df9
JM
74462013-01-08 Joseph Myers <joseph@codesourcery.com>
7447
7448 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7449 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7450 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7451 2 && __USE_EXTERN_INLINES]: Likewise.
7452
c40ea3d9
AJ
74532013-01-08 Andreas Jaeger <aj@suse.de>
7454
7455 [BZ# 14985]
7456 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7457 Remove.
7458 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7459 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7460
2ccdea26
AB
74612013-01-07 Anton Blanchard <anton@samba.org>
7462
7463 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7464 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7465 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7466 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7467 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7468 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7469 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7470 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7472 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7473 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7475 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7476 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7477 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7478 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7479 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7480 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7481 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7482 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7483 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7484 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7485 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7486 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7487 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7488 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7489 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7490 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7491 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7492 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7493 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7495 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7496 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7497 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7498 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7499 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7500 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7501 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7502 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7503 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7504 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7505 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7506
a9708fed
JM
75072013-01-07 Joseph Myers <joseph@codesourcery.com>
7508
375607b9
JM
7509 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7510 (__MALLOC_PMT): Likewise.
7511 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7512 [__GNUC__], only on [_LIBC].
7513 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7514 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7515 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7516 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7517 forward declaration.
7518 (realloc_hook_ini): Likewise.
7519 (memalign_hook_ini): Likewise.
7520 (__libc_memalign): Do not use __MALLOC_PMT in variable
7521 declaration.
7522 (__libc_valloc): Likewise.
7523 (__libc_pvalloc): Likewise.
7524 (__libc_calloc): Likewise.
7525 (__posix_memalign): Likewise.
7526
a9708fed
JM
7527 [BZ #14996]
7528 * math/s_casinh.c: Include <float.h>.
7529 (__casinh): Do not do computation with squaring and square root
7530 for large arguments.
7531 * math/s_casinhf.c: Include <float.h>.
7532 (__casinhf): Do not do computation with squaring and square root
7533 for large arguments.
7534 * math/s_casinhl.c: Include <float.h>.
7535 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7536 (__casinhl): Do not do computation with squaring and square root
7537 for large arguments.
7538 * math/libm-test.inc (casin_test): Add more tests.
7539 (casinh_test): Likewise.
7540 * sysdeps/i386/fpu/libm-test-ulps: Update.
7541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7542
afec409a
L
75432013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7544
7545 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7546 (__x86_64_raw_data_cache_size): Likewise.
7547 (__x86_64_data_cache_size_half): Likewise.
7548 (__x86_64_raw_data_cache_size_half): Likewise.
7549 (__x86_64_shared_cache_size): Likewise.
7550 (__x86_64_raw_shared_cache_size): Likewise.
7551 (__x86_64_shared_cache_size_half): Likewise.
7552 (__x86_64_raw_shared_cache_size_half): Likewise.
7553 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7554 to ...
7555 (__x86_data_cache_size): This.
7556 (__x86_64_raw_data_cache_size): Renamed to ...
7557 (__x86_raw_data_cache_size): This.
7558 (__x86_64_data_cache_size_half): Renamed to ...
7559 (__x86_data_cache_size_half): This.
7560 (__x86_64_raw_data_cache_size_half): Renamed to ...
7561 (__x86_raw_data_cache_size_half): This.
7562 (__x86_64_shared_cache_size): Renamed to ...
7563 (__x86_shared_cache_size): This.
7564 (__x86_64_raw_shared_cache_size): Renamed to ...
7565 (__x86_raw_shared_cache_size): This.
7566 (__x86_64_shared_cache_size_half): Renamed to ...
7567 (__x86_shared_cache_size_half): This.
7568 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7569 (__x86_raw_shared_cache_size_half): This.
7570 * sysdeps/x86_64/memcpy.S: Updated.
7571 * sysdeps/x86_64/memset.S: Likewise.
7572 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7573 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7574 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7575
0b3986d0
DM
75762013-01-04 David S. Miller <davem@davemloft.net>
7577
7578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7579
e47686e9
AS
75802013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7581
d643bac1
AS
7582 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7583 1 to avoid redefinition warning.
7584 (__USE_GNU): Don't define.
7585 (init_signaling_nan): Protoize.
7586
e47686e9
AS
7587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7588
b18decba
SP
75892013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7590
fffb407f
SP
7591 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7593 (__cpymn): Likewise.
7594 (norm): Remove commented code.
7595 (denorm): Likewise.
7596 (__mp_dbl): Likewise.
7597 (__inv): Likewise.
7598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7599 (__cpymn): Likewise.
7600 (norm): Remove commented code.
7601 (denorm): Likewise.
7602 (__mp_dbl): Likewise.
7603 (__inv): Likewise.
7604
b18decba
SP
7605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7606 mp_no value for 1.0 and 2.0.
7607 (norm): Use RADIXI instead of radixi.d.
7608 (denorm): Likewise.
7609 (__mul): Use 0.0 instead of zero.d.
7610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7611 mp_no value for 1.0 and 2.0.
7612 (norm): Use RADIXI instead of radixi.d.
7613 (denorm): Likewise.
7614 (__mul): Use 0.0 instead of zero.d.
7615
cdc1c96f
JM
76162013-01-04 Joseph Myers <joseph@codesourcery.com>
7617
7618 [BZ #14994]
7619 * math/s_casinh.c (__casinh): Reduce finite argument to first
7620 quadrant then set signs of results at the end.
7621 * math/s_casinhf.c (__casinhf): Likewise.
7622 * math/s_casinhl.c (__casinhl): Likewise.
7623 * math/libm-test.inc (casin_test): Add more tests.
7624 (casinh_test): Likewise.
7625 * sysdeps/i386/fpu/libm-test-ulps: Update.
7626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7627
302913e1
SP
76282013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7629
6420d207
SP
7630 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7631
a9e48ab4
SP
7632 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7633
b7837264
SP
7634 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7635 declarations.
7636 (denorm): Likewise.
7637 (__mp_dbl): Likewise.
7638 (__inv): Likewise.
7639
f8af25d2
SP
7640 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7641 and adjust the header comment.
7642
302913e1
SP
7643 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7644 variable name from declaration.
7645
5d7dd1ca
L
76462013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7647
7648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7649 Initialize COMMON_CPUID_INDEX_7 element.
7650 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7651 (CPUID_RTM): Likewise.
7652 (HAS_RTM): Likewise.
7653 (COMMON_CPUID_INDEX_7): New enum.
7654
2f5f40f4
AS
76552013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7656
7657 [BZ #14981]
7658 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7659 size is zero, record memory as freed.
7660
4056f4a0
AJ
76612013-01-03 Andreas Jaeger <aj@suse.de>
7662
7663 * po/ia.po: Add new Interlingua translation.
7664
ab15736f 76652012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
7666
7667 * locale/programs/localedef.c: Fix description of '--posix' flag.
7668
568035b7
JM
76692013-01-02 Joseph Myers <joseph@codesourcery.com>
7670
e6898b8d
JM
7671 * NEWS: Update dates in second copyright notice.
7672 * README: Update copyright dates in example.
7673 * manual/libc.texinfo: Update copyright dates.
7674 * scripts/test-installation.pl: Update copyright date in --version
7675 output.
7676
0e2f9562
JM
7677 * hurd/ctty-input.c: Fix copyright notice formatting.
7678 * hurd/ctty-output.c: Likewise.
7679 * hurd/dtable.c: Likewise.
7680 * hurd/hurd-raise.c: Likewise.
7681 * hurd/hurdprio.c: Likewise.
7682 * hurd/msgportdemux.c: Likewise.
7683 * misc/sys/file.h: Likewise.
7684 * misc/sys/ioctl.h: Likewise.
7685 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7686 * sysdeps/mach/hurd/chdir.c: Likewise.
7687 * sysdeps/mach/hurd/fchdir.c: Likewise.
7688 * sysdeps/mach/hurd/rename.c: Likewise.
7689 * sysdeps/mach/hurd/rmdir.c: Likewise.
7690 * sysdeps/mach/hurd/seekdir.c: Likewise.
7691 * sysdeps/mach/hurd/setsid.c: Likewise.
7692 * sysdeps/posix/wait3.c: Likewise.
7693
568035b7
JM
7694 * All files with FSF copyright notices: Update copyright dates
7695 using scripts/update-copyrights.
7696 * intl/plural.c: Regenerated.
7697 * locale/programs/charmap-kw.h: Likewise.
7698 * locale/programs/locfile-kw.h: Likewise.
7699
da08f647
SP
77002013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7701
0f5477af
SP
7702 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7703 four values.
7704
44e0d4c2
SP
7705 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7706 calculation loop and add branch prediction.
7707
4d55b4e5
SP
7708 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7709 check access beyond bounds of m1np.
7710
da08f647
SP
7711 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7712 MPTWO.
7713 (__inv): Remove local variable MPTWO to use the global
7714 constant.
7715 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7716 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7717 variable MPTWO.
7718 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7719 MP3HALFS static const.
7720
8e051029
DM
77212013-01-01 David S. Miller <davem@davemloft.net>
7722
7723 * po/ca.po: Update from translation team.
7724
f4cf5f2d
JM
77252013-01-01 Joseph Myers <joseph@codesourcery.com>
7726
7727 * scripts/update-copyrights: New file.
7728 * Makeconfig: Reformat copyright notice.
7729 * ctype/ctype.h: Likewise.
7730 * debug/swprintf_chk.c: Likewise.
7731 * elf/dl-cache.c: Likewise.
7732 * elf/dl-debug.c: Likewise.
7733 * elf/dl-object.c: Likewise.
7734 * grp/initgroups.c: Likewise.
7735 * hurd/Makefile: Likewise.
7736 * hurd/hurd/signal.h: Likewise.
7737 * hurd/hurdfault.c: Likewise.
7738 * hurd/hurdioctl.c: Likewise.
7739 * hurd/hurdlookup.c: Likewise.
7740 * hurd/intr-msg.c: Likewise.
7741 * iconv/gconv_open.c: Likewise.
7742 * libio/swprintf.c: Likewise.
7743 * locale/lc-ctype.c: Likewise.
7744 * locale/nl_langinfo.c: Likewise.
7745 * mach/Machrules: Likewise.
7746 * mach/Makefile: Likewise.
7747 * malloc/obstack.h: Likewise.
7748 * manual/Makefile: Likewise.
7749 * manual/tsort.awk: Likewise.
7750 * misc/bits/stab.def: Likewise.
7751 * nis/nis_print_group_entry.c: Likewise.
7752 * nis/nis_table.c: Likewise.
7753 * nis/nss_compat/compat-pwd.c: Likewise.
7754 * nis/nss_compat/compat-spwd.c: Likewise.
7755 * po/Makefile: Likewise.
7756 * posix/fnmatch.c: Likewise.
7757 * posix/regex.h: Likewise.
7758 * resolv/Makefile: Likewise.
7759 * resolv/nss_dns/dns-network.c: Likewise.
7760 * resolv/res_hconf.c: Likewise.
7761 * scripts/gen-sorted.awk: Likewise.
7762 * soft-fp/soft-fp.h: Likewise.
7763 * stdio-common/printf.h: Likewise.
7764 * stdlib/monetary.h: Likewise.
7765 * stdlib/random.c: Likewise.
7766 * stdlib/random_r.c: Likewise.
7767 * sysdeps/generic/Makefile: Likewise.
7768 * sysdeps/gnu/Makefile: Likewise.
7769 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7770 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7771 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7772 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7773 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7774 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7775 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7776 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7777 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7779 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7780 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7781 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7782 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7783 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7784 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7785 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7786 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7787 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7788 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7789 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7790 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7791 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7792 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7793 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7794 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7796 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7797 * sysdeps/mach/hurd/errnos.awk: Likewise.
7798 * sysdeps/mach/hurd/fork.c: Likewise.
7799 * sysdeps/mach/hurd/getcwd.c: Likewise.
7800 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7801 * sysdeps/mach/hurd/mmap.c: Likewise.
7802 * sysdeps/mach/hurd/utimes.c: Likewise.
7803 * sysdeps/mach/hurd/xmknod.c: Likewise.
7804 * sysdeps/posix/profil.c: Likewise.
7805 * sysdeps/posix/readdir_r.c: Likewise.
7806 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7807 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7808 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7809 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7811 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7812 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7813 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7814 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7815 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7816 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7817 * sysdeps/pthread/lio_listio.c: Likewise.
7818 * sysdeps/sparc/dl-procinfo.h: Likewise.
7819 * sysdeps/unix/i386/sysdep.S: Likewise.
7820 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7821 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7822 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7823 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7825 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7826 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7827 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7828 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7829 * sysdeps/wordsize-32/divdi3.c: Likewise.
7830 * time/sys/time.h: Likewise.
7831 * wcsmbs/Makefile: Likewise.
7832
0549fbba
DM
78332013-01-01 David S. Miller <davem@davemloft.net>
7834
a141f1a7
DM
7835 * po/fr.po: Update from translation team.
7836
0549fbba
DM
7837 * catgets/gencat.c: Update copyright year.
7838 * csu/version.c: Likewise.
7839 * debug/catchsegv.sh: Likewise.
7840 * debug/pcprofiledump.c: Likewise.
7841 * debug/xtrace.sh: Likewise.
7842 * elf/ldconfig.c: Likewise.
7843 * elf/ldd.bash.in: Likewise.
7844 * elf/pldd.c: Likewise.
7845 * elf/sotruss.ksh: Likewise.
7846 * elf/sprof.c: Likewise.
7847 * iconv/iconv_prog.c: Likewise.
7848 * iconv/iconvconfig.c: Likewise.
7849 * locale/programs/locale.c: Likewise.
7850 * locale/programs/localedef.c: Likewise.
7851 * login/programs/pt_chown.c: Likewise.
7852 * malloc/memusage.sh: Likewise.
7853 * malloc/memusagestat.c: Likewise.
7854 * malloc/mtrace.pl: Likewise.
7855 * nscd/nscd.c: Likewise.
7856 * nss/getent.c: Likewise.
7857 * nss/makedb.c: Likewise.
7858 * posix/getconf.c: Likewise.
7859
18ea052c
SP
78602012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7861
7862 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7863 numbers.
7864
9c89fca6
MF
78652012-12-30 Mike Frysinger <vapier@gentoo.org>
7866
7867 * math/bits/mathcalls.h (modf): Use __nonnull.
7868
085ec079
SP
78692012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7870
7871 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7872 (split): Use macro CN instead of the bare value.
7873 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7874 could be used.
7875 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7876 instead of the bare value.
7877 (power1): Likewise.
7878
6d9f97e1
SP
78792012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7880
d63f73be
SP
7881 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7882 __ATAN_TWOM.
7883 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7884
6d9f97e1
SP
7885 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7886 their values.
7887 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7888 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7889 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7890 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7891
4c4febf5
AJ
78922012-12-28 Andreas Jaeger <aj@suse.de>
7893
af5843ef
AJ
7894 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7895 values are from Linux 3.7.
7896
4c4febf5
AJ
7897 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7898 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7899
99136f82
SP
79002012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7901
2f216c3c 7902 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
7903 TRUE case.
7904
99136f82
SP
7905 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7906 (norm): Likewise.
7907 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7908 variables with preprocessor constants.
7909 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7910 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7911 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7912
7fffbdff
BH
79132012-12-27 Bruno Haible <bruno@clisp.org>
7914
7915 [BZ #14317]
7916 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7917 only if needed.
7918
b76eb5f0
SP
79192012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7920
31a7fe5c
SP
7921 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7922 and use variable directly.
7923 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7924
b76eb5f0
SP
7925 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7926 MPONE.
7927 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7928 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7929 variable MPONE.
7930 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7932 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7933 include directive. Remove local variable MPONE.
7934 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7935 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7936 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7937
2c8bfe7d
DM
79382012-12-25 David S. Miller <davem@davemloft.net>
7939
7940 * version.h (RELEASE): Set to "development".
7941 (VERSION): Set to "2.17.90".
7942 * NEWS: Add 2.18 section.
7943
147d03b0
DM
79442012-12-21 David S. Miller <davem@davemloft.net>
7945
7946 * po/hr.po: Update from translation team.
7947
a8ebb2b9
AK
79482012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7949
7950 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7951
95b4f1b6
SE
79522012-12-19 Steve Ellcey <sellcey@mips.com>
7953
b2d94007 7954 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 7955
cedb2a90
MS
79562012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7957
7958 * manual/contrib.texi (Contributors): Spelling correction.
7959
bbf527d6
DM
79602012-12-15 David S. Miller <davem@davemloft.net>
7961
7962 * po/ru.po: Update from translation team.
7963
bc38c906
DM
79642012-12-13 David S. Miller <davem@davemloft.net>
7965
85429b1a
DM
7966 * NEWS: Mention IFUNC testsuite enhancements.
7967
d283e353
DM
7968 * po/pl.po: Update from translation team.
7969 * po/bg.po: Likewise.
7970
bc38c906
DM
7971 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7972 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7973
a181b0d7
DM
79742012-12-11 David S. Miller <davem@davemloft.net>
7975
4641d57e
DM
7976 * po/sv.po: Update from translation team.
7977
f7bc6495
DM
7978 * po/vi.po: Update from translation team.
7979
6fc9048f
DM
7980 * po/cs.po: Update from translation team.
7981
a181b0d7
DM
7982 * po/de.po: Update from translation team.
7983 * po/eo.po: Likewise.
7984 * po/nl.po: Likewise.
7985
f70bfe80
SP
79862012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7987
3c8b4190
SP
7988 [BZ #14246]
7989 * manual/argp.texi (Argp Helper Functions): Move node to follow
7990 Argp Parsing State.
7991
f70bfe80
SP
7992 [BZ #14872]
7993 * manual/conf.texi (Limits on File System Capacity): Mention if
7994 terminating null is included in the max size.
7995
188f0adf
AJ
79962012-12-10 Andreas Jaeger <aj@suse.de>
7997
7998 * po/cs.po: Update from translation team.
7999
56e7d3ad
SP
80002012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8001
8002 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8003 void pointer and cast to uintptr_t.
8004 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8005 path.
8006 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8007 * sysdeps/s390/s390-64/memset.S: Likewise.
8008
76f2d2ea 80092012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8010
8011 [BZ #14833]
8012 * menual/message.texi (Message Translation): Fix typos.
8013 (Helper programs for gettext): Likewise.
8014
67cbf9a2
AS
80152012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8016
8017 [BZ #14898]
8018 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8019 Change to -1.
8020
682d0e9a
DM
80212012-12-07 David S. Miller <davem@davemloft.net>
8022
8023 * po/libc.pot: Update.
8024
573cd484
RH
80252012-12-07 Richard Henderson <rth@redhat.com>
8026
7e9da188 8027 [BZ #10114]
573cd484
RH
8028 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8029 normal/normal case to before the switch.
8030 (_FP_DIV): Likewise.
8031
e933a943
MF
80322012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8033 Mike Frysinger <vapier@gentoo.org>
8034
8035 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8036 check for __NR_fadvise64_64.
8037
82123268
CM
80382012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8039
8040 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8041 0, not just to plain "0" as a statement.
8042 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8043 with cw.
8044
d9814526
JM
80452012-12-06 Joseph Myers <joseph@codesourcery.com>
8046
8047 * NEWS: Use sourceware.org in Bugzilla URL.
8048
7728c574
SP
80492012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8050
f16946dd
SP
8051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8052 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8053
5704bbcb
SP
8054 * stdio-common/tst-put-error.c (do_test): Add newline to the
8055 padded test to ensure flush.
8056
17aa0516
JL
80572012-12-05 Jeff Law <law@redhat.com>
8058
8059 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8060
363313b5
JM
80612012-12-05 Joseph Myers <joseph@codesourcery.com>
8062
effbd42a
JM
8063 * README: Don't refer to ports add-on as distributed separately.
8064 Mention AArch64 in list of systems supported in the ports add-on.
8065
87600365
JM
8066 * LICENSES: Add more non-FSF copyright and license notices.
8067
a0d7066a
JM
8068 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8069 ((unused)).
8070
66ca5a5b
JM
8071 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8072
363313b5
JM
8073 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8074 10000 as width of padded output.
8075
b37984ad
JM
80762012-12-04 Joseph Myers <joseph@codesourcery.com>
8077
9003570a
JM
8078 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8079
b37984ad
JM
8080 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8081 variable LX with __attribute__ ((unused)).
8082 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8083 Likewise.
8084 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8085 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8086 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8087 with __attribute__ ((unused)).
8088
c8df52ec
DM
80892012-12-04 David S. Miller <davem@abraco.davemloft.net>
8090
8091 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8092
b3b099af
JM
80932012-12-04 Joseph Myers <joseph@codesourcery.com>
8094
c33aa6e3
JM
8095 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8096 (CFLAGS-nldbl-acos.c): New variable.
8097 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8098 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8099 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8100 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8101 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8102 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8103 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8104 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8105 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8106 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8107 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8108 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8109 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8110 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8111 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8112 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8113 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8114 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8115 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8116 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8117 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8118 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8119 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8120 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8121 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8122 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8123 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8124 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8125 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8126 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8127 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8128 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8129 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8130 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8131 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8132 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8133 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8134 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8135 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8136 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8137 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8138 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8139 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8140 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8141 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8142 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8143 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8144 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8145 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8146 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8147 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8148 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8149 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8150 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8151 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8152 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8153 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8154 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8155 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8156 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8157 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8158 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8159 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8160 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8161 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8162 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8163 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8164 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8165 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8166 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8167 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8168 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8169 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8170 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8171 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8172 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8173 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8174 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8175 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8176 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8177 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8178 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8179 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8180 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8181 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8182 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8183 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8184 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8185 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8186 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8187 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8188 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8189 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8190 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8191 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8192 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8193 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8194
20f0018d
JM
8195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8196 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8197
b3b099af
JM
8198 [BZ #14914]
8199 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8200 whole low double instead of just low 47 bits when splitting values
8201 into two parts.
8202
029264d1
AM
82032012-12-03 Allan McRae <allan@archlinux.org>
8204
8205 * manual/stdio.texi (Predefined Printf Handlers): Remove
8206 @hsep and @vsep usage.
8207
c9d6789e
MF
82082012-12-03 Mike Frysinger <vapier@gentoo.org>
8209
8210 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8211 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8212
4b7634a5
JL
82132012-12-03 Jeff Law <law@redhat.com>
8214
8215 * time/sys/time.h (settimeofday): Do not mark TV argument
8216 as __nonnull.
8217
eb6cbd24
MF
82182012-12-01 Mike Frysinger <vapier@gentoo.org>
8219
8220 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8221 when currently writing and seek to current position when not.
8222 * libio/Makefile (tests): Remove bug-fclose1.
8223 * libio/bug-fclose1.c: Delete.
8224
f638872a
JM
82252012-12-01 Joseph Myers <joseph@codesourcery.com>
8226
8227 * manual/arith.texi (feenableexcept): Fix typo.
8228 (fedisableexcept): Likewise.
8229
48085d14
RM
82302012-11-30 Roland McGrath <roland@hack.frob.com>
8231
8232 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8233 second, differently-typed declaration, rather than a cast.
8234
1a538b9f
SP
82352012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8236
8237 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8238 * include/rpc/svc.h: ... here.
8239
d07f2ff1 82402012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8241
8242 [BZ #13013]
8243 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8244 depending n and resplen2 to catch cases where answer
8245 equals answerp2.
8246
c93ec1f0
CD
82472012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8248
8249 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8250 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8251
37db69de
MF
82522012-11-29 Mike Frysinger <vapier@gentoo.org>
8253
8254 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8255
e10c4e4f
RM
82562012-11-29 Roland McGrath <roland@hack.frob.com>
8257
8258 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8259
2af1b328
JL
82602012-11-28 Jeff Law <law@redhat.com>
8261
8262 [BZ #13761]
8263 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8264 dataset_temporary. Track alloca usage into alloca_used.
8265 If dataset is large allocate and release it via malloc/free.
8266
111db5b1
FW
82672012-06-04 Florian Weimer <fweimer@redhat.com>
8268
f06cc227 8269 [BZ #14197]
111db5b1
FW
8270 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8271
dd694abd
DM
82722012-11-28 David S. Miller <davem@davemloft.net>
8273
8274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8275
9984dd01
JM
82762012-11-28 Joseph Myers <joseph@codesourcery.com>
8277
8278 [BZ #14803]
8279 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8280 of pi/2 rounded to nearest to 64 bits.
8281 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8282 nearest to 64 bits.
8283 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8284 bits.
8285
14bc93a9
JL
82862012-11-28 Jeff Law <law@redhat.com>
8287 Martin Osvald <mosvald@redhat.com>
8288
8289 [BZ #14889]
8290 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8291 * sunrpc/svc.c: Include time.h.
8292 (__svc_accept_failed): New function.
8293 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8294 any reason other than EINTR, call __svc_accept_failed.
8295 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8296 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8297
e3c6aa3a
AS
82982012-11-28 Andreas Schwab <schwab@suse.de>
8299
8300 * scripts/abilist.awk: Also handle indirect functions in .opd
8301 section.
8302
1bead169
JM
83032012-11-28 Joseph Myers <joseph@codesourcery.com>
8304
8305 [BZ #13881]
8306 * sysdeps/x86/fpu/powl_helper.c: New file.
8307 * sysdeps/x86/fpu/Makefile: Likewise.
8308 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8309 (p3): New object.
8310 (__ieee754_powl): Use __powl_helper for finite arguments except
8311 integer exponents below 8.
8312 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8313 (p3): New object.
8314 (__ieee754_powl): Use __powl_helper for finite arguments except
8315 integer exponents below 8.
8316 * math/libm-test.inc (pow_test): Add more tests and enable some
8317 previously disabled tests.
8318 * sysdeps/i386/fpu/libm-test-ulps: Update.
8319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8320
0817d63d
SP
83212012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8322 Carlos O'Donell <carlos_odonell@mentor.com>
8323
8324 * nss/makedb.c (is_prime): Assert that input is odd and greater
8325 than 4. Note that fact in a comment too.
8326 (next_prime): Add 4 to input.
8327
de2fd463
SP
83282012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8329
8330 [BZ #11741]
8331 * libio/Makefile (tests): Add test case tst-fwrite-error.
8332 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8333 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8334 * libio/tst-fwrite-error.c: New test case.
8335
c515fb51
L
83362012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8337
8338 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8339 before casting to void *.
8340 * include/libc-internal.h (__pointer_type): New macro.
8341 (__integer_if_pointer_type_sub): Likewise.
8342 (__integer_if_pointer_type): Likewise.
8343 (cast_to_integer): Likewise.
8344 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8345 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8346 before casting to atomic64_t.
8347 (atomic_exchange_acq): Likewise.
8348 (__arch_exchange_and_add_body): Likewise.
8349 (__arch_add_body): Likewise.
8350 (atomic_add_negative): Likewise.
8351 (atomic_add_zero): Likewise.
8352
4cf77aa9
JM
83532012-11-26 Joseph Myers <joseph@codesourcery.com>
8354
8355 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8356 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8357 (add_fdes): Likewise.
8358 (linear_search_fdes): Likewise.
8359 (binary_search_unencoded_fdes): Likewise.
8360
d260b3b4
AS
83612012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8362
8363 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8364
67060746
AC
83652012-11-24 Adam Conrad <adconrad@0c3.net>
8366
8367 * configure.in: Autodetect C++ header directories.
8368 * configure: Regenerated.
8369
800938a1
MF
83702012-11-23 Mike Frysinger <vapier@gentoo.org>
8371
8372 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8373
4e6e34e6
AS
83742012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8375
8376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8377
7c7feb47
JM
83782012-11-22 Joseph Myers <joseph@codesourcery.com>
8379
7184dcdf
JM
8380 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8381 LDBL_MANT_DIG == 106]: Disable some tests.
8382 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8383 Likewise.
8384 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8385 Likewise.
8386
0a42601f
JM
8387 [BZ #14871]
8388 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8389 input for small inputs. Return +/- pi/2 for large inputs.
8390 * math/libm-test.inc (atan_test): Add more tests.
8391
79c9b9fe
JM
8392 * sysdeps/generic/unwind-dw2-fde-glibc.c
8393 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8394 __attribute__ ((unused)).
8395
c60d3bf2
JM
8396 [BZ #14645]
8397 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8398 x * y if x and y are nonzero and z is zero.
8399
ef1e0867
JM
8400 [BZ #14811]
8401 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8402 nonzero exponents with absolute value below 0x1p-117 to +/-
8403 0x1p-117.
8404
1468ded3
JM
8405 [BZ #14869]
8406 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8407 up arguments below 2**-450, not just those below 2**-500.
8408 * math/libm-test.inc (hypot_test): Add another test.
8409
8e27e3cc
JM
8410 [BZ #14868]
8411 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8412 Return a+b for ratio over 2**120, not 2**60.
8413 * math/libm-test.inc (hypot_test): Add another test.
8414
c9c0279b
JM
8415 * math/libm-test.inc (clog_test): Use
8416 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8417 (clog10_test): Likewise.
8418
7c7feb47
JM
8419 [BZ #6778]
8420 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8421
fff1530e
AS
84222012-11-22 Andreas Schwab <schwab@suse.de>
8423
8424 * sysdeps/i386/fpu/libm-test-ulps: Update.
8425
94558d30
PT
84262012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8427
8428 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8429 printf output with newline.
8430
7e1be741
L
84312012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8432
6bfea974
L
8433 [BZ #14865]
8434 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8435 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8436 -z nodlopen, -z initfirst and -z execstack support.
8437 * configure: Regenerated.
8438
7e1be741
L
8439 * elf/elf.h (DF_1_NODIRECT): New macro.
8440 (DF_1_IGNMULDEF): Likewise.
8441 (DF_1_NOKSYMS): Likewise.
8442 (DF_1_NOHDR): Likewise.
8443 (DF_1_EDITED): Likewise.
8444 (DF_1_NORELOC): Likewise.
8445 (DF_1_SYMINTPOSE): Likewise.
8446 (DF_1_GLOBAUDIT): Likewise.
8447 (DF_1_SINGLETON): Likewise.
8448 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8449 DT_1_SUPPORTED_MASK bits.
8450 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8451
105ce2ce
CD
84522012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8453
8454 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8455
123be9de
TS
84562012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8457
d072f3f7
TS
8458 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8459 macro.
8460
123be9de
TS
8461 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8462 (sendmmsg): Move declarations...
8463 * socket/sys/socket.h: ... here.
8464 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8465 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8466 include it from...
8467 * socket/recvmmsg.c: ... this new file.
8468 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8469 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8470 definition of __sendmmsg hidden.
8471 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8472 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8473 Move ENOSYS stub into and include it from...
8474 * socket/sendmmsg.c: ... this new file.
8475 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8476 (sysdep_routines): Move recvmmsg and sendmmsg...
8477 * socket/Makefile (routines): ... here.
8478 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8479 (GLIBC_PRIVATE): Add __sendmmsg.
8480 * include/sys/socket.h (__sendmmsg): Add declarations.
8481 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8482 sendmmsg.
8483
cf9a5d18
JM
84842012-11-20 Joseph Myers <joseph@codesourcery.com>
8485
8486 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8487 variable I1 with __attribute__ ((unused)).
8488 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8489
ecd4caf9
JM
84902012-11-19 Joseph Myers <joseph@codesourcery.com>
8491
be14d48f
JM
8492 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8493 DUMMY variables with __attribute__ ((unused)).
8494
ecd4caf9
JM
8495 * bits/byteswap.h: Include <bits/types.h>.
8496 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8497
986cab95
PT
84982012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8499
8500 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8501 string_t. Do not manually set errno.
8502 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8503 length with __strnlen. Make sure to both set errno and return it on
8504 failure.
8505
6d33cc9d
DM
85062012-11-19 David S. Miller <davem@davemloft.net>
8507
8508 With help from Joseph Myers.
8509 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8510 very large arguments properly.
8511 * math/libm-test.inc (atan_test): New tests.
8512 (atan2_test): New tests.
8513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8515
ee663277
JM
85162012-11-19 Joseph Myers <joseph@codesourcery.com>
8517
877f2d8e
JM
8518 [BZ #14856]
8519 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8520 Define to 3.
8521
116fc08a
JM
8522 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8523 [POSIX] (EADDRNOTAVAIL): Likewise.
8524 [POSIX] (EAFNOSUPPORT): Likewise.
8525 [POSIX] (EALREADY): Likewise.
8526 [POSIX] (ECONNABORTED): Likewise.
8527 [POSIX] (ECONNREFUSED): Likewise.
8528 [POSIX] (ECONNRESET): Likewise.
8529 [POSIX] (EDESTADDRREQ): Likewise.
8530 [POSIX] (EDQUOT): Likewise.
8531 [POSIX] (EHOSTUNREACH): Likewise.
8532 [POSIX] (EIDRM): Likewise.
8533 [POSIX] (EISCONN): Likewise.
8534 [POSIX] (ELOOP): Likewise.
8535 [POSIX] (EMULTIHOP): Likewise.
8536 [POSIX] (ENETDOWN): Likewise.
8537 [POSIX] (ENETUNREACH): Likewise.
8538 [POSIX] (ENOBUFS): Likewise.
8539 [POSIX] (ENODATA): Likewise.
8540 [POSIX] (ENOLINK): Likewise.
8541 [POSIX] (ENOMSG): Likewise.
8542 [POSIX] (ENOPROTOOPT): Likewise.
8543 [POSIX] (ENOSR): Likewise.
8544 [POSIX] (ENOSTR): Likewise.
8545 [POSIX] (ENOTCONN): Likewise.
8546 [POSIX] (ENOTSOCK): Likewise.
8547 [POSIX] (EOPNOTSUPP): Likewise.
8548 [POSIX] (EOVERFLOW): Likewise.
8549 [POSIX] (EPROTO): Likewise.
8550 [POSIX] (EPROTONOSUPPORT): Likewise.
8551 [POSIX] (EPROTOTYPE): Likewise.
8552 [POSIX] (ESTALE): Likewise.
8553 [POSIX] (ETIME): Likewise.
8554 [POSIX] (ETXTBSY): Likewise.
8555 [POSIX] (EWOULDBLOCK): Likewise.
8556 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8557 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8558 [POSIX] (SEEK_CUR): Likewise.
8559 [POSIX] (SEEK_END): Likewise.
8560 [POSIX || UNIX98] (mode_t): Do not require.
8561 [POSIX] (off_t): Likewise.
8562 [POSIX] (pid_t): Likewise.
8563 [POSIX] (sys/stat.h): Do not allow header.
8564 [POSIX] (unistd.h): Likewise.
8565 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8566 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8567 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8568 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8569 require.
8570 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8571 sigevent): Specify elements.
8572 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8573 entry.
8574 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8575 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8576
a483863f
JM
8577 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8578 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8579 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8580 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8581 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8582 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8583 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8584 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8585 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8586 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8587 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8588 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8589 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8590 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8591 Likewise.
8592 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8593 Likewise.
8594 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8595 Likewise.
8596 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8597 Likewise.
8598 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8599 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8600 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8601 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8602 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8603 Specify lower bound on value.
8604 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8605 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8606 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8607 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8608 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8609 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8610 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8611 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8612 value.
8613 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8614 as optional.
8615 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8616 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8617 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8618 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8619 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8620 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8621 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8622 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8623 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8624 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8625 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8626 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8627 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8628 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8629 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8630 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8631 entry.
8632 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8633 optional.
8634 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8635 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8636 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8637 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8638 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8639 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8640 Likewise.
8641 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8642 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8643 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8644 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8645 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8646 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8647 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8648 as optional.
8649 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8650 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8651 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8652 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8653 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8654 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8655 specify as optional.
8656 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8657 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8658 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8659 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8660 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8661 [XPG3] (NL_LANGMAX): Likewise.
8662 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8663 [POSIX || XPG3] (NL_NMAX): Likewise.
8664 [POSIX || XPG3] (NL_SETMAX): Likewise.
8665 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8666 [XPG3] (NZERO): Likewise.
8667 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8668 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8669 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8670 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8671 (REG_ERANGE): Expect.
8672 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8673 optional-constant.
8674 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8675 Use (void) in prototype.
8676 [POSIX] (*_t): Allow.
8677 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8678 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8679 (WRDE_BADVAL): Expect.
8680
5ba924e3
JM
8681 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8682 expect.
8683 [XPG3 || XPG4] (O_RSYNC): Likewise.
8684 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8685 Likewise.
8686 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8687 [XPG3 || XPG4] (sigqueue): Likewise.
8688 [XPG3 || XPG4] (sigtimedwait): Likewise.
8689 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8690 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8691 [XPG3 || XPG4] (vsnprintf): Likewise.
8692 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8693 Likewise.
8694 [XPG3 || XPG4] (blksize_t): Likewise.
8695 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8696 Likewise.
8697 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8698 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8699 [XPG3 || XPG4] (struct itimerspec): Likewise.
8700 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8701 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8702 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8703 [XPG3 || XPG4] (clockid_t): Likewise.
8704 [XPG3 || XPG4] (timer_t): Likewise.
8705 [XPG3 || XPG4] (clock_getres): Likewise.
8706 [XPG3 || XPG4] (clock_gettime): Likewise.
8707 [XPG3 || XPG4] (clock_settime): Likewise.
8708 [XPG3 || XPG4] (nanosleep): Likewise.
8709 [XPG3 || XPG4] (timer_create): Likewise.
8710 [XPG3 || XPG4] (timer_delete): Likewise.
8711 [XPG3 || XPG4] (timer_gettime): Likewise.
8712 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8713 [XPG3 || XPG4] (timer_settime): Likewise.
8714 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8715 [XPG3 || XPG4] (getlogin_r): Likewise.
8716 [XPG3 || XPG4] (pread): Likewise.
8717 [XPG3 || XPG4] (pthread_atfork): Likewise.
8718 [XPG3 || XPG4] (pwrite): Likewise.
8719
ee663277
JM
8720 [BZ #14835]
8721 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8722 <bits/siginfo.h>.
8723
942caa16
PT
87242012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8725
e19af380
PT
8726 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8727 finalizing MALLSTREAM.
8728
942caa16
PT
8729 * sysdeps/mach/hurd/syncfs.c: New file.
8730
cfde9b46
SP
87312012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8732
8733 [BZ #14719]
8734 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8735 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8736 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8737 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8738 (_nss_dns_gethostbyname4_r): Likewise.
8739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8740 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8741
f6da27e5
PH
87422012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8743
8744 [BZ #13763]
8745 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8746
6665d4a2
SM
87472012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8748
1f51ee92
SM
8749 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8750 * elf/cache.c (print_entry): Print ",AArch64" for
8751 FLAG_AARCH64_LIB64
8752
6665d4a2
SM
8753 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8754 * elf/cache.c (print_entry): Print ",hard-float" for
8755 FLAG_ARM_LIBHF.
8756
05b227bd
DM
87572012-11-18 David S. Miller <davem@davemloft.net>
8758
8759 With help from Joseph Myers.
8760 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8761 cutoff to 2**-13.
8762 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8763 cutoff to 2**-25.
8764 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8765 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8766 small.
8767 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8768 * math/libm-test.inc (y0_test): New tests.
8769 (y1_test): New tests.
8770 * sysdeps/i386/fpu/libm-test-ulps: Update.
8771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8773
786b0b67
AS
87742012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8775
8776 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8777 64-bit targets.
8778 * configure: Regenerated.
8779
8e18b86d
DM
87802012-11-17 David S. Miller <davem@davemloft.net>
8781
8782 [BZ #14811]
8783 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8784 nonzero exponents with absolute value below 0x1p-128 to +/-
8785 0x1p-128.
8786
531f1ae0
JM
87872012-11-17 Joseph Myers <joseph@codesourcery.com>
8788
12df29e2
JM
8789 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8790
150dc1a0
JM
8791 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8792
531f1ae0
JM
8793 * posix/getconf-speclist.c: New file.
8794 * posix/posix-envs.def: Likewise.
8795 * posix/confstr.c (START_ENV_GROUP): New macro.
8796 (END_ENV_GROUP): Likewise.
8797 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8798 (KNOWN_PRESENT_ENV_STRING): Likewise.
8799 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8800 (UNKNOWN_ENVIRONMENT): Likewise.
8801 (confstr): Include posix-envs.def instead of handling
8802 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8803 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8804 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8805 (END_ENV_GROUP): Likewise.
8806 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8807 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8808 (UNKNOWN_ENVIRONMENT): Likewise.
8809 (__sysconf): Include posix-envs.def instead of handling associated
8810 cases directly here.
8811 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8812 preprocessing getconf-speclist.c rather than running getconf or
8813 generating empty file.
8814
a93f9cbc
PT
88152012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8816
8817 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8818
d64d9f87
AL
88192012-11-16 Andrej Lajovic <natrij@gmail.com>
8820
8821 [BZ #14672]
8822 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8823
447885eb
DM
88242012-11-16 David S. Miller <davem@davemloft.net>
8825
8826 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8827 smaller than LDBL_EPSILON/2.0L, just return xm1.
8828
bcbf9830
L
88292012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8830
8831 * elf/tst-array1.c (init): Set constructor priority to 1000.
8832 (fini): Set destructor priority to 1000.
8833 * elf/tst-array2dep.c: Likewise.
8834
2b766585
SP
88352012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8836
8837 [BZ #11741]
8838 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8839 (_IO_new_file_xsputn): Also return EOF if none of the input
8840 data was written when overflow failed.
8841 * libio/iopadn.c (_IO_padn): Likewise.
8842 * libio/iowpadn.c (_IO_wpadn): Likewise.
8843 * stdio-common/tst-put-error.c: Add copyright notice.
8844 (do_test): Add case for printing padded string.
8845 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8846 _IO_padn returned error.
8847 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8848 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8849 return EOF.
8850
b1848fde
SP
88512012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8852
8853 * libio/libioP.h: Add comment note that the references to C++
8854 bits are now obsolete.
8855
2fd89785
MS
88562012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8857
8858 * math/libm-test.inc (check_complex): Use asprintf.
8859
e3ea5409
JM
88602012-11-14 Joseph Myers <joseph@codesourcery.com>
8861
8862 * debug/pcprofiledump.c (print_version): Update copyright year.
8863 * malloc/memusagestat.c (print_version): Likewise.
8864
2e64d265
L
88652012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8866
8867 [BZ #14831]
8868 * elf/Makefile (tests): Add tst-audit8.
8869 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8870 ($(objpfx)tst-audit8.out): New target.
8871 (tst-audit8-ENV): New variable.
8872 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8873 audit if l_reloc_result is NULL.
8874 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8875 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8876 * elf/tst-audit8.c: New file.
8877
c485e4d2
MS
88782012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8879
8880 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8881 * misc/Makefile (CFLAGS-select.c): Define.
8882 * posix/Makefile (CFLAGS-pause.c): Define.
8883
3a0d900a
DM
88842012-11-13 David S. Miller <davem@davemloft.net>
8885
8886 * crypt/Makefile: Move test targets after toplevel Rules
8887 inclusion. Grab any necessary sysdep routines when linking.
8888 * crypt/md5.c (md5_process_block): Remove define, we will always
8889 name it __md5_process_block.
8890 (md5_finish_ctx): Update md5_process_block call.
8891 (md5_stream): Likewise.
8892 (md5_process_bytes): Likewise.
8893 (md5_process_block): Rename to __md5_process_block and move to ...
8894 * crypt/md5-block.c: ... here.
8895 * crypt/sha256.c (sha256_process_block): Move to ...
8896 * crypt/sha256-block.c: ... here.
8897 * crypt/sha512.c (sha512_process_block): Move to ...
8898 * crypt/sha512-block.c: ... here.
8899 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8900 path.
8901 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8902 * sysdeps/sparc/sparc64/multiarch/Makefile
8903 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8904 crypt subdir.
8905 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8906 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8907 multiarch changes.
8908 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8909 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8910 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8911 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8912 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8913 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8914 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8915 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8916 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8917 file.
8918 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8919 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8920 file.
8921 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8922
8ca89318
JM
89232012-11-13 Joseph Myers <joseph@codesourcery.com>
8924
e27d476a
JM
8925 * timezone/tzselect.ksh: Update from tzcode git revision
8926 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8927 * timezone/zdump.c: Likewise.
8928 * timezone/zic.c: Likewise.
8929 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8930 in TZVERSION setting, not $(PKGVERSION).
8931 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8932 REPORT_BUGS_TO settings.
8933
8ca89318
JM
8934 [BZ #14838]
8935 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8936 macro.
8937
47594329
MS
89382012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8939
8940 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8941 detection to immediately after _FP_ROUND().
8942 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8943 bits are 0.
8944
640ac3f1
DM
89452012-11-11 David S. Miller <davem@davemloft.net>
8946
8947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8948 inttypes.h
8949 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8950 __close rather than their public counterparts.
8951
3d2577bb
JM
89522012-11-10 Joseph Myers <joseph@codesourcery.com>
8953
8954 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8955 file.
8956 [UNIX98] (sem_timedwait): Do not expect.
8957 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8958 [XPG4 || UNIX98] (sockatmark): Do not expect.
8959 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8960 (clock_getcpuclockid): Do not expect.
8961 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8962 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8963 Do not expect.
8964 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8965 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8966 [UNIX98] (vwscanf): Likewise.
8967 [UNIX98] (vswscanf): Likewise.
8968
fb1ae1ee
JM
89692012-11-09 Joseph Myers <joseph@codesourcery.com>
8970
9ec6f8bd
JM
8971 * timezone/version.h: Remove file.
8972 * timezone/README: Do not refer to version.h.
8973 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8974 $(objpfx)version.h.
8975 ($(objpfx)zdump.o): Likewise.
c3f81911 8976 ($(objpfx)version.h): New target.
9ec6f8bd 8977
0aa8f8a1
JM
8978 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8979 2012i.
8980 * timezone/README: Don't mention modification to tzselect.ksh.
8981 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8982 work on unmodified tzselect.ksh. Substitute version numbers in
8983 tzselect.ksh.
8984
4e87147f
JM
8985 * Makefile (format-me): Remove.
8986 (INSTALL): Adjust indentation. Use commands directly instead of
8987 using $(format-me).
8988
8b748aed
JM
8989 * aclocal.m4 (ACX_PKGVERSION): New macro.
8990 (ACX_BUGURL): Likewise.
8991 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8992 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8993 (REPORT_BUGS_TO): Likewise.
8994 * configure: Regenerated.
8995 * config.h.in (PKGVERSION): New macro.
8996 (REPORT_BUGS_TO): Likewise.
8997 * config.make.in (PKGVERSION): New variable.
8998 (PKGVERSION_TEXI): Likewise.
8999 (REPORT_BUGS_TO): Likewise.
9000 (REPORT_BUGS_TEXI): Likewise.
9001 * Makefile (format-me): Use -I$(common-objpfx)manual.
9002 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9003 ($(common-objpfx)manual/%): New target.
9004 (manual/%): Remove target.
9005 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9006 (print_version): Use PKGVERSION.
9007 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9008 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9009 and REPORT_BUGS_TO.
9010 ($(objpfx)xtrace): Likewise.
9011 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9012 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9013 (print_version): Use PKGVERSION.
9014 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9015 (do_version): Use PKGVERSION.
9016 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9017 REPORT_BUGS_TO.
9018 (common-ldd-rewrite): Likewise.
9019 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9020 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9021 (print_version): Use PKGVERSION.
9022 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9023 * elf/pldd.c (argp_program_bug_address): Remove variable.
9024 (more_help): New function.
9025 (argp): Use more_help.
9026 (print_version): Use PKGVERSION.
9027 * elf/sln.c (main): Use PKGVERSION.
9028 (usage): Use REPORT_BUGS_TO.
9029 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9030 (top level): Use PKGVERSION.
9031 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9032 (print_version): Use PKGVERSION.
9033 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9034 (print_version): Use PKGVERSION.
9035 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9036 (print_version): Use PKGVERSION.
9037 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9038 (print_version): Use PKGVERSION.
9039 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9040 (print_version): Use PKGVERSION.
9041 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9042 (print_version): Use PKGVERSION.
9043 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9044 and BUGURL.
9045 ($(objpfx)memusage): Likewise.
9046 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9047 (do_version): Use PKGVERSION.
9048 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9049 (print_version): Use PKGVERSION.
9050 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9051 ($PKGVERSION): New variable.
9052 ($REPORT_BUGS_TO): Likewise.
9053 (usage): Use $REPORT_BUGS_TO.
9054 (top level): Use $PKGVERSION.
9055 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9056 ($(objpfx)pkgvers.texi): New rule.
9057 ($(objpfx)stamp-pkgvers): Likewise.
9058 * manual/install.texi: Include pkgvers.texi.
9059 (--with-pkgversion): Document new configure option.
9060 (--with-bugurl): Likewise.
9061 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9062 than necessarily for this particular distribution. Use
9063 REPORT_BUGS_TO for where to report bugs.
9064 * INSTALL: Regenerated.
9065 * manual/libc.texinfo: Include pkgvers.texi.
9066 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9067 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9068 (print_version): Use PKGVERSION.
9069 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9070 (print_version): Use PKGVERSION.
9071 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9072 (print_version): Use PKGVERSION.
9073 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9074 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9075 macro.
9076 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9077 (print_version): Use PKGVERSION.
9078 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9079 (print_version): Use PKGVERSION.
9080 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9081 and PKGVERSION.
9082
92e4b6a9
JM
9083 * timezone/checktab.awk: Update from tzcode 2012i.
9084 * timezone/ialloc.c: Likewise.
9085 * timezone/private.h: Likewise.
9086 * timezone/scheck.c: Likewise.
9087 * timezone/tzfile.h: Likewise.
9088 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9089 (TZVERSION): Hardcode tzcode version number.
9090 * timezone/zdump.c: Update from tzcode 2012i.
9091 * timezone/zic.c: Likewise.
9092 * timezone/version.h: New file.
9093 * timezone/README: Describe version.h. Update upstream location.
9094
9bde902c
JM
9095 [BZ #14824]
9096 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9097 (mktemp): Enable declaration.
9098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9102 Likewise.
9103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9104 Likewise.
9105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9106 Likewise.
9107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9108 Likewise.
9109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9110 Likewise.
9111 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9112 Likewise.
9113
fb1ae1ee
JM
9114 [BZ #14821]
9115 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9116 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9117 for copies of such integer values.
9118 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9119 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9120
2c1adbcb
AJ
91212012-11-09 Andreas Jaeger <aj@suse.de>
9122
9123 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9124 definitions and declarations that are provided by
9125 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9126
d0f8457e
AK
91272012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9128
3a235abb 9129 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9130 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9131 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9132 definition.
9133
57241e26
MS
91342012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9135
9136 * elf/elf.h: Update comment before AArch64 relocations.
9137
60e8270d
DM
91382012-11-07 David S. Miller <davem@davemloft.net>
9139
9140 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9141 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9142 (__start_context): Declare.
9143 (__makecontext_ret): Delete.
9144 (__makecontext): Hook up __start_context instead of
9145 __makecontext_ret.
9146 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9147 (sysdep_routines): Add __start_context when in stdlib.
9148
0fbb0fbc
JM
91492012-11-07 Joseph Myers <joseph@codesourcery.com>
9150
9151 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9152 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9153 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9154 hardcoded "nm".
9155 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9156 (READELF): New variable. Use it instead of hardcoded "readelf".
9157
eb48db7e
L
91582012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9159
9160 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9161 * sysdeps/x86/Makefile: Here.
9162 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9163 * sysdeps/x86/tst-xmmymm.sh: This.
9164
05bcf62a
JM
91652012-11-07 Joseph Myers <joseph@codesourcery.com>
9166
c4b6cf53
JM
9167 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9168 expectations.
9169 [UNIX98] (pthread_barrier_t): Do not expect.
9170 [UNIX98] (pthread_barrierattr_t): Likewise.
9171 [UNIX98] (pthread_spinlock_t): Likewise.
9172 [UNIX98] (pthread_barrier_destroy): Likewise.
9173 [UNIX98] (pthread_barrier_init): Likewise.
9174 [UNIX98] (pthread_barrier_wait): Likewise.
9175 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9176 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9177 [UNIX98] (pthread_barrierattr_init): Likewise.
9178 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9179 [UNIX98] (pthread_getcpuclockid): Likewise.
9180 [UNIX98] (pthread_mutex_timedlock): Likewise.
9181 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9182 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9183 [UNIX98] (pthread_sigmask): Likewise.
9184 [UNIX98] (pthread_spin_destroy): Likewise.
9185 [UNIX98] (pthread_spin_init): Likewise.
9186 [UNIX98] (pthread_spin_lock): Likewise.
9187 [UNIX98] (pthread_spin_trylock): Likewise.
9188 [UNIX98] (pthread_spin_unlock): Likewise.
9189 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9190 Do not expect.
9191 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9192 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9193 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9194 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9195 [XPG3 || XPG4] (pthread_key_t): Likewise.
9196 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9197 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9198 [XPG3 || XPG4] (pthread_once_t): Likewise.
9199 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9200 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9201 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9202 [XPG3 || XPG4] (pthread_t): Likewise.
9203
cbe6e120
JM
9204 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9205 not expect.
9206 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9207
1b126443
JM
9208 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9209 Change function return type to int.
9210
b961a573
JM
9211 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9212 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9213 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9214 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9215 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9216 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9217 [!POSIX] (posix_madvise): Likewise.
9218 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9219 && !UNIX98].
9220 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9221 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9222 (mode_t): Likewise.
9223 (posix_mem_offset): Likewise.
9224 (posix_typed_mem_get_info): Likewise.
9225 (posix_typed_mem_open): Likewise.
9226
9e188909
JM
9227 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9228 Change condition to [XOPEN2K8].
9229
05bcf62a
JM
9230 * conform/conformtest.pl: Preprocess allow-header data with -x c
9231 instead of from stdin.
9232 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9233 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9234 [C99-based standards] (cerfc): Likewise.
9235 [C99-based standards] (cexp2): Likewise.
9236 [C99-based standards] (cexpm1): Likewise.
9237 [C99-based standards] (clog10): Likewise.
9238 [C99-based standards] (clog1p): Likewise.
9239 [C99-based standards] (clog2): Likewise.
9240 [C99-based standards] (clgamma): Likewise.
9241 [C99-based standards] (ctgamma): Likewise.
9242 [C99-based standards] (cerff): Likewise.
9243 [C99-based standards] (cerfcf): Likewise.
9244 [C99-based standards] (cexp2f): Likewise.
9245 [C99-based standards] (cexpm1f): Likewise.
9246 [C99-based standards] (clog10f): Likewise.
9247 [C99-based standards] (clog1pf): Likewise.
9248 [C99-based standards] (clog2f): Likewise.
9249 [C99-based standards] (clgammaf): Likewise.
9250 [C99-based standards] (ctgammaf): Likewise.
9251 [C99-based standards] (cerfl): Likewise.
9252 [C99-based standards] (cerfcl): Likewise.
9253 [C99-based standards] (cexp2l): Likewise.
9254 [C99-based standards] (cexpm1l): Likewise.
9255 [C99-based standards] (clog10l): Likewise.
9256 [C99-based standards] (clog1pl): Likewise.
9257 [C99-based standards] (clog2l): Likewise.
9258 [C99-based standards] (clgammal): Likewise.
9259 [C99-based standards] (ctgammal): Likewise.
9260 * conform/data/inttypes.h-data [C99-based standards]: Include
9261 stdint.h-data. Remove all expectations for stdint.h contents.
9262 [C99-based standards] (PRI*): Do not allow.
9263 [C99-based standards] (SCN*): Likewise.
9264 [C99-based standards] (*_t): Likewise.
9265 [C99-based-standards] (PRId8): Expect macro.
9266 [C99-based-standards] (PRIi8): Likewise.
9267 [C99-based-standards] (PRIo8): Likewise.
9268 [C99-based-standards] (PRIu8): Likewise.
9269 [C99-based-standards] (PRIx8): Likewise.
9270 [C99-based-standards] (PRIX8): Likewise.
9271 [C99-based-standards] (SCNd8): Likewise.
9272 [C99-based-standards] (SCNi8): Likewise.
9273 [C99-based-standards] (SCNo8): Likewise.
9274 [C99-based-standards] (SCNu8): Likewise.
9275 [C99-based-standards] (SCNx8): Likewise.
9276 [C99-based-standards] (PRIdLEAST8): Likewise.
9277 [C99-based-standards] (PRIiLEAST8): Likewise.
9278 [C99-based-standards] (PRIoLEAST8): Likewise.
9279 [C99-based-standards] (PRIuLEAST8): Likewise.
9280 [C99-based-standards] (PRIxLEAST8): Likewise.
9281 [C99-based-standards] (PRIXLEAST8): Likewise.
9282 [C99-based-standards] (SCNdLEAST8): Likewise.
9283 [C99-based-standards] (SCNiLEAST8): Likewise.
9284 [C99-based-standards] (SCNoLEAST8): Likewise.
9285 [C99-based-standards] (SCNuLEAST8): Likewise.
9286 [C99-based-standards] (SCNxLEAST8): Likewise.
9287 [C99-based-standards] (PRIdFAST8): Likewise.
9288 [C99-based-standards] (PRIiFAST8): Likewise.
9289 [C99-based-standards] (PRIoFAST8): Likewise.
9290 [C99-based-standards] (PRIuFAST8): Likewise.
9291 [C99-based-standards] (PRIxFAST8): Likewise.
9292 [C99-based-standards] (PRIXFAST8): Likewise.
9293 [C99-based-standards] (SCNdFAST8): Likewise.
9294 [C99-based-standards] (SCNiFAST8): Likewise.
9295 [C99-based-standards] (SCNoFAST8): Likewise.
9296 [C99-based-standards] (SCNuFAST8): Likewise.
9297 [C99-based-standards] (SCNxFAST8): Likewise.
9298 [C99-based-standards] (PRId16): Likewise.
9299 [C99-based-standards] (PRIi16): Likewise.
9300 [C99-based-standards] (PRIo16): Likewise.
9301 [C99-based-standards] (PRIu16): Likewise.
9302 [C99-based-standards] (PRIx16): Likewise.
9303 [C99-based-standards] (PRIX16): Likewise.
9304 [C99-based-standards] (SCNd16): Likewise.
9305 [C99-based-standards] (SCNi16): Likewise.
9306 [C99-based-standards] (SCNo16): Likewise.
9307 [C99-based-standards] (SCNu16): Likewise.
9308 [C99-based-standards] (SCNx16): Likewise.
9309 [C99-based-standards] (PRIdLEAST16): Likewise.
9310 [C99-based-standards] (PRIiLEAST16): Likewise.
9311 [C99-based-standards] (PRIoLEAST16): Likewise.
9312 [C99-based-standards] (PRIuLEAST16): Likewise.
9313 [C99-based-standards] (PRIxLEAST16): Likewise.
9314 [C99-based-standards] (PRIXLEAST16): Likewise.
9315 [C99-based-standards] (SCNdLEAST16): Likewise.
9316 [C99-based-standards] (SCNiLEAST16): Likewise.
9317 [C99-based-standards] (SCNoLEAST16): Likewise.
9318 [C99-based-standards] (SCNuLEAST16): Likewise.
9319 [C99-based-standards] (SCNxLEAST16): Likewise.
9320 [C99-based-standards] (PRIdFAST16): Likewise.
9321 [C99-based-standards] (PRIiFAST16): Likewise.
9322 [C99-based-standards] (PRIoFAST16): Likewise.
9323 [C99-based-standards] (PRIuFAST16): Likewise.
9324 [C99-based-standards] (PRIxFAST16): Likewise.
9325 [C99-based-standards] (PRIXFAST16): Likewise.
9326 [C99-based-standards] (SCNdFAST16): Likewise.
9327 [C99-based-standards] (SCNiFAST16): Likewise.
9328 [C99-based-standards] (SCNoFAST16): Likewise.
9329 [C99-based-standards] (SCNuFAST16): Likewise.
9330 [C99-based-standards] (SCNxFAST16): Likewise.
9331 [C99-based-standards] (PRId32): Likewise.
9332 [C99-based-standards] (PRIi32): Likewise.
9333 [C99-based-standards] (PRIo32): Likewise.
9334 [C99-based-standards] (PRIu32): Likewise.
9335 [C99-based-standards] (PRIx32): Likewise.
9336 [C99-based-standards] (PRIX32): Likewise.
9337 [C99-based-standards] (SCNd32): Likewise.
9338 [C99-based-standards] (SCNi32): Likewise.
9339 [C99-based-standards] (SCNo32): Likewise.
9340 [C99-based-standards] (SCNu32): Likewise.
9341 [C99-based-standards] (SCNx32): Likewise.
9342 [C99-based-standards] (PRIdLEAST32): Likewise.
9343 [C99-based-standards] (PRIiLEAST32): Likewise.
9344 [C99-based-standards] (PRIoLEAST32): Likewise.
9345 [C99-based-standards] (PRIuLEAST32): Likewise.
9346 [C99-based-standards] (PRIxLEAST32): Likewise.
9347 [C99-based-standards] (PRIXLEAST32): Likewise.
9348 [C99-based-standards] (SCNdLEAST32): Likewise.
9349 [C99-based-standards] (SCNiLEAST32): Likewise.
9350 [C99-based-standards] (SCNoLEAST32): Likewise.
9351 [C99-based-standards] (SCNuLEAST32): Likewise.
9352 [C99-based-standards] (SCNxLEAST32): Likewise.
9353 [C99-based-standards] (PRIdFAST32): Likewise.
9354 [C99-based-standards] (PRIiFAST32): Likewise.
9355 [C99-based-standards] (PRIoFAST32): Likewise.
9356 [C99-based-standards] (PRIuFAST32): Likewise.
9357 [C99-based-standards] (PRIxFAST32): Likewise.
9358 [C99-based-standards] (PRIXFAST32): Likewise.
9359 [C99-based-standards] (SCNdFAST32): Likewise.
9360 [C99-based-standards] (SCNiFAST32): Likewise.
9361 [C99-based-standards] (SCNoFAST32): Likewise.
9362 [C99-based-standards] (SCNuFAST32): Likewise.
9363 [C99-based-standards] (SCNxFAST32): Likewise.
9364 [C99-based-standards] (PRId64): Likewise.
9365 [C99-based-standards] (PRIi64): Likewise.
9366 [C99-based-standards] (PRIo64): Likewise.
9367 [C99-based-standards] (PRIu64): Likewise.
9368 [C99-based-standards] (PRIx64): Likewise.
9369 [C99-based-standards] (PRIX64): Likewise.
9370 [C99-based-standards] (SCNd64): Likewise.
9371 [C99-based-standards] (SCNi64): Likewise.
9372 [C99-based-standards] (SCNo64): Likewise.
9373 [C99-based-standards] (SCNu64): Likewise.
9374 [C99-based-standards] (SCNx64): Likewise.
9375 [C99-based-standards] (PRIdLEAST64): Likewise.
9376 [C99-based-standards] (PRIiLEAST64): Likewise.
9377 [C99-based-standards] (PRIoLEAST64): Likewise.
9378 [C99-based-standards] (PRIuLEAST64): Likewise.
9379 [C99-based-standards] (PRIxLEAST64): Likewise.
9380 [C99-based-standards] (PRIXLEAST64): Likewise.
9381 [C99-based-standards] (SCNdLEAST64): Likewise.
9382 [C99-based-standards] (SCNiLEAST64): Likewise.
9383 [C99-based-standards] (SCNoLEAST64): Likewise.
9384 [C99-based-standards] (SCNuLEAST64): Likewise.
9385 [C99-based-standards] (SCNxLEAST64): Likewise.
9386 [C99-based-standards] (PRIdFAST64): Likewise.
9387 [C99-based-standards] (PRIiFAST64): Likewise.
9388 [C99-based-standards] (PRIoFAST64): Likewise.
9389 [C99-based-standards] (PRIuFAST64): Likewise.
9390 [C99-based-standards] (PRIxFAST64): Likewise.
9391 [C99-based-standards] (PRIXFAST64): Likewise.
9392 [C99-based-standards] (SCNdFAST64): Likewise.
9393 [C99-based-standards] (SCNiFAST64): Likewise.
9394 [C99-based-standards] (SCNoFAST64): Likewise.
9395 [C99-based-standards] (SCNuFAST64): Likewise.
9396 [C99-based-standards] (SCNxFAST64): Likewise.
9397 [C99-based-standards] (PRIdMAX): Likewise.
9398 [C99-based-standards] (PRIiMAX): Likewise.
9399 [C99-based-standards] (PRIoMAX): Likewise.
9400 [C99-based-standards] (PRIuMAX): Likewise.
9401 [C99-based-standards] (PRIxMAX): Likewise.
9402 [C99-based-standards] (PRIXMAX): Likewise.
9403 [C99-based-standards] (SCNdMAX): Likewise.
9404 [C99-based-standards] (SCNiMAX): Likewise.
9405 [C99-based-standards] (SCNoMAX): Likewise.
9406 [C99-based-standards] (SCNuMAX): Likewise.
9407 [C99-based-standards] (SCNxMAX): Likewise.
9408 [C99-based-standards] (PRIdPTR): Likewise.
9409 [C99-based-standards] (PRIiPTR): Likewise.
9410 [C99-based-standards] (PRIoPTR): Likewise.
9411 [C99-based-standards] (PRIuPTR): Likewise.
9412 [C99-based-standards] (PRIxPTR): Likewise.
9413 [C99-based-standards] (PRIXPTR): Likewise.
9414 [C99-based-standards] (SCNdPTR): Likewise.
9415 [C99-based-standards] (SCNiPTR): Likewise.
9416 [C99-based-standards] (SCNoPTR): Likewise.
9417 [C99-based-standards] (SCNuPTR): Likewise.
9418 [C99-based-standards] (SCNxPTR): Likewise.
9419 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9420 allow.
9421 * conform/data/stdint.h-data: Update comments to clarify
9422 requirements.
9423 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9424 type.
9425 [C99-based standards] (INT8_MAX): Likewise.
9426 [C99-based standards] (INT16_MIN): Likewise.
9427 [C99-based standards] (INT16_MAX): Likewise.
9428 [C99-based standards] (INT32_MIN): Likewise.
9429 [C99-based standards] (INT32_MAX): Likewise.
9430 [C99-based standards] (INT64_MIN): Likewise.
9431 [C99-based standards] (INT64_MAX): Likewise.
9432 [C99-based standards] (UINT8_MAX): Likewise.
9433 [C99-based standards] (UINT16_MAX): Likewise.
9434 [C99-based standards] (UINT32_MAX): Likewise.
9435 [C99-based standards] (UINT64_MAX): Likewise.
9436 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9437 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9438 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9439 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9440 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9441 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9442 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9443 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9444 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9445 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9446 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9447 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9448 [C99-based standards] (INT_FAST8_MIN): Likewise.
9449 [C99-based standards] (INT_FAST8_MAX): Likewise.
9450 [C99-based standards] (INT_FAST16_MIN): Likewise.
9451 [C99-based standards] (INT_FAST16_MAX): Likewise.
9452 [C99-based standards] (INT_FAST32_MIN): Likewise.
9453 [C99-based standards] (INT_FAST32_MAX): Likewise.
9454 [C99-based standards] (INT_FAST64_MIN): Likewise.
9455 [C99-based standards] (INT_FAST64_MAX): Likewise.
9456 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9457 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9458 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9459 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9460 [C99-based standards] (INTPTR_MIN): Likewise.
9461 [C99-based standards] (INTPTR_MAX): Likewise.
9462 [C99-based standards] (UINTPTR_MAX): Likewise.
9463 [C99-based standards] (INTMAX_MIN): Likewise.
9464 [C99-based standards] (INTMAX_MAX): Likewise.
9465 [C99-based standards] (UINTMAX_MAX): Likewise.
9466 [C99-based standards] (PTRDIFF_MIN): Likewise.
9467 [C99-based standards] (PTRDIFF_MAX): Likewise.
9468 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9469 [C99-based standards] (SIZE_MAX): Likewise.
9470 [C99-based standards] (WCHAR_MAX): Likewise.
9471 [C99-based standards] (WINT_MAX): Likewise.
9472 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9473 constraint on value.
9474 [C99-based standards] (WCHAR_MIN): Likewise.
9475 [C99-based standards] (WINT_MIN): Likewise.
9476 [C99-based standards] (*_t): Allow.
9477 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9478 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9479 Include math.h-data and complex.h-data. Remove all expectations
9480 of math.h and complex.h contents.
9481 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9482 at end of line.
9483 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9484 (struct tm): Expect tag.
9485 [C99-based-standards] (wcstof): Expect function.
9486 [C99-based-standards] (wcstold): Likewise.
9487 [C99-based-standards] (wcstoll): Likewise.
9488 [C99-based-standards] (wcstoull): Likewise.
9489 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9490 macro-int-constant. Specify type.
9491 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9492 constraint on value.
9493 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9494 Specify type.
9495 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9496 Specify value.
9497 [ISO C standards]: Do not allow headers.
9498 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9499 wcs[abcdefghijklmnopqrstuvwxyz]*.
9500 [ISO C standards] (*_t): Do not allow.
9501 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9502 Expect function.
9503 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9504 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9505 Specify type.
9506 [ISO C standards]: Do not allow headers.
9507 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9508 is[abcdefghijklmnopqrstuvwxyz]*.
9509 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9510 to[abcdefghijklmnopqrstuvwxyz]*.
9511 [ISO C standards] (*_t): Do not allow.
9512 * conform/data/stdalign.h-data: New file.
9513 * conform/data/stdbool.h-data: Likewise.
9514 * conform/data/stdnoreturn.h-data: Likewise.
9515
7514feb8
RM
95162012-11-07 Roland McGrath <roland@hack.frob.com>
9517
9518 [BZ #14815]
9519 * manual/filesys.texi (Directory Entries): Typo fix.
9520 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9521
19b2ecfc
MS
95222012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9523
9524 * elf/elf.h (EM_AARCH64): New macro.
9525 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9526 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9527 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9528 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9529 (R_AARCH64_TLSDESC): Likewise.
9530 (NT_ARM_TLS): Likewise.
9531 (NT_ARM_HW_BREAK): Likewise.
9532 (NT_ARM_HW_WATCH): Likewise.
9533
60e235ee
JM
95342012-11-07 Joseph Myers <joseph@codesourcery.com>
9535
9536 [BZ #14811]
9537 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9538 (__ieee754_powl): Saturate nonzero exponents with absolute value
9539 below 0x1p-79 to +/- 0x1p-79.
9540 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9541 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9542 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9543 nonzero exponents with absolute value below 0x1p-32 to +/-
9544 0x1p-32.
9545 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9546 (__ieee754_powl): Saturate nonzero exponents with absolute value
9547 below 0x1p-79 to +/- 0x1p-79.
9548 * math/libm-test.inc (pow_test): Add more tests.
9549
0ab234b7
AK
95502012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9551
9552 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9553 _dl_s390_cap_flags with kernel. Increase string length.
9554 (_dl_s390_platforms): Add z196 and zEC12.
9555
45832f74
JM
95562012-11-07 Joseph Myers <joseph@codesourcery.com>
9557
9558 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9559 Change XOPEN21K to XOPEN2K.
9560
19218757
MK
95612012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9562
9563 * string/memmove.c: Use memcpy when possible.
9564
c5f45721
AJ
95652012-11-06 Andreas Jaeger <aj@suse.de>
9566
9567 * po/eo.po: Update from translation team.
9568
82477c28
JM
95692012-11-06 Joseph Myers <joseph@codesourcery.com>
9570
9571 [BZ #14793]
9572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9573 exponent and small x and y exponents, scale x or y up. Increase
9574 by 2 the exponent used in scaling up.
9575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9576 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9577 * math/libm-test.inc (fma_test): Add more tests.
9578 (fma_test_towardzero): Likewise.
9579 (fma_test_downward): Likewise.
9580 (fma_test_upward): Likewise.
9581
99252c8c
JM
95822012-11-05 Joseph Myers <joseph@codesourcery.com>
9583
acfa885f
JM
9584 [BZ #14805]
9585 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9586 fenv_t *.
9587
99252c8c
JM
9588 [BZ #14801]
9589 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9590 namespace for names of struct fields.
9591 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9592 fenv_t fields.
9593 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9594 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9595
d6d98dea
ST
95962012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9597
9598 [BZ #3665]
9599 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9600
e10bb107
TS
96012012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9602
9603 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9604 PTR_DEMANGLE.
9605
9606 [BZ #5246]
9607 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9608 PTR_DEMANGLE.
9609
a0c2940d
JM
96102012-11-04 Joseph Myers <joseph@codesourcery.com>
9611
9612 [BZ #14797]
9613 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9614 definitely overflow as x * y not x * y + z.
9615 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9616 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9617 * math/libm-test.inc (fma_test): Add more tests.
9618 (fma_test_towardzero): Likewise.
9619 (fma_test_downward): Likewise.
9620 (fma_test_upward): Likewise.
9621
b830319d
TS
96222012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9623
9624 [BZ #157]
9625
9626 * include/stub-tag.h: Remove file.
9627 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9628 '#include' of it.
9629 * manual/maint.texi (Porting): Don't reference it.
9630 * Makerules ($(objpfx)stubs): Likewise.
9631 * dirent/closedir.c: Don't include <stub-tag.h>.
9632 * dirent/dirfd.c: Likewise.
9633 * dirent/fdopendir.c: Likewise.
9634 * dirent/getdents.c: Likewise.
9635 * dirent/getdents64.c: Likewise.
9636 * dirent/opendir.c: Likewise.
9637 * dirent/readdir.c: Likewise.
9638 * dirent/readdir64.c: Likewise.
9639 * dirent/readdir64_r.c: Likewise.
9640 * dirent/readdir_r.c: Likewise.
9641 * dirent/rewinddir.c: Likewise.
9642 * dirent/seekdir.c: Likewise.
9643 * dirent/telldir.c: Likewise.
9644 * gmon/profil.c: Likewise.
9645 * grp/setgroups.c: Likewise.
9646 * inet/if_index.c: Likewise.
9647 * io/access.c: Likewise.
9648 * io/chdir.c: Likewise.
9649 * io/chmod.c: Likewise.
9650 * io/chown.c: Likewise.
9651 * io/close.c: Likewise.
9652 * io/dup.c: Likewise.
9653 * io/dup2.c: Likewise.
9654 * io/dup3.c: Likewise.
9655 * io/euidaccess.c: Likewise.
9656 * io/faccessat.c: Likewise.
9657 * io/fchdir.c: Likewise.
9658 * io/fchmod.c: Likewise.
9659 * io/fchmodat.c: Likewise.
9660 * io/fchown.c: Likewise.
9661 * io/fchownat.c: Likewise.
9662 * io/fcntl.c: Likewise.
9663 * io/flock.c: Likewise.
9664 * io/fstatfs.c: Likewise.
9665 * io/fstatfs64.c: Likewise.
9666 * io/fstatvfs.c: Likewise.
9667 * io/fstatvfs64.c: Likewise.
9668 * io/futimens.c: Likewise.
9669 * io/fxstat.c: Likewise.
9670 * io/fxstat64.c: Likewise.
9671 * io/fxstatat.c: Likewise.
9672 * io/fxstatat64.c: Likewise.
9673 * io/getcwd.c: Likewise.
9674 * io/isatty.c: Likewise.
9675 * io/lchmod.c: Likewise.
9676 * io/lchown.c: Likewise.
9677 * io/link.c: Likewise.
9678 * io/linkat.c: Likewise.
9679 * io/lseek.c: Likewise.
9680 * io/lseek64.c: Likewise.
9681 * io/lxstat64.c: Likewise.
9682 * io/mkdir.c: Likewise.
9683 * io/mkdirat.c: Likewise.
9684 * io/mkfifo.c: Likewise.
9685 * io/mkfifoat.c: Likewise.
9686 * io/open.c: Likewise.
9687 * io/open64.c: Likewise.
9688 * io/openat.c: Likewise.
9689 * io/openat64.c: Likewise.
9690 * io/pipe.c: Likewise.
9691 * io/pipe2.c: Likewise.
9692 * io/poll.c: Likewise.
9693 * io/posix_fadvise.c: Likewise.
9694 * io/posix_fadvise64.c: Likewise.
9695 * io/posix_fallocate.c: Likewise.
9696 * io/posix_fallocate64.c: Likewise.
9697 * io/read.c: Likewise.
9698 * io/readlink.c: Likewise.
9699 * io/readlinkat.c: Likewise.
9700 * io/rmdir.c: Likewise.
9701 * io/sendfile.c: Likewise.
9702 * io/sendfile64.c: Likewise.
9703 * io/statfs.c: Likewise.
9704 * io/statfs64.c: Likewise.
9705 * io/statvfs.c: Likewise.
9706 * io/statvfs64.c: Likewise.
9707 * io/symlink.c: Likewise.
9708 * io/symlinkat.c: Likewise.
9709 * io/ttyname.c: Likewise.
9710 * io/ttyname_r.c: Likewise.
9711 * io/umask.c: Likewise.
9712 * io/unlink.c: Likewise.
9713 * io/unlinkat.c: Likewise.
9714 * io/utime.c: Likewise.
9715 * io/utimensat.c: Likewise.
9716 * io/write.c: Likewise.
9717 * io/xmknod.c: Likewise.
9718 * io/xmknodat.c: Likewise.
9719 * io/xstat.c: Likewise.
9720 * io/xstat64.c: Likewise.
9721 * login/getpt.c: Likewise.
9722 * login/grantpt.c: Likewise.
9723 * login/unlockpt.c: Likewise.
9724 * math/e_acoshl.c: Likewise.
9725 * math/e_acosl.c: Likewise.
9726 * math/e_asinl.c: Likewise.
9727 * math/e_atan2l.c: Likewise.
9728 * math/e_atanhl.c: Likewise.
9729 * math/e_coshl.c: Likewise.
9730 * math/e_expl.c: Likewise.
9731 * math/e_fmodl.c: Likewise.
9732 * math/e_gammal_r.c: Likewise.
9733 * math/e_hypotl.c: Likewise.
9734 * math/e_j0l.c: Likewise.
9735 * math/e_j1l.c: Likewise.
9736 * math/e_jnl.c: Likewise.
9737 * math/e_lgammal_r.c: Likewise.
9738 * math/e_log10l.c: Likewise.
9739 * math/e_log2l.c: Likewise.
9740 * math/e_logl.c: Likewise.
9741 * math/e_powl.c: Likewise.
9742 * math/e_rem_pio2l.c: Likewise.
9743 * math/e_sinhl.c: Likewise.
9744 * math/e_sqrtl.c: Likewise.
9745 * math/fclrexcpt.c: Likewise.
9746 * math/fedisblxcpt.c: Likewise.
9747 * math/feenablxcpt.c: Likewise.
9748 * math/fegetenv.c: Likewise.
9749 * math/fegetexcept.c: Likewise.
9750 * math/fegetround.c: Likewise.
9751 * math/feholdexcpt.c: Likewise.
9752 * math/fesetenv.c: Likewise.
9753 * math/fesetround.c: Likewise.
9754 * math/feupdateenv.c: Likewise.
9755 * math/fgetexcptflg.c: Likewise.
9756 * math/fraiseexcpt.c: Likewise.
9757 * math/fsetexcptflg.c: Likewise.
9758 * math/ftestexcept.c: Likewise.
9759 * math/k_cosl.c: Likewise.
9760 * math/k_rem_pio2l.c: Likewise.
9761 * math/k_sinl.c: Likewise.
9762 * math/k_tanl.c: Likewise.
9763 * math/s_asinhl.c: Likewise.
9764 * math/s_atanl.c: Likewise.
9765 * math/s_cbrtl.c: Likewise.
9766 * math/s_erfl.c: Likewise.
9767 * math/s_expm1l.c: Likewise.
9768 * math/s_log1pl.c: Likewise.
9769 * math/s_tanhl.c: Likewise.
9770 * misc/acct.c: Likewise.
9771 * misc/brk.c: Likewise.
9772 * misc/chflags.c: Likewise.
9773 * misc/chroot.c: Likewise.
9774 * misc/fchflags.c: Likewise.
9775 * misc/fgetxattr.c: Likewise.
9776 * misc/flistxattr.c: Likewise.
9777 * misc/fremovexattr.c: Likewise.
9778 * misc/fsetxattr.c: Likewise.
9779 * misc/fsync.c: Likewise.
9780 * misc/ftruncate.c: Likewise.
9781 * misc/futimes.c: Likewise.
9782 * misc/futimesat.c: Likewise.
9783 * misc/getdomain.c: Likewise.
9784 * misc/getdtsz.c: Likewise.
9785 * misc/gethostid.c: Likewise.
9786 * misc/gethostname.c: Likewise.
9787 * misc/getloadavg.c: Likewise.
9788 * misc/getpagesize.c: Likewise.
9789 * misc/getsysstats.c: Likewise.
9790 * misc/getxattr.c: Likewise.
9791 * misc/gtty.c: Likewise.
9792 * misc/ioctl.c: Likewise.
9793 * misc/lgetxattr.c: Likewise.
9794 * misc/listxattr.c: Likewise.
9795 * misc/llistxattr.c: Likewise.
9796 * misc/lremovexattr.c: Likewise.
9797 * misc/lsetxattr.c: Likewise.
9798 * misc/lutimes.c: Likewise.
9799 * misc/madvise.c: Likewise.
9800 * misc/mincore.c: Likewise.
9801 * misc/mlock.c: Likewise.
9802 * misc/mlockall.c: Likewise.
9803 * misc/mmap.c: Likewise.
9804 * misc/mprotect.c: Likewise.
9805 * misc/msync.c: Likewise.
9806 * misc/munlock.c: Likewise.
9807 * misc/munlockall.c: Likewise.
9808 * misc/munmap.c: Likewise.
9809 * misc/preadv.c: Likewise.
9810 * misc/preadv64.c: Likewise.
9811 * misc/ptrace.c: Likewise.
9812 * misc/pwritev.c: Likewise.
9813 * misc/pwritev64.c: Likewise.
9814 * misc/readv.c: Likewise.
9815 * misc/reboot.c: Likewise.
9816 * misc/remap_file_pages.c: Likewise.
9817 * misc/removexattr.c: Likewise.
9818 * misc/revoke.c: Likewise.
9819 * misc/select.c: Likewise.
9820 * misc/setdomain.c: Likewise.
9821 * misc/setegid.c: Likewise.
9822 * misc/seteuid.c: Likewise.
9823 * misc/sethostid.c: Likewise.
9824 * misc/sethostname.c: Likewise.
9825 * misc/setregid.c: Likewise.
9826 * misc/setreuid.c: Likewise.
9827 * misc/setxattr.c: Likewise.
9828 * misc/sstk.c: Likewise.
9829 * misc/stty.c: Likewise.
9830 * misc/swapoff.c: Likewise.
9831 * misc/swapon.c: Likewise.
9832 * misc/sync.c: Likewise.
9833 * misc/syncfs.c: Likewise.
9834 * misc/syscall.c: Likewise.
9835 * misc/truncate.c: Likewise.
9836 * misc/ualarm.c: Likewise.
9837 * misc/usleep.c: Likewise.
9838 * misc/ustat.c: Likewise.
9839 * misc/utimes.c: Likewise.
9840 * misc/vhangup.c: Likewise.
9841 * misc/writev.c: Likewise.
9842 * posix/_exit.c: Likewise.
9843 * posix/alarm.c: Likewise.
9844 * posix/execve.c: Likewise.
9845 * posix/fexecve.c: Likewise.
9846 * posix/fork.c: Likewise.
9847 * posix/fpathconf.c: Likewise.
9848 * posix/getaddrinfo.c: Likewise.
9849 * posix/getegid.c: Likewise.
9850 * posix/geteuid.c: Likewise.
9851 * posix/getgid.c: Likewise.
9852 * posix/getgroups.c: Likewise.
9853 * posix/getlogin.c: Likewise.
9854 * posix/getlogin_r.c: Likewise.
9855 * posix/getpgid.c: Likewise.
9856 * posix/getpid.c: Likewise.
9857 * posix/getppid.c: Likewise.
9858 * posix/getresgid.c: Likewise.
9859 * posix/getresuid.c: Likewise.
9860 * posix/getsid.c: Likewise.
9861 * posix/getuid.c: Likewise.
9862 * posix/glob64.c: Likewise.
9863 * posix/nanosleep.c: Likewise.
9864 * posix/pathconf.c: Likewise.
9865 * posix/pause.c: Likewise.
9866 * posix/posix_madvise.c: Likewise.
9867 * posix/pread.c: Likewise.
9868 * posix/pread64.c: Likewise.
9869 * posix/pwrite.c: Likewise.
9870 * posix/pwrite64.c: Likewise.
9871 * posix/sched_getaffinity.c: Likewise.
9872 * posix/sched_getp.c: Likewise.
9873 * posix/sched_gets.c: Likewise.
9874 * posix/sched_primax.c: Likewise.
9875 * posix/sched_primin.c: Likewise.
9876 * posix/sched_rr_gi.c: Likewise.
9877 * posix/sched_setaffinity.c: Likewise.
9878 * posix/sched_setp.c: Likewise.
9879 * posix/sched_sets.c: Likewise.
9880 * posix/sched_yield.c: Likewise.
9881 * posix/setgid.c: Likewise.
9882 * posix/setlogin.c: Likewise.
9883 * posix/setpgid.c: Likewise.
9884 * posix/setresgid.c: Likewise.
9885 * posix/setresuid.c: Likewise.
9886 * posix/setsid.c: Likewise.
9887 * posix/setuid.c: Likewise.
9888 * posix/sleep.c: Likewise.
9889 * posix/spawni.c: Likewise.
9890 * posix/sysconf.c: Likewise.
9891 * posix/times.c: Likewise.
9892 * posix/wait.c: Likewise.
9893 * posix/wait3.c: Likewise.
9894 * posix/wait4.c: Likewise.
9895 * posix/waitpid.c: Likewise.
9896 * resolv/gai_sigqueue.c: Likewise.
9897 * resource/getpriority.c: Likewise.
9898 * resource/getrlimit.c: Likewise.
9899 * resource/getrusage.c: Likewise.
9900 * resource/nice.c: Likewise.
9901 * resource/setpriority.c: Likewise.
9902 * resource/setrlimit.c: Likewise.
9903 * resource/ulimit.c: Likewise.
9904 * rt/aio_cancel.c: Likewise.
9905 * rt/aio_fsync.c: Likewise.
9906 * rt/aio_read.c: Likewise.
9907 * rt/aio_sigqueue.c: Likewise.
9908 * rt/aio_suspend.c: Likewise.
9909 * rt/aio_write.c: Likewise.
9910 * rt/clock_getres.c: Likewise.
9911 * rt/clock_gettime.c: Likewise.
9912 * rt/clock_nanosleep.c: Likewise.
9913 * rt/clock_settime.c: Likewise.
9914 * rt/lio_listio.c: Likewise.
9915 * rt/mq_close.c: Likewise.
9916 * rt/mq_getattr.c: Likewise.
9917 * rt/mq_notify.c: Likewise.
9918 * rt/mq_open.c: Likewise.
9919 * rt/mq_receive.c: Likewise.
9920 * rt/mq_send.c: Likewise.
9921 * rt/mq_setattr.c: Likewise.
9922 * rt/mq_timedreceive.c: Likewise.
9923 * rt/mq_timedsend.c: Likewise.
9924 * rt/mq_unlink.c: Likewise.
9925 * rt/shm_open.c: Likewise.
9926 * rt/shm_unlink.c: Likewise.
9927 * rt/timer_create.c: Likewise.
9928 * rt/timer_delete.c: Likewise.
9929 * rt/timer_getoverr.c: Likewise.
9930 * rt/timer_gettime.c: Likewise.
9931 * rt/timer_settime.c: Likewise.
9932 * setjmp/__longjmp.c: Likewise.
9933 * setjmp/setjmp.c: Likewise.
9934 * signal/kill.c: Likewise.
9935 * signal/killpg.c: Likewise.
9936 * signal/raise.c: Likewise.
9937 * signal/sigaction.c: Likewise.
9938 * signal/sigaltstack.c: Likewise.
9939 * signal/sigblock.c: Likewise.
9940 * signal/sigignore.c: Likewise.
9941 * signal/sigintr.c: Likewise.
9942 * signal/signal.c: Likewise.
9943 * signal/sigpause.c: Likewise.
9944 * signal/sigpending.c: Likewise.
9945 * signal/sigqueue.c: Likewise.
9946 * signal/sigreturn.c: Likewise.
9947 * signal/sigset.c: Likewise.
9948 * signal/sigsetmask.c: Likewise.
9949 * signal/sigstack.c: Likewise.
9950 * signal/sigsuspend.c: Likewise.
9951 * signal/sigtimedwait.c: Likewise.
9952 * signal/sigvec.c: Likewise.
9953 * signal/sigwait.c: Likewise.
9954 * signal/sigwaitinfo.c: Likewise.
9955 * signal/sysv_signal.c: Likewise.
9956 * socket/accept.c: Likewise.
9957 * socket/accept4.c: Likewise.
9958 * socket/bind.c: Likewise.
9959 * socket/connect.c: Likewise.
9960 * socket/getpeername.c: Likewise.
9961 * socket/getsockname.c: Likewise.
9962 * socket/getsockopt.c: Likewise.
9963 * socket/isfdtype.c: Likewise.
9964 * socket/listen.c: Likewise.
9965 * socket/recv.c: Likewise.
9966 * socket/recvfrom.c: Likewise.
9967 * socket/recvmsg.c: Likewise.
9968 * socket/send.c: Likewise.
9969 * socket/sendmsg.c: Likewise.
9970 * socket/sendto.c: Likewise.
9971 * socket/setsockopt.c: Likewise.
9972 * socket/shutdown.c: Likewise.
9973 * socket/sockatmark.c: Likewise.
9974 * socket/socket.c: Likewise.
9975 * socket/socketpair.c: Likewise.
9976 * stdio-common/ctermid.c: Likewise.
9977 * stdio-common/cuserid.c: Likewise.
9978 * stdio-common/remove.c: Likewise.
9979 * stdio-common/rename.c: Likewise.
9980 * stdio-common/renameat.c: Likewise.
9981 * stdio-common/tempname.c: Likewise.
9982 * stdlib/getcontext.c: Likewise.
9983 * stdlib/makecontext.c: Likewise.
9984 * stdlib/setcontext.c: Likewise.
9985 * stdlib/swapcontext.c: Likewise.
9986 * stdlib/system.c: Likewise.
9987 * streams/fattach.c: Likewise.
9988 * streams/fdetach.c: Likewise.
9989 * streams/getmsg.c: Likewise.
9990 * streams/getpmsg.c: Likewise.
9991 * streams/putmsg.c: Likewise.
9992 * streams/putpmsg.c: Likewise.
9993 * sysdeps/unix/bsd/getpt.c: Likewise.
9994 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9995 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9996 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9998 Likewise.
9999 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10000 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10001 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10002 * sysvipc/msgctl.c: Likewise.
10003 * sysvipc/msgget.c: Likewise.
10004 * sysvipc/msgrcv.c: Likewise.
10005 * sysvipc/msgsnd.c: Likewise.
10006 * sysvipc/semctl.c: Likewise.
10007 * sysvipc/semget.c: Likewise.
10008 * sysvipc/semop.c: Likewise.
10009 * sysvipc/semtimedop.c: Likewise.
10010 * sysvipc/shmat.c: Likewise.
10011 * sysvipc/shmctl.c: Likewise.
10012 * sysvipc/shmdt.c: Likewise.
10013 * sysvipc/shmget.c: Likewise.
10014 * termios/tcdrain.c: Likewise.
10015 * termios/tcflow.c: Likewise.
10016 * termios/tcflush.c: Likewise.
10017 * termios/tcgetattr.c: Likewise.
10018 * termios/tcgetpgrp.c: Likewise.
10019 * termios/tcsendbrk.c: Likewise.
10020 * termios/tcsetattr.c: Likewise.
10021 * termios/tcsetpgrp.c: Likewise.
10022 * time/adjtime.c: Likewise.
10023 * time/clock.c: Likewise.
10024 * time/getitimer.c: Likewise.
10025 * time/gettimeofday.c: Likewise.
10026 * time/setitimer.c: Likewise.
10027 * time/settimeofday.c: Likewise.
10028 * time/stime.c: Likewise.
10029 * time/time.c: Likewise.
10030
100312012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10032
a20492cf
PT
10033 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10034 /usr/old/bin.
10035
72e182e3
PT
10036 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10037 instead of spaces.
10038 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10039
fbeafede
JM
100402012-11-03 Joseph Myers <joseph@codesourcery.com>
10041
5b5b04d6
JM
10042 [BZ #14796]
10043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10044 FE_TONEAREST before applying Dekker multiplication and Knuth
10045 addition. Clear inexact exceptions and check for exact zero
10046 results afterwards.
10047 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10048 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10049 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10050 * math/libm-test.inc (fma_test): Add more tests.
10051 (fma_test_towardzero): Likewise.
10052 (fma_test_downward): Likewise.
10053 (fma_test_upward): Likewise.
10054 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10055 function.
10056 (libc_fesetround): New macro.
10057 (libc_fesetroundf): Likewise.
10058 (libc_fesetroundl): Likewise.
10059 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10060 function.
10061 (libc_fesetround_387): Likewise.
10062 (libc_fesetroundf): New macro.
10063 (libc_fesetround): Likewise.
10064 (libc_fesetroundl): Likewise.
10065 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10066 function.
10067 (libc_fesetroundf): New macro.
10068 (libc_fesetround): Likewise.
10069 (libc_fesetroundl): Likewise.
10070 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10071 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10072 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10073 libm_hidden_ver.
10074 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10075 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10076 libm_hidden_def.
10077 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10078 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10079 libm_hidden_ver.
10080 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10081 libm_hidden_def.
10082
fbeafede
JM
10083 [BZ #3439]
10084 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10085 integer constant usable in #if and use that to give value to enum
10086 constant.
10087 (FE_DIVBYZERO): Likewise.
10088 (FE_UNDERFLOW): Likewise.
10089 (FE_OVERFLOW): Likewise.
10090 (FE_INVALID): Likewise.
10091 (FE_INVALID_SNAN): Likewise.
10092 (FE_INVALID_ISI): Likewise.
10093 (FE_INVALID_IDI): Likewise.
10094 (FE_INVALID_ZDZ): Likewise.
10095 (FE_INVALID_IMZ): Likewise.
10096 (FE_INVALID_COMPARE): Likewise.
10097 (FE_INVALID_SOFTWARE): Likewise.
10098 (FE_INVALID_SQRT): Likewise.
10099 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10100 (FE_TONEAREST): Likewise.
10101 (FE_TOWARDZERO): Likewise.
10102 (FE_UPWARD): Likewise.
10103 (FE_DOWNWARD): Likewise.
10104 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10105 (FE_DIVBYZERO): Likewise.
10106 (FE_OVERFLOW): Likewise.
10107 (FE_UNDERFLOW): Likewise.
10108 (FE_INEXACT): Likewise.
10109 (FE_TONEAREST): Likewise.
10110 (FE_DOWNWARD): Likewise.
10111 (FE_UPWARD): Likewise.
10112 (FE_TOWARDZERO): Likewise.
10113 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10114 (FE_UNDERFLOW): Likewise.
10115 (FE_OVERFLOW): Likewise.
10116 (FE_DIVBYZERO): Likewise.
10117 (FE_INVALID): Likewise.
10118 (FE_TONEAREST): Likewise.
10119 (FE_TOWARDZERO): Likewise.
10120 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10121 (FE_OVERFLOW): Likewise.
10122 (FE_UNDERFLOW): Likewise.
10123 (FE_DIVBYZERO): Likewise.
10124 (FE_INEXACT): Likewise.
10125 (FE_TONEAREST): Likewise.
10126 (FE_TOWARDZERO): Likewise.
10127 (FE_UPWARD): Likewise.
10128 (FE_DOWNWARD): Likewise.
10129 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10130 (FE_DIVBYZERO): Likewise.
10131 (FE_OVERFLOW): Likewise.
10132 (FE_UNDERFLOW): Likewise.
10133 (FE_INEXACT): Likewise.
10134 (FE_TONEAREST): Likewise.
10135 (FE_DOWNWARD): Likewise.
10136 (FE_UPWARD): Likewise.
10137 (FE_TOWARDZERO): Likewise.
10138
105ca950
CM
101392012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10140
10141 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10142
a542b389
AS
101432012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10144
10145 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10146 commands. Quote $PWD.
10147 (blacklist_exports): Don't use remove_newlines. Replace "declare
10148 -x" by "export".
10149 (remove_newlines): Remove.
10150
f62c8abc
L
101512012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10152
10153 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10154 * stdlib/stdlib.h (atof): Moved to ...
10155 * include/bits/stdlib-float.h: Here. New file.
10156 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10157 * stdlib/bits/stdlib-float.h: New file.
10158 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10159 -mno-sse -mno-mmx.
10160 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10161 <xmmintrin.h>.
10162
0155d5b2
JM
101632012-11-02 Joseph Myers <joseph@codesourcery.com>
10164
a68d0680
JM
10165 * conform/conformtest.pl (@headers): Add fenv.h.
10166 * conform/data/fenv.h-data: New file.
10167 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10168 include of <math/fenv.h>.
10169
caf7f573
JM
10170 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10171 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10172 && !UNIX98]. Enables tests for XOPEN2K8.
10173 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10174 POSIX2008]: Likewise.
10175
6c073ad6
JM
10176 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10177 (struct rusage): Do not expect type or its members.
10178
0155d5b2
JM
10179 [BZ #3439]
10180 * math/math.h (FP_NAN): Define macro to integer constant usable in
10181 #if and use that to give value to enum constant.
10182 (FP_INFINITE): Likewise.
10183 (FP_ZERO): Likewise.
10184 (FP_SUBNORMAL): Likewise.
10185 (FP_NORMAL): Likewise.
10186
b5dcacb4
AS
101872012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10188
10189 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10190 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10191 arguments.
10192
f7934be8
RM
101932012-11-02 Roland McGrath <roland@hack.frob.com>
10194
10195 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10196 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10197 autoconf-time if not.
10198 * configure.in: Remove AC_PREREQ.
10199
d7d08bde
TMQMF
102002012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10201
10202 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10203 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10204 of the internal implementation.
10205
dcdae19a
JM
102062012-11-02 Joseph Myers <joseph@codesourcery.com>
10207
10208 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10209 except include of <misc/sys/syslog.h>.
10210
d6cffd3e
AS
102112012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10212
10213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10214 function returns with a NULL context exit with zero.
10215
b3563932
TMQMF
102162012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10217
10218 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10219
b288a93d
L
102202012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10221
10222 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10223 (run_program_cmd): This.
10224 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10225 (tst_langinfo): New variable. Use it.
10226
a2421a68
SAS
102272012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10228
10229 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10230 floating point opcodes.
10231
6f796e1b
TS
102322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10233
7402596b
TS
10234 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10235 variable.
10236
d0d4f868
TS
10237 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10238
6f796e1b
TS
10239 * sysdeps/mach/hurd/powerpc: Remove directory.
10240 * sysdeps/mach/powerpc: Likewise.
10241
4da224a2
AS
102422012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10243
10244 * scripts/check-local-headers.sh: Ignore c++ headers.
10245
341dd673
TS
102462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10247
10248 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10249 __libc_cleanup_region_start argument.
10250
473611b2
JM
102512012-11-01 Joseph Myers <joseph@codesourcery.com>
10252
10253 [BZ #14784]
10254 [BZ #14785]
10255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10256 x * y using scaling, not as x * y + z.
10257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10258 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10259 * math/libm-test.inc (fma_test): Add more tests.
10260 (fma_test_towardzero): Likewise.
10261 (fma_test_downward): Likewise.
10262 (fma_test_upward): Likewise.
10263
4078da3d
TS
102642012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10265
10266 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10267
903252aa
JM
102682012-10-31 Joseph Myers <joseph@codesourcery.com>
10269
10270 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10271 New variable.
10272
cbc818d0
TS
102732012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10274
10275 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10276
5a03cb1e
AS
102772012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10278
10279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10280 Fix sort order.
10281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10282 Likewise.
10283
90aff2ff
TMQMF
102842012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10285
10286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10287 Fix the order of the list for glibc 2.17.
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10289 Likewise.
10290
1818fcb7
AS
102912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10292
10293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10294
ef82f4da
JM
102952012-10-31 Joseph Myers <joseph@codesourcery.com>
10296
16a0e2ec
JM
10297 [BZ #14610]
10298 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10299 for low part of x being zero before using __atanl (y).
10300 * math/libm-test.inc (atan2_test): Add another test.
10301
0eb69512
JM
10302 * manual/install.texi (Configuring and compiling): Document
10303 general use of test-wrapper and test-wrapper-env.
10304 * INSTALL: Regenerated.
10305
ef82f4da
JM
10306 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10307 (__fma): Do not extract and scale down low bits on after-rounding
10308 systems when result rounded to normal precision would have normal
10309 exponent.
10310 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10311 (__fmal): Do not extract and scale down low bits on after-rounding
10312 systems when result rounded to normal precision would have normal
10313 exponent.
10314 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10315 (__fmal): Do not extract and scale down low bits on after-rounding
10316 systems when result rounded to normal precision would have normal
10317 exponent.
10318 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10319 macro.
10320 (fma_test): Add more tests.
10321 (fma_test_towardzero): Likewise.
10322 (fma_test_downward): Likewise.
10323 (fma_test_upward): Likewise.
10324
954ef0d9
L
103252012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10326
10327 * sysdeps/i386/tininess.h: Renamed to ...
10328 * sysdeps/x86/tininess.h: This.
10329 * sysdeps/x86_64/tininess.h: Removed.
10330
df61ffb2
JM
103312012-10-30 Joseph Myers <joseph@codesourcery.com>
10332
10333 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10334 input. Use $(build-program-cmd).
10335 ($(objpfx)tst-array1-static.out): Likewise.
10336 ($(objpfx)tst-array2.out): Likewise.
10337 ($(objpfx)tst-array3.out): Likewise.
10338 ($(objpfx)tst-array4.out): Likewise.
10339 ($(objpfx)tst-array5.out): Likewise.
10340 ($(objpfx)tst-array5-static.out): Likewise.
10341
01767843
CM
103422012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10343
47cc1490
CM
10344 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10345 if defined.
10346
01767843
CM
10347 * nss/nsswitch.h (nss_interface_function): Provide new
10348 macro for use with NSS functions.
10349 * grp/initgroups.c: Use new macro.
10350 * nss/getXXbyYY.c: Likewise.
10351 * nss/getXXbyYY_r.c: Likewise.
10352 * nss/getXXent.c: Likewise.
10353 * nss/getXXent_r.c: Likewise.
10354 * sysdeps/posix/getaddrinfo.c: Likewise.
10355
8321aa97
AJ
103562012-10-30 Andreas Jaeger <aj@suse.de>
10357
10358 * po/ru.po: Update Russion translation from translation project.
10359
2a27fd6d
JM
103602012-10-30 Joseph Myers <joseph@codesourcery.com>
10361
8627a232
JM
10362 [BZ #14152]
10363 [BZ #14783]
10364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10365 result and shift together with sticky bit instead of replicating
10366 round-to-nearest rounding.
10367 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10368 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10369 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10370 missing underflow exceptions.
10371 (fma_test_towardzero): Add more tests.
10372 (fma_test_downward): Likewise.
10373 (fma_test_upward): Likewise.
10374
2a27fd6d
JM
10375 [BZ #14047]
10376 * sysdeps/generic/tininess.h: New file.
10377 * sysdeps/i386/tininess.h: Likewise.
10378 * sysdeps/sh/tininess.h: Likewise.
10379 * sysdeps/x86_64/tininess.h: Likewise.
10380 * stdlib/tst-strtod-underflow.c: Likewise.
10381 * stdlib/tst-tininess.c: Likewise.
10382 * stdlib/strtod_l.c: Include <tininess.h>.
10383 (round_and_return): Do not set errno for exact underflow cases.
10384 Force an underflow exception when setting errno for underflow.
10385 Determine underflow based on rounding to normal precision if
10386 TININESS_AFTER_ROUNDING.
10387 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10388 ERANGE for exact underflow cases.
10389 * stdlib/Makefile (tests): Add tst-tininess and
10390 tst-strtod-underflow.
10391 ($(objpfx)tst-tininess): Use $(link-libm).
10392 ($(objpfx)tst-strtod-underflow): Likewise.
10393
e7170363
AJ
103942012-10-30 Andreas Jaeger <aj@suse.de>
10395
e5088dc6
AJ
10396 [BZ#14767]
10397 * elf/Makefile (tests): Remove conditional for have-initfini-array
10398 since this is now always required and the variable does not exist
10399 anymore.
10400 (tests-static): Likewise.
10401 (modules-names): Likewise.
10402
e7170363 10403 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10404
10405 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10406 merged with constructor/destructor.
10407 (init_array): Likewise.
10408 * elf/tst-array2dep.c (fini_array): Likewise.
10409 (init_array): Likewise.
10410
60457d8a
MF
104112012-10-29 Mike Frysinger <vapier@gentoo.org>
10412
10413 * manual/message.texi: Delete @cartouche tags.
10414
8bece752
PT
104152012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10416
94ce799f
PT
10417 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10418 EOPNOTSUPP.
10419 * sysdeps/mach/hurd/fsync.c: Likewise.
10420
8bece752
PT
10421 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10422 [_POSIX_REALTIME_SIGNALS]: Change condition to
10423 [_POSIX_REALTIME_SIGNALS > 0].
10424
86ebe6b1
AJ
104252012-10-27 Andreas Jaeger <aj@suse.de>
10426
10427 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10428 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10429 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10430 [__WORDSIZE != 64]: Likewise.
10431
54399c08
L
104322012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10433
10434 * iconvdata/tst-table.sh: Remove ${SHELL}.
10435 * iconvdata/tst-tables.sh: Likewise.
10436
e2211bed
DM
104372012-10-25 David S. Miller <davem@davemloft.net>
10438
10439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10440 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10441 of strtoull.
10442
f303f97c
DM
10443 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10444 ifunc-impl-list.c
10445 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10446 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10447 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10448 file.
10449
1e9d84cd
RM
104502012-10-25 Roland McGrath <roland@hack.frob.com>
10451
10452 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10453 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10454 __getdirentries.
10455
df381762
JM
104562012-10-25 Joseph Myers <joseph@codesourcery.com>
10457 Jim Blandy <jimb@codesourcery.com>
10458
10459 * scripts/cross-test-ssh.sh: New file.
10460 * manual/install.texi (Configuring and compiling): Document use of
10461 cross-test-ssh.sh.
10462 * INSTALL: Regenerated.
10463
bff64913
PT
104642012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10465
10466 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10467 EOPNOTSUPP.
10468
25fe8932
JM
104692012-10-25 Joseph Myers <joseph@codesourcery.com>
10470
10471 * Makeconfig (run-program-prefix): Fix comment.
10472
cc1290d0
JM
104732012-10-24 Joseph Myers <joseph@codesourcery.com>
10474 Jim Blandy <jimb@codesourcery.com>
10475
10476 * Makeconfig (test-wrapper): New variable,
10477 (test-wrapper-env): Likewise.
10478 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10479 (run-built-tests): Define to yes.
10480 (run-program-prefix): Use $(test-wrapper).
10481 (built-program-cmd): Likewise.
10482 * Rules (make-test-out): Use $(test-wrapper-env) and
10483 $(host-built-program-cmd).
10484 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10485 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10486 tst-pathopt.sh.
10487 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10488 $(test-wrapper-env) to tst-rtld-load-self.sh.
10489 ($(objpfx)order2.out): Use $(test-wrapper).
10490 ($(objpfx)tst-initorder.out): Likewise.
10491 ($(objpfx)tst-initorder2.out): Likewise.
10492 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10493 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10494 (test_wrapper_env): New variable. Use it to run ld.so.
10495 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10496 Use it to run ld.so.
10497 (test_wrapper_env): Likewise.
10498 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10499 $(test-wrapper) to run-iconv-test.sh.
10500 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10501 (ICONV): Use $test_wrapper.
10502 * posix/Makefile ($(objpfx)globtest.out): Pass
10503 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10504 globtest.sh, not $(run-program-prefix).
10505 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10506 (test_wrapper): Likewise.
10507 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10508 set together with run_via_rtld_prefix.
10509 (run_program_prefix): Define in terms of test_wrapper and
10510 run_via_rtld_prefix.
10511
6e6249d0
RM
105122012-10-24 Roland McGrath <roland@hack.frob.com>
10513
10514 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10515 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10516 Targets removed.
10517
10518 [BZ #14743]
10519 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10520 Declare __clock_getres, __clock_gettime, __clock_settime,
10521 __clock_nanosleep, and __clock_getcpuclockid.
10522 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10523 Remove librt_hidden_def (clock_gettime).
10524 * sysdeps/unix/clock_gettime.c: Likewise.
10525 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10526 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10527 * rt/clock_getres.c: Define __clock_getres as an alias.
10528 * sysdeps/posix/clock_getres.c: Likewise.
10529 * rt/clock_settime.c: Define __clock_settime as an alias.
10530 * sysdeps/unix/clock_settime.c: Likewise.
10531 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10532 * sysdeps/unix/clock_nanosleep.c: Likewise.
10533 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10534 * rt/clock-compat.c: New file.
10535 * rt/Makefile (librt-routines): Add clock-compat and move
10536 $(clock-routines) to ...
10537 (routines): ... here, new variable.
10538 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10539 Don't add get_clockfreq here.
10540 * rt/Versions (libc: GLIBC_2.17): New version set.
10541 Add clock_* symbols here.
10542 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10543 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10544 (GLIBC_2.17): Add clock_* symbols.
10545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10547 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10549 Likewise.
10550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10551 Likewise.
10552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10556 * NEWS: Mention the move.
10557
10558 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10559 Use __open, __read, __close rather than their public counterparts.
10560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10561 (__get_clockfreq_via_cpuinfo): Likewise.
10562 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10563 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10564
10565 * config.h.in (HAVE_IFUNC): New #undef.
10566 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10567 was successful.
10568 * configure: Regenerated.
10569
0cae3f4b
MF
105702012-10-24 Mike Frysinger <vapier@gentoo.org>
10571
10572 * configure.in: Move READELF check to start of file.
10573 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10574 libc_cv_asm_gnu_indirect_function in the process.
10575 * configure: Regenerated.
10576
8175a253
MF
105772012-10-24 Mike Frysinger <vapier@gentoo.org>
10578
10579 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10580 send the output to /dev/null.
10581 (libc_cv_cc_with_libunwind): Likewise.
10582 (libc_cv_as_noexecstack): Likewise.
10583 * configure: Regenerate.
10584
0708a7d1
JM
105852012-10-24 Joseph Myers <joseph@codesourcery.com>
10586
10b40d85
JM
10587 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10588
0708a7d1
JM
10589 * posix/globtest.sh (TMPDIR): Do not set.
10590 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10591 (testout): Likewise.
10592
9fddec1a
AJ
105932012-10-24 Andreas Jaeger <aj@suse.de>
10594
3a8db22f
AJ
10595 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10596 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10597 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10598 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10599 posix_fadvise64, posix_fallocate64.
10600
9fddec1a
AJ
10601 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10602 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10603 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10604 Likewise.
10605 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10606 Likewise.
10607 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10608
10609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10610 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10611 <bits/fcntl-linux.h>.
10612 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10613
10614 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10615 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10616 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10617 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10618 [__WORDSIZE != 64]: Likewise.
10619
ebfd1bbd
JM
106202012-10-23 Joseph Myers <joseph@codesourcery.com>
10621
03ac099f
JM
10622 * Makeconfig (run-built-tests): New variable.
10623 * Rules [$(cross-compiling) = yes]: Change condition to
10624 [$(run-built-tests) = no].
10625 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10626 to [$(run-built-tests) = yes].
10627 * elf/Makefile [$(cross-compiling) = no]: Likewise
10628 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10629 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10630 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10631 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10632 * io/Makefile [$(cross-compiling) = no]: Likewise.
10633 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10634 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10635 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10636 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10637 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10638 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10639 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10640 * string/Makefile [$(cross-compiling) = no]: Likewise.
10641
ebfd1bbd
JM
10642 * posix/Makefile ($(objpfx)globtest.out): Pass
10643 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10644 $(rtld-installed-name).
10645 * posix/globtest.sh (elf_objpfx): Remove variable.
10646 (rtld_installed_name): Likewise.
10647 (library_path): Likewise.
10648 (run_program_prefix): New variable. Use for running globtest
10649 binary.
10650
166bca24
JB
106512012-10-23 Jim Blandy <jimb@codesourcery.com>
10652 Joseph Myers <joseph@codesourcery.com>
10653
10654 * Makeconfig (host-built-program-cmd): New variable.
10655 * elf/Makefile (tst-stackguard1-ARGS): Use
10656 $(host-built-program-cmd).
10657 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10658 (tst-spawn-ARGS): Likewise.
10659 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10660
88866099
JM
106612012-10-23 Joseph Myers <joseph@codesourcery.com>
10662 Jim Blandy <jimb@codesourcery.com>
10663
10664 * Makeconfig (run-via-rtld-prefix): New variable.
10665 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10666 (built-program-cmd): Likewise.
10667
b4b4c296
AJ
106682012-10-22 Andreas Jaeger <aj@suse.de>
10669
10670 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10671 __O_RSYNC if it exists, otherwise to O_SYNC.
10672
6fb54a22
JB
106732012-10-22 Jim Blandy <jimb@codesourcery.com>
10674 Joseph Myers <joseph@codesourcery.com>
10675
10676 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10677 /dev/null.
10678 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10679 from /dev/null
10680 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10681 /dev/null.
10682
481b90b9
AJ
106832012-10-22 Andreas Jaeger <aj@suse.de>
10684
2a0e2669
AJ
10685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10686 Define always.
10687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10688
76e38f9a
AJ
10689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10690 bits/fcntl-linux.h.
10691
7cd37b43
AJ
10692 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10693 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10694
481b90b9
AJ
10695 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10696 to __O_LARGEFILE.
10697 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10698 to __O_LARGEFILE.
10699
aba75984
JB
107002012-10-21 Jim Blandy <jimb@codesourcery.com>
10701 Joseph Myers <joseph@codesourcery.com>
10702
10703 * config.make.in (NM): New variable.
10704
88d4247f
AJ
107052012-10-21 Andreas Jaeger <aj@suse.de>
10706
10707 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10708 definitions and declarations that are provided by
10709 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10710
f2eed205
L
107112012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10712
10713 [BZ #14683]
10714 * elf/Makefile (tests-static): Add tst-leaks1-static.
10715 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10716 ($(objpfx)tst-leaks1-static): New rule.
10717 ($(objpfx)tst-leaks1-static-mem): Likewise.
10718 (tst-leaks1-static-ENV): New macro.
10719 * elf/dl-open.c (dl_open_worker): Check the main application
10720 only if SHARED is defined.
10721 * elf/tst-leaks1-static.c: New file.
10722
335e6931
AJ
107232012-10-20 Andreas Jaeger <aj@suse.de>
10724
10725 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10726 generic values for Linux.
10727 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10728 and declarations that are provided by <bits/fcntl-linux.h> and
10729 include <bits/fcntl-linux.h>.
10730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10732
ac5c94d3
RM
107332012-10-20 Roland McGrath <roland@hack.frob.com>
10734
10735 * io/fcntl.h: Move include of <bits/types.h> to the top and
10736 include it unconditionally.
10737
de54b33a
L
107382012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10739
228cfb01
L
10740 * wcsmbs/Makefile (tests-ifunc): New variable.
10741 (tests): Add $(tests-ifunc).
10742 * wcsmbs/test-wcschr-ifunc.c: New file.
10743 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10744 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10745 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10746 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10747 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10748
69f07e5f
L
10749 * string/Makefile (tests-ifunc): New variable.
10750 (tests): Add $(tests-ifunc).
10751 * string/test-memccpy.c (TEST_NAME): New macro.
10752 * string/test-memchr.c (TEST_NAME): Likewise.
10753 * string/test-memcmp.c (TEST_NAME): Likewise.
10754 * string/test-memcpy.c (TEST_NAME): Likewise.
10755 * string/test-memmem.c (TEST_NAME): Likewise.
10756 * string/test-memmove.c (TEST_NAME): Likewise.
10757 * string/test-memset.c (TEST_NAME): Likewise.
10758 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10759 * string/test-stpcpy.c (TEST_NAME): Likewise.
10760 * string/test-stpncpy.c (TEST_NAME): Likewise.
10761 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10762 * string/test-strcasestr.c (TEST_NAME): Likewise.
10763 * string/test-strcat.c (TEST_NAME): Likewise.
10764 * string/test-strchr.c (TEST_NAME): Likewise.
10765 * string/test-strcmp.c(TEST_NAME): Likewise.
10766 * string/test-strcpy.c (TEST_NAME): Likewise.
10767 * string/test-strcspn.c (TEST_NAME): Likewise.
10768 * string/test-strlen.c (TEST_NAME): Likewise.
10769 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10770 * string/test-strncmp.c (TEST_NAME): Likewise.
10771 * string/test-strncpy.c (TEST_NAME): Likewise.
10772 * string/test-strnlen.c (TEST_NAME): Likewise.
10773 * string/test-strpbrk.c (TEST_NAME): Likewise.
10774 * string/test-strrchr.c (TEST_NAME): Likewise.
10775 * string/test-strspn.c (TEST_NAME): Likewise.
10776 * string/test-strstr.c (TEST_NAME): Likewise.
10777 * string/test-bcopy-ifunc.c: New file.
10778 * string/test-bzero-ifunc.c: Likewise.
10779 * string/test-memccpy-ifunc.c: Likewise.
10780 * string/test-memchr-ifunc.c: Likewise.
10781 * string/test-memcmp-ifunc.c: Likewise.
10782 * string/test-memcpy-ifunc.c: Likewise.
10783 * string/test-memmem-ifunc.c: Likewise.
10784 * string/test-memmove-ifunc.c: Likewise.
10785 * string/test-mempcpy-ifunc.c: Likewise.
10786 * string/test-memset-ifunc.c: Likewise.
10787 * string/test-rawmemchr-ifunc.c: Likewise.
10788 * string/test-stpcpy-ifunc.c: Likewise.
10789 * string/test-stpncpy-ifunc.c: Likewise.
10790 * string/test-strcasecmp-ifunc.c: Likewise.
10791 * string/test-strcasestr-ifunc.c: Likewise.
10792 * string/test-strcat-ifunc.c: Likewise.
10793 * string/test-strchr-ifunc.c: Likewise.
10794 * string/test-strchrnul-ifunc.c: Likewise.
10795 * string/test-strcmp-ifunc.c: Likewise.
10796 * string/test-strcpy-ifunc.c: Likewise.
10797 * string/test-strcspn-ifunc.c: Likewise.
10798 * string/test-strlen-ifunc.c: Likewise.
10799 * string/test-strncasecmp-ifunc.c: Likewise.
10800 * string/test-strncat-ifunc.c: Likewise.
10801 * string/test-strncmp-ifunc.c: Likewise.
10802 * string/test-strncpy-ifunc.c: Likewise.
10803 * string/test-strnlen-ifunc.c: Likewise.
10804 * string/test-strpbrk-ifunc.c: Likewise.
10805 * string/test-strrchr-ifunc.c: Likewise.
10806 * string/test-strspn-ifunc.c: Likewise.
10807 * string/test-strstr-ifunc.c: Likewise.
10808
de54b33a
L
10809 * debug/Makefile (tests-ifunc): New variable.
10810 (tests): Add $(tests-ifunc).
10811 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10812 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10813 * debug/test-stpcpy_chk-ifunc.c: New file.
10814 * debug/test-strcpy_chk-ifunc.c: Likewise.
10815
88481c16
SP
108162012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10817
10818 [BZ #13601]
10819 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10820 header is not read in.
10821
135948bd
JM
108222012-10-19 Joseph Myers <joseph@codesourcery.com>
10823
89f1c388
JM
10824 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10825 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10826 directly. Pass built executable to script as
10827 $(built-program-cmd).
10828 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10829 $testprogram without using LD_LIBRARY_PATH and $ldso.
10830
e40a0d21
JM
10831 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10832 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10833 $(rtld-installed-name).
10834 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10835 (rtld_installed_name): Likewise.
10836 (library_path): Likewise.
10837 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10838 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10839 $(run-program-prefix) to tst-tables.sh.
10840 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10841 it to run tst-table-from and tst-table-to.
10842 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10843 Pass it to tst-table.sh.
10844 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10845 $(run-program-prefix) to tst-gettext.sh.
10846 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10847 tst-translit.sh.
10848 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10849 tst-gettext2.sh.
10850 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10851 to run tst-gettext.
10852 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10853 to run tst-gettext2.
10854 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10855 to run tst-translit.
10856 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10857 $(run-program-prefix) to tst-mtrace.sh.
10858 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10859 to run tst-mtrace.
10860 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10861 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10862 $(rtld-installed-name).
10863 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10864 (rtld_installed_name): Likewise.
10865 (run_program_prefix): New variable. Use it to run wordexp-test.
10866
728e272a
JM
10867 * Makeconfig (ARCH): Remove all definitions.
10868 (machine): Likewise.
10869 [ARCH]: Remove conditional code.
10870 [!objdir]: Give error.
10871 [!objdir] (objpfx): Remove.
10872 [!objdir] (common-objpfx): Likewise.
10873 [!objdir] (common-objdir): Likewise.
10874 * configure.in (config_makefile): Remove. Hardcode Makefile in
10875 AC_CONFIG_FILES call.
10876 * configure: Regenerated.
10877
d528cdcf
JM
10878 [BZ #13888]
10879 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10880 or TMPDIR.
10881 (testout): Likewise.
10882
135948bd
JM
10883 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10884 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10885 $(rtld-installed-name).
10886 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10887 (rtld_installed_name): Likwise.
10888 (runit): Remove function.
10889 (run_getconf): New variable, Use it for running getconf binary.
10890
38c78296
L
108912012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10892
10893 [BZ #14716]
10894 * string/test-memmem.c (check_result): New function.
10895 (do_one_test): Use it.
10896 (check1): New function.
10897 (test_main): Use it.
10898
d077f65f
MT
108992012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10900
10901 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10902
ced52c71
JM
109032012-10-18 Joseph Myers <joseph@codesourcery.com>
10904
10905 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10906 (_G_LSEEK64): Likewise.
10907 (_G_MMAP64): Likewise.
10908 (_G_FSTAT64): Likewise.
10909 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10910 (_G_LSEEK64): Likewise.
10911 (_G_MMAP64): Likewise.
10912 (_G_FSTAT64): Likewise.
10913 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10914 unconditional. Call __mmap64 directly.
10915 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10916 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10917 __lseek64 directly.
10918 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10919 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10920 __mmap64 directly.
10921 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10922 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10923 __lseek64 directly.
10924 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10925 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10926 __lseek64 directly.
10927 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10928 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10929 __lseek64 directly.
10930 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10931 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10932 __fxstat64 directly.
10933 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10934 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10935 unconditional.
10936 (freopen64) [!_G_OPEN64]: Remove conditional code.
10937 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10938 unconditional.
10939 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10940 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10941 unconditional.
10942 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10943 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10944 unconditional.
10945 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10946 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10947 unconditional.
10948 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10949 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10950 unconditional.
10951 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10952 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10953 unconditional.
10954 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10955 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10956 unconditional.
10957 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10958
b741de23
SP
109592012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10960
10961 [BZ #12140]
10962 * manual/memory.texi (Malloc Tunable Parameters): Add note
10963 about free list pointers overwriting some perturb bytes.
10964 Wording suggested by Roland McGrath.
10965
f9b9d9c9
JM
109662012-10-17 Joseph Myers <joseph@codesourcery.com>
10967
10968 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10969 (lgamma_test): Likewise.
10970 (tgamma_test): Likewise.
10971
172a631a
FW
109722012-10-16 Florian Weimer <fweimer@redhat.com>
10973
10974 [BZ #14700]
10975 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10976 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10977
e9f37252
MK
109782012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10979
10980 * NEWS: Mention BZ #14716.
10981 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10982 when removing AVAILABLE1_USES_J macro.
10983
d394eb74
L
109842012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10985
10986 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10987 (__bswap_64): __uint64_t for unsigned 64-bit int.
10988
ca38dc17
AS
109892012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10990
10991 * include/string.h (memmem): Declare libc hidden alias.
10992 * string/memmem.c (memmem): Define libc hidden alias.
10993 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10994 __read, __close instead of open, read, close.
10995
9a387d1f
L
109962012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10997
ac49ecaf
L
10998 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10999 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11000 global and hidden.
11001 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11002 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11003 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11004 Likewise.
11005 (__rawmemchr_sse2): Likewise.
11006 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11007 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11008 (__strchr_sse2): Likewise.
11009 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11010 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11011 (__strcasecmp_sse2): Likewise.
11012 (__strncasecmp_sse2): Likewise.
11013 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11014 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11015 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11016 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11017 (__strrchr_sse2): Likewise.
11018 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11019 ifunc-impl-list.c.
11020 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11021 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11022 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11023 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11024 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11025 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11026 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11027 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11028 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11029 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11030 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11031 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11032 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11033 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11034 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11035 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11036 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11037 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11038 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11039 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11040 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11041 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11042 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11043 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11044 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11045 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11046 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11047 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11048 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11049 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11050
b090e8ea
L
11051 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11052 global and hidden.
11053 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11054 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11055 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11056 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11057 Likewise.
11058 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11059 Likewise.
11060 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11061 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11062 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11063 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11064 ifunc-impl-list.c.
11065 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11066 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11067 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11068 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11069 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11070 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11071 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11072 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11073 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11074 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11075 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11076 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11077 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11078 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11079 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11080 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11081 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11082 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11083 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11084 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11085 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11086 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11087 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11088 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11089 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11090 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11091 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11092 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11093 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11094 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11095 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11096 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11097 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11098 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11099 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11100 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11101 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11102 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11103 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11104 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11105 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11106
11dd4af6
L
11107 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11108 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11109 * include/ifunc-impl-list.h: New file.
11110 * misc/ifunc-impl-list.c: Likewise.
11111 * misc/Makefile (routines): Add ifunc-impl-list.
11112 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11113 * string/test-string.h: Include <ifunc-impl-list.h>.
11114 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11115 impl_array): New variables.
11116 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11117 are defined.
11118 (test_init): Call __libc_ifunc_impl_list to initialize
11119 func_list if TEST_IFUNC and TEST_NAME are defined.
11120
9a387d1f
L
11121 * string/Makefile (strop-tests): Add bcopy and bzero.
11122 * string/test-bcopy.c: New file.
11123 * string/test-bzero.c: Likewise.
11124 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11125 defined.
11126 * string/test-memset.c: Support bzero test if TEST_BZERO is
11127 defined.
11128 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11129 __libc_memmove.
11130 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11131 __libc_memset.
11132 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11133 of memset.
11134
472371b9
JM
111352012-10-10 Joseph Myers <joseph@codesourcery.com>
11136
1e4a9536
JM
11137 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11138 * configure: Regenerated.
11139
d173d12e
JM
11140 * Makeconfig (+link-static-before-libc): Don't include
11141 $(link-static-libc).
11142
472371b9
JM
11143 * libio/libio.h (_IO_pos_t): Remove.
11144
89a3ad0b
AO
111452012-10-10 Alexandre Oliva <aoliva@redhat.com>
11146
11147 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11148 McGrath.
11149
e7451425
AO
111502012-10-10 Alexandre Oliva <aoliva@redhat.com>
11151
11152 * crypt/crypt-entry.c: Include fips-private.h.
11153 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11154 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11155 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11156 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11157
4ba74a35
AO
111582012-10-10 Alexandre Oliva <aoliva@redhat.com>
11159
11160 * crypt/crypt-private.h: Include stdbool.h.
11161 (_ufc_setup_salt_r): Return bool.
11162 * crypt/crypt-entry.c: Include errno.h.
11163 (__crypt_r): Return NULL with EINVAL for bad salt.
11164 * crypt/crypt_util.c (bad_for_salt): New.
11165 (_ufc_setup_salt_r): Check that salt is long enough and within
11166 the specified alphabet.
11167 * crypt/badsalttest.c: New file.
11168 * crypt/Makefile (tests): Add it.
11169 ($(objpfx)badsalttest): New.
11170
f96f1242
MK
111712012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11172
11173 * NEWS: Add entry for BZ #14602.
11174
0e8e0c1c
JM
111752012-10-09 Joseph Myers <joseph@codesourcery.com>
11176
11177 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11178 type-generic.
11179 * math/libm-test.inc: Update comment listing what functions and
11180 macros are tested.
11181 (isgreater_test): New function.
11182 (isgreaterequal_test): Likewise.
11183 (isless_test): Likewise.
11184 (islessequal_test): Likewise.
11185 (islessgreater_test): Likewise.
11186 (isunordered_test): Likewise.
11187 (main): Call the new functions.
11188
273edc5e
RM
111892012-10-09 Roland McGrath <roland@hack.frob.com>
11190
b8493de0
RM
11191 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11192 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11193 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11194 * sysdeps/i386/configure: Regenerated.
11195 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11196 * sysdeps/mach/configure: Regenerated.
11197 * sysdeps/mach/hurd/configure: Regenerated.
11198 * sysdeps/powerpc/configure: Regenerated.
11199 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11200 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11201 * sysdeps/s390/s390-32/configure: Regenerated.
11202 * sysdeps/s390/s390-64/configure: Regenerated.
11203 * sysdeps/sh/configure: Regenerated.
11204 * sysdeps/sparc/configure: Regenerated.
11205 * sysdeps/unix/sysv/linux/configure: Regenerated.
11206 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11207 * sysdeps/x86_64/configure: Regenerated.
11208
273edc5e
RM
11209 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11210 defined. Don't check if MAP is NULL.
11211
c8450f70
JM
112122012-10-09 Joseph Myers <joseph@codesourcery.com>
11213
11214 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11215 (_G_stat64): Likewise.
11216 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11217 (_G_stat64): Likewise.
11218 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11219 instead of struct _G_stat64.
11220 * libio/fileops.c (mmap_remap_check): Likewise.
11221 (decide_maybe_mmap): Likewise.
11222 (_IO_new_file_seekoff): Likewise.
11223 (_IO_file_stat): Likewise.
11224 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11225 _G_off64_t.
11226 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11227 instead of struct _G_stat64.
11228 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11229
57e605ba
MK
112302012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11231
11232 [BZ #14602]
11233 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11234 Replace with ...
11235 (CHECK_EOL): New macro.
11236 (two_way_short_needle): Check beginning of haystack for EOL. Use
11237 CHECK_EOL.
11238 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11239 Replace with CHECK_EOL.
11240 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11241 Replace with CHECK_EOL.
11242
ef1bb361
JM
112432012-10-08 Joseph Myers <joseph@codesourcery.com>
11244
11245 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11246 type-generic.
11247 * math/libm-test.inc: Update comment listing what functions and
11248 macros are tested.
11249 (finite_test): New function.
11250 (isinf_test): Likewise.
11251 (isnan_test): Likewise.
11252 (fpclassify_test): Test subnormal input.
11253 (isfinite_test): Likewise.
11254 (isnormal_test): Likewise.
11255 (main): Call the new functions.
11256
55f11534
JN
112572012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11258
11259 [BZ #14660]
11260 * Makerules (%.dynsym): Force C locale when running
11261 $(OBJDUMP) --dynamic-syms.
11262
1ab29350
AS
112632012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11264
11265 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11266 <stdint.h>.
11267
f1ecb7ef
DM
112682012-10-06 David S. Miller <davem@davemloft.net>
11269
11270 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11271 upper 32-bits of the length value in %o2 since we use branch-on-register
11272 tests which consider the entire 64-bit register.
11273
5d41d91a
L
112742012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11275
11276 * string/test-strstr.c (check2): Add a test for page boundary.
11277
3baddb72
DM
112782012-10-05 David S. Miller <davem@davemloft.net>
11279
11280 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11281 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11282 file.
11283 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11284 sysdep_routines.
11285 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11286 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11287 and bzero when HWCAP_SPARC_CRYPTO is present.
11288
9cee5585
L
112892012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11290
d7e0dab9
L
11291 [BZ #14602]
11292 * string/test-strstr.c (check2): New function.
11293 (test_main): Call check2.
11294
03759f47
L
11295 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11296 and bug-strchr1.
11297 * string/bug-strcasestr1.c (do_test): Moved to ...
11298 * string/test-strcasestr.c (check1): Here. New function.
11299 (do_one_test): Break out result checking code into ...
11300 (check_result): This. New function.
11301 (do_one_test): Call check_result.
11302 (test_main): Call check1.
11303 * string/bug-strchr1.c (do_test): Moved to ...
11304 * string/test-strchr.c (check1): Here. New function.
11305 (do_one_test): Break out result checking code into ...
11306 (check_result): This. New function.
11307 (do_one_test): Call check_result.
11308 (test_main): Call check1.
11309 * string/bug-strstr1.c (main): Moved to ...
046f153e 11310 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11311 (do_one_test): Break out result checking code into ...
11312 (check_result): This. New function.
11313 (do_one_test): Call check_result.
11314 (test_main): Call check1.
11315 * string/bug-strcasestr1.c: Removed.
11316 * string/bug-strchr1.c: Likewise.
11317 * string/bug-strstr1.c: Likewise.
11318
53cea63e
L
11319 * elf/Makefile (dl-routines): Add hwcaps.
11320 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11321 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11322 (_dl_important_hwcaps): Moved to ...
11323 * elf/dl-hwcaps.c: Here. New file.
11324 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11325
9cee5585 11326 [BZ #14557]
bb859b06
L
11327 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11328 if IS_IN_rtld isn't defined.
11329
9cee5585
L
11330 * elf/dl-support.c (_dl_sysinfo_map): New.
11331 Include "get-dynamic-info.h" and "setup-vdso.h".
11332 (_dl_non_dynamic_init): Call setup_vdso.
11333 * elf/dynamic-link.h: Don't include <assert.h>.
11334 (elf_get_dynamic_info): Moved to ...
11335 * elf/get-dynamic-info.h: Here. New file.
11336 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11337 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11338 * elf/setup-vdso.h: Here. New file.
11339 * elf/rtld.c: Include "setup-vdso.h".
11340 (dl_main): Call setup_vdso.
11341
23c31b76
JM
113422012-10-05 Joseph Myers <joseph@codesourcery.com>
11343
28234b07
JM
11344 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11345 creal in comment listing functions tested. List finite, isinf,
11346 isnan, isless, islessequal, isgreater, isgreaterequal,
11347 islessgreater, isunordered, lgamma_r and pow10 as functions and
11348 macros not tested. Mention which functions not tested are aliases
11349 for other functions. Fix typo. Note that signs of NaNs are not
11350 tested.
11351
23c31b76
JM
11352 * scripts/config.guess: Update from config.git.
11353 * scripts/config.sub: Likewise.
11354
9043e228
RM
113552012-10-04 Roland McGrath <roland@hack.frob.com>
11356
11357 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11358 * misc/madvise.c (madvise): Renamed to __madvise.
11359 Make madvise a weak alias.
11360 * include/sys/mman.h: Declare __madvise.
11361 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11362 * sysdeps/unix/syscalls.list
11363 (madvise): Make __madvise the strong name, and madvise a weak alias.
11364 * sysdeps/unix/sysv/linux/syscalls.list
11365 (madvise, mmap): Remove redundant entries.
11366 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11367 * malloc/malloc.c (mtrim): Likewise.
11368 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11369
f57f8055
RM
113702012-10-03 Roland McGrath <roland@hack.frob.com>
11371
11372 * sysdeps/mach/hurd/dl-cache.c: File removed.
11373 * config.h.in (USE_LDCONFIG): New #undef.
11374 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11375 * configure: Regenerated.
11376 * elf/Makefile (dl-routines): Add dl-cache only under
11377 [$(use-ldconfig) = yes].
11378 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11379 cache on [USE_LDCONFIG].
11380 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11381 [USE_LDCONFIG].
11382 * elf/rtld.c (dl_main): Likewise.
11383
5bb0c10a
PT
113842012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11385
11386 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11387 _SC_LEVEL4_CACHE_LINESIZE.
11388
010188c6
RM
113892012-10-03 Roland McGrath <roland@hack.frob.com>
11390
11391 * sysdeps/unix/bsd/confstr.h: File removed.
11392
b6c5ec07
AO
113932012-10-02 Alexandre Oliva <aoliva@redhat.com>
11394
11395 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11396 sys/sdt-config.h.
11397
408223d4
RM
113982012-10-02 Roland McGrath <roland@hack.frob.com>
11399
11400 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11401 Make 'mapoff' field ElfW(Off) rather than off_t.
11402
bb9510dc
DL
114032012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11404
fc997c6e
DL
11405 * nscd/Makefile: Remove nscd-cflags and all its users.
11406 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11407 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11408
bb9510dc
DL
11409 [BZ #10631]
11410 * malloc.c (malloc_printerr): Clarify error message.
11411
05699367
L
114122012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11413
11414 [BZ #14648]
11415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11416 Set bit_FMA_Usable if FMA is supported.
11417 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11418 macro.
11419 (bit_FMA4_Usable): Updated.
11420 (index_FMA_Usable): New macro.
11421 (CPUID_FMA): Likewise
11422 (HAS_FMA): Defined with bit_FMA_Usable.
11423
51367701
RM
114242012-10-01 Roland McGrath <roland@hack.frob.com>
11425
11426 * bits/types.h (__swblk_t): Type removed.
11427 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11428 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11429 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11430 (__SWBLK_T_TYPE): Likewise.
11431 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11432 (__SWBLK_T_TYPE): Likewise.
11433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11434 (__SWBLK_T_TYPE): Likewise.
11435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11436 (__SWBLK_T_TYPE): Likewise.
11437
4d57bf63 114382012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11439 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11440
11441 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11442 (xdr_mapname): Use YPMAXMAP as maxsize.
11443 (xdr_peername): Use YPMAXPEER as maxsize.
11444 (xdr_keydat): Use YPAXRECORD as maxsize.
11445 (xdr_valdat): Use YPMAXRECORD as maxsize.
11446
93c65d43
RM
114472012-10-01 Roland McGrath <roland@hack.frob.com>
11448
497a03d6
RM
11449 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11450
93c65d43
RM
11451 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11452 * csu/init-first.c: ... here.
11453 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11454 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11455 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11456 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11457 * sysdeps/i386/init-first.c: File removed.
11458 * sysdeps/sh/init-first.c: File removed.
11459
bec749fd
JM
114602012-10-01 Joseph Myers <joseph@codesourcery.com>
11461
11462 [BZ #14645]
11463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11464 if x * y might underflow to zero and z is zero.
11465 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11466 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11467 * math/libm-test.inc (min_subnorm_value): New variable.
11468 (fma_test): Add more tests.
11469 (fma_test_towardzero): Likewise.
11470 (fma_test_downward): Likewise
11471 (fma_test_upward): Likewise.
11472 (initialize): Set min_subnorm_value.
11473
8ec5b013
JM
114742012-09-29 Joseph Myers <joseph@codesourcery.com>
11475
11476 [BZ #14638]
11477 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11478 0 + 0.
11479 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11480 mode for addition resulting in exact zero.
11481 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11483 exact 0 + 0.
11484 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11485 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11486 * math/libm-test.inc (fma_test): Add more tests.
11487 (fma_test_towardzero): New function.
11488 (fma_test_downward): Likewise.
11489 (fma_test_upward): Likewise.
11490 (main): Call the new functions.
11491
b1fa802e
DM
114922012-09-28 David S. Miller <davem@davemloft.net>
11493
11494 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11495
d3b9fd9e
RM
114962012-09-28 Roland McGrath <roland@hack.frob.com>
11497
ea4d37b3
RM
11498 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11499 instead of SIGALRM.
11500
ac51c949
RM
11501 * sysdeps/gnu/_G_config.h: Moved to ...
11502 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11503 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11504 * sysdeps/generic/_G_config.h: ... here.
11505
28c195f7
RM
11506 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11507
848917f9
RM
11508 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11509
6bacf05b
RM
11510 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11511 Conditionalize target on [libnss_test1.so-version].
11512
91363dbb
RM
11513 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11514
cc87f7d8
RM
11515 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11516 (elfobjdir): Move out of conditionals.
11517
b1c608fe
RM
11518 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11519 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11520 (__nss_lookup_function): Conditionalize label remove_from_tree on
11521 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11522
1d9a6d96
DM
115232012-09-28 David S. Miller <davem@davemloft.net>
11524
11525 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11526 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11527 file.
11528 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11529 sysdep_routines.
11530 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11532 when HWCAP_SPARC_CRYPTO is present.
11533
72581615
PT
115342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11535
11536 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11537
715a900c
JL
115382012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11539
11540 [BZ #6530]
11541 * stdio-common/vfprintf.c (process_string_arg): Revert
11542 2000-07-22 change.
11543
115442011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11545
11546 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11547 for testcase.
11548 * stdio-common/tst-sprintf.c: Include <locale.h>
11549 (main): Test sprintf's handling of incomplete multibyte
11550 characters.
11551
9bac1d86
L
115522012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11553
11554 * elf/dl-runtime.c (VERSYMIDX): Removed.
11555 * elf/dl-version.c (VERSYMIDX): Likewise.
11556 * elf/do-rel.h (VERSYMIDX): Likewise.
11557 (VALIDX): Likewise.
11558 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11559 * elf/rtld.c (VALIDX): Likewise.
11560 (ADDRIDX): Likewise.
9bac1d86
L
11561 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11562 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11563 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
11564 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11565 (VALIDX): Likewise.
11566 (ADDRIDX): Likewise.
9bac1d86 11567
b31606c0
PT
115682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11569
11570 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11571
11541177
JL
115722012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11573
11574 [BZ #11438]
11575 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11576 to global scope.
11577 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11578 addresses are in the same scope as 192.0.2/24.
11579 * posix/gai.conf: Document new scope table defaults.
11580
adb26fae
SP
115812012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11582
11583 [BZ #5298]
11584 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11585 for ftell. Compute offsets from write pointers instead.
11586 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11587
4573c6b0
SP
115882012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11589
11590 [BZ #14543]
11591 * libio/Makefile (tests): New test case tst-fseek.
11592 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11593 combination works in wide mode.
11594 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11595 state when the external buffer state changes.
11596
aa9bbfe6
DM
115972012-09-27 David S. Miller <davem@davemloft.net>
11598
11599 [BZ #14376]
11600 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11601 pass reloc->r_addend in as the 'high' argument to
11602 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11603
784421e7
DM
11604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11605
c39bc8b8
PT
116062012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11607
11608 * rt/tst-aio2.c: Include <pthread.h>.
11609 * rt/tst-aio3.c: Likewise.
11610
1ccc2399
SE
116112012-09-27 Steve Ellcey <sellcey@mips.com>
11612
11613 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11614
31ed4153
L
116152012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11616
25f5f885
L
11617 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11618 contents on [SHARED].
31ed4153 11619
b7bfe116
MP
116202012-09-26 Marek Polacek <polacek@redhat.com>
11621
11622 [BZ #14530]
11623 [BZ #13741]
11624 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11625 for C++ and GCC <4.3 as well as for non GCC compilers.
11626
43c4edba
MT
116272012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11628
11629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11630
6a1bf82f
RM
116312012-09-25 Roland McGrath <roland@hack.frob.com>
11632
11633 * Makefile.in (all, install): Declare with .PHONY.
11634 Reported by Michael Hope <michael.hope@linaro.org>.
11635
8ad11b9a
TMQMF
116362012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11637
11638 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11639 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11640 system header.
11641 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11642 Likewise.
11643 (sydep_routines): Add the new and the internal functions.
11644 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11645 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11647 (GLIBC_2.17): Add the new function.
11648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11649 (GLIBC_2.17): Likewise.
11650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11651 (GLIBC_2.17): Likewise.
11652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11653 (GLIBC_2.17): Likewise.
11654 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11655
7e2fca8d
AM
116562012-09-25 Alan Modra <amodra@gmail.com>
11657
11658 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11659 Add release barrier before setting once_control to say
11660 initialisation is done. Add hints on lwarx. Use macro in
11661 place of isync.
11662 (clear_once_control): Add release barrier.
11663
b87c4b24
JM
116642012-09-25 Joseph Myers <joseph@codesourcery.com>
11665
d032e0d2
JM
11666 [BZ #13629]
11667 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11668 specially.
11669 * math/s_clog10.c (__clog10): Likewise.
11670 * math/s_clog10f.c (__clog10f): Likewise.
11671 * math/s_clog10l.c (__clog10l): Likewise.
11672 * math/s_clogf.c (__clogf): Likewise.
11673 * math/s_clogl.c (__clogl): Likewise.
11674 * math/Makefile (libm-calls): Add x2y2m1.
11675 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11676 (__x2y2m1): Likewise.
11677 (__x2y2m1l): Likewise.
11678 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11679 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11680 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11681 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11682 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11683 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11684 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11685 * sysdeps/i386/fpu/libm-test-ulps: Update.
11686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11687
b87c4b24
JM
11688 [BZ #14621]
11689 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11690 int as type of variable DEPTH.
11691 (glob): Use size_t instead of int as type of variables NEWCOUNT
11692 and OLD_PATHC.
11693
6d3bf199
LD
116942012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11695
22bf5c17
LD
11696 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11697 Add s_sincosf-sse2.
11698 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11699 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11700 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11701 macros for using routine as __sincosf_ia32.
11702 Use macro for function declaration and weak_alias.
11703 * sysdeps/i386/fpu/libm-test-ulps: Update.
11704
11705 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11707
11708 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
11709 subnormal argument.
11710 * math/s_cexpf.c (__cexpf): Likewise.
11711 * math/s_csinf.c (__csinf): Likewise.
11712 * math/s_csinhf.c (__csinhf): Likewise.
11713 * math/s_ctanf.c (__ctanf): Likewise.
11714 * math/s_ctanhf.c (__ctanhf): Likewise.
11715 * math/s_ccosh.c (__ccoshf): Likewise.
11716 * math/s_cexp.c (__cexpl): Likewise.
11717 * math/s_csin.c (__csin): Likewise.
11718 * math/s_csinh.c (__csinh): Likewise.
11719 * math/s_ctan.c (__ctan): Likewise.
11720 * math/s_ctanh.c (ctanh): Likewise.
11721 * math/s_ccoshl.c (__ccoshl): Likewise.
11722 * math/s_cexpl.c (__cexpl): Likewise.
11723 * math/s_csinl.c (__csinl): Likewise.
11724 * math/s_csinhl.c (__csinhl): Likewise.
11725 * math/s_ctanl.c (__ctanl): Likewise.
11726 * math/s_ctanhl.c (__ctanhl): Likewise.
11727
203e5603
JM
117282012-09-25 Joseph Myers <joseph@codesourcery.com>
11729
11730 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11731 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11732 (_IO_off_t): Define to __off_t, not _G_off_t.
11733 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11734 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11735 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11736 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11737 type of __dummy and __dummy2 fields.
11738 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11739 (_G_ssize_t): Likewise.
11740 (_G_off_t): Likewise.
11741 (_G_pid_t): Likewise.
11742 (_G_uid_t): Likewise.
11743 (_G_wchar_t): Likewise.
11744 (_G_wint_t): Likewise.
11745 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11746 (_G_ssize_t): Likewise.
11747 (_G_off_t): Likewise.
11748 (_G_pid_t): Likewise.
11749 (_G_uid_t): Likewise.
11750 (_G_wchar_t): Likewise.
11751 (_G_wint_t): Likewise.
11752 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11753 (_G_ssize_t): Likewise.
11754 (_G_off_t): Likewise.
11755 (_G_pid_t): Likewise.
11756 (_G_uid_t): Likewise.
11757 (_G_wchar_t): Likewise.
11758 (_G_wint_t): Likewise.
11759
9fab36eb
SP
117602012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11761
11762 * malloc/arena.c: Include malloc-sysdep.h.
11763 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11764 is sufficient to shrink the heap or an unmap is needed.
11765 * sysdeps/generic/malloc-sysdep.h: New file. Define
11766 new function check_may_shrink_heap.
11767 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11768 new function check_may_shrink_heap.
11769
2b4f00d1
SP
117702012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11771
11772 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11773 comments.
11774
9a9028b1
DL
117752012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11776
57c69bef
DL
11777 * catgets/test-gencat.sh: Add "set -e".
11778 * elf/tst-pathopt.sh: Likewise.
11779 * grp/tst_fgetgrent.sh: Likewise.
11780 * iconvdata/run-iconv-test.sh: Likewise.
11781 * intl/tst-gettext.sh: Likewise.
11782 * intl/tst-gettext2.sh: Likewise.
11783 * intl/tst-gettext4.sh: Likewise.
11784 * intl/tst-gettext6.sh: Likewise.
11785 * intl/tst-translit.sh: Likewise.
11786 * io/ftwtest-sh: Likewise.
11787 * libio/test-freopen.sh: Likewise.
11788 * malloc/tst-mtrace.sh: Likewise.
11789 * posix/globtest.sh: Likewise.
11790 * posix/tst-getconf.sh: Likewise.
11791 * posix/wordexp-tst.sh: Likewise.
11792 * stdio-common/tst-printf.sh: Likewise.
11793 * stdio-common/tst-unbputc.sh: Likewise.
11794 * stdlib/tst-fmtmsg.sh: Likewise.
11795 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11796 * catgets/Makefile: Do not specify -e option when running
11797 testsuite shell scripts.
11798 * elf/Makefile: Likewise.
11799 * grp/Makefile: Likewise.
11800 * iconvdata/Makefile: Likewise.
11801 * intl/Makefile: Likewise.
11802 * io/Makefile: Likewise.
11803 * libio/Makefile: Likewise.
11804 * malloc/Makefile: Likewise.
11805 * posix/Makefile: Likewise.
11806 * stdio-common/Makefile: Likewise.
11807 * stdlib/Makefile: Likewise.
11808 * sysdeps/x86_64/Makefile: Likewise.
11809
9a9028b1
DL
11810 * io/ftwtest-sh: Add copyright header.
11811 * posix/globtest.sh: Likewise.
11812 * posix/tst-getconf.sh: Likewise.
11813 * posix/wordexp-tst.sh: Likewise.
11814 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11815
ced6f16e
L
118162012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11817
94b32c39
L
11818 [BZ #13679]
11819 * Makeconfig (+link): Defined as $(+link-static) if
11820 $(build-shared) isn't yes.
11821 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11822 isn't yes.
11823 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11824
189e935b
L
11825 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11826
ced6f16e
L
11827 [BZ #14562]
11828 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11829 new chunk size with MALLOC_ALIGN_MASK.
11830
a9f8e53a
JM
118312012-09-24 Joseph Myers <joseph@codesourcery.com>
11832
11833 [BZ #5044]
11834 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11835 <rounding-mode.h>.
11836 (__printf_fphex): Determine rounding using get_rounding_mode and
11837 round_away.
11838 * stdio-common/tst-printf-round.c (struct hex_test): New
11839 structure.
11840 (hex_tests): New variable.
11841 (test_hex_in_one_mode): New function.
11842 (do_test): Also run tests for hex float output.
11843
43153109
JM
118442012-09-21 Joseph Myers <joseph@codesourcery.com>
11845
11846 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11847 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11848 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11849 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11850 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11851 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11852 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11853 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11854
8a26625d
JM
118552012-09-20 Joseph Myers <joseph@codesourcery.com>
11856
11857 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11858 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11859 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11860 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11861
f3fd569c
DL
118622012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11863
11864 [BZ #14579]
11865 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11866 mode only.
11867 * elf/tst-rtld-load-self.sh: New test.
11868 * elf/Makefile: Run it.
11869
63bbedd4
JM
118702012-09-18 Joseph Myers <joseph@codesourcery.com>
11871
11872 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11873 (tst-writev-ENV): Remove.
11874 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11875
626f8b6a
CM
118762012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11877
11878 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11879
b7aaa4d6
JM
118802012-09-17 Joseph Myers <joseph@codesourcery.com>
11881
11882 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11883 unconditional.
11884 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11885 Likewise.
11886 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11887 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11888 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11889 Likewise.
11890
65513990
L
118912012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11892
11893 [BZ #14587]
11894 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11895 * config.make.in (have-cpp-asm-debuginfo): Removed.
11896 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11897 * configure: Regenerated.
11898
784761be
JM
118992012-09-14 Joseph Myers <joseph@codesourcery.com>
11900
11901 [BZ #5044]
11902 * stdio-common/printf_fp.c: Include <stdbool.h> and
11903 <rounding-mode.h>.
11904 (___printf_fp): Determine rounding using get_rounding_mode and
11905 round_away.
11906 * stdio-common/tst-printf-round.c: New file.
11907 * stdio-common/Makefile (tests): Add tst-printf-round.
11908 (link-libm): New variable.
11909 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11910
9503345f
L
119112012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11912
11913 [BZ #14576]
11914 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11915 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11916 Likewise.
11917 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11918 Likewise.
11919
ad35fc00
JM
119202012-09-13 Joseph Myers <joseph@codesourcery.com>
11921
11922 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11923 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11924 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11925 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11926
6c9b0f68
JM
119272012-09-12 Joseph Myers <joseph@codesourcery.com>
11928
11929 [BZ #14518]
11930 * include/rounding-mode.h: New file.
11931 * sysdeps/generic/get-rounding-mode.h: Likewise.
11932 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11933 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11934 (MAX_VALUE): New macro.
11935 (MIN_VALUE): Likewise.
11936 (overflow_value): New function.
11937 (underflow_value): Likewise.
11938 (round_and_return): Use overflow_value and underflow_value to
11939 determine return values in overflow and underflow cases. Use
11940 round_away to determine rounding depending on rounding mode.
11941 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11942 determine return values in overflow and underflow cases.
11943 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11944 (struct test_results): New structure.
11945 (struct test): Use struct test_results to store expected results
11946 for all rounding modes.
11947 (TEST): Include expected results for all rounding modes.
11948 (test_in_one_mode): New function.
11949 (do_test): Use test_in_one_mode to compute and check results.
11950 Check results for all rounding modes.
11951 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11952 $(link-libm).
11953
19fcedd5
AM
119542012-12-09 Allan McRae <allan@archlinux.org>
11955
1e9d84cd 11956 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 11957
8bbfd2f1
JM
119582012-09-11 Joseph Myers <joseph@codesourcery.com>
11959
11960 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11961 (_G_int32_t): Likewise.
11962 (_G_uint16_t): Likewise.
11963 (_G_uint32_t): Likewise.
11964 (_G_HAVE_BOOL): Likewise.
11965 (_G_HAVE_ATEXIT): Likewise.
11966 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11967 (_G_HAVE_IO_FILE_OPEN): Likewise.
11968 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11969 (_G_int32_t): Likewise.
11970 (_G_uint16_t): Likewise.
11971 (_G_uint32_t): Likewise.
11972 (_G_HAVE_BOOL): Likewise.
11973 (_G_HAVE_ATEXIT): Likewise.
11974 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11975 (_G_HAVE_IO_FILE_OPEN): Likewise.
11976 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11977 (_G_int32_t): Likewise.
11978 (_G_uint16_t): Likewise.
11979 (_G_uint32_t): Likewise.
11980 (_G_HAVE_BOOL): Likewise.
11981 (_G_HAVE_ATEXIT): Likewise.
11982 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11983 (_G_HAVE_IO_FILE_OPEN): Likewise.
11984
b1dc5912
L
119852012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11986
11987 * csu/libc-tls.c: Update copyright years.
11988
0e886ef9
JM
119892012-09-10 Joseph Myers <joseph@codesourcery.com>
11990
28361c5e
JM
11991 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11992 [!_G_USING_THUNKS]: Remove conditional code.
11993 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11994 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11995
0e886ef9
JM
11996 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11997 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11998 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11999 (_G_VTABLE_LABEL_PREFIX): Likewise.
12000 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12001 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12002 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12003 (_G_VTABLE_LABEL_PREFIX): Likewise.
12004 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12005 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12006 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12007 (_G_VTABLE_LABEL_PREFIX): Likewise.
12008 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12009
bcba7aa2
L
120102012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12011
12012 * libio/Makefile: Include ../Makeconfig before tests.
12013 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12014 only if $(build-shared) is yes.
12015
06585ee8
L
12016 * iconv/gconv_db.c: Update copyright years.
12017
80ccd52c
LD
120182012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12019
12020 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12021 unwind info if defined PIC. Fix special cases description.
12022 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12023
12024 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12025 DP_HI_MASK entry.
12026 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12027
691bc9c1
L
120282012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12029
3d9b46b3
L
12030 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12031
de2139a9
L
12032 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12033 is NULL.
12034
5ca78dd0
L
12035 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12036 (LDLIBS-tst-chk4): This.
12037 (LDFLAGS-tst-chk5): Renamed to ...
12038 (LDLIBS-tst-chk5): This.
12039 (LDFLAGS-tst-chk6): Renamed to ...
12040 (LDLIBS-tst-chk6): This.
12041 (LDFLAGS-tst-lfschk4): Renamed to ...
12042 (LDLIBS-tst-lfschk4): This.
12043 (LDFLAGS-tst-lfschk5): Renamed to ...
12044 (LDLIBS-tst-lfschk5): This.
12045 (LDFLAGS-tst-lfschk6): Renamed to ...
12046 (LDLIBS-tst-lfschk6): This.
12047
691bc9c1
L
12048 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12049 on $(common-objpfx)soversions.mk.
12050
65cafb1c
JM
120512012-09-07 Joseph Myers <joseph@codesourcery.com>
12052
12053 [BZ #10014]
12054 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12055 example host name.
12056
c78ab094
SP
120572012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12058
12059 * malloc/arena.c (arena_get_retry): New function that gets
12060 another arena for the caller to try its request on.
12061 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12062 current arena cannot fulfill the request.
12063 (__libc_memalign): Likewise.
12064 (__libc_memalign): Likewise.
12065 (__libc_pvalloc): Likewise.
12066 (__libc_calloc): Likewise.
12067
01f49f59
JT
120682012-09-05 John Tobey <john.tobey@gmail.com>
12069
12070 [BZ #13542]
12071 * manual/arith.texi (Operations on Complex): Fix description
12072 of carg branch cut.
12073
4c23fed5
JM
120742012-09-06 Joseph Myers <joseph@codesourcery.com>
12075
1d3c8572
JM
12076 [BZ #10014]
12077 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12078 host name.
12079
4c23fed5
JM
12080 [BZ #10038]
12081 * manual/memory.texi (Memory): Make order of menu items match
12082 order of sections.
12083
04570aaa
L
120842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12085
12086 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12087 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12088 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12089
b80af2f4
L
120902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12091
12092 * csu/libc-tls.c (static_dtv): Renamed to ...
12093 (_dl_static_dtv): This. Make it global.
12094 (_dl_initial_dtv): Removed.
12095 (__libc_setup_tls): Updated.
12096 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12097 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12098 DL_INITIAL_DTV.
12099
2abe9f15
PM
121002012-09-06 Petr Machata <pmachata@redhat.com>
12101
12102 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12103 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12104 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12105 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12106
0948c3af
L
121072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12108
12109 [BZ #14545]
12110 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12111 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12112 freeing dtv[-1].
12113
a5055ad1
L
121142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12115
12116 [BZ #14544]
12117 * Makeconfig (link-static-before-libc): Replace $(+prector)
12118 with $(+prectorT).
12119 (link-static-after-libc): Replace $(+postctor) with
12120 $(+postctorT).
12121 (link-bounded): Replace $(+prector)/$(+postctor) with
12122 $(+prectorT)/$(+postctorT).
12123 (+prectorT): New macro.
12124 (+postctorT): Likewise.
12125
ed8c2ecd
JM
121262012-09-06 Joseph Myers <joseph@codesourcery.com>
12127
12128 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12129 (round_str): Handle values above the maximum for IBM long double
12130 as inexact.
12131 * stdlib/tst-strtod-round.c (tests): Regenerated.
12132
14c996c8
AK
121332012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12134
12135 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12136 assembler flag.
12137 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12138 zarch_nohighgprs around the zarch optimized routines.
12139 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12140 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12141 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12142 for zarch.
12143
430d6ce6
DM
121442012-09-05 David S. Miller <davem@davemloft.net>
12145
12146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12147
ff04dda4
DM
12148 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12149 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12150 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12151 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12152 entries.
12153
24d4e01b
AO
121542012-09-05 Alexandre Oliva <aoliva@redhat.com>
12155
12156 * malloc/arena.c: Fold copyright years.
12157 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12158
61d58174
AO
121592012-09-05 Alexandre Oliva <aoliva@redhat.com>
12160
12161 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12162
20196a5e
AO
121632012-09-05 Alexandre Oliva <aoliva@redhat.com>
12164
12165 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12166
5c447383
AO
121672012-09-05 Alexandre Oliva <aoliva@redhat.com>
12168
12169 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12170 change internal state upon failure.
12171
fad64255
AO
121722012-09-05 Alexandre Oliva <aoliva@redhat.com>
12173
12174 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12175 * malloc/memusage.c (mmap): Likewise.
12176 (mmap64, mremap): Likewise. Adjust name in comment.
12177
1ffb8c90
SP
121782012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12179
12180 * libio/fileops.c: Fix typos in comments.
12181 * libio/oldfileops.c: Likewise.
12182 * libio/wfileops.c: Likewise.
12183
6ef9cc37
SP
121842012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12185
12186 [BZ #1349]
12187 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12188 (tst-malloc-usable-ENV): Set environment for test case.
12189 * malloc/hooks.c (malloc_check_get_size): New function to get
12190 requested size.
12191 * malloc/malloc.c (musable): Use malloc_check_get_size.
12192 * malloc/tst-malloc-usable.c: New test case.
12193
4d038ae3
AS
121942012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12195
12196 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12197
c4e85184
AM
121982012-09-05 Allan McRae <allan@archlinux.org>
12199
b9dafc56 12200 [BZ #13966]
c4e85184
AM
12201 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12202 determine header location.
12203 * configure: Regenerated.
12204
e1343020
AS
122052012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12206
12207 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12208 float format.
12209 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12210 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12211 format.
e1343020
AS
12212 (test): Regenerate.
12213
0a9f1987
DM
122142012-09-04 David S. Miller <davem@davemloft.net>
12215
12216 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12217 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12218 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12219
29237804
FW
122202012-09-04 Florian Weimer <fweimer@redhat.com>
12221
12222 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12223 failures.
12224
edb3cb88
FW
12225 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12226
60160d83
JM
122272012-09-04 Joseph Myers <joseph@codesourcery.com>
12228
12229 [BZ #9914]
12230 * libio/iogetdelim.c: Include <limits.h>.
12231 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12232 + len + 1 would overflow.
12233
bcd6c8dc
AJ
122342012-09-03 Andreas Jaeger <aj@suse.de>
12235
12236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12237 * sysdeps/i386/fpu/libm-test-ulps: Update.
12238
4ffffbd2
LD
122392012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12240
12241 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12242 Add s_sinf-sse2, s_conf-sse2.
12243
12244 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12245 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12246 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12247 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12248
12249 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12250 for using routine as __sinf_ia32.
12251 Use macro for function declaration and weak_alias.
12252 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12253 for using routine as __cosf_ia32.
12254 Use macro for function declaration and weak_alias.
12255
12256 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12257 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12258
12259 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12260 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12262
12263 * math/libm-test.inc (cos_test): Add more test cases.
12264 (sin_test): Likewise.
12265 (sincos_test): Likewise.
12266
511fa286
AK
122672012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12268
12269 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12270 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12271 hidden.
12272 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12273
5f30cfec
L
122742012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12275
12276 [BZ #14538]
12277 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12278 first element of the GOT.
12279 (elf_machine_load_address): Return the difference between
12280 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12281
0786794f
AM
122822012-09-01 Allan McRae <allan@archlinux.org>
12283
5f30cfec
L
12284 [BZ #13412]
12285 * configure.in (AWK): Require gawk version 3.0 or later.
12286 * configure: Regenerated.
0786794f 12287
26889eac
JM
122882012-09-01 Joseph Myers <joseph@codesourcery.com>
12289
12290 * sysdeps/unix/sysv/linux/kernel-features.h
12291 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12292 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12293 [__NR_clock_getres]: Make code unconditional.
12294 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12295 (clock_getcpuclockid): Remove code left unreachable by removal of
12296 conditionals.
12297 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12298 code unconditional.
12299 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12300 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12301 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12302 Make code unconditional.
12303 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12304 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12305 * sysdeps/unix/sysv/linux/clock_settime.c
12306 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12307 conditional code.
12308 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12309 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12310
d22e28b0
L
123112012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12312
12313 [BZ #14476]
12314 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12315 scripts/test-installation.pl.
12316
12317 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12318 and $ld_so_version if it is set.
12319
050af9c4
SP
123202012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12321
12322 [BZ #14516]
12323 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12324 failure if reading from procfs failed.
12325 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12326
ad845c0b
JM
123272012-08-27 Joseph Myers <joseph@codesourcery.com>
12328
12329 * sysdeps/unix/sysv/linux/kernel-features.h
12330 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12331 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12332 Remove conditional code.
12333 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12334 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12335 Remove conditional code.
12336 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12337 * sysdeps/unix/sysv/linux/i386/fxstat.c
12338 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12340 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12341 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12342 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12343 * sysdeps/unix/sysv/linux/i386/lxstat.c
12344 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12345 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12346 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12347 Remove conditional code.
12348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12349 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12350 Remove conditional code.
12351 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12352 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12353 <kernel-features.h>.
12354 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12355 Remove.
12356 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12357 Remove conditional code.
12358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12359 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12360 Remove conditional.
12361
5dbf56af
MF
123622012-08-27 Mike Frysinger <vapier@gentoo.org>
12363
12364 [BZ #5400]
12365 * NEWS: Add fixed bug number.
12366
d6e70f43
JM
123672012-08-27 Joseph Myers <joseph@codesourcery.com>
12368
7efb4737
JM
12369 [BZ #14519]
12370 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12371 underflowing exponent in case of negative sign.
12372 * stdlib/tst-strtod-round-data: Add more tests.
12373 * stdlib/tst-strtod-round.c (tests): Regenerated.
12374
af92131a
JM
12375 [BZ #3479]
12376 * stdlib/strtod_l.c (NDIG): Remove.
12377 (HEXNDIG): Likewise.
12378 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12379 smallest representable value.
12380 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12381 lie within an exact representation of 1/2 ulp of the result.
12382 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12383 unconditionally.
12384 (TENS_P9_IDX): Define unconditionally.
12385 (TENS_P9_SIZE): Likewise.
12386 (TENS_P10_IDX): Likewise.
12387 (TENS_P10_SIZE): Likewise.
12388 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12389 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12390 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12391 entries for 10^2^13 and 10^2^14.
12392 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12393 (TENS_P13_IDX): Define.
12394 (TENS_P13_SIZE): Likewise.
12395 (TENS_P14_IDX): Likewise.
12396 (TENS_P14_SIZE): Likewise.
12397 (_fpioconst_pow10): Change array size to
12398 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12399 unconditional.
12400 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12401 1024]: Add entries for 10^2^13 and 10^2^14.
12402 [LAST_POW10 > _LAST_POW10]: Remove #error.
12403 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12404 (_fpioconst_pow10): Change array size to
12405 FPIOCONST_POW10_ARRAY_SIZE.
12406 * stdlib/gen-fpioconst.c: New file.
12407 * stdlib/gen-tst-strtod-round.c: Likewise.
12408 * stdlib/tst-strtod-round-data: Likewise.
12409 * stdlib/tst-strtod-round.c: Likewise.
12410 * stdlib/Makefile (tests): Add tst-strtod-round.
12411
d6e70f43
JM
12412 [BZ #14459]
12413 * stdlib/strtod_l.c: Include <stdint.h>.
12414 (NDEBUG): Do not define.
12415 (round_and_return): Change EXPONENT parameter to type intmax_t.
12416 Rearrange calculations to avoid internal overflow possibilities.
12417 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12418 Rearrange calculations to avoid internal overflow possibilities.
12419 Assert that number fits inside MPNSIZE limbs.
12420 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12421 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12422 calculations and add assertions to avoid internal overflow
12423 possibilities. Add casts to avoid signed/unsigned operations.
12424 * stdlib/tst-strtod-overflow.c: New file.
12425 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12426
1f529f7d
MP
124272012-08-25 Marek Polacek <polacek@redhat.com>
12428
12429 * time/time.h: Fix some typos in comments.
12430
59a629f1
RM
124312012-08-23 Roland McGrath <roland@hack.frob.com>
12432
12433 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12434 * posix/tst-rfc3484-2.c: Likewise.
12435 * posix/tst-rfc3484-3.c: Likewise.
12436
d3bafbc9
SM
124372012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12438
12439 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12440 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12441
4efcc022
JM
124422012-08-23 Joseph Myers <joseph@codesourcery.com>
12443
12444 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12445 #include of fxstatat64.c.
12446
3cc3ef96
RM
124472012-08-22 Roland McGrath <roland@hack.frob.com>
12448
f04e2132
RM
12449 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12450 * shadow/getspent_r.c: Likewise.
12451 * shadow/getspnam.c: Likewise.
12452 * shadow/getspnam_r.c: Likewise.
12453 * gshadow/getsgent.c: Likewise.
12454 * gshadow/getsgent_r.c: Likewise.
12455 * gshadow/getsgnam.c: Likewise.
12456 * gshadow/getsgnam_r.c: Likewise.
12457 * inet/getnetbyad.c: Likewise.
12458 * inet/getnetbyad_r.c: Likewise.
12459 * inet/getnetbynm.c: Likewise.
12460 * inet/getnetbynm_r.c: Likewise.
12461 * inet/getnetent.c: Likewise.
12462 * inet/getnetent_r.c: Likewise.
12463 * inet/getproto.c: Likewise.
12464 * inet/getproto_r.c: Likewise.
12465 * inet/getprtent.c: Likewise.
12466 * inet/getprtent_r.c: Likewise.
12467 * inet/getprtname.c: Likewise.
12468 * inet/getprtname_r.c: Likewise.
12469 * inet/getrpcbyname.c: Likewise.
12470 * inet/getrpcbyname_r.c: Likewise.
12471 * inet/getrpcbynumber.c: Likewise.
12472 * inet/getrpcbynumber_r.c: Likewise.
12473 * inet/getrpcent.c: Likewise.
12474 * inet/getrpcent_r.c: Likewise.
12475 * inet/getaliasent.c: Likewise.
12476 * inet/getaliasent_r.c: Likewise.
12477 * inet/getaliasname.c: Likewise.
12478 * inet/getaliasname_r.c: Likewise.
12479 * nscd/getgrgid_r.c: Likewise.
12480 * nscd/getgrnam_r.c: Likewise.
12481 * nscd/gethstbyad_r.c: Likewise.
12482 * nscd/gethstbynm3_r.c: Likewise.
12483 * nscd/getpwnam_r.c: Likewise.
12484 * nscd/getpwuid_r.c: Likewise.
12485 * nscd/getsrvbynm_r.c: Likewise.
12486 * nscd/getsrvbypt_r.c: Likewise.
12487 * nscd/gai.c: Likewise.
12488
c53d909c
RM
12489 * configure.in (build_nscd): New substituted variable, set
12490 by --disable-build-nscd and defaults to $use_nscd.
12491 * configure: Regenerated.
12492 * config.make.in (build-nscd): New substituted variable.
12493 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12494 Change conditional to require [$(build-nscd) = yes] as well.
12495 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12496
3cc3ef96
RM
12497 [BZ# 13696]
12498 * configure.in (use_nscd): New substituted variable, set by
12499 --disable-nscd. If enabled, define USE_NSCD.
12500 * configure: Regenerated.
12501 * config.h.in: Add USE_NSCD.
12502 * config.make.in (use-nscd): New substituted variable.
12503 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12504 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12505 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12506 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12507 (CFLAGS-getgrnam_r.c): Likewise.
12508 (CFLAGS-initgroups.c): Likewise.
12509 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12510 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12511 Variables removed.
12512 * inet/getnetgrent_r.c
12513 (nscd_setnetgrent): New function, broken out of ...
12514 (setnetgrent): ... here. Call it.
12515 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12516 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12517 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12518 * nscd/Makefile (routines, aux): Move definitions after include of
12519 Makeconfig. Conditionalize on [$(use-nscd) != no].
12520 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12521 Conditionalize on [USE_NSCD].
12522 (is_nscd, nscd_init_cb): Likewise.
12523 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12524 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12525 * nss/nss_db/db-init.c: Likewise.
12526 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12527 [USE_NSCD].
12528 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12529 (make_request): Use it.
12530 (cache_valid_p): New function.
12531 (__check_pf): Use it.
12532 * NEWS: Add item for --disable-nscd.
12533
07e51550
DL
125342012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12535
12536 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12537 to support sed >= 4.2.1-20-ga9bf076.
12538 * configure: Regenerated.
12539
35a5b08b
RM
125402012-08-22 Roland McGrath <roland@hack.frob.com>
12541
12542 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12543 Conditionalize whole body on [IREL].
12544
8479f23a
JL
125452012-08-22 Jeff Law <law@redhat.com>
12546
12547 [BZ #14505]
12548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12549 if the family is PF_UNSPEC.
12550
48da0b21
MF
125512012-08-22 Mike Frysinger <vapier@gentoo.org>
12552
12553 * Makerules (lib-version): Rename from V.
12554 (install-lib-nosubdir): Change V to lib-version.
12555
15d0da8c
WS
125562012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12557
12558 [BZ #14252]
12559 * powerpc32/power6/wcschr.c: New file.
12560 * powerpc32/power6/wcscpy.c: New file.
12561 * powerpc32/power6/wcsrchr.c: New file.
12562 * powerpc64/power6/wcschr.c: New file.
12563 * powerpc64/power6/wcscpy.c: New file.
12564 * powerpc64/power6/wcsrchr.c: New file.
12565
bcca0895
MK
125662012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12567
12568 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12569 (two_way_short_needle): Use it.
5a4aaa33
RM
12570 * string/strstr.c (AVAILABLE1_USES_J): Define.
12571 * string/strcasestr.c: Likewise.
99677e57
MK
12572
12573 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12574 array references.
12575 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12576
400726de
MK
12577 [BZ #11607]
12578 * NEWS: Add an entry.
12579 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12580 define their defaults.
12581 (two_way_short_needle): Detect end-of-string on-the-fly.
12582 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12583 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12584 * string/bug-strcasestr1.c: New test.
12585 * string/Makefile: Run it.
12586
20a71f2c
MK
125872012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12588
12589 [BZ #11607]
12590 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12591 the first character.
12592
21ad0558
RM
125932012-08-21 Roland McGrath <roland@hack.frob.com>
12594
12595 * csu/elf-init.c (__libc_csu_irel): Function removed.
12596 * csu/libc-start.c (apply_irel): New function.
12597 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12598
0e1d9911
JM
125992012-08-21 Joseph Myers <joseph@codesourcery.com>
12600
12601 * sysdeps/unix/sysv/linux/kernel-features.h
12602 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12603 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12604 <kernel-features.h>.
12605 [__NR_fadvise64_64]: Make code unconditional.
12606 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12607 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12608 !__NR_fadvise64_64)]: Likewise.
12609 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12610 !__NR_fadvise64_64))]: Likewise.
12611 [__NR_fadvise64]: Make code unconditional.
12612 [!__NR_fadvise64]: Remove conditional code.
12613 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12614 <kernel-features.h>.
12615 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12616 unconditional.
12617 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12618 conditional code.
12619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12620 not include <kernel-features.h>.
12621 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12622 unconditional.
12623 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12624 conditional code.
12625 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12626 include <kernel-features.h>.
12627 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12628 unconditional.
12629 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12630 conditional code.
12631
14a50c9d
WS
126322012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12633
12634 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12635 slight instruction rearrangements per scrollpipe analysis.
12636 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12637
c0f4faf0
RM
126382012-08-20 Roland McGrath <roland@hack.frob.com>
12639
696da859
RM
12640 * manual/syslog.texi (syslog; vsyslog, closelog):
12641 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12642 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12643
c0f4faf0
RM
12644 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12645 DSOCAPS to match condition on defining it.
12646
348363b2
JM
126472012-08-20 Joseph Myers <joseph@codesourcery.com>
12648
a35cbf28
JM
12649 * sysdeps/unix/sysv/linux/kernel-features.h
12650 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12652 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12653 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12655 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12656 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12658 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12659 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12660
445f7ecd
JM
12661 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12662 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12663
348363b2
JM
12664 * sysdeps/unix/sysv/linux/kernel-features.h
12665 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12666 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12667 unconditional.
12668 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12669 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12670 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12671 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12672 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12673 Make code unconditional.
12674 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12675 (__mmap64) [!__NR_mmap2]: Likewise.
12676 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12677 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12678 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12679 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12680 [__NR_mmap2]: Make code unconditional.
12681 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12682 (__mmap64) [!__NR_mmap2]: Likewise.
12683
bc5bc0e5
AK
126842012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12685
12686 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12687
88d506de
AJ
126882012-08-18 Andreas Jaeger <aj@suse.de>
12689
12690 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12691
493387d2
MF
126922012-08-18 Mike Frysinger <vapier@gentoo.org>
12693
12694 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12695 * include/unistd.h (__have_sock_cloexec): Likewise.
12696 (__have_pipe2): Likewise.
12697 (__have_dup3): Likewise.
12698
a277af22
MF
126992012-08-18 Mike Frysinger <vapier@gentoo.org>
12700
12701 [BZ #9685]
12702 * include/unistd.h (__have_pipe2): Change define into an extern int.
12703 (__have_dup3): Likewise.
12704 * socket/have_sock_cloexec.c: Include fcntl.h.
12705 (__have_pipe2): New variable.
12706 (__have_dup3): Likewise.
12707
fdab8fd3
MF
127082012-08-17 Mike Frysinger <vapier@gentoo.org>
12709
12710 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12711
31035e80
MP
127122012-08-17 Marek Polacek <polacek@redhat.com>
12713
12714 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12715 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12716
3bd9e993
RM
127172012-08-17 Roland McGrath <roland@hack.frob.com>
12718
c91c505f
RM
12719 * configure.in: Add AC_SUBST for sysheaders.
12720 * configure: Regenerated.
12721 * config.make.in (sysheaders): New substituted variable.
12722
7c6f9d53
RM
12723 * sysdeps/unix/mkfifo.c: Moved ...
12724 * sysdeps/posix/mkfifo.c: ... here.
12725 * sysdeps/unix/mkfifoat.c: Moved ...
12726 * sysdeps/posix/mkfifoat.c: ... here.
12727
12728 * sysdeps/unix/utime.c: Moved ...
12729 * sysdeps/posix/utime.c: ... here.
12730
12731 * sysdeps/unix/time.c: Moved ...
12732 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
12733 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12734 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
12735
12736 * sysdeps/unix/nice.c: Moved ...
12737 * sysdeps/posix/nice.c: ... here.
12738
12739 * sysdeps/unix/alarm.c: Moved ...
12740 * sysdeps/posix/alarm.c: ... here.
12741
3bd9e993
RM
12742 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12743
d1f09384
JL
127442012-08-17 Jeff Law <law@redhat.com>
12745
12746 * intl/Makefile (codeset_mo): New variable.
12747 ($(codeset_mo)): New target.
12748 (tst-codeset.out): Depend on that. Remove explicit rule.
12749 (tst-gettext3.out, tst-gettext5.out): Likewise.
12750 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12751 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12752 * intl/tst-codeset.sh: Remove.
12753 * intl/tst-gettext3.sh: Likewise.
12754 * intl/tst-gettext5.sh: Likewise.
12755
2ae1ae5c
RM
127562012-08-17 Roland McGrath <roland@hack.frob.com>
12757
c31fdb83
RM
12758 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12759 * sysdeps/unix/syscalls.list: ... here.
12760
a0844057
RM
12761 * sysdeps/posix/getaddrinfo.c
12762 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12763 (gaiconf_init, gaiconf_reload): Use them.
12764 [!_STATBUF_ST_NSEC]
12765 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12766 Define using time_t rather than struct timespec.
12767
750c1f2a
RM
12768 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12769 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12770 Macros removed.
12771 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12772 [!NO_THREADS].
12773 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12774 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12775 Likewise.
12776
2ae1ae5c
RM
12777 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12778 __libc_cleanup_push argument.
12779
e66a42f5
RM
12780 * bits/param.h: New file.
12781 * misc/sys/param.h: New file.
12782 * include/sys/param.h: New file.
12783 * misc/Makefile (headers): Add bits/param.h.
12784 * sysdeps/generic/sys/param.h: File removed.
12785 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12786 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12787 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 12788 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 12789
b7c08a66
RM
12790 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12791 last change.
12792
b2e1c562
RM
12793 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12794 [_IO_MTSAFE_IO].
12795 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12796 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12797 New macros.
12798
c75ccd4c
RM
12799 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12800 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12801 rather than -D_IO_MTSAFE_IO conditionally.
12802 * stdio-common/Makefile (CPPFLAGS): Likewise.
12803 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12804 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12805 Use $(libio-mtsafe).
12806 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12807 of -D_IO_MTSAFE_IO.
12808 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12809 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12810 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12811 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12812 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12813 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12814 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12815 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12816 (CFLAGS-fread_u_chk.c): Likewise.
12817 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12818 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12819 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12820 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12821 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12822 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12823 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12824 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12825 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12826
12827 * libio/Makefile: Test [$(libc-reentrant) = yes]
12828 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12829
12830 * Makeconfig
12831 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12832 * sysdeps/pthread/configure: File removed.
12833 * sysdeps/pthread/Makeconfig: New file.
12834 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12835 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12836
d9195db8
GB
128372012-08-16 Gary Benson <gbenson@redhat.com>
12838
12839 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12840 unmapping the first object in a namespace.
12841
86466cd9
RM
128422012-08-16 Roland McGrath <roland@hack.frob.com>
12843
12844 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12845 (__internal_setnetgrent): ... this. Add internal_function to
12846 definition. Add libc_hidden_def.
12847 (setnetgrent): Update caller.
12848 (internal_endnetgrent): Renamed to ...
12849 (__internal_endnetgrent): ... this. Add internal_function to
12850 definition. Add libc_hidden_def.
12851 (endnetgrent): Update caller.
12852 (internal_getnetgrent_r): Renamed to ...
12853 (__internal_getnetgrent_r): ... this. Add internal_function to
12854 definition. Add libc_hidden_def.
12855 (__getnetgrent_r): Update caller.
12856 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12857
c3c8283c
JM
128582012-08-16 Joseph Myers <joseph@codesourcery.com>
12859
12860 * stdlib/longlong.h: Update from GCC.
12861
db1ee0a8
RM
128622012-08-16 Roland McGrath <roland@hack.frob.com>
12863
12864 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12865 on _QL, which is set by umul_ppmm but never used.
12866 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12867 variables, which are set by GMP macros but never used.
12868 * stdio-common/_itowa.c (_itowa): Likewise.
12869 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12870 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12871
30f69637
CD
128722012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12873
12874 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12875 struct La_sh_regs is not constant.
12876 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12877 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12878 and struct La_sparc64_regs are not constant.
12879
93a78ac4
JM
128802012-08-16 Joseph Myers <joseph@codesourcery.com>
12881
12882 * sysdeps/unix/sysv/linux/kernel-features.h
12883 (__ASSUME_POSIX_TIMERS): Remove.
12884 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12885 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12886 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12887 Make code unconditional.
12888 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12889 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12890 Make code unconditional.
12891 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12892 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12893 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12894 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12895 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12896 Make code unconditional.
12897 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12898 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12899 (__libc_missing_posix_timers): Remove.
12900
dd924cd7
RM
129012012-08-15 Roland McGrath <roland@hack.frob.com>
12902
4b4f2771
RM
12903 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12904 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12905
601c888b
RM
12906 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12907
176790a7
RM
12908 * elf/dl-sym.c: Include <stdlib.h>.
12909
329bc018
RM
12910 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12911 constants, which avoids warnings in 32-bit builds.
12912
e04e272d
RM
12913 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12914 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12915
952bf94a
RM
12916 * misc/lseek.c: File moved to ...
12917 * io/lseek.c: ... here.
12918
7c99b50a
RM
12919 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12920
dd924cd7
RM
12921 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12922 shifting LEN more than 31 bits at once.
12923
b3f479a8
LD
129242012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12925
12926 [BZ #14195]
8c4ae0d4
RM
12927 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12928 segmentation fault for a case of two empty input strings.
b3f479a8
LD
12929 * string/test-strncasecmp.c (check1): Renamed to...
12930 (bz12205): ...this.
12931 (bz14195): Add new testcase for two empty input strings and N > 0.
12932 (test_main): Call new testcase, adapt for renamed function.
12933
9c55864e
AJ
129342012-08-15 Andreas Jaeger <aj@suse.de>
12935
12936 [BZ #14090]
12937 * crypt/md5test2.c: New test, based on test supplied by Serge
12938 Belyshev <belyshev@depni.sinp.msu.ru>.
12939 * crypt/Makefile (xtests): Add md5test-giant..
12940 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12941
02dcb6c5
PE
129422012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12943
12944 [BZ #14090]
12945 * crypt/md5.c (md5_process_block): Don't assume the buffer
12946 length is less than 2**32.
12947 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12948 length is less than 2**64.
12949
a3f95dcc
RM
129502012-08-15 Roland McGrath <roland@hack.frob.com>
12951
be75d758
RM
12952 * string/str-two-way.h: Include <sys/param.h>.
12953 (MAX): Macro removed.
12954
7312ca90
RM
12955 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12956 Move #define and #undef of memmove to just before and after
12957 including <string.h>.
12958
9a0a5486
RM
12959 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12960 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12961 and after including <string.h>. Move declarations of
12962 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12963 to before #include "string/memmove.c".
12964
67cc348d
RM
12965 * include/dirent.h: Declare __getdirentries.
12966
a3f95dcc
RM
12967 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12968 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12969
ca98e171
MF
129702012-08-14 Mike Frysinger <vapier@gentoo.org>
12971
12972 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12973 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12974 * sysdeps/i386/configure: Regenerated.
12975 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12976 STABS_CURRENT_FILE, and STABS_FUN.
12977 (END): Remove call to STABS_FUN_END.
12978 (STABS_CURRENT_FILE1): Delete.
12979 (STABS_CURRENT_FILE): Likewise.
12980 (STABS_FUN): Likewise.
12981 (STABS_FUN_END): Likewise.
12982 (STABS_FUN2): Likewise.
12983 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12984 * sysdeps/x86_64/configure: Regenerated.
12985
5908bf46
RM
129862012-08-14 Roland McGrath <roland@hack.frob.com>
12987
12988 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 12989 * elf/dl-lookup.c: Likewise.
5908bf46 12990
f2c05b9e
JM
129912012-08-14 Joseph Myers <joseph@codesourcery.com>
12992
12993 * sysdeps/unix/sysv/linux/kernel-features.h
12994 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12995 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12996 unconditionally.
12997 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12998 unconditionally.
12999 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13000 condition on __ASSUME_CLONE_THREAD_FLAGS.
13001
e11f5155
AJ
130022012-08-14 Andreas Jaeger <aj@suse.de>
13003
13004 * sysdeps/i386/fpu/libm-test-ulps: Update.
13005
51a9ba86
MK
130062012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13007
2fdd4f78
AJ
13008 * include/atomic.h (atomic_exchange_and_add): Split into ...
13009 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13010 New atomic macros.
51a9ba86 13011
ba6cba9e
MT
130122012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13013
13014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13015
42443a47
JL
130162012-08-13 Jeff Law <law@redhat.com>
13017
13018 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13019 null byte in the output string.
13020
121dce05
JM
130212012-08-10 Joseph Myers <joseph@codesourcery.com>
13022
13023 * sysdeps/unix/sysv/linux/kernel-features.h
13024 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13025 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13026 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13027 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13028 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13029 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13030 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13031
bf51f568
JL
130322012-08-09 Jeff Law <law@redhat.com>
13033
13034 [BZ #13939]
13035 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13036 When avoid_arena is set, don't retry in the that arena. Pick the
13037 next one, whatever it might be.
13038 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13039 (arena_lock): Pass in new parameter to arena_get2.
13040 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13041 arena_get2.
13042 (__libc_malloc): Unify retrying after main arena failure with
13043 __libc_memalign version.
13044 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13045
f85fa270
L
130462012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13047
13048 [BZ #14166]
13049 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13050 to __redirect_strstr.
13051 (__strstr_sse42): Use typeof __redirect_strstr.
13052 (__strstr_ia32): Likewise.
13053 (__libc_strstr): New prototype.
13054 (strstr): Renamed to ...
13055 (__libc_strstr): This.
13056 (strstr): New strong alias of __libc_strstr.
13057 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13058 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13059 __redirect_time.
13060 Include <time.h>.
13061 (__libc_time): New prototype.
13062 (time_ifunc): Replace time with __libc_time.
13063 (time): New strong alias and hidden definition of __libc_time.
13064 (__GI_time): Remove strong alias.
13065 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13066 Include <stddef.h>.
13067 (memmove): Redefined to __redirect_memmove.
13068 (__memmove_sse2): Use typeof __redirect_memmove.
13069 (__memmove_ssse3): Likewise.
13070 (__memmove_ssse3_back): Likewise.
13071 (__libc_memmove): New prototype.
13072 (memmove): Renamed to ...
13073 (__libc_memmove): This.
13074 (memmove): New strong alias of __libc_memmove.
13075
33b4a91e
MS
130762012-08-08 Mark Salter <msalter@redhat.com>
13077
13078 * elf/elf.h
13079 (R_MN10300_TLS_GD): Define.
13080 (R_MN10300_TLS_LD): Likewise.
13081 (R_MN10300_TLS_LDO): Likewise.
13082 (R_MN10300_TLS_GOTIE): Likewise.
13083 (R_MN10300_TLS_IE): Likewise.
13084 (R_MN10300_TLS_LE): Likewise.
13085 (R_MN10300_TLS_DTPMOD): Likewise.
13086 (R_MN10300_TLS_DTPOFF): Likewise.
13087 (R_MN10300_TLS_TPOFF): Likewise.
13088 (R_MN10300_SYM_DIFF): Likewise.
13089 (R_MN10300_ALIGN): Likewise.
13090 (R_MN10300_NUM): Update.
13091
b36137f1
JM
130922012-08-08 Joseph Myers <joseph@codesourcery.com>
13093
13094 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13095 Remove.
13096
cdd915fd
RM
130972012-08-08 Roland McGrath <roland@hack.frob.com>
13098
a2433aac
RM
13099 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13100
cdd915fd
RM
13101 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13102 sysdeps/unix -> sysdeps/posix move.
13103 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13104
bf9b740a
AM
131052012-08-07 Allan McRae <allan@archlinux.org>
13106
13107 [BZ #14303]
13108 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13109 (SUNOS_CPP): Likewise.
13110 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13111 not found.
13112 (open_input): Call CPP using execvp.
13113
93df14ee
JM
131142012-08-07 Joseph Myers <joseph@codesourcery.com>
13115
13116 * sysdeps/unix/sysv/linux/kernel-features.h
13117 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13118 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13119 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13120 (__ASSUME_WAITID_SYSCALL): Likewise.
13121 * sysdeps/unix/sysv/linux/dl-execstack.c
13122 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13123 code unconditional.
13124 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13125 conditional code.
13126 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13127 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13128 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13129 code.
13130 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13131 unconditional.
13132 [__ASSUME_WAITID_SYSCALL]: Likewise.
13133 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13134
d34689de
RM
131352012-08-07 Roland McGrath <roland@hack.frob.com>
13136
a281decc
RM
13137 * sysdeps/unix/closedir.c: Renamed to ...
13138 * sysdeps/posix/closedir.c: ... here.
13139 * sysdeps/unix/dirfd.c: Renamed to ...
13140 * sysdeps/posix/dirfd.c: ... here.
13141 * sysdeps/unix/dirstream.h: Renamed to ...
13142 * sysdeps/posix/dirstream.h: ... here.
13143 * sysdeps/unix/fdopendir.c: Renamed to ...
13144 * sysdeps/posix/fdopendir.c: ... here.
13145 * sysdeps/unix/opendir.c: Renamed to ...
13146 * sysdeps/posix/opendir.c: ... here.
13147 * sysdeps/unix/readdir.c: Renamed to ...
13148 * sysdeps/posix/readdir.c: ... here.
13149 * sysdeps/unix/readdir_r.c: Renamed to ...
13150 * sysdeps/posix/readdir_r.c: ... here.
13151 * sysdeps/unix/rewinddir.c: Renamed to ...
13152 * sysdeps/posix/rewinddir.c: ... here.
13153 * sysdeps/unix/seekdir.c: Renamed to ...
13154 * sysdeps/posix/seekdir.c: ... here.
13155 * sysdeps/unix/telldir.c: Renamed to ...
13156 * sysdeps/posix/telldir.c: ... here.
13157 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13158 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13159 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13160 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13161
22895b47
RM
13162 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13163 * bits/fcntl.h: ... here.
13164
707a53b6
RM
13165 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13166 not 0.
13167 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13168 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13169 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13170 (struct flock): Move l_start, l_len to the beginning.
13171 Use __pid_t for l_pid.
13172 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13173 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13174 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13175 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13176 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13177 [__USE_LARGEFILE64] (struct flock64): New type.
13178 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13179
f0bd3e25
RM
13180 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13181 * bits/dirent.h: ... here.
13182
d34689de
RM
13183 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13184 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13185
6dad2c06
JM
131862012-08-07 Joseph Myers <joseph@codesourcery.com>
13187
13188 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13189 Change from 2.6.0 to 2.6.16.
13190 * sysdeps/unix/sysv/linux/configure: Regenerated.
13191 * sysdeps/unix/sysv/linux/kernel-features.h
13192 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13193 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13194 version.
13195 (__ASSUME_UTIMES): Likewise.
13196 (__ASSUME_CLONE_STOPPED): Remove.
13197 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13198 architectures, not kernel version.
13199 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13200 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13201 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13202 (__ASSUME_WAITID_SYSCALL): Likewise.
13203 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13204 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13205 * README: State 2.6.16 as minimum Linux kernel version. Do not
13206 refer to older versions.
13207
03af9520
RM
132082012-08-06 Roland McGrath <roland@hack.frob.com>
13209
8e49df1d
RM
13210 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13211 Define alphasort64 as an alias.
13212 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13213 Define versionsort64 as an alias.
13214 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13215 Define scandir64 as an alias.
13216 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13217 Define scandirat64 as an alias.
13218 * dirent/alphasort64.c (alphasort64):
13219 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13220 * dirent/versionsort64.c: Likewise.
13221 * dirent/scandir64.c: Likewise.
13222 * dirent/scandirat64.c: Likewise.
13223 * sysdeps/wordsize-64/alphasort.c: File removed.
13224 * sysdeps/wordsize-64/alphasort64.c: File removed.
13225 * sysdeps/wordsize-64/scandir.c: File removed.
13226 * sysdeps/wordsize-64/scandir64.c: File removed.
13227 * sysdeps/wordsize-64/scandirat.c: File removed.
13228 * sysdeps/wordsize-64/scandirat64.c: File removed.
13229 * sysdeps/wordsize-64/versionsort.c: File removed.
13230 * sysdeps/wordsize-64/versionsort64.c: File removed.
13231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13232 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13233 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13234 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13235 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13236 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13237 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13238 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13239
13240 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13241 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13242 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13243 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13244 [defined __arch64__ || defined __sparcv9]
13245 (__INO_T_MATCHES_INO64_T): New macro.
13246 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13247 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13248 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13249 * sysdeps/unix/sysv/linux/bits/dirent.h
13250 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13251 (_DIRENT_MATCHES_DIRENT64): New macro.
13252
03af9520
RM
13253 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13254 Define lockf64 as an alias.
13255 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13256 Define fseeko64 as an alias.
13257 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13258 Define ftello64 as an alias.
13259 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13260 Define _IO_fgetpos64 and fgetpos64 as aliases.
13261 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13262 Define _IO_fsetpos64 and fsetpos64 as aliases.
13263 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13264 Conditionalize body on this.
13265 * libio/fseeko64.c: Likewise.
13266 * libio/ftello64.c: Likewise.
13267 * libio/iofgetpos64.c: Likewise.
13268 * libio/iofsetpos64.c: Likewise.
13269 * sysdeps/wordsize-64/lockf.c: File removed.
13270 * sysdeps/wordsize-64/lockf64.c: File removed.
13271 * sysdeps/wordsize-64/fseeko.c: File removed.
13272 * sysdeps/wordsize-64/fseeko64.c: File removed.
13273 * sysdeps/wordsize-64/ftello.c: File removed.
13274 * sysdeps/wordsize-64/ftello64.c: File removed.
13275 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13276 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13277 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13278 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13279 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13280 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13281 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13282 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13283 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13284 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13285 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13286 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13287 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13288 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13289
13290 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13291 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13292 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13293 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13294 [defined __arch64__ || defined __sparcv9]
13295 (__OFF_T_MATCHES_OFF64_T): New macro.
13296 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13297 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13298 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13299 (__OFF_T_MATCHES_OFF64_T): New macro.
13300
c5757acd
L
133012012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13302
13303 * stdlib/secure-getenv.c (__secure_getenv): Replace
13304 GLIBC_2_16 with GLIBC_2_17.
13305
3a31811e
L
133062012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13307
13308 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13309 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13310
faa2bccb
DM
133112012-08-03 David S. Miller <davem@davemloft.net>
13312
13313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13314
85fe1997
JM
133152012-08-03 Joseph Myers <joseph@codesourcery.com>
13316
13317 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13318 Remove.
13319 (__ASSUME_CORRECT_SI_PID): Likewise.
13320 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13321 (__ASSUME_TMPFS_NAME): Likewise.
13322 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13323 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13324 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13325 (HAVE_AUX_SECURE): Make definition unconditional.
13326 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13327 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13328
4f75b7a0
RM
133292012-08-03 Roland McGrath <roland@hack.frob.com>
13330
13331 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13332 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13333 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13334 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13335 __eloop_threshold instead of SYMLOOP_MAX.
13336
13337 * sysdeps/generic/eloop-threshold.h: New file.
13338 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13339 of MAXSYMLINKS.
13340 * elf/chroot_canon.c (chroot_canon): Likewise.
13341
7aab07e4
JM
133422012-08-03 Joseph Myers <joseph@codesourcery.com>
13343
13344 [BZ #13717]
13345 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13346 Change to 2.6.0 everywhere.
13347 * sysdeps/unix/sysv/linux/configure: Regenerated.
13348 * sysdeps/unix/sysv/linux/kernel-features.h
13349 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13350 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13351 kernel versions.
13352 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13353 (__ASSUME_FUTEX_REQUEUE): Remove.
13354 (__ASSUME_STATFS64): Define unconditionally.
13355 (__ASSUME_AT_SECURE): Likewise.
13356 (__ASSUME_CORRECT_SI_PID): Likewise.
13357 (__ASSUME_TGKILL): Define without depending on kernel version for
13358 i386.
13359 (__ASSUME_UTIMES): Likewise.
13360 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13361 kernel version.
13362 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13363 (__ASSUME_TMPFS_NAME): Likewise.
13364 * README: Update reference to Linux kernel versions.
13365
b67e9372
MP
133662012-08-02 Marek Polacek <polacek@redhat.com>
13367
1f529f7d 13368 [BZ# 14150]
b67e9372
MP
13369 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13370 libc_cv_asm_type_prefix with %.
13371 * configure: Regenerated.
d2441631
RM
13372 * include/libc-symbols.h: Remove comment about
13373 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13374 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13375 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13376 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13377 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13378 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13379 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13380 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13381 * elf/tst-unique2mod1.c: Likewise.
13382 * elf/tst-unique1mod2.c: Likewise.
13383 * elf/tst-unique1mod1.c: Likewise.
13384 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13385 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13386 Replace ASM_TYPE_DIRECTIVE with .type.
13387 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13388 * sysdeps/i386/sysdep.h: Likewise.
13389 * sysdeps/x86_64/sysdep.h: Likewise.
13390 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13392 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13393 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13394 * sysdeps/powerpc/powerpc32/sysdep.h:
13395 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13396 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13397 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13398 * sysdeps/i386/fpu/e_powf.S: Likewise.
13399 * sysdeps/i386/fpu/e_expl.S: Likewise.
13400 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13401 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13402 * sysdeps/i386/fpu/e_pow.S: Likewise.
13403 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13404 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13405 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13406 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13407 * sysdeps/i386/fpu/e_log2.S: Likewise.
13408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13409 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13410 * sysdeps/i386/fpu/e_powl.S: Likewise.
13411 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13412 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13413 * sysdeps/i386/fpu/e_logl.S: Likewise.
13414 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13415 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13416 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13417 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13418 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13419 * sysdeps/i386/fpu/e_log.S: Likewise.
13420 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13421 * sysdeps/i386/fpu/e_logf.S: Likewise.
13422 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13423 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13424 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13425 * sysdeps/i386/fpu/e_log10.S: Likewise.
13426 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13427 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13428 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13429 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13430 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13431 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13432 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13433 * sysdeps/i386/i686/strtok.S: Likewise.
13434 * sysdeps/i386/i386-mcount.S: Likewise.
13435 * sysdeps/i386/strtok.S: Likewise.
13436 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13437 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13438 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13439 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13440 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13441 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13442 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13443 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13444 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13445 * sysdeps/x86_64/_mcount.S: Likewise.
13446 * sysdeps/x86_64/strtok.S: Likewise.
13447 * sysdeps/sh/_mcount.S: Likewise.
13448
2747bf9a
RM
134492012-08-01 Roland McGrath <roland@hack.frob.com>
13450
13451 * libio/iofopen.c: Include <fcntl.h>.
13452 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13453 (_IO_fopen64, fopen64): Define as aliases.
13454 * libio/iofopen64.c: Include <fcntl.h>.
13455 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13456 Conditionalize body on this.
13457 * sysdeps/wordsize-64/iofopen.c: File removed.
13458 * sysdeps/wordsize-64/iofopen64.c: File removed.
13459
3fb791b8
MP
134602012-08-01 Marek Polacek <polacek@redhat.com>
13461
13462 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13463 Use dlfcn directly instead of a variable.
13464 (binfmt-subdir): Do not define.
13465 (dlfcn): Likewise.
13466
a9f1039f
JM
134672012-08-01 Joseph Myers <joseph@codesourcery.com>
13468
23bddc06
JM
13469 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13470 Remove all definitions.
13471 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13472 <kernel-features.h>.
13473 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13474 (miss_F_GETOWN_EX): Remove all definitions.
13475 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13476 macro definition.
13477 [!__ASSUME_FCNTL64]: Remove conditional code.
13478 [__ASSUME_FCNTL64]: Make code unconditional.
13479 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13480 <kernel-features.h>.
13481 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13482 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13483 (lockf64) [__NR_fcntl64]: Make code unconditional.
13484 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13485
a9f1039f
JM
13486 * sysdeps/unix/sysv/linux/kernel-features.h
13487 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13488 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13489 Make code unconditional.
13490 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13491 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13493 [__NR_vfork]: Make code unconditional.
13494 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13495 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13497 [__NR_vfork]: Make code unconditional.
13498 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13499 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13500
09c0ee5f
RM
135012012-08-01 Roland McGrath <roland@hack.frob.com>
13502
48aec5b9
RM
13503 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13504 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13505
cd97c966
RM
13506 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13507 Define mkstemp64 as an alias.
3f55550c
RM
13508 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13509 Define mkstemps64 as an alias.
cd97c966
RM
13510 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13511 Define mkostemp64 as an alias.
b8625cfc
RM
13512 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13513 Define mkostemps64 as an alias.
cd97c966
RM
13514 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13515 Conditionalize body on this.
13516 * misc/mkostemp64.c: Likewise.
b8625cfc 13517 * misc/mkostemps64.c: Likewise.
3f55550c 13518 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13519 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13520 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13521 * sysdeps/wordsize-64/mkostemp.c: File removed.
13522 * sysdeps/wordsize-64/mkstemp.c: File removed.
13523 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13524 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13525 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13526 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13527
09c0ee5f
RM
13528 [BZ #14138]
13529 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13530 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13531 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13532 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13533
13534 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13535 compat_symbol macros from <shlib-compat.h> rather than the underlying
13536 default_symbol_version and symbol_version macros, so that DEFAULT
13537 lines in shlib-versions are respected.
13538 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13539
7e66ee51
FW
135402012-08-01 Florian Weimer <fweimer@redhat.com>
13541
13542 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13543 Declare with warn_unused_result.
13544 (setgid, setregid, setegid, setresgid): Likewise.
13545 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13546 Likewise.
13547 * WUR-REPORT: Remove set*id functions.
13548
d2a54255
PT
135492012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13550
13551 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13552
7ecdb005
RM
135532012-07-31 Roland McGrath <roland@hack.frob.com>
13554
b4180a5e 13555 [BZ #10191]
789bd351
RM
13556 * include/sys/socket.h (__libc_accept, __libc_accept4):
13557 Add attribute_hidden.
13558 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13559
40ce302d
RM
13560 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13561 use of PTR_MANGLE.
13562 * inet/getnetgrent_r.c (setup): Likewise.
13563
7ecdb005
RM
13564 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13565
e2eabb2c
DM
135662012-07-31 David S. Miller <davem@davemloft.net>
13567
13568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13569
d0419dbf
JM
135702012-07-31 Joseph Myers <joseph@codesourcery.com>
13571
13572 [BZ #13629]
13573 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13574 value between 1.0 and 2.0 and smaller part has absolute value less
13575 than 1.0.
13576 * math/s_clog10.c (__clog10): Likewise.
13577 * math/s_clog10f.c (__clog10f): Likewise.
13578 * math/s_clog10l.c (__clog10l): Likewise.
13579 * math/s_clogf.c (__clogf): Likewise.
13580 * math/s_clogl.c (__clogl): Likewise.
13581 * math/libm-test.inc (clog_test): Add more tests.
13582 (clog10_test): Likewise.
13583 * sysdeps/i386/fpu/libm-test-ulps: Update.
13584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13585
2bc13872
FW
135862012-07-31 Florian Weimer <fweimer@redhat.com>
13587
13588 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13589 Exit with zero in case no suitable GID is found, and write a
13590 message to standard error.
13591
bea9b193
RM
135922012-07-30 Roland McGrath <roland@hack.frob.com>
13593
13594 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13595 rather than to 1.
13596 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13597 (MAXPATHLEN): Removed.
13598 (NOGROUP, NODEV): New macros.
13599 (setbit, clrbit, isset, isclr): New macros.
13600 (howmany, roundup, powerof2): New macros.
13601 (DEV_BSIZE): New macro.
13602
13603 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13604 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13605
13606 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13607 definition on [!__NO_LONG_DOUBLE_MATH].
13608
13609 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13610 PTR_MANGLE and PTR_DEMANGLE.
13611
13612 * socket/accept4.c (accept4): Rename to __libc_accept4.
13613 Define accept4 as a weak alias.
13614
13615 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13616 on [_DIRENT_HAVE_D_TYPE].
13617 * io/ftw.c (ftw_dir): Likewise.
13618
13619 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13620
13621 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13622
13623 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13624 Use the BSD numbers rather than the arbitrary ones we had.
13625 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13626 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13627 (SIGXCPU, SIGXFSZ): New macros.
13628 (_NSIG): Now 32.
13629
13630 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13631 initializer on [_LIBC_REENTRANT].
13632
13633 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13634 definitions inside [_POSIX_MAPPED_FILES].
13635
13636 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13637
13638 * dirent/opendir.c: Include <fcntl.h>.
13639
13640 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13641 (__libc_getspecific): Likewise.
13642 (__libc_key_create): Likewise.
13643
13644 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13645 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13646 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13647 (tmpfile64): Define as alias.
13648 * sysdeps/wordsize-64/tmpfile.c: File removed.
13649 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13650 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13651 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13652
13653 * stdio-common/vfscanf.c: Include <stdbool.h>.
13654 * nss/makedb.c: Likewise.
13655 * stdio-common/_i18n_number.h: Likewise.
13656 * argp/argp-help.c: Likewise.
13657 * posix/wordexp.c: Likewise.
13658 * sysdeps/posix/spawni.c: Likewise.
13659 * nss/nss_files/files-initgroups.c: Likewise.
13660 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13661 * nss/nss_files/files-initgroups.c: Likewise.
13662 * nss/nss_db/db-netgrp.c: Likewise.
13663 * nss/nss_db/db-initgroups.c: Likewise.
13664 * io/fchmodat.c: Include <sys/stat.h>.
13665
13666 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13667 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13668
13669 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13670 [HAVE_MMAP].
13671
13672 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13673 Add multiple inclusion protection.
13674
e5abc686
DM
136752012-07-27 David S. Miller <davem@davemloft.net>
13676
13677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13678
815e6fa3
GB
136792012-07-27 Gary Benson <gbenson@redhat.com>
13680
13681 [BZ #14298]
13682 * elf/rtld.c: Include <stap-probe.h>.
13683 (dl_main): Added static probes "init_start" and "init_complete".
13684 * elf/dl-load.c: Include <stap-probe.h>.
13685 (lose): Take new parameter "nsid".
13686 Added static probe "map_failed".
13687 (_dl_map_object_from_fd): Pass namespace id to lose.
13688 Added static probe "map_start".
13689 (open_verify): Pass namespace id to lose.
13690 * elf/dl-open.c: Include <stap-probe.h>.
13691 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13692 and "reloc_complete".
13693 * elf/dl-close.c: Include <stap-probe.h>.
13694 (_dl_close_worker): Added static probes "unmap_start" and
13695 "unmap_complete".
13696 * elf/rtld-debugger-interface.txt: New file documenting the above.
13697
9f98c16c
RM
136982012-07-26 Roland McGrath <roland@hack.frob.com>
13699
13700 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13701 rather than a string variable.
13702 * sunrpc/rpc_main.c (h_output): Likewise.
13703 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13704
f3c22df3
PT
137052012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13706
13707 * inet/check_native.c: New file.
13708
3129cfc6
JM
137092012-07-26 Joseph Myers <joseph@codesourcery.com>
13710
da865e95
JM
13711 [BZ #13629]
13712 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13713 if larger part has absolute value 1.0.
13714 * math/s_clog10.c (__clog10): Likewise.
13715 * math/s_clog10f.c (__clog10f): Likewise.
13716 * math/s_clog10l.c (__clog10l): Likewise.
13717 * math/s_clogf.c (__clogf): Likewise.
13718 * math/s_clogl.c (__clogl): Likewise.
13719 * math/libm-test.inc (clog_test): Add more tests.
13720 (clog10_test): Likewise.
13721 * sysdeps/i386/fpu/libm-test-ulps: Update.
13722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13723
3129cfc6
JM
13724 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13725 (pltexit): Likewise.
13726 (La_regs): Likewise.
13727 (La_retval): Likewise.
13728 (int_retval): Likewise.
13729 Update #error for removed macros to refer only to definitions in
13730 tst-audit.h.
13731 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13732 macro.
13733 (pltexit): Likewise.
13734 (La_regs): Likewise.
13735 (La_retval): Likewise.
13736 (int_retval): Likewise.
13737 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13738 macro.
13739 (pltexit): Likewise.
13740 (La_regs): Likewise.
13741 (La_retval): Likewise.
13742 (int_retval): Likewise.
13743 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13744 macro.
13745 (pltexit): Likewise.
13746 (La_regs): Likewise.
13747 (La_retval): Likewise.
13748 (int_retval): Likewise.
13749 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13750 macro.
13751 (pltexit): Likewise.
13752 (La_regs): Likewise.
13753 (La_retval): Likewise.
13754 (int_retval): Likewise.
13755 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13756 macro.
13757 (pltexit): Likewise.
13758 (La_regs): Likewise.
13759 (La_retval): Likewise.
13760 (int_retval): Likewise.
13761 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13762 macro.
13763 (pltexit): Likewise.
13764 (La_regs): Likewise.
13765 (La_retval): Likewise.
13766 (int_retval): Likewise.
13767 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13768 macro definitions in tst-audit.h.
13769 * sysdeps/i386/tst-audit.h: New file.
13770 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13771 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13772 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13773 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13774 * sysdeps/sh/tst-audit.h: Likewise.
13775 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13776 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13777 * sysdeps/x86_64/tst-audit.h: Likewise.
13778
bfc07087
AJ
137792012-07-26 Andreas Jaeger <aj@suse.de>
13780
b1b2aaf8
AJ
13781 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13782 ptrace.
13783
13784 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13785 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13786 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13787 PTRACE_O_MASK.
13788 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13789 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13790 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13791
bfc07087
AJ
13792 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13793 value.
13794
13795 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13796 _sigsys.
13797 (si_call_addr, si_syscall, si_arch): Define new macro.
13798 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13799 _sigsys.
13800 (si_call_addr, si_syscall, si_arch): Define new marcro.
13801 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13802 _sigsys.
13803 (si_call_addr, si_syscall, si_arch): Define new macro.
13804 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13805 _sigsys.
13806 (si_call_addr, si_syscall, si_arch): Define new macro.
13807
89b4b02f
JM
138082012-07-25 Joseph Myers <joseph@codesourcery.com>
13809
13810 [BZ #13717]
13811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13812 Change to 2.4.21 where previously 2.4.1.
13813 * sysdeps/unix/sysv/linux/configure: Regenerated.
13814 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13815 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13816 Linux kernel version.
13817 (__ASSUME_STD_AUXV): Remove.
13818 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13819 kernel version.
13820 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13821 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13822 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13823 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13824 (__ASSUME_NETLINK_SUPPORT): Likewise.
13825 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13826 (__no_netlink_support): Remove conditional definition.
13827 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13828 Remove.
13829 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13830 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13831 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13832 (if_nameindex_ioctl): Remove.
13833 (if_nameindex_netlink): Do not handle __no_netlink_support.
13834 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13835 code.
13836 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13837 Remove conditional code.
13838 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13839 code.
13840 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13841 unconditional.
13842 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13843 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13844 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13845 Remove.
13846 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13847 [!__ASSUME_STD_AUXV]: Remove conditional code.
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13849 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13850 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13852 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13853 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13854 code.
13855 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13857 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13858 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13859 conditional code.
13860 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13862 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13863 code.
13864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13865 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13866 conditional code.
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13868 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13869 code unconditional.
13870 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13871 conditional code.
13872 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13873 unconditional.
13874 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13875 conditional code.
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13877 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13878 unconditional.
13879 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13880 conditional code.
13881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13882 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13883 code unconditional.
13884 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13885 conditional code.
13886 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13887 unconditional.
13888 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13889 conditional code.
13890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13891 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13892 code unconditional.
13893 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13894 conditional code.
13895 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13896 unconditional.
13897 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13898 conditional code.
13899
842a39cd
AS
139002012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13901
13902 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13903 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13904 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13905 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13906 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13907 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13908 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13909 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13910 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13911 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13912 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13913 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13914 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13915 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13916 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13917 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13918 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13919 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13920 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13922 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13923 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13924 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13925
84b3fd84
FW
139262012-07-25 Florian Weimer <fweimer@redhat.com>
13927
13928 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
13929 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13930 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13931 Introduce __libc_secure_getenv.
0c7936d5
FW
13932 * stdlib/Versions (2.17): Add secure_getenv
13933 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13934 * stdlib/secure-getenv.c: Rename __secure_getenv to
13935 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13936 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
13937 * stdlib/tst-secure-getenv.c: New.
13938 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
13939 * manual/startup.texi (Environment Access): Document
13940 secure_getenv.
84b3fd84
FW
13941 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13942 __libc_secure_getenv.
13943 * inet/ruserpass.c (ruserpass): Likewise.
13944 * malloc/mtrace.c (mtrace): Likewise.
13945 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 13946 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
13947 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13948 * sysdeps/posix/tempname.c: Likewise. Evaluate
13949 HAVE_SECURE_GETENV.
13950 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 13951 __secure_getenv to __libc_secure_getenv.
84b3fd84 13952 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
13953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13954 Likewise.
13955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13956 Likewise.
13957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 13964
56e49b71
JM
139652012-07-25 Joseph Myers <joseph@codesourcery.com>
13966
13967 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13968 (struct La_i86_retval): Likewise.
13969 (struct La_x86_64_regs): Likewise.
13970 (struct La_x86_64_retval): Likewise.
13971 (struct La_x32_regs): Likewise.
13972 (struct La_x32_retval): Likewise.
13973 (struct La_ppc32_regs): Likewise.
13974 (struct La_ppc32_retval): Likewise.
13975 (struct La_ppc64_regs): Likewise.
13976 (struct La_ppc64_retval): Likewise.
13977 (struct La_sh_regs): Likewise.
13978 (struct La_sh_retval): Likewise.
13979 (struct La_s390_32_regs): Likewise.
13980 (struct La_s390_32_retval): Likewise.
13981 (struct La_s390_64_regs): Likewise.
13982 (struct La_s390_64_retval): Likewise.
13983 (struct La_sparc32_regs): Likewise.
13984 (struct La_sparc32_retval): Likewise.
13985 (struct La_sparc64_regs): Likewise.
13986 (struct La_sparc64_retval): Likewise.
13987 (struct audit_ifaces): Remove architecture-specific pltenter and
13988 pltexit members.
13989 * sysdeps/i386/ldsodefs.h: New file.
13990 * sysdeps/powerpc/ldsodefs.h: Likewise.
13991 * sysdeps/s390/ldsodefs.h: Likewise.
13992 * sysdeps/sh/ldsodefs.h: Likewise.
13993 * sysdeps/sparc/ldsodefs.h: Likewise.
13994 * sysdeps/x86_64/ldsodefs.h: Likewise.
13995
354691b7
MP
139962012-07-25 Marek Polacek <polacek@redhat.com>
13997
13998 [BZ #6808]
13999 * math/libm-test.inc (yn_test): Add another test.
14000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14001 to ERANGE when the result is +-Inf.
14002 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14003 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14004 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14005 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14006
bf9e2071
JM
140072012-07-24 Joseph Myers <joseph@codesourcery.com>
14008
14009 * conform/data/time.h-data (NULL): Use macro-constant. Require
14010 equal to 0.
14011 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14012 clock_t.
14013 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14014
57633811
TS
140152012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14016
14017 * configure.in <sysdeps resolving>: Correct printing
14018 Implies_before.
14019 * configure: Regenerate.
14020
c23c33b0
TS
140212012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14022
14023 * math/w_ilogb.c: Include <limits.h>.
14024 * math/w_ilogbl.c: Likewise.
14025
b5982523
JM
140262012-07-20 Joseph Myers <joseph@codesourcery.com>
14027
14028 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14029 va_copy. Document allowing for unavailable va_copy only as
14030 pre-C99 compatibility.
14031 * manual/string.texi (Copying and Concatenation): Use va_copy
14032 instead of __va_copy in concat example.
14033
ac4ea442
PT
140342012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14035
14036 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14037 (__sendto): Use create_address_port. Initialize APORT and deallocate
14038 it if not null.
14039
f98eafbd
PT
14040 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14041 with O_NOLINK passed to __file_name_lookup.
14042
898c7aab
PT
14043 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14044 with O_NOLINK passed to __file_name_lookup.
14045
0ced335a
PT
14046 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14047 negative N or less than NGIDS.
14048
b3404dbd
PT
14049 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14050 type to string_t. Set ERANGE as errno and return it if NAME is not big
14051 enough. Use memcpy instead of strncpy.
14052
0f48659e
JM
140532012-07-20 Joseph Myers <joseph@codesourcery.com>
14054
14055 * elf/Makefile (check-data): Remove.
14056 (localplt.data): New vpath directive.
14057 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14058 instead of $(check-data).
14059 * scripts/data/localplt-generic.data: Move to ...
14060 * sysdeps/generic/localplt.data: ... here.
14061 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14062 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14063 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14065 ... here.
14066 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14068 ... here.
14069 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14071 ... here.
14072 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14074 ... here.
14075 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14077 ... here.
14078 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14080 ... here.
14081
d37cbdaa
AZ
140822012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14083
14084 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14085 PPC32 and PPC64 files.
14086 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14087 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14088
46f85fc2
AK
140892012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14090
14091 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14092 __makecontext_ret to ...
14093 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14094 ... here and call exit if uc_link is NULL. New file.
14095 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14096 __makecontext_ret.S.
14097 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14098 __makecontext_ret to ...
14099 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14100 ... here and call exit if uc_link is NULL. New file.
14101 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14102 __makecontext_ret.S.
14103
08f43f9b
AK
141042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14105
14106 * elf/elf.h (R_390_IRELATIVE): New definition.
14107 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14108 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14109 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14110 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14111 (elf_machine_lazy_rel): Likewise.
14112 * sysdeps/s390/dl-irel.h: New file.
14113 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14114 * sysdeps/s390/s390-64/memset.S: New asm code.
14115 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14116 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14117 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14118 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14119 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14120 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14121 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14122 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14123 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14124 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14125 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14126 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14127 * sysdeps/s390/s390-32/memset.S: New asm code.
14128 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14129
3b05db33
MP
141302012-07-17 Marek Polacek <polacek@redhat.com>
14131
14132 [BZ #14349]
14133 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14134 * sysdeps/s390/s390-64/configure.in: Likewise.
14135 * sysdeps/sparc/configure.in: Likewise.
14136 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14137 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14138 * sysdeps/i386/configure.in: Likewise.
14139 * sysdeps/x86_64/configure.in: Likewise.
14140 * sysdeps/sh/configure.in: Likewise.
14141 * sysdeps/s390/s390-32/configure: Regenerated.
14142 * sysdeps/s390/s390-64/configure: Likewise.
14143 * sysdeps/x86_64/configure: Likewise.
14144 * sysdeps/sh/configure: Likewise.
14145 * sysdeps/powerpc/powerpc64/configure: Likewise.
14146 * sysdeps/powerpc/powerpc32/configure: Likewise.
14147 * sysdeps/sparc/configure: Likwise.
14148 * sysdeps/i386/configure: Likewise.
14149
a66877c6
MP
14150 * elf/dl-open.c: Comment fixes.
14151
cfc82fd8
JM
141522012-07-17 Joseph Myers <joseph@codesourcery.com>
14153
bd29910a
JM
14154 * Makefile [CXX] (check-data): Remove.
14155 [CXX] (c++-types.data): New vpath directive.
14156 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14157 vpath. Do not allow for C++ type data being missing.
14158 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14159 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14160 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14161 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14162 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14163 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14164 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14166 ... here.
14167 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14169 ... here.
14170 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14172 ... here.
14173 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14175 ... here.
14176 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14178 ... here.
14179 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14181 ... here.
14182 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14184 ... here.
14185 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14187
cfc82fd8
JM
14188 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14189 definitions to architecture-specific files.
14190 (TLS_IE): Likewise.
14191 (TLS_LD): Likewise.
14192 (TLS_GD): Likewise.
14193 * sysdeps/i386/tls-macros.h: New file.
14194 * sysdeps/powerpc/tls-macros.h: Likewise.
14195 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14196 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14197 * sysdeps/sh/tls-macros.h: Likewise.
14198 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14199 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14200 * sysdeps/x86_64/tls-macros.h: Likewise.
14201
f7db3170
TS
142022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14203
07cbfc23
TS
14204 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14205 zero value for regular exit case.
14206
f7db3170
TS
14207 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14208 (__start_context): Preserve zero value for regular exit case.
14209
dc97c227
TS
142102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14211 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14212
14213 * manual/setjmp.texi (setcontext): Clarify normal process
14214 termination when uc_link is the null pointer.
14215 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14216 exit call.
14217
d0cd7d02
AS
142182012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14219
14220 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14221 preprocessor. Test for each exception mask separately.
14222
dd318934
AJ
142232012-07-16 Andreas Jaeger <aj@suse.de>
14224
14225 * po/ru.po: Update from translation team.
14226
8048311a
JM
142272012-07-15 Joseph Myers <joseph@codesourcery.com>
14228
14229 * conform/data/string.h-data (NULL): Use macro-constant. Require
14230 equal to 0.
14231 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14232 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14233 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14234 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14235 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14236
b637d46e
AJ
142372012-07-13 Andreas Jaeger <aj@suse.de>
14238
14239 * po/fr.po: Update from translation team.
14240
541428fe
MP
142412012-07-12 Marek Polacek <polacek@redhat.com>
14242
14243 [BZ #14173]
14244 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14245 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14246 loop condition.
14247
ec332e94
JM
142482012-07-12 Joseph Myers <joseph@codesourcery.com>
14249
14250 [BZ #13717]
14251 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14252 Change to 2.4.1 where previously 2.4.0.
14253 * sysdeps/unix/sysv/linux/configure: Regenerated.
14254 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14255 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14256 version.
14257 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14258 (__ASSUME_AT_CLKTCK): Remove.
14259 (__ASSUME_AT_PAGESIZE): Likewise.
14260 (__ASSUME_AT_XID): Likewise.
14261 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14262 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14263 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14264 unconditionally.
14265 (HAVE_AUX_PAGESIZE): Likewise.
14266 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14267 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14268 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14269
7b6e99be
JB
142702012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14271
14272 [BZ #14307]
14273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14274 the temporary buffer used to invoke __gethostbyname2_r,
14275 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14276 host_data / struct gaih_addrtuple.
14277 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14278 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14279 header file nss/nsswitch.h.
14280 * nss/nsswitch.h (global scope): Add definition of implementation
14281 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14282 resolv/nss_dns/dns-host.c).
14283
608404eb
AJ
142842012-07-11 Andreas Jaeger <aj@suse.de>
14285
14286 * po/fr.po: Update from translation team.
14287
71220aca
AJ
14288 * po/sv.po: Update from translation team
14289 * po/fr.po: Another update from translation team.
14290
28cfe843
AZ
142912012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14292
14293 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14294 for subnormals or multiply small sinh result by itself.
14295 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14297
6b90f981
DM
142982012-07-11 David S. Miller <davem@davemloft.net>
14299
14300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14301
c6825772
AS
143022012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14303
14304 [BZ #14347]
14305 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14306 (INTERNAL_MARK): Shift it here.
14307
7b8e0d49
MP
143082012-07-10 Marek Polacek <polacek@redhat.com>
14309
14310 [BZ #14151]
14311 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14312 libc_cv_asm_global_directive with .globl.
14313 * configure: Regenerated.
14314 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14315 with .globl.
14316 * sysdeps/i386/configure: Regenerated.
14317 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14318 with .globl.
14319 * sysdeps/x86_64/configure: Regenerated.
14320 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14321 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14322 * elf/tst-unique2mod2.c: Likewise.
14323 * elf/tst-unique2mod1.c: Likewise.
14324 * elf/tst-unique1mod2.c: Likewise.
14325 * elf/tst-unique1mod1.c: Likewise.
14326 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14327 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14329 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14330 * sysdeps/mach/sysdep.h: Likewise.
14331 * sysdeps/i386/sysdep.h: Likewise.
14332 * sysdeps/i386/i386-mcount.S: Likewise.
14333 * sysdeps/x86_64/_mcount.S: Likewise.
14334 * sysdeps/x86_64/sysdep.h: Likewise.
14335 * sysdeps/sh/_mcount.S: Likewise.
14336 * sysdeps/sh/sysdep.h: Likewise.
14337 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14338 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14339 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14340 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14341 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14342 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14343 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14344 * locale/localeinfo.h: Likewise.
14345 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14346 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14347
6c55cda3
RM
143482012-07-09 Roland McGrath <roland@hack.frob.com>
14349
14350 [BZ #14336]
14351 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14352 system".
14353 * manual/message.texi (The Uniforum approach): Likewise.
14354 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14355 (glibc iconv Implementation): Likewise.
14356
638a572e
JM
143572012-07-09 Joseph Myers <joseph@codesourcery.com>
14358
14359 [BZ #14337]
14360 * math/s_clog.c (__clog): Avoid scaling a value down where that
14361 could result in underflow.
14362 * math/s_clog10.c (__clog10): Likewise.
14363 * math/s_clog10f.c (__clog10f): Likewise.
14364 * math/s_clog10l.c (__clog10l): Likewise.
14365 * math/s_clogf.c (__clogf): Likewise.
14366 * math/s_clogl.c (__clogl): Likewise.
14367 * math/libm-test.inc (clog_test): Add more tests.
14368 (clog10_test): Likewise.
14369 * sysdeps/i386/fpu/libm-test-ulps: Update.
14370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14371
261f4859
AS
143722012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14373
0abaf3e4
AS
14374 [BZ #14283]
14375 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14376 by 7 not 8 to examine high bit of fractional part.
14377
261f4859
AS
14378 [BZ #14042]
14379 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14380 for call to __mcount_internal.
14381 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14382 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14383 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14384
f17ac40d
JM
143852012-07-06 Joseph Myers <joseph@codesourcery.com>
14386
9ad63c23
JM
14387 [BZ #14154]
14388 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14389 approximation for values within 0x1p-13f of an odd multiple of
14390 pi/4.
14391 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14392 exception. Add more tests.
14393 * sysdeps/i386/fpu/libm-test-ulps: Update.
14394
f17ac40d
JM
14395 [BZ #6778]
14396 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14397 inputs and return -1 for them. Do not check for +Inf in case not
14398 reachable for +Inf.
14399 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14400 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14401 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14402 and return -1 for them. Do not check for +Inf in case not
14403 reachable for +Inf.
14404 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14405 define.
14406 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14407 and return -1 for them. Do not check for +Inf in case not
14408 reachable for +Inf.
14409 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14410 spurious underflow.
14411 * sysdeps/i386/fpu/libm-test-ulps: Update.
14412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14413
fb21f89b
MF
144142012-07-06 Mike Frysinger <vapier@gentoo.org>
14415
14416 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14417
cdfe2c5e
JM
144182012-07-05 Joseph Myers <joseph@codesourcery.com>
14419
14420 [BZ #14157]
14421 [BZ #14331]
14422 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14423 could result in spurious underflow. Scale down values above
14424 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14425 * math/s_csqrtf.c (__csqrtf): Likewise.
14426 * math/s_csqrtl.c (__csqrtl): Likewise.
14427 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14428 spurious underflow.
14429 * sysdeps/i386/fpu/libm-test-ulps: Update.
14430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14431
70d35b67
AS
144322012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14433
704bc459
AS
14434 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14435 xopen-msg.sed.
14436 * catgets/xopen-msg.awk: New file.
14437 * catgets/xopen-msg.sed: Removed.
14438
70d35b67
AS
14439 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14440 po2text.sed.
14441 * intl/po2test.awk: New file.
14442 * intl/po2test.sed: Removed.
14443
ca61cf32
JM
144442012-07-04 Joseph Myers <joseph@codesourcery.com>
14445
14446 [BZ #14328]
14447 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14448 or multiply small sinh result by itself.
14449 * math/s_ctanf.c (__ctanf): Likewise.
14450 * math/s_ctanh.c (__ctanh): Likewise.
14451 * math/s_ctanhf.c (__ctanhf): Likewise.
14452 * math/s_ctanhl.c (__ctanhl): Likewise.
14453 * math/s_ctanl.c (__ctanl): Likewise.
14454 * math/libm-test.inc (ctan_test_tonearest): New function.
14455 (ctan_test_towardzero): Likewise.
14456 (ctan_test_downward): Likewise.
14457 (ctan_test_upward): Likewise.
14458 (ctanh_test_tonearest): Likewise.
14459 (ctanh_test_towardzero): Likewise.
14460 (ctanh_test_downward): Likewise.
14461 (ctanh_test_upward): Likewise.
14462 (main): Call these new functions.
14463 * sysdeps/i386/fpu/libm-test-ulps: Update.
14464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14465
ca48a46a
MF
144662012-07-03 Mike Frysinger <vapier@gentoo.org>
14467
14468 * .gitignore: Delete /ports entry.
14469
9d63d37d
AJ
144702012-07-03 Andreas Jaeger <aj@suse.de>
14471
14472 * po/bg.po: Update from translation team.
14473 * po/cs.po: Likewise.
14474 * po/de.po: Likewise.
14475 * po/hr.po: Likewise.
14476 * po/nl.pl: Likewise.
14477 * po/pl.po: Likewise.
14478 * po/vi.po: Likewise.
14479
370ca3d2
JM
144802012-07-03 Joseph Myers <joseph@codesourcery.com>
14481
95f5a9a8
JM
14482 * Makeconfig [!+link] (+link-before-libc): New variable.
14483 [!+link] (+link-after-libc): Likewise.
14484 [!+link] (+link-tests): Likewise.
14485 [!+link] (+link): Define in terms of $(+link-before-libc) and
14486 $(+link-after-libc).
14487 [!+link-static] (+link-static-before-libc): New variable.
14488 [!+link-static] (+link-static-after-libc): Likewise.
14489 [!+link-static] (+link-static-tests): Likewise.
14490 [!+link-static] (+link-static): Define in terms of
14491 $(+link-static-before-libc) and $(+link-static-after-libc).
14492 [build-shared] (link-libc-before-gnulib): New variable.
14493 [build-shared] (link-libc-tests): Likewise.
14494 [build-shared] (link-libc): Define in terms of
14495 $(link-libc-before-gnulib).
14496 [!build-shared] (link-libc-tests): New variable.
14497 (link-libc-static-tests): New variable.
14498 [!gnulib] (gnulib-arch): New variable.
14499 [!gnulib] (gnulib-tests): Likewise.
14500 [!gnulib] (static-gnulib-arch): Likewise.
14501 [!gnulib] (static-gnulib-tests): Likewise.
14502 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14503 Define with "=" instead of ":=".
14504 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14505 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14506 * Rules (binaries-all-notests): New variable.
14507 (binaries-all-tests): Likewise.
14508 (binaries-static-notests): Likewise.
14509 (binaries-static-tests): Likewise.
14510 (binaries-all): Define using $(binaries-all-notests) and
14511 $(binaries-all-tests).
14512 (binaries-static): Define using $(binaries-static-notests) and
14513 $(binaries-static-tests).
14514 (binaries-shared-tests): New variable.
14515 (binaries-shared-notests): Likewise.
14516 (binaries-shared): Remove variable.
14517 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14518 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14519 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14520 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14521 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14522 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14523 * elf/Makefile (sln-modules): New variable.
14524 (extra-objs): Add $(sln-modules:=.o).
14525 (ldconfig-modules): Add static-stubs.
14526 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14527 * elf/static-stubs.c: New file.
14528
7a845b2c
JM
14529 [BZ #14283]
14530 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14531 by 7 not 8 to examine high bit of fractional part. Use volatile
14532 variables when splitting into final array of floats if
14533 __FLT_EVAL_METHOD__ != 0.
14534 * math/libm-test.inc (cos_test): Add another test.
14535 (sin_test): Likewise.
14536 * sysdeps/i386/fpu/libm-test-ulps: Update.
14537
e2283f38
JM
14538 [BZ #14273]
14539 * math/libm-test.inc (cosh_test): Add more tests.
14540
370ca3d2
JM
14541 * version.h (RELEASE): Set to "development".
14542 (VERSION): Set to "2.16.90".
14543
ee9247c3
CD
145442012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14545
14546 * NEWS: Update copyright. Remove last-updated date.
14547 Mention math library bug fixes and timezone data changes.
14548 * README: Mention GNU/Hurd, x32, and HPPA support status.
14549
4648c381
TS
145502012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14551
14552 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14553
aac78a43
AJ
145542012-06-27 Andreas Jaeger <aj@suse.de>
14555
14556 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14557
ed3dbfad
AJ
145582012-06-25 Andreas Jaeger <aj@suse.de>
14559
14560 * sysdeps/s390/fpu/libm-test-ulps: Update.
14561
4d0ee855
AS
145622012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14563 Thomas Schwinge <thomas@codesourcery.com>
14564
14565 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14566 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14567 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14568 fanotify_mark.
14569
af1bce34
TS
145702012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14571
a9fa33ba
TS
14572 * sysdeps/mach/start.c: Remove file.
14573 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14574 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14575 * sysdeps/sh/init-first.c: Likewise.
14576
58f902b8
TS
14577 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14578 registers for frame unwinding purposes, add CFI directives.
14579 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14580 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14581 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14582 Likewise.
14583
1518f58b
TS
14584 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14585 __fortify_fail returning.
14586 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14587
db9b5059
TS
14588 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14589 sysdeps/sh/____longjmp_chk.S.
14590 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14591 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14592 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14593 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14594
967705fe
TS
14595 * sysdeps/sh/abort-instr.h: New file.
14596 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14597 process in case exit returns.
14598
a9def8c4
TS
14599 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14600 initialize the GOT register before use.
14601
2a649725
TS
14602 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14603 calculation of ARGC > 4.
14604
af1bce34
TS
14605 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14606 meaningful names to some local labels.
14607
d230f50a
KK
146082012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14609 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14610
14611 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14612 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14613 (__arch_compare_and_exchange_val_16_acq): Likewise.
14614 (__arch_compare_and_exchange_val_32_acq): Likewise.
14615 (atomic_exchange_and_add): Fix gUSA sequence.
14616 (atomic_add): Likewise.
14617 (atomic_add_negative): Likewise.
14618 (atomic_add_zero): Likewise.
14619 (atomic_bit_test_set): Likewise.
14620
0479b305
AS
146212012-06-22 Andreas Schwab <schwab@redhat.com>
14622
14623 [BZ #13579]
14624 * include/link.h (struct link_map): Add l_free_initfini.
14625 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14626 l_initfini.
14627 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14628 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14629 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14630 set.
14631
0e3933b9
CD
146322012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14633
14634 * configure.in: Use AC_LANG_SOURCE.
14635 * configure: Regenerate.
14636
4248b1b1
RM
146372012-06-22 Roland McGrath <roland@hack.frob.com>
14638
14639 * configure.in (libc_cv_localstatedir): New substituted variable.
14640 * configure: Regenerated.
14641 * config.make.in (localstatedir): New variable, substituted from
14642 libc_cv_localstatedir.
14643 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14644 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14645 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14646 * sysdeps/gnu/configure: Regenerated.
14647
006dd861
JL
146482012-06-21 Jeff Law <law@redhat.com>
14649
14650 [BZ #14277]
14651 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14652 free. Simplify list management for _LIBC case.
14653
79662d42
JM
146542012-06-21 Joseph Myers <joseph@codesourcery.com>
14655
b7abb4bf
JM
14656 [BZ #14273]
14657 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14658 Clear sign bit of 64-bit integer value before comparing against
14659 overflow value.
14660
79662d42
JM
14661 * sysdeps/mach/configure: Regenerated.
14662
1f150908
L
146632012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14664
14665 [BZ #14278]
14666 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14667
28363bbf
JL
146682012-06-21 Jeff Law <law@redhat.com>
14669
14670 [BZ #13882]
14671 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14672 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 14673 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
14674 * elf/dl-open.c (dl_open_worker): Likewise.
14675
09615db4
CD
146762012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14677
14678 * scripts/list-sources.sh: Scan PORTS for translations.
14679 * po/libc.pot: Regenerated.
14680
2174c6dd
AJ
146812012-06-21 Andreas Jaeger <aj@suse.de>
14682
14683 [BZ #12194]
14684 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14685 warning.
14686 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14687 * bits/byteswap-16.h (__bswap_16): Likewise.
14688 * bits/byteswap.h (__bswap_constant_16): Likewise.
14689
3ee947b1
L
146902012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14691
14692 [BZ #14117]
a2f34833
L
14693 * sysdeps/i386/fpu_control.h: Removed.
14694 * sysdeps/x86_64/fpu_control.h: Moved to ...
14695 * sysdeps/x86/fpu_control.h: Here.
14696
3ee947b1
L
14697 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14698 (_FPU_SETCW): Likewise.
14699
ed1825f8
L
147002012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14701
25f1282a
L
14702 [BZ #14117]
14703 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14704 * sysdeps/x86/fpu/bits/mathinline.h: This.
14705 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14706
ed1825f8
L
14707 [BZ #14050]
14708 [BZ #14117]
14709 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14710 functions if __x86_64__ is defined.
14711
36d54b74
CLT
147122012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14713
14714 * string/endian.h: Add !__ASSEMBLER__ condition for including
14715 conversion interfaces.
14716
10285c21
JM
147172012-06-15 Joseph Myers <joseph@codesourcery.com>
14718
14719 [BZ #14241]
14720 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14721 of ABS(x) in calculating zero to negative powers other than odd
14722 integers.
14723 * math/libm-test.inc (pow_test): Add more tests.
14724
06c5abbd
AJ
147252012-06-15 Andreas Jaeger <aj@suse.de>
14726
14727 * manual/contrib.texi (Contributors): Update entry of Liubov
14728 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14729 Machado Filho.
14730
a3aeac40
CH
147312012-06-15 Cyril Hrubis <metan@ucw.cz>
14732
14733 * string/string.h: Add __wur to GNU version of strerror_r.
14734
49bdf4c1
L
147352012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14736
14737 [BZ #14229]
14738 * string/Makefile (tests): Add tst-strtok_r.
14739 * string/tst-strtok_r.c: New file.
14740 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14741 RAX_LP/RDX_LP on SAVE_PTR.
14742
834f9b8d
RM
147432012-06-14 Roland McGrath <roland@hack.frob.com>
14744
14745 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14746
75fa1921
JM
147472012-06-14 Joseph Myers <joseph@codesourcery.com>
14748
14749 * libm_test.inc (csqrt_test): Allow more spurious underflow
14750 exceptions.
14751 (j0_test): Likewise.
14752 (j1_test): Likewise.
14753 (y0_test): Likewise.
14754 (y1_test): Likewise.
14755
771766df
CD
147562012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14757
14758 * po/Makefile (libc.pot): Use UTF-8 charset.
14759
ceb9e56b
PP
147602012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14761
14762 [BZ #14210]
14763 Suppress sign-conversion warning from FD_SET.
14764 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14765 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14766 not unsigned long int.
14767 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14768
ddb28975
L
147692012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14770
14771 [BZ #14050]
14772 [BZ #14117]
14773 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14774 __extern_always_inline instead of __extern_inline.
14775 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14776 (__signbit): Likewise.
14777 (__signbitl): Support C++ namespace.
14778 (lrintf): New inline function.
14779 (lrint): Likewise.
14780 (llrintf): Likewise.
14781 (llrint): Likewise.
14782 (fmaxf): Likewise.
14783 (fmax): Likewise.
14784 (fminf): Likewise.
14785 (fmin): Likewise.
14786 (rint): Likewise.
14787 (rintf): Likewise.
14788 (ceil): Likewise.
14789 (ceilf): Likewise.
14790 (floor): Likewise.
14791 (floorf): Likewise.
14792 (nearbyint): Likewise.
14793 (nearbyintf): Likewise.
14794
d7b4fb26
TS
147952012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14796
14797 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14798 non-default versions.
14799
eb55f5c2
RM
148002012-06-11 Roland McGrath <roland@hack.frob.com>
14801
14802 [BZ #14218]
14803 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14804
366af02c
TS
148052012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14806
99ff6e5c
TS
14807 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14808 (FE_UPWARD, FE_DOWNWARD): Don't define.
14809 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14810 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14811
366af02c
TS
14812 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14813 reading it.
14814 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14815 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14816
793ea851
KK
148172012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14818
14819 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14820 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14821 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14822 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14823
a728a38f
L
148242012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14825
14826 [BZ #14117]
c08010c7
L
14827 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14828 * sysdeps/i386/fpu/Implies: New file.
14829 * sysdeps/x86_64/fpu/Implies: Likewise.
14830 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14831 * sysdeps/x86/fpu/bits/fenv.h: This.
14832
a728a38f
L
14833 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14834 __SSE_MATH__.
14835
6e230d11
SP
148362012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14837
14838 [BZ #14134]
14839 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14840 character 0xffff that matches the last element of the
14841 conversion table.
14842
1b671feb
AZ
148432012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14844
14845 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14846 fmodl commit.
14847
6043738b
AZ
148482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14849
14850 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14851 values higher than 25.6283.
14852
34ae0b32
AZ
148532012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14854
14855 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14856 subnormal exponent extraction and add some __builtin_expect.
14857 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14858 Fix for subnormal mantissa calculation.
14859
1214ec8f
MF
148602012-06-04 Mike Frysinger <vapier@gentoo.org>
14861
14862 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14863 cpu2 is -1 and errno is not ENOSYS.
14864
f3d1f93c
L
148652012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14866
14867 [BZ #14117]
0e4a3cd7
L
14868 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14869 * sysdeps/x86/bits/string.h: This.
14870 * sysdeps/x86_64/bits/string.h: Removed.
14871
6704c645
L
14872 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14873 if not compiling for x86-64, but compiling for >= i486.
14874
48495318
L
14875 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14876 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14877
14adcbfc
L
14878 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14879 New macro from Linux kernel 3.4.0.
14880 (FP_XSTATE_MAGIC2): Likewise.
14881 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14882 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14883 (struct _fpx_sw_bytes): New struct.
14884 (struct _xsave_hdr): Likewise.
14885 (struct _ymmh_state): Likewise.
14886 (struct _xstate): Likewise.
14887
68e408ab
L
14888 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14889 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14890 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14891 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14892 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14893 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14894
f3d1f93c
L
14895 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14896 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14897 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14898 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14899 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14900 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14901
d9dc34cd
TMQMF
149022012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14903
14904 [BZ #13743]
14905 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14906 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14907 (sysdep_headers): Include sys/platform/ppc.h.
14908 * sysdeps/powerpc/test-gettimebase.c: Test for
14909 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14910 * manual/Makefile (appendices): Include platform.texi.
14911 * manual/contrib.texi (Contributors): Update @node pointers.
14912 * manual/maint.texi (Maintenance): Likewise.
14913 (Platform): New node.
14914 * manual/platform.texi: New file. Document the new features.
14915
4af3879c
SP
149162012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14917 Jakub Jelinek <jakub@redhat.com>
14918
14919 [BZ #14188]
14920 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14921 where __builtin_expect is unavailable.
14922
2fd6ff13
DM
149232012-06-03 David S. Miller <davem@davemloft.net>
14924
14925 * stdlib/longlong.h: Updated from GCC.
14926
173f7220
AS
149272012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14928
14929 [BZ #14042]
14930 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14931 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14932 __mcount_internal.
14933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14934 (GLIBC_2.16): Likewise.
14935
f34a1c6f
L
149362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14937
14938 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14939
88a4576f
JM
149402012-06-01 Joseph Myers <joseph@codesourcery.com>
14941
ea32bcdd
JM
14942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14943 (default-abi): New variable.
14944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14945 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14946 variable.
14947 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14948 Likewise.
14949 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14950 Likewise.
14951 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14952 Likewise.
14953
88a4576f
JM
14954 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14955 definition. Document in comment.
14956
402fe938
DM
149572012-06-01 David S. Miller <davem@davemloft.net>
14958
14959 * stdlib/longlong.h: Updated from GCC.
14960
3553723f
L
149612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14962
14963 [BZ #14117]
3bd872c4
L
14964 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14965 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14966 sys/debugreg.h sys/io.h here.
14967 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14968 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14969 sys/io.h.
14970 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14971 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14972 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14973 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14974 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14975 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14976
3553723f
L
14977 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14978 Define only if __x86_64__ is defined.
14979
4842e4fe
JM
149802012-06-01 Joseph Myers <joseph@codesourcery.com>
14981
c5bfe3d5
JM
14982 [BZ #14048]
14983 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14984 Use int64_t for variable i.
14985 * math/libm-test.inc (fmod_test): Add more tests.
14986
4842e4fe
JM
14987 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14988 z computation is not scheduled after fetestexcept.
14989 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14990 Use math_force_eval instead of asm to ensure calculation scheduled
14991 before exception test.
14992 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14993 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14994
efb73488
AJ
149952012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14996
14997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14998 computation is not scheduled after fetestexcept.
14999
29bcce7c
L
150002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15001
15002 [BZ #14117]
15003 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15004 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15005
73a68f94
AZ
150062012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15007
15008 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15009 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15010
67b6df78
L
150112012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15012
edf2933a 15013 [BZ #14117]
ebc64a18
L
15014 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15015 <bits/wordsize.h>.
15016 (__WCHAR_MIN): Support __WORDSIZE == 64.
15017 (__WCHAR_MAX): Likewise.
15018
edf2933a
L
15019 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15020 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15021
57c6cf40
L
15022 [BZ #14183]
15023 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15024 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15025
67b6df78 15026 [BZ #14117]
8eb6281e
L
15027 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15028 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15029
aac639f4
L
15030 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15031 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15032
67b6df78
L
15033 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15034 Defined to 1 if __x86_64__ isn't defined.
15035 (_STAT_VER_LINUX_OLD): New.
15036 (st_atime): Remove duplicate.
15037 (st_mtime): Likewise.
15038 (st_ctime): Likewise.
15039
1c2cfe81
DM
150402012-05-31 David S. Miller <davem@davemloft.net>
15041
15042 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15043 entries.
15044
5be8418c
AS
150452012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15046
e7725326
AS
15047 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15048 gen-libm-test.pl.
15049
5be8418c
AS
15050 [BZ #14132]
15051 * elf/dl-reloc.c: Include <_itoa.h>.
15052 (_dl_reloc_bad_type): Remove use of INTUSE.
15053 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15054 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15055 * stdio-common/psiginfo.c (psiginfo): Likewise.
15056 * stdio-common/psignal.c (psignal): Likewise.
15057 * string/strsignal.c (strsignal): Likewise.
15058 * include/signal.h (_sys_siglist): Declare hidden proto.
15059 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15060 INTVARDEF with libc_hidden_data_def.
15061 * stdio-common/itoa-udigits.c: Likewise.
15062 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15063 (_itoa_lower_digits_internal): Remove declaration.
15064 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15065 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15066 (_sys_sigabbrev_internal): Remove aliases.
15067 (_sys_siglist): Define hidden alias.
15068
507352f1
MT
150692012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15070
15071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15072 bits/sysctl.h.
15073
42bbb1c3
L
150742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15075
15076 [BZ #14117]
6bd784b6
L
15077 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15078 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15079
8bca20f0
L
15080 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15081 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15082 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15083 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15084 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15085 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15086
f9e890a9
L
15087 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15088 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15089 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15090
471101a1
L
15091 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15092 with __addr.
15093 (insw): Likewise.
15094 (insl): Likewise.
15095 (outsb): Likewise.
15096 (outsw): Likewise.
15097 (outsl): Likewise.
15098
6451c862
L
15099 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15100 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15101 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15102
a254b8c9
L
15103 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15104 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15105 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15106 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15107 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15108 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15109
b8dfdd92
L
15110 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15111 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15112
578cd270
L
15113 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15114 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15115
de662f5f
L
15116 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15117 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15118 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15119
25653439
L
15120 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15121 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15122 to ...
15123 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15124
6bad24a0
L
15125 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15126 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15127 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15128
42bbb1c3
L
15129 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15130 for x86-64.
15131 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15132
2d10d547
JM
151332012-05-31 Joseph Myers <joseph@codesourcery.com>
15134
15135 * math/math.h (M_El): Use two more decimal places.
15136 (M_LOG2El): Likewise.
15137 (M_LOG10El): Likewise.
15138 (M_LN2l): Likewise.
15139 (M_LN10l): Likewise.
15140 (M_PIl): Likewise.
15141 (M_PI_2l): Likewise.
15142 (M_PI_4l): Likewise.
15143 (M_1_PIl): Likewise.
15144 (M_2_PIl): Likewise.
15145 (M_2_SQRTPIl): Likewise.
15146 (M_SQRT2l): Likewise.
15147 (M_SQRT1_2l): Likewise.
15148
f230c29b
DM
151492012-05-31 David S. Miller <davem@davemloft.net>
15150
15151 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15152 values between float registers.
15153 * sysdeps/sparc/sparc64/memset.S: Likewise.
15154 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15155
fed806c3
MF
151562012-05-31 Mike Frysinger <vapier@gentoo.org>
15157
15158 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15159 -D_FORTIFY_SOURCE=1.
15160 (CPPFLAGS-tst-longjmp_chk.c): Define.
15161 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15162 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15163 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15164 CFLAGS-tst-wchar-h.c.
15165
30917259
MP
151662012-05-31 Marek Polacek <polacek@redhat.com>
15167
15168 [BZ #14132]
15169 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15170 __endmntent_internal): Remove declaration.
15171 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15172 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15173 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15174
1c58d5dc
DM
151752012-05-30 David S. Miller <davem@davemloft.net>
15176
15177 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15178 (___Q_simulate_exceptions): Use real FP ops rather than writing
15179 into the %fsr.
15180 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15181 Likewise.
15182
7dc00e0d
L
151832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15184
15185 [BZ #14117]
0bd53985
L
15186 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15187 * sysdeps/x86/bits/xtitypes.h: This.
15188
3a257e66
L
15189 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15190 * sysdeps/x86/bits/wordsize.h: This.
15191
62f62904
L
15192 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15193 * sysdeps/x86/bits/huge_vall.h: This.
15194
404fe9d9
L
15195 * sysdeps/i386/bits/select.h: Removed.
15196 * sysdeps/x86_64/bits/select.h: Renamed to ...
15197 * sysdeps/x86/bits/select.h: This.
15198
d48d0446
L
15199 * sysdeps/i386/bits/setjmp.h: Removed.
15200 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15201 * sysdeps/x86/bits/setjmp.h: This.
15202
7dc00e0d
L
15203 * sysdeps/i386/bits/mathdef.h: Removed.
15204 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15205 * sysdeps/x86/bits/mathdef.h: This.
15206
03277f8f
AS
152072012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15208
15209 [BZ #14132]
15210 * include/sys/socket.h (__connect_internal)
15211 (__libc_sa_len_internal): Remove declaration.
15212 (__connect, __libc_sa_len): Declare hidden_proto.
15213 (SA_LEN): Remove use of INTUSE.
15214 * socket/connect.c: Add libc_hidden_def.
15215 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15216 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15217 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15218 alias.
15219 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15220 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15221 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15222 of adding _internal alias.
15223
13764867
L
152242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15225
15226 [BZ #14117]
6bd97696
L
15227 * sysdeps/i386/bits/link.h: Removed.
15228 * sysdeps/i386/bits/linkmap.h: Likewise.
15229 * sysdeps/x86_64/bits/link.h: Renamed to ...
15230 * sysdeps/x86/bits/link.h: This.
15231 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15232 * sysdeps/x86/bits/linkmap.h: This.
15233
f726f0bb
L
15234 * sysdeps/i386/bits/endian.h: Removed.
15235 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15236 * sysdeps/x86/bits/endian.h: This.
15237
13764867
L
15238 * sysdeps/i386/bits/byteswap.h: Removed.
15239 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15240 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15241 * sysdeps/x86/bits/byteswap.h: This.
15242 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15243 * sysdeps/x86/bits/byteswap-16.h: This.
15244 * sysdeps/i386/Implies: Add x86.
15245 * sysdeps/x86_64/Implies: Likewise.
15246
ae251b0b
DM
152472012-05-30 David S. Miller <davem@davemloft.net>
15248
15249 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15250 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15251 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15252 (FP_TRAPPING_EXCEPTIONS): Define.
15253 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15254 (FP_TRAPPING_EXCEPTIONS): Define.
15255 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15256 subnormals only when inexact has been signalled or underflow
15257 exceptions are enabled.
15258 (_FP_PACK_CANONICAL): Likewise.
15259
d5c90867
L
152602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15261
15262 [BZ #14183]
15263 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15264 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15265
63f1549e
RH
152662012-05-30 Richard Henderson <rth@twiddle.net>
15267
8d8f2279
RH
15268 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15269 with #ifndef NOT_IN_libc.
15270
63f1549e
RH
15271 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15272 marked to avoid plt entry.
15273
0ab0291b
L
152742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15275
15276 [BZ #14112]
15277 * Makeconfig (default-abi): New macro.
15278 (abi-includes): Likewise.
15279 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15280 $(abi-$(default-abi)-lib-soname) for soname if defined.
15281 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15282 abi-variants.
15283 * Makefile (installed-stubs): Likewise.
15284 * include/stubs-biarch.h: Removed.
15285 * scripts/lib-names.awk: Only handle one library at a time.
15286 * scripts/soversions.awk: Remove WORDSIZE support.
15287 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15288 entries.
15289 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15290 Removed.
15291 (syscall-list-default-condition): Likewise.
15292 (syscall-list-default-condition): Likewise.
15293 (syscall-list-includes): Likewise.
15294 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15295 syscall-list-* with abi-*. Handle undefined abi-variants.
15296 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15297 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15298 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15299 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15300 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15301 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15302 Removed.
15303 (syscall-list-32-options): Likewise.
15304 (syscall-list-32-condition): Likewise.
15305 (syscall-list-64-options): Likewise.
15306 (syscall-list-64-condition): Likewise.
15307 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15308 macro.
15309 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15310 Renamed to ...
15311 (abi-*): This.
15312 (abi-64-ld-soname): New macro.
15313 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15314 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15315 Renamed to ...
15316 (abi-*): This.
15317 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15318 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15319
4da0431d
JM
153202012-05-30 Joseph Myers <joseph@codesourcery.com>
15321
3a85279c
JM
15322 * sysdeps/unix/sysv/linux/kernel-features.h
15323 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15324 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15325 include <kernel-features.h>.
15326 [!__NR_ftruncate64]: Remove conditional code.
15327 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15328 [__NR_ftruncate64]: Make code unconditional.
15329 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15330 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15331 include <kernel-features.h>.
15332 [!__NR_ftruncate64]: Remove conditional code.
15333 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15334 [__NR_ftruncate64]: Make code unconditional.
15335 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15337 include <kernel-features.h>.
15338 [!__NR_ftruncate64]: Remove conditional code.
15339 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15340 [__NR_ftruncate64]: Make code unconditional.
15341 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15343 include <kernel-features.h>.
15344 [!__NR_ftruncate64]: Remove conditional code.
15345 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15346 [__NR_ftruncate64]: Make code unconditional.
15347 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15348
4da0431d
JM
15349 * configure.in (libc_cv_fpie): Weaken to a compile test using
15350 LIBC_TRY_CC_OPTION.
15351 * configure: Regenerated.
15352
11ef492c
AK
153532012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15354
15355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15359 Refreshed.
15360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15366 Refreshed.
15367
d66ef399
DM
153682012-05-27 David S. Miller <davem@davemloft.net>
15369
15370 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15371 (___Q_zero): New.
15372 (__Q_simulate_exceptions): Return void. Change to simulate
15373 exceptions by writing into the %fsr.
15374 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15375 (__Qp_handle_exceptions): Likewise.
15376 (numbers): Delete.
15377 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15378 __Qp_handle_exceptions.
15379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15380 __Qp_handle_exceptions.
15381 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15382 as unused and give dummy FP_RND_NEAREST initializer.
15383 (FP_INHIBIT_RESULTS): Define.
15384 (___Q_simulate_exceptions): Update declaration.
15385 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15386 formatting.
15387 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15388 as unused and give dummy FP_RND_NEAREST initializer.
15389 (__Qp_handle_exceptions): Update declaration.
15390 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15391 formatting.
15392
04fb54b5
TS
153932012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15394
15395 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15396 the temporary FPU control word.
15397 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15398 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15399 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15400 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15401 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15402 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15403 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15404 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15405 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15406 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15407 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15408
3f99608f
KK
154092012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15410
15411 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15412 fields.
15413
65a4de4e
CLT
154142012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15415
15416 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15417 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15418 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15419 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15420 Likewise.
15421 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15422 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15423 Likewise.
15424
15749d40
UD
154252012-05-27 Ulrich Drepper <drepper@gmail.com>
15426
15427 * po/h.po: Update from translation team.
15428
25dbcb27
AS
154292012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15430
3d3f8e55
AS
15431 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15432
25dbcb27
AS
15433 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15434 handling of denormals.
15435 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15436 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15437 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15438 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15439 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15442 Likewise.
15443
7ad47a80 154442012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15445
15446 [BZ #14152]
15447 * math/libm-test.inc (fma_test): Don't always expect underflow
15448 exception.
15449
9c6ea9fa
SP
154502012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15451
15452 [BZ #12416]
15453 * elf/tst-execstack.c: Include stackinfo.h.
15454 (do_test): Adjust test case to ensure that pthread_getattr_np
15455 behaviour remains the same after marking stack executable.
15456
a8239222
JM
154572012-05-25 Joseph Myers <joseph@codesourcery.com>
15458
15459 * sysdeps/unix/sysv/linux/kernel-features.h
15460 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15461 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15462 kernel-features.h.
15463 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15464 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15465 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15466 kernel-features.h.
15467 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15468 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15469
918b5606
L
154702012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15471
15472 * configure.in: Define the default includes to being none.
15473 * configure: Regenerated.
15474
3a097cc7
RM
154752012-05-25 Roland McGrath <roland@hack.frob.com>
15476
8422c9a5
RM
15477 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15478 * sysdeps/x86_64/setjmp.S: Likewise.
15479 * sysdeps/i386/bsd-setjmp.S: Likewise.
15480 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15481 * sysdeps/i386/setjmp.S: Likewise.
15482 * sysdeps/i386/__longjmp.S: Likewise.
15483 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15484 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15485
3a097cc7
RM
15486 * include/stap-probe.h: New file.
15487 * configure.in: Handle --enable-systemtap.
15488 * configure: Regenerated.
15489 * config.h.in (USE_STAP_PROBE): New #undef.
15490 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15491 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15492 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15493
21708942
JM
154942012-05-25 Joseph Myers <joseph@codesourcery.com>
15495
15496 [BZ #13717]
15497 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15498 to 2.4.0 where earlier.
15499 * sysdeps/unix/sysv/linux/configure: Regenerated.
15500 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15501 <kernel-features.h>.
15502 [__ASSUME_32BITUIDS]: Make code unconditional.
15503 [!__ASSUME_32BITUIDS]: Remove conditional code.
15504 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15505 <kernel-features.h>.
15506 [__ASSUME_32BITUIDS]: Make code unconditional.
15507 [!__ASSUME_32BITUIDS]: Remove conditional code.
15508 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15509 [__ASSUME_32BITUIDS]: Make code unconditional.
15510 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15511 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15512 <kernel-features.h>.
15513 [__ASSUME_32BITUIDS]: Make code unconditional.
15514 [!__ASSUME_32BITUIDS]: Remove conditional code.
15515 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15516 <kernel-features.h>.
15517 [__ASSUME_32BITUIDS]: Make code unconditional.
15518 [!__ASSUME_32BITUIDS]: Remove conditional code.
15519 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15520 <kernel-features.h>.
15521 [__ASSUME_32BITUIDS]: Make code unconditional.
15522 [!__ASSUME_32BITUIDS]: Remove conditional code.
15523 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15524 <kernel-features.h>.
15525 [__ASSUME_32BITUIDS]: Make code unconditional.
15526 [!__ASSUME_32BITUIDS]: Remove conditional code.
15527 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15528 <kernel-features.h>.
15529 [__ASSUME_32BITUIDS]: Make code unconditional.
15530 [!__ASSUME_32BITUIDS]: Remove conditional code.
15531 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15532 <kernel-features.h>.
15533 [__ASSUME_32BITUIDS]: Make code unconditional.
15534 [!__ASSUME_32BITUIDS]: Remove conditional code.
15535 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15536 <kernel-features.h>.
15537 [__ASSUME_32BITUIDS]: Make code unconditional.
15538 [!__ASSUME_32BITUIDS]: Remove conditional code.
15539 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15540 <kernel-features.h>.
15541 [__ASSUME_32BITUIDS]: Make code unconditional.
15542 [!__ASSUME_32BITUIDS]: Remove conditional code.
15543 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15544 <kernel-features.h>.
15545 [__ASSUME_32BITUIDS]: Make code unconditional.
15546 [!__ASSUME_32BITUIDS]: Remove conditional code.
15547 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15548 <kernel-features.h>.
15549 [__ASSUME_32BITUIDS]: Make code unconditional.
15550 [!__ASSUME_32BITUIDS]: Remove conditional code.
15551 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15552 <kernel-features.h>.
15553 [__NR_setresgid] (__setresgid): Do not declare.
15554 [__ASSUME_32BITUIDS]: Make code unconditional.
15555 [!__ASSUME_32BITUIDS]: Remove conditional code.
15556 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15557 <kernel-features.h>.
15558 [__NR_setresuid] (__setresuid): Do not declare.
15559 [__ASSUME_32BITUIDS]: Make code unconditional.
15560 [!__ASSUME_32BITUIDS]: Remove conditional code.
15561 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15562 <kernel-features.h>.
15563 [__ASSUME_32BITUIDS]: Make code unconditional.
15564 [!__ASSUME_32BITUIDS]: Remove conditional code.
15565 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15566 <kernel-features.h>.
15567 [__ASSUME_32BITUIDS]: Make code unconditional.
15568 [!__ASSUME_32BITUIDS]: Remove conditional code.
15569 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15570 <kernel-features.h>.
15571 [__ASSUME_32BITUIDS]: Make code unconditional.
15572 [!__ASSUME_32BITUIDS]: Remove conditional code.
15573 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15574 <kernel-features.h>.
15575 [__ASSUME_32BITUIDS]: Make code unconditional.
15576 [!__ASSUME_32BITUIDS]: Remove conditional code.
15577 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15578 <kernel-features.h>.
15579 [__ASSUME_32BITUIDS]: Make code unconditional.
15580 [!__ASSUME_32BITUIDS]: Remove conditional code.
15581 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15582 <kernel-features.h>.
15583 [__ASSUME_32BITUIDS]: Make code unconditional.
15584 [!__ASSUME_32BITUIDS]: Remove conditional code.
15585 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15586 <kernel-features.h>.
15587 [__ASSUME_32BITUIDS]: Make code unconditional.
15588 [!__ASSUME_32BITUIDS]: Remove conditional code.
15589 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15590 <kernel-features.h>.
15591 [__ASSUME_32BITUIDS]: Make code unconditional.
15592 [!__ASSUME_32BITUIDS]: Remove conditional code.
15593 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15594 <kernel-features.h>.
15595 [__ASSUME_32BITUIDS]: Make code unconditional.
15596 [!__ASSUME_32BITUIDS]: Remove conditional code.
15597 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15598 <kernel-features.h>.
15599 [__ASSUME_32BITUIDS]: Make code unconditional.
15600 [!__ASSUME_32BITUIDS]: Remove conditional code.
15601 * sysdeps/unix/sysv/linux/kernel-features.h
15602 (__ASSUME_SETRESUID_SYSCALL): Remove.
15603 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15604 (__ASSUME_32BITUIDS): Likewise.
15605 (__ASSUME_LDT_WORKS): Likewise.
15606 (__ASSUME_O_DIRECTORY): Likewise.
15607 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15608 architecture but not kernel version.
15609 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15610 (__ASSUME_MMAP2_SYSCALL): Likewise.
15611 (__ASSUME_STAT64_SYSCALL): Likewise.
15612 (__ASSUME_IPC64): Likewise.
15613 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15614 <kernel-features.h>.
15615 [__ASSUME_32BITUIDS]: Make code unconditional.
15616 [!__ASSUME_32BITUIDS]: Remove conditional code.
15617 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15618 <kernel-features.h>.
15619 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15620 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15621 132096]: Remove conditional code.
15622 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15623 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15624 <kernel-features.h>.
15625 [__ASSUME_32BITUIDS]: Make code unconditional.
15626 [!__ASSUME_32BITUIDS]: Remove conditional code.
15627 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15628 <kernel-features.h>.
15629 [__ASSUME_32BITUIDS]: Make code unconditional.
15630 [!__ASSUME_32BITUIDS]: Remove conditional code.
15631 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15632 <kernel-features.h>.
15633 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15634 unconditional.
15635 (__setresgid): Do not declare.
15636 [__ASSUME_32BITUIDS]: Make code unconditional.
15637 [!__ASSUME_32BITUIDS]: Remove conditional code.
15638 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15639 <kernel-features.h>.
15640 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15641 unconditional.
15642 (__setresuid): Do not declare.
15643 [__ASSUME_32BITUIDS]: Make code unconditional.
15644 [!__ASSUME_32BITUIDS]: Remove conditional code.
15645 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15646 <kernel-features.h>.
15647 [__ASSUME_32BITUIDS]: Make code unconditional.
15648 [!__ASSUME_32BITUIDS]: Remove conditional code.
15649 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15650 <kernel-features.h>.
15651 [__ASSUME_32BITUIDS]: Make code unconditional.
15652 [!__ASSUME_32BITUIDS]: Remove conditional code.
15653
a386f1cc
RH
156542012-05-25 Richard Henderson <rth@twiddle.net>
15655
15656 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15657 dl_hwcap to ifunc resolver.
15658 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15659 elf_ifunc_invoke.
15660 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15661 dl_hwcap to ifunc resolver.
15662 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15663
b6550497
JM
156642012-05-24 Joseph Myers <joseph@codesourcery.com>
15665
15666 [BZ #14153]
15667 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15668 for |x| <= 2**-26, not 2**-57.
15669 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15670 exception.
15671
b0bc23a1
JL
156722012-05-24 Jeff Law <law@redhat.com>
15673
15674 * stdio-common/Makefile (tests): Add bug25.
15675 * stdio-common/bug25.c: New test.
15676
347c92e9
L
156772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15678
15679 [BZ #13576]
15680 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15681 multiple of MALLOC_ALIGNMENT in size.
15682 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15683
6bcc8b3f
JM
156842012-05-24 Joseph Myers <joseph@codesourcery.com>
15685
15686 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15687 Require >= 256.
15688 (FILENAME_MAX): Use macro-int-constant.
15689 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15690 (_IOFBF): Use macro-int-constant.
15691 (_IOLBF): Likewise.
15692 (_IONBF): Likewise.
15693 (SEEK_CUR): Likewise.
15694 (SEEK_END): Likewise.
15695 (SEEK_SET): Likewise.
15696 (TMP_MAX): Likewise.
15697 (EOF): Use macro-int-constant. Require < 0.
15698 (NULL): Use macro-constant. Require == 0.
15699 (stdin): Require type to be FILE *.
15700 (stdout): Likewise.
15701 (stderr): Likewise.
15702 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15703 macro-int-constant.
15704 (EXIT_SUCCESS): Likewise.
15705 (NULL): Use macro-constant. Require == 0.
15706 (RAND_MAX): Use macro-int-constant.
15707 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15708 [C99-based standards] (strtof): Require function.
15709 [C99-based standards] (strtold): Likewise.
15710 [C99-based standards] (strtoll): Likewise.
15711 [C99-based standards] (strtoull): Likewise.
15712 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15713 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15714 [ISO || ISO99 || ISO11] (math.h): Likewise.
15715 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15716 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15717 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15718
d18ea0c5
AS
157192012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15720
15721 [BZ #14132]
56d25bb8
AS
15722 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15723 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15724 * intl/dgettext.c (DCGETTEXT): Likewise.
15725 * intl/gettext.c (DCGETTEXT): Likewise.
15726 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15727 * posix/regex_internal.h (gettext): Likewise.
15728 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15729 Remove declaration.
15730 * include/argz.h (__argz_count_internal)
15731 (__argz_stringify_internal): Remove declaration.
15732 (__argz_count, __argz_stringify): Declare hidden proto.
15733 * intl/dcgettext.c: Remove use of INTDEF.
15734 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15735 * string/argz-stringify.c: Likewise.
15736 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15737 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15738 Declare hidden proto.
d18ea0c5
AS
15739 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15740 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15741 Declare hidden proto.
15742 * include/stdio.h (__asprintf_internal): Don't declare.
15743 (__asprintf): Don't define as macro. Declare hidden proto.
15744 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15745 (__fsetlocking): Declare hidden proto.
15746 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15747 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15748 hidden proto.
15749 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15750 (_IO_setlinebuf): Remove use of INTUSE.
15751 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15752 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15753 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15754 Remove declaration.
15755 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15756 (_IO_do_flush): Remove use of INTUSE.
15757 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15758 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15759 (_IO_adjust_column, _IO_least_wmarker)
15760 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15761 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15762 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15763 (_IO_default_doallocate, _IO_wdefault_doallocate)
15764 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15765 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15766 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15767 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15768 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15769 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15770 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15771 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15772 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15773 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15774 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15775 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15776 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15777 proto.
15778 (_IO_flush_all_internal, _IO_adjust_column_internal)
15779 (_IO_default_uflow_internal, _IO_default_finish_internal)
15780 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15781 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15782 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15783 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15784 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15785 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15786 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15787 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15788 (_IO_file_close_internal, _IO_file_close_it_internal)
15789 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15790 (_IO_file_init_internal, _IO_file_attach_internal)
15791 (_IO_file_fopen_internal, _IO_file_read_internal)
15792 (_IO_file_sync_internal, _IO_file_seek_internal)
15793 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15794 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15795 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15796 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15797 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15798 (_IO_list_all_internal, _IO_link_in_internal)
15799 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15800 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15801 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15802 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15803 (_IO_do_write_internal, _IO_padn_internal)
15804 (_IO_getline_info_internal, _IO_getline_internal)
15805 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15806 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15807 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15808 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15809 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15810 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15811 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15812 with libc_hidden_ver, remove use of INTUSE.
15813 * libio/genops.c: Likewise.
15814 * libio/freopen.c: Likewise.
15815 * libio/freopen64.c: Likewise.
15816 * libio/iofclose.c: Likewise.
15817 * libio/iofdopen.c: Likewise.
15818 * libio/iofflush.c: Likewise.
15819 * libio/iofflush_u.c: Likewise.
15820 * libio/iofgets.c: Likewise.
15821 * libio/iofgets_u.c: Likewise.
15822 * libio/iofopen.c: Likewise.
15823 * libio/iofopncook.c: Likewise.
15824 * libio/iofread.c: Likewise.
15825 * libio/iofread_u.c: Likewise.
15826 * libio/ioftell.c: Likewise.
15827 * libio/iofwrite.c: Likewise.
15828 * libio/iogetline.c: Likewise.
15829 * libio/iogets.c: Likewise.
15830 * libio/iogetwline.c: Likewise.
15831 * libio/iopadn.c: Likewise.
15832 * libio/iopopen.c: Likewise.
15833 * libio/ioseekoff.c: Likewise.
15834 * libio/ioseekpos.c: Likewise.
15835 * libio/iosetbuffer.c: Likewise.
15836 * libio/iosetvbuf.c: Likewise.
15837 * libio/ioungetc.c: Likewise.
15838 * libio/ioungetwc.c: Likewise.
15839 * libio/iovdprintf.c: Likewise.
15840 * libio/iovsprintf.c: Likewise.
15841 * libio/iovsscanf.c: Likewise.
15842 * libio/memstream.c: Likewise.
15843 * libio/obprintf.c: Likewise.
15844 * libio/oldfileops.c: Likewise.
15845 * libio/oldiofclose.c: Likewise.
15846 * libio/oldiofdopen.c: Likewise.
15847 * libio/oldiofopen.c: Likewise.
15848 * libio/oldiopopen.c: Likewise.
15849 * libio/oldstdfiles.c: Likewise.
15850 * libio/putc.c: Likewise.
15851 * libio/setbuf.c: Likewise.
15852 * libio/setlinebuf.c: Likewise.
15853 * libio/stdfiles.c: Likewise.
15854 * libio/strops.c: Likewise.
15855 * libio/vasprintf.c: Likewise.
15856 * libio/vscanf.c: Likewise.
15857 * libio/vsnprintf.c: Likewise.
15858 * libio/vswprintf.c: Likewise.
15859 * libio/wfiledoalloc.c: Likewise.
15860 * libio/wfileops.c: Likewise.
15861 * libio/wgenops.c: Likewise.
15862 * libio/wmemstream.c: Likewise.
15863 * libio/wstrops.c: Likewise.
15864 * libio/__fpurge.c: Likewise.
15865 * libio/__fsetlocking.c: Likewise.
15866 * assert/assert.c: Likewise.
15867 * debug/fgets_chk.c: Likewise.
15868 * debug/fgets_u_chk.c: Likewise.
15869 * debug/fread_chk.c: Likewise.
15870 * debug/fread_u_chk.c: Likewise.
15871 * debug/gets_chk.c: Likewise.
15872 * debug/obprintf_chk.c: Likewise.
15873 * debug/vasprintf_chk.c: Likewise.
15874 * debug/vdprintf_chk.c: Likewise.
15875 * debug/vsnprintf_chk.c: Likewise.
15876 * debug/vsprintf_chk.c: Likewise.
15877 * malloc/mtrace.c: Likewise.
15878 * misc/error.c: Likewise.
15879 * misc/syslog.c: Likewise.
15880 * stdio-common/asprintf.c: Likewise.
15881 * stdio-common/fxprintf.c: Likewise.
15882 * stdio-common/getw.c: Likewise.
15883 * stdio-common/isoc99_fscanf.c: Likewise.
15884 * stdio-common/isoc99_scanf.c: Likewise.
15885 * stdio-common/isoc99_vfscanf.c: Likewise.
15886 * stdio-common/isoc99_vscanf.c: Likewise.
15887 * stdio-common/isoc99_vsscanf.c: Likewise.
15888 * stdio-common/printf-prs.c: Likewise.
15889 * stdio-common/printf_fp.c: Likewise.
15890 * stdio-common/printf_fphex.c: Likewise.
15891 * stdio-common/printf_size.c: Likewise.
15892 * stdio-common/putw.c: Likewise.
15893 * stdio-common/scanf.c: Likewise.
15894 * stdio-common/sprintf.c: Likewise.
15895 * stdio-common/tmpfile.c: Likewise.
15896 * stdio-common/vfprintf.c: Likewise.
15897 * stdio-common/vfscanf.c: Likewise.
15898 * stdlib/strfmon_l.c: Likewise.
15899 * sunrpc/openchild.c: Likewise.
15900 * sunrpc/xdr_stdio.c: Likewise.
15901 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15902 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15903
d6c33fda
RM
159042012-05-24 Roland McGrath <roland@hack.frob.com>
15905
c1487492
RM
15906 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15907
15908 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15909 in the third column, to generate for the shared library an IFUNC
15910 that uses _dl_vdso_vsym.
15911 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15912 * Makeconfig (object-suffixes-noshared): New variable.
15913
15914 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15915 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15916 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15917 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15918
d6c33fda
RM
15919 [BZ #14132]
15920 * include/sys/time.h (__gettimeofday): Remove macro.
15921 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15922 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15923 Remove INTDEF.
15924 (__gettimeofday): Add libc_hidden_def.
15925 (gettimeofday): Add libc_hidden_weak.
15926 * sysdeps/mach/gettimeofday.c: Likewise.
15927 * sysdeps/posix/gettimeofday.c: Likewise.
15928 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15929 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15930 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15931 (__gettimeofday_internal): Remove strong_alias.
15932 (__gettimeofday): Add libc_hidden_def.
15933 (gettimeofday): Add libc_hidden_weak.
15934 * sysdeps/unix/syscalls.list (gettimeofday):
15935 Remove __gettimeofday_internal alias.
15936
b5a2bbe6
L
159372012-05-24 Daniel Jacobowitz <drow@false.org>
15938 H.J. Lu <hongjiu.lu@intel.com>
15939
15940 [BZ #12495]
15941 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15942 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15943 (largebin_index_32_big): New.
15944 (largebin_index): Use it for 16-byte alignment.
15945 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15946 correction with front_misalign.
15947
cfba4fda
L
159482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15949
7f907421
L
15950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15952 Likewise.
15953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15954 Likewise.
15955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15956 Likewise.
15957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15958 Likewise.
15959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15960 Likewise.
15961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15962 Likewise.
15963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15964 Likewise.
15965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15966 Likewise.
15967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15968 Likewise.
15969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15970 Likewise.
15971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15972 Likewise.
15973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15974 Likewise.
15975
cfba4fda
L
15976 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15977 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15978
80bad0cc
JM
159792012-05-24 Joseph Myers <joseph@codesourcery.com>
15980
7a25eb06
JM
15981 [BZ #10846]
15982 [BZ #14036]
15983 * math/libm-test.inc (exp_test): Add test from bug 14036.
15984 (pow_test): Add test from bug 10846.
15985
795405f9
JM
15986 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15987 and other flags.
15988 (special_function): Do not include flags in test name.
15989 (parse_args): Likewise.
15990 * sysdeps/i386/fpu/libm-test-ulps: Update.
15991 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15992 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15993 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15995
80bad0cc
JM
15996 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15997 exceptions.
15998 * math/libm-test.inc ("Philosophy"): Update comment about
15999 exception testing.
16000 (UNDERFLOW_EXCEPTION): New macro.
16001 (UNDERFLOW_EXCEPTION_OK): Likewise.
16002 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16003 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16004 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16005 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16006 (INVALID_EXCEPTION_OK): Update value.
16007 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16008 (OVERFLOW_EXCEPTION_OK): Likewise.
16009 (IGNORE_ZERO_INF_SIGN): Likewise.
16010 (test_exceptions): Handle underflow exceptions.
16011 (acos_test): Update for underflow exception expectations.
16012 (cexp_test): Likewise.
16013 (clog_test): Likewise.
16014 (clog10_test): Likewise.
16015 (csqrt_test): Likewise.
16016 (ctan_test): Likewise.
16017 (ctanh_test): Likewise.
16018 (exp_test): Likewise.
16019 (exp10_test): Likewise.
16020 (exp2_test): Likewise.
16021 (expm1_test): Likewise.
16022 (fma_test): Likewise.
16023 (j0_test): Likewise.
16024 (jn_test): Likewise.
16025 (nexttoward_test): Likewise.
16026 (pow_test): Likewise.
16027 (scalbn_test): Likewise.
16028 (scalbln_test): Likewise.
16029 (tan_test): Likewise.
16030 (y1_test): Likewise.
16031 * sysdeps/i386/fpu/libm-test-ulps: Update.
16032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16033
9e0e3d0b
DM
160342012-05-23 David S. Miller <davem@davemloft.net>
16035
16036 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16037 (__libc_sigaction): Remove unused local variables.
16038
ccd0a08f
L
160392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16040
16041 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16042
62bdf9a6
PE
160432012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16044
f8591f80
PE
16045 mktime: avoid signed integer overflow
16046 * time/mktime.c (__mktime_internal): Do not mishandle the case
16047 where diff == INT_MIN.
16048
94c7d826
PE
16049 mktime: simplify computation of average
16050 * time/mktime.c (ranged_convert): Use new time_t_avg function
16051 instead of rolling our own (probably-slower) code.
16052
ce73d683
PE
16053 mktime: do not assume signed right shift propagates sign bit
16054 * time/mktime.c (isdst_differ): New static function.
16055 (__mktime_internal): No need to normalize tm_isdst now.
16056 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16057 tm_isdst values.
16058
72a22e59
PE
16059 mktime: merge another wrapv change from gnulib
16060 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16061 from some compilers.
16062
68605433
PE
16063 mktime: remove incorrect attempt at unusual arithmetics
16064 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16065 The code didn't really work on such machines anyway.
16066 (TYPE_MINIMUM): Assume two's complement.
16067 (twos_complement_arithmetic): Verify that long_int and time_t
16068 are two's complement (or unsigned, in the latter case).
16069
03cf7fe3
PE
16070 mktime: check signed shifts on long_int and time_t, too
16071 * time/mktime.c (SHR): Check that shifts work as desired
16072 on the types long_int and time_t too, as SHR is used on
16073 such types.
16074
f04dfbc2
PE
16075 mktime: do not assume 'long' is wide enough
16076 * time/mktime.c (verify): Move decl up.
16077 (long_int): New type.
16078 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16079 to remove assumption in the code that 'long' is wide enough to
16080 store year values. This assumption is not true on x32 and on
16081 some non-glibc platforms.
16082
62bdf9a6
PE
16083 mktime: merge wrapv change from gnulib
16084 * time/mktime.c (WRAPV): New macro.
16085 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16086 (guess_time_tm, __mktime_internal): Do not assume that signed
16087 integer overflow wraps around; modern compilers generate code
16088 where this assumption is no longer valid.
16089
5e292e4f
L
160902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16091
16092 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16093 Replace "jmp L(pseudo_end)" with "ret".
16094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16095 Likewise.
16096
8caf8c87
AJ
160972012-05-23 Andreas Jaeger <aj@suse.de>
16098
16099 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16100 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16101
1a09dc56
AJ
161022012-05-23 Andreas Jaeger <aj@suse.de>
16103 Maximilian Attems <max@stro.at>
16104
16105 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16106 New macros.
16107
1c87aba0
L
161082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16109
16110 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16111 code so that pseudo_end is just ret and the stack pointer is
16112 correct also for static library in error case.
16113
40e45bd5
JM
161142012-05-23 Joseph Myers <joseph@codesourcery.com>
16115
c2670533
JM
16116 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16117 move to syscalls.list.
16118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16122
40e45bd5
JM
16123 * manual/install.texi (Running make install): Do not mention Linux
16124 kernel version for which pt_chown is not needed.
16125 (Linux): Do not mention problems with nscd with 2.0 kernels.
16126 * INSTALL: Regenerated.
16127
be08eda5
AJ
161282012-05-23 Andreas Jaeger <aj@suse.de>
16129
16130 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16131 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16132 macro.
16133 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16135 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16137 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16138 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16139 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16140 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16141 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16142 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16143 * sysdeps/unix/sysv/linux/bits/in.h
16144 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16145
a6a056bb
RM
161462012-05-22 Roland McGrath <roland@hack.frob.com>
16147
16148 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16149 (PREPARE_VERSION): Just use assert instead, it will be elided
16150 under [NDEBUG] anyway.
16151
c9009328
L
161522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16153
16154 * sysdeps/unix/sysv/linux/Makefile: Include
16155 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16156 (sysdep_routines): Remove sysctl.
c9009328
L
16157 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16158 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16159 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16160 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16161 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16162
73338355
AJ
161632012-05-22 Andreas Jaeger <aj@suse.de>
16164
16165 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16166 that pseudo_end is just ret and the stack pointer is correct also
16167 for static library in error case.
16168
d44638b0
PP
161692012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16170
16171 [BZ #14122]
16172 * nss/nsswitch.c (defconfig_entries): New variable.
16173 (__nss_database_lookup): Don't leak defconfig entries.
16174 (nss_parse_service_list): Don't leak on error paths.
16175 (free_database_entries): New function.
16176 (free_defconfig): New function.
16177 (free_mem): Move common code to free_database_entries.
16178
31a39bd8
L
161792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16180
da0331a8
L
16181 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16182 Add arch_prctl.
16183 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16184
31a39bd8
L
16185 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16186 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16188 New macro.
16189 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16190 (INTERNAL_SYSCALL_TYPES): Likewise.
16191 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16192 (LOAD_REGS_TYPES_[1-6]): Likewise.
16193 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16194 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16195
45470df3
AZ
161962012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16197
16198 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16199 copysignl for GLIBC_2_0.
16200 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16201 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16202 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16203 logbl for GLIBC_2_0.
16204 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16205 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16206
98a61bcb
L
162072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16208
a4f6e481
L
16209 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16210 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16211
f63d5db6
L
16212 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16213 Use "neg %eax".
16214
98a61bcb
L
16215 * time/mktime.c: Update copyright years.
16216
95770f14
PE
162172012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16218
6226efbd
PE
16219 mktime: merge comment-quoting-style change from gnulib
16220 * time/mktime.c: Quote 'like this' in comments.
16221 The GNU coding standards suggest that we no longer quote `like this',
16222 as "`" and "'" are typically rendered asymmetrically nowadays.
16223 The typical gnulib style is to quote 'like this' when quoting
16224 code, and "like this" when quoting English.
16225
b99e4f78
PE
16226 * time/mktime.c (compile-command): Add "-I.".
16227
643e01e6
PE
16228 mktime: merge mktime-internal.h change from gnulib
16229 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16230
2554247d
PE
16231 mktime: merge time_r change from gnulib
16232 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16233
826dd0ab
PE
16234 mktime: merge DEBUG change from gnulib
16235 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16236 case system <time.h> has a #define.
16237
bd83aabe
PE
16238 mktime: merge <sys/types.h> change from gnulib
16239 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16240 since <time.t> is now guaranteed to define time_t.
16241
95770f14
PE
16242 mktime: merge HAVE_CONFIG_H change from gnulib
16243 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16244
5e1a27a9
L
162452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16246
0e44a77e
L
16247 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16248 Use "neg %eax".
16249
5e1a27a9
L
16250 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16251 __rlim_t cast.
16252 (struct rusage): Use anonymous union to pad each field to
16253 __syscall_slong_t.
16254
46259bec
DM
162552012-05-21 David S. Miller <davem@davemloft.net>
16256
16257 * Makefules (o-iterator): Remove .s cases.
16258 (compile-command.s): Delete.
16259 (COMPILE.s): Delete.
16260 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16261
59f0c22e
JM
162622012-05-21 Joseph Myers <joseph@codesourcery.com>
16263
16264 * configure.in (libc_cv_predef_stack_protector): Only consider
16265 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16266 * configure: Regenerated.
16267
20c07380
L
162682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16269
bbb3154b
L
16270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16271 New macro. Use R*LP on int and pointer.
16272 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16273 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16274 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16275 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16276
20c07380
L
16277 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16278 [__WORDSIZE_TIME64_COMPAT32] instead of
16279 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16280 (struct utmp): Likewise.
16281 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16282 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16283 Renamed to ...
16284 (__WORDSIZE_TIME64_COMPAT32): This.
16285 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16286 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16287 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16288 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16289 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16290 (__WORDSIZE_TIME64_COMPAT32): New macro.
16291
d8d1017e
AJ
162922012-05-21 Andreas Jaeger <aj@suse.de>
16293
16294 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16295 only if [SHARED]. Add prototype for __wcschr_ia32.
16296
6c7fb145
RM
162972012-05-21 Roland McGrath <roland@hack.frob.com>
16298
16299 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16300 of %rbp unmolested in the jmp_buf while mangling the low bits.
16301 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16302 unmolested high bits of %rbp while demangling the low bits.
16303 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16304
66274218
AJ
163052012-05-21 Andreas Jaeger <aj@suse.de>
16306
07c58f8f
AJ
16307 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16308 * sunrpc/svc_simple.c: Use it for registerrpc.
16309 * sunrpc/xcrypt.c: Use it for passwd2des.
16310
66274218
AJ
16311 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16312
61f65140
L
163132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16314
16315 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16316 Don't define if [__SYSCALL_WORDSIZE != 32].
16317 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16318 New macro.
16319
5fefb436
AJ
163202012-05-21 Bruno Haible <bruno@clisp.org>
16321 Andreas Jaeger <aj@suse.de>
16322
16323 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16324 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16325 inptr and inend for must_buffer_ch.
16326 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16327 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16328 * stdio-common/Makefile (tests): Remove bug15.
16329 (bug15-ENV): Remove macro.
16330 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16331 anymore.
16332
d8e272ab
AJ
163332012-05-19 Andreas Jaeger <aj@suse.de>
16334 Roland McGrath <roland@hack.frob.com>
16335
16336 * manual/contrib.texi: Completely rewritten. It contains now an
16337 alphabetical list of contributors and their contributions.
16338
4a56a162
RH
163392012-05-21 Richard Henderson <rth@twiddle.net>
16340
16341 * misc/getauxval.c (__getauxval): Use unsigned long int.
16342 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16343 (getauxval): Use unsigned long int.
16344
d024d23c
L
163452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16346
16347 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16348
cbc00a03
RM
163492012-05-21 Roland McGrath <roland@hack.frob.com>
16350
16351 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16352 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16353 __alignof__ (long double).
16354
478143fa
AZ
163552012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16356
16357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16358
c7683a6d
RH
163592012-05-20 Richard Henderson <rth@twiddle.net>
16360
16361 * misc/getauxval.c: New file.
16362 * misc/sys/auxv.h: New file.
16363 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16364 (routines): Add getauxval.
16365 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16366 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16367 * elf/dl-sysdep.c (_dl_auxv): Remove.
16368 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16369 * elf/dl-support.c (_dl_auxv): New variable.
16370 (_dl_aux_init): Initialize it.
16371 * manual/startup.texi (Auxiliary Vector): New node.
16372 * sysdeps/generic/bits/hwcap.h: New file.
16373 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16374 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16375 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16376 * sysdeps/sparc/sysdep.h: ... here. Include it.
16377 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16378 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16380 Update.
c7683a6d
RH
16381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16384 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16389
a6f1845d
AZ
163902012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16391
16392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16393
cbcbe830
DM
163942012-05-19 David S. Miller <davem@davemloft.net>
16395
16396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16397
e0b16cc2
JM
163982012-05-19 Joseph Myers <joseph@codesourcery.com>
16399
16400 [BZ #14123]
16401 * math/s_ccosh.c: Include <float.h>
16402 (__ccosh): Avoid internal overflow calculating sinh and cosh
16403 values before multiplying by sin and cos values.
16404 * math/s_ccoshf.c: Likewise.
16405 * math/s_ccoshl.c: Likewise.
16406 * math/s_csin.c: Likewise.
16407 * math/s_csinf.c: Likewise.
16408 * math/s_csinl.c: Likewise.
16409 * math/s_csinh.c: Likewise.
16410 * math/s_csinhf.c: Likewise.
16411 * math/s_csinhl.c: Likewise.
16412 * math/libm-test.inc (ccos_test): Add more tests.
16413 (ccosh_test): Likewise.
16414 (csin_test): Likewise.
16415 (csinh_test): Likewise.
16416 * sysdeps/i386/fpu/libm-test-ulps: Update.
16417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16418
6ad13e08
L
164192012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16420
f66f0ce8
L
16421 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16422 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16423
6ad13e08
L
16424 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16425
b1d072a7
JM
164262012-05-19 Joseph Myers <joseph@codesourcery.com>
16427
16428 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16429 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16430 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16431 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16432 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16433 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16434 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16435 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16436 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16437 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16438 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16439 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16440 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16441 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16442 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16443 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16444 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16445 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16446 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16447 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16448 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16449 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16450 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16451 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16452 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16453 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16454 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16455 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16456 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16457 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16458 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16459
9eae47cb
AJ
164602012-05-18 Andreas Jaeger <aj@suse.de>
16461
16462 * csu/.gitignore: Delete.
16463
bb07f69f
L
164642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16465
16466 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16467 (timex): Use __syscall_slong_t.
16468
e6bdb741
AJ
164692012-05-18 Andreas Jaeger <aj@suse.de>
16470 Carlos O'Donell <carlos_odonell@mentor.com>
16471
16472 * manual/install.texi (Configuring and compiling): Update
16473 description about files modified in the source directory.
d6c33fda 16474 * INSTALL: Regenerated.
e6bdb741 16475
1b74487e
L
164762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16477
16478 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16479 value. Use "or" to set return value to -1.
16480 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16481 negate return value.
16482
a88b64b9
TMQMF
164832012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16484
16485 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16486 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16487 failure if the compiler has Graphite support disabled.
16488 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16489 Likewise.
16490 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16491 CFLAGS-memmove.c): Likewise.
16492 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16493 Likewise.
16494
3707636e
L
164952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16496
610b8622
L
16497 * sysdeps/x86_64/x32/_itoa.h: New file.
16498
7cd195df
L
16499 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16500 getdents system call only if kernel and user dirents have the
16501 same d_ino and d_off.
16502
94b07d20
L
16503 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16504 LLONG_MAX != LONG_MAX.
16505 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16506 (_fitoa_word): Likewise.
16507
18298070
L
16508 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16509 years.
16510 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16511 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16512 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16513
553c7ea4
L
16514 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16515 include <bits/wordsize.h>. Check __x86_64__ instead of
16516 __WORDSIZE.
16517 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16518 if __x86_64__ is defined. Use anonymous union on fpstate.
16519
3707636e
L
16520 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16521 anonymous union.
16522
b53ef01a
AS
165232012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16524
37fb1dc0
AS
16525 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16526 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16527 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16528 Refer to _rtld_local_ro instead of _rtld_global_ro.
16529 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16530 Likewise.
16531 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16532 Likewise.
16533 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16534 Likewise.
16535 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16536 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16537 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16538
b53ef01a
AS
16539 * sysdeps/powerpc/powerpc32/dl-machine.c
16540 (__elf_machine_runtime_setup) [PROF]: Don't reference
16541 _dl_prof_resolve.
16542
7a185db2
AJ
165432012-05-18 Andreas Jaeger <aj@suse.de>
16544
16545 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16546 function only available for GCCs before 3.4 since GCC 3.4
16547 introduced a builtin.
16548 (lrint): Likewise.
16549 (llrintf): Likewise.
16550 (llrint): Likewise.
16551 (fmaxf): Likewise.
16552 (fmax): Likewise.
16553 (fminf): Likewise.
16554 (fmin): Likewise.
16555 (rint): Likewise.
16556 (rintf): Likewise.
16557 (nearbyint): Likewise.
16558 (nearbyintf): Likewise.
16559 (ceil): Likewise.
16560 (ceilf): Likewise.
16561 (floor): Likewise.
16562 (floorf): Likewise.
16563
3e5aef87
L
165642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16565
428bd707
L
16566 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16567 on both fields and cast pointer to __syscall_ulong_t.
16568
3e5aef87
L
16569 * bits/types.h (__fsword_t): New type.
16570 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16571 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16573 (__FSWORD_T_TYPE): Likewise.
16574 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16575 (__FSWORD_T_TYPE): Likewise.
16576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16577 (__FSWORD_T_TYPE): Likewise.
16578 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16579 (__FSWORD_T_TYPE): Likewise.
16580 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16581 __SWORD_TYPE with __fsword_t.
16582 (statfs64): Likewise.
16583
1ba7c3dc
DM
165842012-05-17 David S. Miller <davem@davemloft.net>
16585
16586 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16587
59910343
AJ
165882012-05-17 Andreas Jaeger <aj@suse.de>
16589
16590 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16591 warning.
16592
2e4c1e9e
L
165932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16594
16595 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16596
de7f5ce7
AJ
165972012-05-17 Andreas Jaeger <aj@suse.de>
16598
16599 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16600 when it is used.
16601
286abc3d
CM
166022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16603
16604 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16605
477cc68e
L
166062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16607
16608 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16609 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16610
1a0994f5
CD
166112012-05-17 Andreas Jaeger <aj@suse.de>
16612 Carlos O'Donell <carlos_odonell@mentor.com>
16613
16614 [BZ #14059]
16615 * sysdeps/x86_64/multiarch/init-arch.h
16616 (bit_YMM_Usable): Rename to...
16617 (bit_AVX_Usable): ... this.
16618 (bit_FMA4_Usable): New macro.
16619 (bit_XMM_state): New macro.
16620 (bit_YMM_state): New macro.
16621 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16622 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16623 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16624 (CPUID_OSXSAVE): New macro.
16625 (CPUID_AVX): New macro.
16626 (CPUID_FMA4): New macro.
16627 (index_YMM_Usable): Rename to...
16628 (index_AVX_Usable): ... this.
16629 (HAS_AVX): Use HAS_ARCH_FEATURE.
16630 (HAS_FMA4): Likewise.
16631 (HAS_YMM_USABLE): Remove.
16632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16633 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16634 are present.
16635 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16636 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16637 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16638 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16639 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16640
0af797de
CM
166412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16642
16643 * math/libm-test.c: Support platforms without multiple rounding modes.
16644 * math/bug-nextafter.c: Support platforms without FP exceptions.
16645 * math/bug-nexttoward.c: Likewise.
16646 * math/test-fenv.c: Likewise.
16647 * math/test-misc.c: Likewise.
16648 * stdlib/bug-getcontext.c: Likewise.
16649
e39745ff
AJ
166502012-05-17 Andreas Jaeger <aj@suse.de>
16651
16652 * manual/examples/search.c (critter_cmp): Change signature to
16653 avoid warnings.
16654 * manual/string.texi (Collation Functions): Likewise.
16655
48970aba
L
166562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16657
16658 * bits/types.h: Fold copyright years.
16659 * bits/typesizes.h: Likewise.
16660 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16661 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16663 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16664 * time/time.h: Likewise.
16665
bedee953
PP
166662012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16667
16668 [BZ #208]
16669 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16670 in instead of returning them. Return void.
16671 (__libc_mallinfo): Accumulate over all arenas.
16672 (__malloc_stats): Adjust for change in int_mallinfo interface.
16673
61653dfb
RM
166742012-05-16 Roland McGrath <roland@hack.frob.com>
16675
30b99d79
RM
16676 [BZ #10375]
16677 * configure.in (NM): Add AC_CHECK_TOOL for it.
16678 (libc_extra_cflags): New substituted variable.
16679 Check for -fstack-protector being used implicitly.
16680 * configure: Regenerated.
16681 * config.make.in (config-extra-cflags): New variable,
16682 gets @libc_extra_cflags@.
16683 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16684
61653dfb
RM
16685 [BZ #10375]
16686 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16687 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16688 * configure: Regenerated.
16689 * config.make.in (CPPUNDEFS): New substituted variable.
16690 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16691 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16692 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16693
661768bb
L
166942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16695
16696 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16697 (mq_attr): Use __syscall_slong_t.
16698
d4261567
L
166992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16700
16701 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16702 Check __x86_64__ instead of __WORDSIZE.
16703 (_STAT_VER_LINUX): Likewise.
16704 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16705 __syscall_ulong_t and __syscall_slong_t.
16706 (stat64): Likewise.
16707
cf3ff365
L
167082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16709
16710 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16711
76cf3e4d
L
167122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16713
16714 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16715
a637753a
L
167162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16717
16718 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16719 __syscall_ulong_t.
16720
d5e05119
L
16721 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16722 include <bits/wordsize.h>. Check __x86_64__ instead of
16723 __WORDSIZE.
16724 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16725 defined.
16726 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16727
f62ee380
L
16728 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16729 include <bits/wordsize.h>. Check __x86_64__ instead of
16730 __WORDSIZE.
16731 (user_regs_struct): Use "__extension__ unsigned long long"
16732 instead of "unsigned long" if __x86_64__ is defined.
16733 (user): Likewise. Pad after pointer field if __ILP32__ is
16734 defined.
16735
4e124ced
JM
167362012-05-16 Joseph Myers <joseph@codesourcery.com>
16737
6a3951a0
JM
16738 * configure.in (makeinfo): Require version 4.5 or later. Allow
16739 versions 5 to 9.
16740 * configure: Regenerated.
16741 * manual/install.texi (texinfo): Increase version requirement to
16742 4.5 or later.
16743 * INSTALL: Regenerated.
16744
4e124ced
JM
16745 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16746
953ca31a
L
167472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16748
16749 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16750
617aca05
L
16751 * sysdeps/x86_64/x32/ffs.c: New file.
16752
5762f7ae
L
16753 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16754 __syscall_ulong_t.
16755 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16756 defined. Use __syscall_ulong_t.
16757 (shminfo): Use __syscall_ulong_t.
16758 (shm_info): Likewise.
16759
a26b6856
L
16760 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16761 __syscall_ulong_t.
16762
cb2b9ef7
L
16763 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16764 <bits/wordsize.h>.
16765 (msgqnum_t): Use __syscall_ulong_t.
16766 (msglen_t): Likewise.
16767 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16768 __syscall_ulong_t.
16769
34683bb0
L
16770 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16771 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16772
84a68786
L
16773 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16774
48baa5f1
L
16775 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16776 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16777
180be88b
L
16778 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16779 __syscall_slong_t.
16780
5e90c8ad
L
16781 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16782 include <bits/wordsize.h>. Check __x86_64__ instead of
16783 __WORDSIZE.
16784
23dfb58b
L
16785 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16786 "unsigned long long int" if __x86_64__ is defined.
16787 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16788
ce5d54b0
L
16789 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16790 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16791 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16792
13dc9eac
L
16793 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16794 <stdint.h>.
16795 (GET_PC): Cast to uintptr_t first.
16796 (GET_FRAME): Likewise.
16797 (GET_STACK): Likewise.
16798
a7895d15
L
16799 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16800 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16801 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16802 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16803 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16804 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16805 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16806 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16807 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16808 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16809 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16810 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16811 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16812 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16813 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16814 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16815 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16816 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16817 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16818 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16819 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16820 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16821 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16822 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16823 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16824 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16825 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16826 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16827 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16828
656416c9
AS
168292012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16830
5bd66283
AS
16831 * Makerules (+depfiles): Also collect depfiles from .oS in
16832 $(extra-objs).
16833 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16834 .oS, $(libnldbl-routines)).
16835
656416c9
AS
16836 * Makerules (native-compile-mkdep-flags): Define.
16837 * sunrpc/Makefile (extra-objs): Add $(addprefix
16838 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16839 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16840 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16841 calling $(make-target-directory).
16842
a46f2169
L
168432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16844
16845 * bits/types.h (__snseconds_t): Removed.
16846 * time/time.h (struct timespec): Replace __snseconds_t with
16847 __syscall_slong_t.
16848 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16849 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16850 Likewise.
16851 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16852 (__SNSECONDS_T_TYPE): Likewise.
16853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16854 (__SNSECONDS_T_TYPE): Likewise.
16855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16856 (__SNSECONDS_T_TYPE): Likewise.
16857
6af6528b
L
168582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16859
16860 * sysdeps/mach/hurd/bits/typesizes.h
16861 (__SYSCALL_SLONG_TYPE): New macro.
16862 (__SYSCALL_ULONG_TYPE): Likewise.
16863
de986b56
L
168642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16865
16866 * bits/types.h (__syscall_slong_t): New type.
16867 (__syscall_ulong_t): Likewise.
16868
16869 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16870 (__SYSCALL_ULONG_TYPE): Likewise.
16871 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16872 (__SYSCALL_SLONG_TYPE): Likewise.
16873 (__SYSCALL_ULONG_TYPE): Likewise.
16874 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16875 (__SYSCALL_SLONG_TYPE): Likewise.
16876 (__SYSCALL_ULONG_TYPE): Likewise.
16877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16878 (__SYSCALL_SLONG_TYPE): Likewise.
16879 (__SYSCALL_ULONG_TYPE): Likewise.
16880
85736dc7
L
168812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16882
16883 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16884 Add sigaltstack-offsets.sym.
16885 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16886 <sigaltstack-offsets.h>.
16887 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16888 longjmp_msg pointer.
16889 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16890 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16891 signal stack.
16892 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16893
cc03b296
JM
168942012-05-15 Joseph Myers <joseph@codesourcery.com>
16895
a9538892
JM
16896 * elf/stackguard-macros.h: Remove file.
16897 * sysdeps/generic/stackguard-macros.h: New file.
16898 * sysdeps/i386/stackguard-macros.h: Likewise.
16899 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16900 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16901 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16902 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16903 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16904 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16905 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16906 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16907 <elf/stackguard-macros.h>.
16908
cc03b296
JM
16909 [BZ #14109]
16910 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16911 __aligned__ in attribute.
16912 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16913 (gregset_t): Likewise.
16914
93171016
L
169152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16916
16917 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16918 * sysdeps/x86_64/64/Implies-after: Here. New file.
16919 * sysdeps/x86_64/x32/Implies-after: New file.
16920
d86813a0
L
169212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16922
16923 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16924 and access return value for _dl_profile_fixup. Use R10_LP to
16925 load frame size.
16926
2953ec75
L
169272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16928
16929 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16930
3b550e9e
L
169312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16932
16933 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16934 * sysdeps/x86_64/x32/sysdep.h: New file.
16935
eda41706
L
169362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16937
16938 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16939 * sysdeps/x86_64/setjmp.S: Likewise.
16940
9ea01d93
AZ
169412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16942
16943 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16944 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16945 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16946 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16947 remove unused global constant.
16948
02a91938
CM
169492012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16950
16951 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16952 include of <not-cancel.h>.
16953
6540185f
RM
169542012-05-15 Roland McGrath <roland@hack.frob.com>
16955
16956 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16957
509072a0
AJ
169582012-05-15 Jeff Law <law@redhat.com>
16959 Andreas Jaeger <aj@suse.de>
16960
16961 [BZ #13594]
16962 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16963 out from...
16964 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16965 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16966 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16967 code changing __hst_map_handle.map.
16968
ba75122d
RM
169692012-05-15 Roland McGrath <roland@hack.frob.com>
16970
16971 * configure.in (sysnames): Look for Implies-before and Implies-after
16972 files.
16973 * configure: Regenerated.
16974
890d8bd8
L
169752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16976
16977 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16978 8-byte data alignment with LP_SIZE alignment.
16979
f6ee6623
L
169802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16981
16982 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16983 into R10_LP.
16984
ea2626f6
L
169852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16986
16987 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16988
085f715e
L
169892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16990
16991 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16992 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16993 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16994 Likewise.
16995 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16996
be8498fc
L
169972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16998
16999 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17000 (stackinfo_sub_sp): Likewise.
17001
70bc83b9
L
170022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17003
17004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17005 RAX_LP.
17006
9bc0b730
L
170072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17008
17009 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17010 into R*_LP.
17011
6d2850e7
L
170122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17013
17014 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17015 sizes into R*_LP.
17016
3cb84561
L
170172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17018
17019 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17020
54e2ed81
L
170212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17022
17023 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17024 into R11_LP and load __x86_64_shared_cache_size_half into
17025 R8_LP.
17026
8a17f349
L
170272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17028
17029 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17030 R8_LP.
17031
777b1eea
AZ
170322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17033
17034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17035 logb for POWER7.
17036 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17037 logbf for POWER7.
17038 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17039 logbl for POWER7.
17040 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17041 powerpc32/power7/fpu/s_logb.c via #include.
17042 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17043 powerpc32/power7/fpu/s_logbf.c via #include.
17044 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17045 powerpc32/power7/fpu/s_logbl.c via #include.
17046
d20d4ac2
JM
170472012-05-15 Joseph Myers <joseph@codesourcery.com>
17048
17049 * README.libm: Remove file.
17050
6cdef1ab
L
170512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17052
17053 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17054 count for x32. Use R*_LP and omit operand-size suffix.
17055
0b254d8f
L
170562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17057
17058 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17059 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17060 * sysdeps/x86_64/x32/shlib-versions: New file.
17061
ceb809dc
RM
170622012-05-14 Roland McGrath <roland@hack.frob.com>
17063
17064 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17065 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17066 Use _dl_fatal_printf instead.
17067
37f1abd4
JM
170682012-05-14 Joseph Myers <joseph@codesourcery.com>
17069
17070 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17071 set if not set by the user. Do not allow for being unset.
17072 * sysdeps/unix/sysv/linux/configure: Regenerated.
17073
11de3a33
L
170742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17075
17076 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17077 the `q' suffix from lea and replace .quad with ASM_ADDR.
17078
e02f153a
L
170792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17080
17081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17082 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17083 instead of $17.
17084 (PTR_DEMANGLE): Likewise.
17085
520ae0fd
L
170862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17087
17088 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17089 (LP_OP): Likewise.
17090 (ASM_ADDR): Likewise.
17091 (RAX_LP): Likewise.
17092 (RBP_LP): Likewise.
17093 (RBX_LP): Likewise.
17094 (RCX_LP): Likewise.
17095 (RDI_LP): Likewise.
17096 (RSI_LP): Likewise.
17097 (RSP_LP): Likewise.
17098 (R8_LP): Likewise.
17099 (R9_LP): Likewise.
17100 (R10_LP): Likewise.
17101 (R10_LP): Likewise.
17102 (R11_LP): Likewise.
17103 (R12_LP): Likewise.
17104 (R13_LP): Likewise.
17105 (R14_LP): Likewise.
17106 (R15_LP): Likewise.
17107
b985be81
L
171082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17109
17110 * sysdeps/x86_64/x32/dl-machine.h: New file.
17111
6a4888ff
AJ
171122012-05-14 Andreas Jaeger <aj@suse.de>
17113
17114 * manual/Makefile (subdir): Remove export of subdir.
17115 (all): Remove target.
17116 (.PHONY): Remove all from list.
17117 (mkinstalldirs): Remove.
17118 (.PHONY): Remove installdirs from list.
17119 ($(inst_infodir)/libc.info): Use make-target-directory.
17120 (installdirs): Remove.
17121 (subdir_%): Remove.
17122 (glibc-targets): Remove.
17123 (lib): Remove.
17124 (stubs): Remove.
17125 ($(objpfx)stubs ../po/manual.pot): Remove.
17126 ($(objpfx)stamp%): Remove.
17127 (make-target-directory): Remove.
17128 (subdir_install): Remove.
17129 (routines): Remove.
17130 (aux): Remove.
17131 (sources): Remove.
17132 (objects): Remove.
17133 (headers): Remove.
17134
17135 [BZ #13750]
17136 * manual/.gitignore: Remove, it's not needed anymore.
17137 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17138 all files in it.
17139 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17140 directory.
17141 (texis): Renamed to $(objpfx)texis.
17142 (texis-path): New, contains path to generated files.
17143 (chapters.%): Use texis-path for complete path, add extra argument
17144 libc-texinfo.sh.
17145 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17146 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17147 (summary,texi, stamp-summary): Use complete path of
17148 files. Generate files in build dir.
17149 (dir-add.texi): Build in build dir.
17150 (libm-err.texi,stamp-libm-err): Likewise.
17151 (version.texi, stamp-version): Likewise.
17152 (.%c.texi): Likewise.
17153 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17154 (mostlyclean): Remove target.
17155 (realclean): Remove target.
17156 (generated): Add new variable with contents from mostlyclean and
17157 realclean, remove entries duplicated in common-mostlyclean, add
17158 stamp-libm-err and stamp-version.
17159 (generated-dirs): Add libc directory.
17160 ($(inst_infodir)/libc.info): Install files from build dir.
17161
17162 * manual/install.texi (Configuring and compiling): Adjust since
17163 the info files are not part of the tar ball anymore.
17164
7ac77294
AJ
171652012-05-14 Andreas Jaeger <aj@suse.de>
17166
17167 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17168 variable.
17169
ffb7875d
JM
171702012-05-14 Joseph Myers <joseph@codesourcery.com>
17171
17172 [BZ #13717]
17173 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17174 to 2.2.0 where earlier.
17175 * sysdeps/unix/sysv/linux/configure: Regenerated.
17176 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17177 Remove conditional code.
17178 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17179 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17180 Remove conditional code.
17181 [!__NR_lchown]: Likewise.
17182 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17183 [__NR_lchown]: Likewise.
17184 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17185 comment referencing __ASSUME_LCHOWN_SYSCALL.
17186 * sysdeps/unix/sysv/linux/i386/sigaction.c
17187 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17188 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17189 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17190 Remove conditional code.
17191 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17192 (__protocol_available): Remove #if 0 code.
17193 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17194 conditional code.
17195 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17196 * sysdeps/unix/sysv/linux/kernel-features.h
17197 (__ASSUME_GETCWD_SYSCALL): Don't define.
17198 (__ASSUME_REALTIME_SIGNALS): Likewise.
17199 (__ASSUME_PREAD_SYSCALL): Likewise.
17200 (__ASSUME_PWRITE_SYSCALL): Likewise.
17201 (__ASSUME_POLL_SYSCALL): Likewise.
17202 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17203 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17204 non-SPARC.
17205 (__ASSUME_SIOCGIFNAME): Don't define.
17206 (__ASSUME_MSG_NOSIGNAL): Likewise.
17207 (__ASSUME_SENDFILE): Define unconditionally.
17208 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17209 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17210 conditional code.
17211 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17212 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17213 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17214 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17215 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17216 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17217 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17219 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17220 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17222 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17223 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17225 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17226 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17228 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17229 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17231 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17232 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17234 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17237 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17240 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17242 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17243 Remove conditional code.
17244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17245 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17246 Remove conditional code.
17247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17248 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17249 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17250 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17251 Remove conditional code.
17252 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17253 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17254 Remove conditional code.
17255 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17256 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17257 Remove conditional code.
17258 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17259 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17260 Remove conditional code.
17261 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17262 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17263 Remove conditional code.
17264 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17265 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17266 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17267 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17268 * sysdeps/unix/sysv/linux/sigaction.c
17269 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17270 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17271 * sysdeps/unix/sysv/linux/sigpending.c
17272 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17273 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17274 * sysdeps/unix/sysv/linux/sigprocmask.c
17275 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17276 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17277 * sysdeps/unix/sysv/linux/sigsuspend.c
17278 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17279 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17280 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17281 (__libc_missing_rt_sigs): Remove.
17282 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17283 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17284 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17285 Remove conditional code.
17286 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17287 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17288 return 1.
17289 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17290 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17291 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17292 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17293
1bfb7291
AJ
172942012-05-14 Andreas Jaeger <aj@suse.de>
17295
caae5a81
AJ
17296 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17297 it's not used in glibc.
17298 (__coshm1): Likewise.
17299 (__acosh1p): Likewise.
17300 (__sgn): Likewise.
17301
1bfb7291
AJ
17302 * manual/string.texi (Copying and Concatenation): Add missing
17303 variable in concat example.
17304 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17305
c044d724
L
173062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17307
144c5467 17308 [BZ #14103]
c044d724
L
17309 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17310 __builtin_clzl with __builtin_clzll.
17311
2523c62b
L
173122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17313
17314 [BZ #14104]
17315 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17316 libc_freeres_ptr.
17317
d7bb4c42
LD
173182012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17319
17320 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17321 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17322 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17323 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17324
9dc4e1fb
MF
173252012-05-14 Mike Frysinger <vapier@gentoo.org>
17326
17327 * NEWS: Update ia64 info.
17328
c7df0112
AS
173292012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17330
17331 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17332 used as bcopy.
17333
dc70356c
TS
173342012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17335
17336 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17337 * sysdeps/unix/syscalls.list (dup3): Likewise.
17338 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17339 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17340
9fb1a21f
L
173412012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17342
17343 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17344 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17345
4822a2a5
L
173462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17347
17348 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17349 thread pointer.
17350 (TLS_IE): Use mov/add instead of movq/addq to load thread
17351 pointer.
17352 (TLS_GD_PREFIX): New.
17353 (TLS_GD): Use it.
17354
842b81d6
DM
173552012-05-11 David S. Miller <davem@davemloft.net>
17356
17357 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17358 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17359 (_FPU_SETCW): Likewise.
17360
1cf463cd
L
173612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17362
17363 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17364 is 32-byte aligned.
17365
60cc4a18
AS
173662012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17367
17368 [BZ #11837]
17369 * iconvdata/gb18030.c: Update tables.
17370 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17371 characters specially.
17372 (BODY for TO_LOOP): Add encoding of missing ranges.
17373
febb44a4
TS
173742012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17375
17376 [BZ #13673]
17377 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17378 * sysdeps/mach/hurd/dup3.c: Likewise.
17379 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17380 * sysdeps/powerpc/memmove.c:: Likewise.
17381
0a10fb9e
L
173822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17383
17384 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17385 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17386
df8a552f
L
173872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17388
17389 * elf/elf.h (R_X86_64_RELATIVE64): New.
17390 (R_X86_64_NUM): Updated.
17391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17392 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17393 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17394 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17395 tst-quad1pie tst-quad2pie
17396 (modules-names): Add tst-quadmod1 tst-quadmod2.
17397 ($(objpfx)tst-quad1): New dependency.
17398 ($(objpfx)tst-quad2): Likewise.
17399 ($(objpfx)tst-quad1pie): Likewise.
17400 ($(objpfx)tst-quad2pie): Likewise.
17401 * sysdeps/x86_64/tst-quad1.c: New file.
17402 * sysdeps/x86_64/tst-quad1pie.c: New file.
17403 * sysdeps/x86_64/tst-quad2.c: Likewise.
17404 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17405 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17406 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17407 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17408 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17409
f34d6f84
ST
174102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17411
f42d41d1
ST
17412 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17413 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17414 * streams/stropts.h (t_scalar_t): Define type.
17415
3c3571fc
ST
17416 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17417 (_PATH_PRESERVE): Set to "/var/lib".
17418 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17419
61f06bd3
ST
17420 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17421 instead of int.
17422
918d4d71
ST
17423 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17424 if __dir_mkfile succeeded.
17425
f34d6f84
ST
17426 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17427 checking for _hurd_dtablesize. Unlock it right after having
17428 finished _hurd_dtable allocation.
17429
10589b4a
TS
174302012-05-10 Thomas Schwinge <thomas@schwinge.name>
17431
674cdbc7
TS
17432 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17433 * sysdeps/mach/hurd/configure: Regenerated.
17434 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17435 special-casing to...
17436 * sysdeps/gnu/configure.in: ... this new file.
17437 * sysdeps/unix/sysv/linux/configure: Regenerated.
17438 * sysdeps/gnu/configure: New generated file.
17439
8e41b99f
TS
17440 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17441 for Linux: use nsec instead of usec, as well as:
17442 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17443 members of type struct timespec.
17444 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17445 New macros.
17446 (struct stat64): Likewise.
17447 (_STATBUF_ST_NSEC): New macro.
17448 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17449
10589b4a
TS
17450 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17451 __strtoul_internal rather than strtoul.
17452
63643c85
PT
174532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17454
17455 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17456 and reject them.
17457
3faebe6a
ST
174582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17459
17460 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17461 which preserves existing values.
17462 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17463
c6474b07
PT
174642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17465
17466 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17467 TIMEOUT values. Return EINVAL for NFDS values either negative or
17468 greater than FD_SETSIZE.
17469
1043890b
ST
174702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17471
17472 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17473 allocated, call __vm_protect to finish enabling the existing space, and
17474 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17475 allocate the remainder.
17476
37ed8b9b
PT
174772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17478
17479 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17480 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17481
db653660
ST
174822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17483
37ed8b9b
PT
17484 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17485 sysdeps/mach/hurd/readlink.c.
b29d4053 17486
db653660
ST
17487 * posix/tst-sysconf.c (posix_options): Only use
17488 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17489 _POSIX_SYNCHRONIZED_IO when they are defined
17490 * sysdeps/mach/hurd/bits/posix_opt.h:
17491 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17492 (_XOPEN_REALTIME): Undefine macro.
17493 (_XOPEN_REALTIME_THREADS): Undefine macro.
17494 (_XOPEN_SHM): Undefine macro.
17495 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17496 macro to -1.
17497 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17498 macro to -1.
17499 (_POSIX_ASYNC_IO): Undefine macro.
17500 (_POSIX_PRIORITIZED_IO): Undefine macro.
17501 (_POSIX_SPIN_LOCKS): Define macro to -1.
17502
ee16e894
ST
17503 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17504 SA_NODEFER, SA_RESETHAND.
17505 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17506 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17507 F_DUPFD_CLOEXEC.
17508
6103ae3b
TS
175092012-05-10 Thomas Schwinge <thomas@schwinge.name>
17510
17511 * elf/Makefile (pldd-modules): Define unconditionally.
17512
80b4e5f3
TS
175132012-05-10 Thomas Schwinge <thomas@schwinge.name>
17514
17515 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17516
edadcbd6
ST
175172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17518
17519 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17520 Return ENOENT when name is empty.
17521 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17522
80694780
TS
175232012-05-10 Thomas Schwinge <thomas@schwinge.name>
17524
1792c087
TS
17525 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17526
80694780
TS
17527 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17528
6b645f0d
ST
175292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17530
80694780
TS
17531 Fix mlock in all cases except non-readable pages.
17532 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17533 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17534
6b645f0d
ST
17535 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17536 (__mkdir): When path is `/', just fail with EEXIST.
17537 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17538
e468f8a3
TS
175392012-05-10 Thomas Schwinge <thomas@schwinge.name>
17540
17541 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17542 <sys/uio.h> (for writev).
17543 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17544 and <sys/param.h> (for MIN).
17545
a4186cff
PT
175462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17547
17548 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17549 REQUESTED_TIME. Properly set the remaining time and return EINTR
17550 if interrupted.
17551
510bbf14
TS
175522012-05-10 Thomas Schwinge <thomas@schwinge.name>
17553
17554 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17555 Depend on against $(link-rpcuserlibs).
17556
5d5722e8
ST
175572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17558
a4186cff
PT
17559 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17560 (__libc_stack_end): Do not use attribute_relro.
17561 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17562 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 17563 to libthread-provided value.
a4186cff
PT
17564 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17565 attribute_relro.
5d5722e8 17566
37233df9
TS
175672012-05-10 Thomas Schwinge <thomas@schwinge.name>
17568
be971a2b
TS
17569 [BZ #3748]
17570 * bits/libc-lock.h (__libc_once_get): New macro.
17571 * sysdeps/mach/bits/libc-lock.h: Likewise.
17572 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17573 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17574 instead of using implementation details.
17575
37233df9
TS
17576 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17577 * libio/freopen.c: Likewise.
17578 * libio/freopen64.c: Likewise.
17579 * misc/syslog.c: Likewise.
17580 * nscd/connections.c: Likewise.
17581 * nscd/netgroupcache.c: Likewise.
17582 * sysdeps/posix/getcwd.c: Likewise.
17583
38de94a5
RM
175842012-05-10 Roland McGrath <roland@hack.frob.com>
17585
17586 * math/w_ilogbf.c: Add #include <limits.h>.
17587
67530489
ST
175882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17589
a4186cff 17590 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
17591 path instead of returning without unlocking.
17592
67530489
ST
17593 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17594 immediate-write ioctls.
17595 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17596
5aa3a74a
TS
175972012-05-10 Thomas Schwinge <thomas@schwinge.name>
17598
18bad2ae
TS
17599 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17600 __builtin_frame_address instead of making assumptions about the
17601 location of the return address relative to DATA. Force early load of
17602 the return address.
17603 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17604 __builtin_frame_address.
17605
5aa3a74a
TS
17606 dup3 for GNU Hurd.
17607 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17608 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17609 implement dup3 and do some further code clean-ups.
17610 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17611 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17612
ecd0de9a
ST
176132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17614
cd9fa985
ST
17615 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17616
a4186cff
PT
17617 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17618 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17619 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17620 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17621 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17622 d->port.lock.
802ca5a5 17623
a4186cff
PT
17624 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17625 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17626 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 17627
bcf55240
TS
176282012-05-10 Thomas Schwinge <thomas@schwinge.name>
17629
6960eb42
TS
17630 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17631 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17632 definitions.
17633
eb43375f
TS
17634 accept4 for GNU Hurd.
17635 * include/sys/socket.h (__libc_accept4): New prototype.
17636 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17637 to implement __libc_accept4.
17638 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17639 __libc_accept4.
17640 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17641
bcf55240
TS
17642 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17643 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17644 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17645 signal-defines.sym.
17646
6178c55b
ST
176472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17648
a4186cff 17649 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 17650
6f080c2f
TS
176512012-05-10 Thomas Schwinge <thomas@schwinge.name>
17652
17653 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17654 assertion on O_CLOEXEC flag.
17655 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17656 * hurd/intern-fd.c: Likewise.
17657 * hurd/port2fd.c: Likewise.
17658
bcfe3a54
ST
176592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17660
17661 [BZ #3906]
17662 * bits/in.h (IPV6_PKTINFO): Define new macro.
17663 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17664
89c9aa49
AZ
176652012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17666
17667 [BZ #13954]
17668 [BZ #13955]
17669 [BZ #13956]
17670 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17671 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17672 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17673 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17674 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17675 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17676 * math/libm-test.inc (logb_test) : Additional logb tests.
17677
021db4be
AJ
176782012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17679 Andreas Jaeger <aj@suse.de>
17680
17681 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17682 * configure: Regenerated.
17683 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17684 * config.make.in (link-obsolete-rpc): New substituted variable.
17685 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17686 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17687 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17688 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17689 so that libc.a contains the symbols.
17690 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17691 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17692 * sunrpc/auth_none.c: Likewise.
17693 * sunrpc/auth_unix.c: Likewise.
17694 * sunrpc/authdes_prot.c: Likewise.
17695 * sunrpc/authuxprot.c: Likewise.
17696 * sunrpc/clnt_gen.c: Likewise.
17697 * sunrpc/clnt_perr.c: Likewise.
17698 * sunrpc/clnt_raw.c: Likewise.
17699 * sunrpc/clnt_simp.c: Likewise.
17700 * sunrpc/clnt_tcp.c: Likewise.
17701 * sunrpc/clnt_udp.c: Likewise.
17702 * sunrpc/clnt_unix.c: Likewise.
17703 * sunrpc/des_crypt.c: Likewise.
17704 * sunrpc/des_soft.c: Likewise.
17705 * sunrpc/get_myaddr.c: Likewise.
17706 * sunrpc/key_call.c: Likewise.
17707 * sunrpc/key_prot.c: Likewise.
17708 * sunrpc/netname.c: Likewise.
17709 * sunrpc/pm_getmaps.c: Likewise.
17710 * sunrpc/pm_getport.c: Likewise.
17711 * sunrpc/pmap_clnt.c: Likewise.
17712 * sunrpc/pmap_prot.c: Likewise.
17713 * sunrpc/pmap_prot2.c: Likewise.
17714 * sunrpc/pmap_rmt.c: Likewise.
17715 * sunrpc/publickey.c: Likewise.
17716 * sunrpc/rpc_cmsg.c: Likewise.
17717 * sunrpc/rpc_common.c: Likewise.
17718 * sunrpc/rpc_dtable.c: Likewise.
17719 * sunrpc/rpc_prot.c: Likewise.
17720 * sunrpc/rpc_thread.c: Likewise.
17721 * sunrpc/rtime.c: Likewise.
17722 * sunrpc/svc.c: Likewise.
17723 * sunrpc/svc_auth.c: Likewise.
17724 * sunrpc/svc_raw.c: Likewise.
17725 * sunrpc/svc_run.c: Likewise.
17726 * sunrpc/svc_tcp.c: Likewise.
17727 * sunrpc/svc_udp.c: Likewise.
17728 * sunrpc/svc_unix.c: Likewise.
17729 * sunrpc/svcauth_des.c: Likewise.
17730 * sunrpc/xcrypt.c: Likewise.
17731 * sunrpc/xdr.c: Likewise.
17732 * sunrpc/xdr_array.c: Likewise.
17733 * sunrpc/xdr_float.c: Likewise.
17734 * sunrpc/xdr_intXX_t.c: Likewise.
17735 * sunrpc/xdr_mem.c: Likewise.
17736 * sunrpc/xdr_rec.c: Likewise.
17737 * sunrpc/xdr_ref.c: Likewise.
17738 * sunrpc/xdr_sizeof.c: Likewise.
17739 * sunrpc/xdr_stdio.c: Likewise.
17740
b5c086a2
RM
177412012-05-10 Roland McGrath <roland@hack.frob.com>
17742
17743 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17744 change. Update copyright years.
17745
6d74dd09
JM
177462012-05-10 Joseph Myers <joseph@codesourcery.com>
17747
17748 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17749
28e72501
MK
177502012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17751 Joseph Myers <joseph@codesourcery.com>
17752 Paul Pluzhnikov <ppluzhnikov@google.com>
17753
17754 [BZ #14012]
17755 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17756 requiring rpcgen.
17757 [cross-compiling] (extra-libs): Likewise.
17758 [cross-compiling] (extra-libs-others): Likewise.
17759 [cross-compiling] (librpcsvc-routines): Likewise.
17760 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17761 [cross-compiling] (omit-deps): Likewise.
17762 (sunrpc-CPPFLAGS): New variable.
17763 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17764 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17765 (cross-rpcgen-objs): New variable.
17766 (extra-objs): Append $(cross-rpcgen-objs).
17767 ($(cross-rpcgen-objs)): New rule.
17768 ($(objpfx)cross-rpcgen): Likewise.
17769 (rpcgen-cmd): Define to use $(built-program-file). Expand
17770 comment.
17771 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17772 ($(objpfx)x%.stmp): Likewise.
17773 * sunrpc/proto.h [IS_IN_build] (_): Define.
17774 [IS_IN_build] (_libc_intl_domainname): Likewise.
17775
c8c59454
L
177762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17777
17778 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17779 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17780 and R_X86_64_TPOFF64.
17781
6f27cd16
JM
177822012-05-10 Joseph Myers <joseph@codesourcery.com>
17783
17784 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17785 sysdeps/unix/sysv/syscalls.list.
17786 (stime): Likewise.
17787 (utime): Likewise.
17788 * sysdeps/unix/sysv/syscalls.list: Remove file.
17789
02467e1c
PE
177902012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17791
17792 [BZ #3440]
17793 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17794 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17795 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17796 (__LC_IDENTIFICATION): Make these macros useful in #if
17797 expressions, as required by C99.
17798
da392631
AS
177992012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17800
17801 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17802 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17803 after this.
17804
8115f29b
L
178052012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17806
17807 * stdlib/longlong.h: Updated from GCC.
17808
bdd74070
AJ
178092012-05-09 Andreas Jaeger <aj@suse.de>
17810
edfe0dbe
AJ
17811 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17812 default is first entry.
17813 (run_mode): Set type.
17814 (main): Remove informal message about syslog.
17815 (options): Fix typo.
17816
bcfe3a54
ST
17817 [BZ #14053]
17818 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 17819 to asm.
bcfe3a54
ST
17820 (lrint): Likewise.
17821 (llrintf): Likewise.
17822 (llrint): Likewise.
17823 (rint): Likewise.
17824 (rintf): Likewise.
17825 (nearbyint): Likewise.
17826 (nearbyintf): Likewise.
bdd74070 17827
91d8d69e
AJ
178282012-05-09 Andreas Jaeger <aj@suse.de>
17829 Pedro Alves <palves@redhat.com>
17830
17831 * nscd/nscd.c (run_mode): Use enum.
17832 (main): Cleanup coding style issue.
17833
bb90b80b
AJ
178342012-05-09 Alexandre Oliva <aoliva@redhat.com>
17835 Andreas Jaeger <aj@suse.de>
17836
bcfe3a54
ST
17837 * nscd/nscd.c (go_background): Replaced with...
17838 (run_mode): ... this.
bb90b80b 17839 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
17840 (options): Add -F --foreground.
17841 (main): Implement it.
17842 (parse_opt): Parse it.
bb90b80b 17843
1a4b75a1
AJ
178442012-05-09 Andreas Jaeger <aj@suse.de>
17845
17846 [BZ #14083]
17847 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17848 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17849 -Wconversion warning.
17850 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17851 Likewise.
17852
b1cc2472
JM
178532012-05-09 Joseph Myers <joseph@codesourcery.com>
17854
17855 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17856 == 0.
17857 (LC_ALL): Use macro-int-constant.
17858 (LC_COLLATE): Likewise.
17859 (LC_CTYPE): Likewise.
17860 (LC_MESSAGES): Likewise.
17861 (LC_MONETARY): Likewise.
17862 (LC_NUMERIC): Likewise.
17863 (LC_TIME): Likewise.
17864 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17865 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17866 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17867 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17868 Specify type.
17869 [C99-based standards] (float_t): Expect type.
17870 [C99-based standards] (double_t): Expect type.
17871 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17872 type.
17873 [C99-based standards] (HUGE_VALL): Likewise.
17874 [C99-based standards] (INFINITY): Likewise.
17875 [C99-based standards] (NAN): Likewise.
17876 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17877 [C99-based standards] (FP_NAN): Likewise.
17878 [C99-based standards] (FP_NORMAL): Likewise.
17879 [C99-based standards] (FP_SUBNORMAL): Likewise.
17880 [C99-based standards] (FP_ZERO): Likewise.
17881 [C99-based standards] (FP_FAST_FMA): Use
17882 optional-macro-int-constant. Specify type. Require == 1.
17883 [C99-based standards] (FP_FAST_FMAF): Likewise.
17884 [C99-based standards] (FP_FAST_FMAL): Likewise.
17885 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17886 [C99-based standards] (FP_ILOGBNAN): Likewise.
17887 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17888 Specify type.
17889 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17890 [C99-based standards] (math_errhandling): Specify type.
17891 [ISO99 || ISO11] (signgam): Do not allow.
17892 [non-C99-based standards] (copysignf): Do not allow.
17893 [non-C99-based standards] (exp2f): Likewise.
17894 [non-C99-based standards] (log2f): Likewise.
17895 [non-C99-based standards] (modff): Allow.
17896 [non-C99-based standards] (erff): Do not allow.
17897 [non-C99-based standards] (erfcf): Likewise.
17898 [non-C99-based standards] (gammaf): Likewise.
17899 [non-C99-based standards] (hypotf): Likewise.
17900 [non-C99-based standards] (j0f): Likewise.
17901 [non-C99-based standards] (j1f): Likewise.
17902 [non-C99-based standards] (jnf): Likewise.
17903 [non-C99-based standards] (lgammaf): Likewise.
17904 [non-C99-based standards] (tgammaf): Likewise.
17905 [non-C99-based standards] (y0f): Likewise.
17906 [non-C99-based standards] (y1f): Likewise.
17907 [non-C99-based standards] (ynf): Likewise.
17908 [non-C99-based standards] (isnanf): Likewise.
17909 [non-C99-based standards] (acoshf): Likewise.
17910 [non-C99-based standards] (asinhf): Likewise.
17911 [non-C99-based standards] (atanhf): Likewise.
17912 [non-C99-based standards] (cbrtf): Likewise.
17913 [non-C99-based standards] (expm1f): Likewise.
17914 [non-C99-based standards] (ilogbf): Likewise.
17915 [non-C99-based standards] (log1pf): Likewise.
17916 [non-C99-based standards] (logbf): Likewise.
17917 [non-C99-based standards] (nextafterf): Likewise.
17918 [non-C99-based standards] (remainderf): Likewise.
17919 [non-C99-based standards] (rintf): Likewise.
17920 [non-C99-based standards] (scalbf): Likewise.
17921 [non-C99-based standards] (copysignl): Likewise.
17922 [non-C99-based standards] (exp2l): Likewise.
17923 [non-C99-based standards] (log2l): Likewise.
17924 [non-C99-based standards] (modfl): Allow.
17925 [non-C99-based standards] (erfl): Do not allow.
17926 [non-C99-based standards] (erfcl): Likewise.
17927 [non-C99-based standards] (gammal): Likewise.
17928 [non-C99-based standards] (hypotl): Likewise.
17929 [non-C99-based standards] (j0l): Likewise.
17930 [non-C99-based standards] (j1l): Likewise.
17931 [non-C99-based standards] (jnl): Likewise.
17932 [non-C99-based standards] (lgammal): Likewise.
17933 [non-C99-based standards] (tgammal): Likewise.
17934 [non-C99-based standards] (y0l): Likewise.
17935 [non-C99-based standards] (y1l): Likewise.
17936 [non-C99-based standards] (ynl): Likewise.
17937 [non-C99-based standards] (isnanl): Likewise.
17938 [non-C99-based standards] (acoshl): Likewise.
17939 [non-C99-based standards] (asinhl): Likewise.
17940 [non-C99-based standards] (atanhl): Likewise.
17941 [non-C99-based standards] (cbrtl): Likewise.
17942 [non-C99-based standards] (expm1l): Likewise.
17943 [non-C99-based standards] (ilogbl): Likewise.
17944 [non-C99-based standards] (log1pl): Likewise.
17945 [non-C99-based standards] (logbl): Likewise.
17946 [non-C99-based standards] (nextafterl): Likewise.
17947 [non-C99-based standards] (remainderl): Likewise.
17948 [non-C99-based standards] (rintl): Likewise.
17949 [non-C99-based standards] (scalbl): Likewise.
17950 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17951 [non-C99-based standards] (FP_*): Do not allow.
17952 [C99-based standards] (FP_*): Change to
17953 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17954 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17955 allow.
17956 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17957 (SIG_ERR): Likewise.
17958 [X/Open-based standards] (SIG_HOLD): Likewise.
17959 (SIG_IGN): Likewise.
17960 (SIGABRT): Use macro-int-constant. Specify type. Require
17961 positive value.
17962 (SIGFPE): Likewise.
17963 (SIGILL): Likewise.
17964 (SIGINT): Likewise.
17965 (SIGSEGV): Likewise.
17966 (SIGTER): Likewise.
17967 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17968 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17969 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17970 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17971 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17972 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17973 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17974 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17975 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17976 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17977 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17978 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17979 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17980 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17981 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17982 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17983 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17984 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17985 [X/Open-based standards] (SIGTRAP): Likewise.
17986 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17987 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17988 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17989 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17990 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17991 allow.
17992
b9f1922d
IW
179932012-05-08 Ian Wienand <ianw@vmware.com>
17994
17995 [BZ #14080]
17996 * time/tzset.c (__tzset_parse_tz): Update default rules for
17997 daylight time changes in the Energy Policy Act of 2005.
17998
1db86e88
AJ
179992012-05-09 Andreas Jaeger <aj@suse.de>
18000
18001 [BZ #13983]
18002 * elf/ldconfig.c (parse_conf): Change string to make clear that
18003 ldconfig only issued a warning if ld.so.conf does not exist.
18004
dee4a4e3
DM
180052012-05-08 David S. Miller <davem@davemloft.net>
18006
ee0db190
DM
18007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18008 movxtod instead of popping the value on the stack.
18009
dee4a4e3
DM
18010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18011
6a43ec98
CD
180122012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18013
18014 * config.h.in: Add HAVE_ARM_PCS_VFP.
18015
05c2c961
RMG
180162012-05-08 Roland Mc Grath <roland@hack.frob.com>
18017
bcfe3a54
ST
18018 [BZ #13979]
18019 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18020 checking but the checks are disabled for any reason.
05c2c961 18021
4b30f61a
L
180222012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18023
18024 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18025 and ELF64_R_TYPE with ELFW(R_TYPE).
18026
eee2bc67
JM
180272012-05-08 Joseph Myers <joseph@codesourcery.com>
18028
7ea5391a
JM
18029 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18030 (ulimit): Likewise.
18031
eee2bc67
JM
18032 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18033 (settimeofday): Likewise.
18034
abb66a67
MF
180352012-05-08 Mike Frysinger <vapier@gentoo.org>
18036
18037 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18038 a struct th_u2 inside the union, and move tu_block/tu_code into
18039 a new th_u3 union of tu_block/tu_code inside of that. Move
18040 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18041 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18042 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18043 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18044 (th_stuff): Change to th_u1.tu_stuff.
18045 (th_data): Define.
18046 (th_msg): Change to th_u1.th_u2.tu_data.
18047
7f18b530
DM
180482012-05-07 David S. Miller <davem@davemloft.net>
18049
05760585
DM
18050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18051
7f18b530
DM
18052 [BZ #14074]
18053 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18054 (SETUP_PIC_REG): Use it.
18055 (SETUP_PIC_REG_LEAF): Use it.
18056
495fd99f
JM
180572012-05-07 Joseph Myers <joseph@codesourcery.com>
18058
18059 [BZ #13885]
18060 [BZ #13923]
18061 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18062 USE_AS_EXPM1L.
18063 (EXPL_FINITE): Likewise.
18064 (FLDLOG): Likewise.
18065 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18066 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18067 e_expl.S.
18068 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18069 USE_AS_EXPM1L.
18070 (EXPL_FINITE): Likewise.
18071 (FLDLOG): Likewise.
18072 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18073 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18074 e_expl.S.
18075 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18076 test of -max_value argument for long double.
18077 * sysdeps/i386/fpu/libm-test-ulps: Update.
18078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18079
6693d694
DM
180802012-05-06 David S. Miller <davem@davemloft.net>
18081
18082 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18083 quad soft-float symbols whose references which are compiler
18084 generated.
18085 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18086
6c23e11c
JM
180872012-05-06 Joseph Myers <joseph@codesourcery.com>
18088
d8b82cad
JM
18089 [BZ #13884]
18090 [BZ #13914]
18091 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18092 USE_AS_EXP10L.
18093 (EXPL_FINITE): Likewise.
18094 (FLDLOG): Likewise.
18095 (c0): Likewise.
18096 (c1): Likewise.
18097 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18098 Adjust comments for base varying.
18099 (__expl_finite): Change alias to EXPL_FINITE.
18100 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18101 e_expl.S.
18102 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18103 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18104 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18105 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18106 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18107 USE_AS_EXP10L.
18108 (EXPL_FINITE): Likewise.
18109 (FLDLOG): Likewise.
18110 (c0): Likewise.
18111 (c1): Likewise.
18112 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18113 Adjust comments for base varying.
18114 (__expl_finite): Change alias to EXPL_FINITE.
18115 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18116 tests for bugs.
18117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18118
6c23e11c
JM
18119 [BZ #14064]
18120 * math/libm-test.inc (check_float_internal): Correct ulp
18121 calculation for subnormal expected results.
18122
29ba805c
AJ
181232012-05-06 Andreas Jaeger <aj@suse.de>
18124
18125 * Makeconfig (+math-flags): New, set to -frounding-math.
18126 (+cflags): Add +math-flags so that all of glibc gets compiled with
18127 it.
18128
18129 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18130
7b17aeda
JM
181312012-05-05 Joseph Myers <joseph@codesourcery.com>
18132
5779f134
JM
18133 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18134 Disable one test.
18135
41498f4d
JM
18136 [BZ #13787]
18137 [BZ #13922]
18138 [BZ #14036]
18139 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18140 (__ieee754_expl): Allow for and saturate large arguments.
18141 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18142 (u_threshold): Likewise.
18143 (__exp): Call __ieee754_exp before checking for overflow and
18144 underflow.
18145 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18146 (u_threshold): Likewise.
18147 (__expf): Call __ieee754_expf before checking for overflow and
18148 underflow.
18149 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18150 (u_threshold): Likewise.
18151 (__expl): Call __ieee754_expl before checking for overflow and
18152 underflow.
18153 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18154 (__ieee754_expl): Allow for and saturate large arguments.
18155 * math/libm-test.inc (exp_test): Add another test. Do not allow
18156 missing overflow exception on overflow.
18157 (expm1_test): Do not allow missing overflow exception on overflow.
18158
6698b8bf
JM
18159 * sysdeps/i386/fpu/e_expl.c: Move to ...
18160 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18161 rather than using inline asm.
18162 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18163 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18164 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18165
7b17aeda
JM
18166 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18167 (nice): Likewise.
18168 (poll): Likewise.
18169 (signal): Likewise.
18170 (time): Likewise.
18171 (times): Likewise.
18172
f7c85819
JM
181732012-05-04 Joseph Myers <joseph@codesourcery.com>
18174
18175 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18176 sysdeps/unix/common/syscalls.list.
18177 (fchmod): Likewise.
18178 (fchown): Likewise.
18179 (ftruncate): Likewise.
18180 (getrusage): Likewise.
18181 (gettimeofday): Likewise.
18182 (setpgid): Likewise.
18183 (setregid): Likewise.
18184 (setreuid): Likewise.
18185 (sigaction): Likewise.
18186 (truncate): Likewise.
18187 (vhangup): Likewise.
18188 * sysdeps/unix/common/syscalls.list: Remove file.
18189 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18190 * sysdeps/unix/sysv/linux/Implies: Likewise.
18191
336270d0
L
181922012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18193
18194 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18196 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18197 Moved to ...
18198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18199 Here.
18200 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18201 to ...
18202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18203 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18204 to ...
18205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18206 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18207 to ...
18208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18209 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18210 to ...
18211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18212 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18213 to ...
18214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18215 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18216 to ...
18217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18218 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18219 to ...
18220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18221 Here.
18222 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18223 to ...
18224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18225 Here.
18226 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18227 to ...
18228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18229 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18230 Moved to ...
18231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18232 Here.
18233 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18234 to ...
18235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18236
d128e450
JM
182372012-05-04 Joseph Myers <joseph@codesourcery.com>
18238
fa8ee516
JM
18239 * sysdeps/unix/common/bits/dirent.h: Remove file.
18240 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18241
d128e450
JM
18242 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18243 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18244 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18245 * sysdeps/unix/bsd/isatty.c: Likewise.
18246 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18247 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18248 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18249
ff8faaf0 182502012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18251
62881be4 18252 [BZ #13563]
31dc8730
AZ
18253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18254 long double comparison inaccuracies.
18255 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18257
6fef930c
AS
182582012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18259
18260 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18262
8f203e6c
JM
182632012-05-04 Joseph Myers <joseph@codesourcery.com>
18264
18265 [BZ #14049]
18266 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18267 nonzero digits before rounding a hex value.
18268 * stdlib/tst-strtod.c (tests): Add another test.
18269
5197d9c2
AK
182702012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18271
18272 * sysdeps/s390/fpu/libm-test-ulps: Update.
18273
f0c1dedf
AJ
182742012-05-03 Andreas Jaeger <aj@suse.de>
18275
18276 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18277 does not get optimized out.
18278 (malloc_opt_barrier): New.
18279
a65ef2ae 182802012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18281 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18282
2b942cb7 18283 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18284 intermediate file deletion.
2b942cb7 18285 (generated): Add .symlist files.
a65ef2ae 18286
54b71e02
JM
182872012-05-03 Joseph Myers <joseph@codesourcery.com>
18288
18289 [BZ #13775]
18290 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18291 Redirect under this condition.
18292 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18293 [__USE_GNU] (__dprintf_chk): Not under this condition.
18294 [__USE_GNU] (__vdprintf_chk): Likewise.
18295 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18296 under this condition.
18297 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18298 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18299 [__USE_XOPEN2K8] (vdprintf): Likewise.
18300 [__USE_GNU] (__dprintf_chk): Not under this condition.
18301 [__USE_GNU] (__vdprintf_chk): Likewise.
18302 [__USE_GNU] (dprintf): Likewise.
18303 [__USE_GNU] (vdprintf): Likewise.
18304
d3dfcc41
RM
183052012-05-03 Roland McGrath <roland@hack.frob.com>
18306
18307 * elf/Makefile (common-generated): Set this instead of generated for
18308 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18309 $(all-built-dso)-derived lists.
18310
7ac30cc5
AJ
183112012-05-03 Andreas Jaeger <aj@suse.de>
18312
0c51e550
AJ
18313 * sysdeps/i386/fpu/libm-test-ulps: Update.
18314
7ac30cc5
AJ
18315 * FAQ: Removed.
18316 * FAQ.in: Likewise.
18317 * scripts/gen-FAQ.pl: Likewise.
18318 * manual/install.texi (Installation): Point to online location of
18319 FAQ.
18320 * Makefile (files-for-dist): Remove FAQ.
18321 (FAQ): Remove.
18322
d4c2917f
AM
183232012-05-02 Allan McRae <allan@archlinux.org>
18324
18325 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18326 (LDFLAGS-reldepmod5.so): Likewise.
18327 (LDFLAGS-reldep6mod1.so): Likewise.
18328 (LDFLAGS-reldep6mod4.so): Likewise.
18329 (LDFLAGS-reldep8mod3.so): Likewise.
18330 (LDFLAGS-unload4mod1.so): Likewise.
18331 (LDFLAGS-unload4mod2.so): Likewise.
18332 (LDFLAGS-tst-initorder): Likewise.
18333 (LDFLAGS-tst-initordera2.so): Likewise.
18334 (LDFLAGS-tst-initordera3.so): Likewise.
18335 (LDFLAGS-tst-initordera4.so): Likewise.
18336 (LDFLAGS-tst-initorderb2.so): Likewise.
18337 (LDFLAGS-noload): Likewise.
18338 (LDFLAGS-next): Likewise.
18339 (LDFLAGS-order2mod1.so): Likewise.
18340 (LDFLAGS-order2mod2.so): Likewise.
18341 (LDFLAGS-tst-initorder2): Likewise.
18342 (LDFLAGS-tst-initorder2a.so): Likewise.
18343 (LDFLAGS-tst-initorder2b.so): Likewise.
18344 (LDFLAGS-tst-initorder2c.so): Likewise.
18345 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18346
d77f993f
DM
183472012-05-02 David S. Miller <davem@davemloft.net>
18348
18349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18350
171a70b4
PP
183512012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18352
18353 [BZ #14055]
18354 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18355
0be196ad
AJ
183562012-05-02 Andreas Jaeger <aj@suse.de>
18357
18358 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18359 since we manipulate rounding mode.
18360 (CPPFLAGS-test-idouble.c): Likewise.
18361 (CPPFLAGS-test-ifloat.c): Likewise.
18362 (CFLAGS-test-ldouble.c): Likewise.
18363 (CFLAGS-test-double.c): Likewise.
18364 (CFLAGS-test-float.c): Likewise.
18365 (CFLAGS-test-misc.c): Likewise.
18366 (CFLAGS-test-test-fenv.c): Likewise.
18367
4f9d04aa
AZ
183682012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18369
2b942cb7
RM
18370 [BZ #2550]
18371 [BZ #2570]
18372 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18373 comparisons to determine direction to adjust input.
4f9d04aa 18374
82a79e7d
RM
183752012-05-01 Roland McGrath <roland@hack.frob.com>
18376
f5a01ca9
RM
18377 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18378 output to the target.
18379
90fe4186
RM
18380 * scripts/localplt.awk: New file.
18381 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18382 (check-localplt-CFLAGS): Variable removed.
18383 ($(all-built-dso:=.jmprel)): New static pattern rule.
18384 (generated): Add those targets.
18385 (localplt-built-dso): New variable.
18386 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18387
18388 * elf/check-localplt.c: File removed.
18389
82397ed6
RM
18390 * scripts/check-execstack.awk: New file.
18391 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18392 (check-execstack-CFLAGS): Variable removed.
18393 ($(objpfx)check-execstack.h): Target removed.
18394 ($(objpfx)execstack-default): New target.
18395 (generated): Add that instead of check-execstack.h.
18396 ($(all-built-dso:=.phdr)): New static pattern rule.
18397 (generated): Add those targets.
18398 * elf/check-execstack.c: File removed.
18399
82a79e7d
RM
18400 * scripts/check-textrel.awk: New file.
18401 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18402 (check-textrel-CFLAGS): Variable removed.
18403 (all-built-dso): Use := to define.o
18404 ($(all-built-dso:=.dyn)): New static pattern rule.
18405 (generated): Add those targets.
18406 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18407 * config.make.in (READELF): New substituted variable.
18408 * elf/check-textrel.c: File removed.
18409
62fde54f 184102012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18411
615605c9
JM
18412 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18413 allow.
18414 * conform/data/ctype.h-data [C99-based standards] (isblank):
18415 Expect function.
18416 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18417 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18418 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18419 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18420 Specify type. Require positive value.
18421 (EILSEQ): Likewise.
18422 (ERANGE): Likewise.
18423 [ISO || POSIX] (EILSEQ): Do not expect.
18424 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18425 Specify type. Require positive value.
18426 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18427 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18428 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18429 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18430 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18431 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18432 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18433 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18434 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18435 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18436 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18437 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18438 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18439 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18440 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18441 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18442 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18443 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18444 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18445 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18446 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18447 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18448 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18449 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18450 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18451 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18452 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18453 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18454 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18455 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18456 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18457 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18458 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18459 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18460 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18461 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18462 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18463 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18464 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18465 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18466 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18467 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18468 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18469 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18470 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18471 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18472 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18473 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18474 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18475 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18476 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18477 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18478 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18479 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18480 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18481 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18482 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18483 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18484 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18485 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18486 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18487 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18488 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18489 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18490 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18491 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18492 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18493 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18494 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18495 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18496 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18497 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18498 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18499 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18500 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18501 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18502 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18503 Require >= 2.
18504 (FLT_ROUNDS): Expect as macro, not constant.
18505 (FLT_MANT_DIG): Use macro-int-constant.
18506 (DBL_MANT_DIG): Likewise.
18507 (LDBL_MANT_DIG): Likewise.
18508 (FLT_DIG): Likewise.
18509 (DBL_DIG): Likewise.
18510 (LDBL_DIG): Likewise.
18511 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18512 (DBL_MIN_EXP): Likewise.
18513 (LDBL_MIN_EXP): Likewise.
18514 (FLT_MAX_EXP): Use macro-int-constant.
18515 (DBL_MAX_EXP): Likewise.
18516 (LDBL_MAX_EXP): Likewise.
18517 (FLT_MAX_10_EXP): Likewise.
18518 (DBL_MAX_10_EXP): Likewise.
18519 (LDBL_MAX_10_EXP): Likewise.
18520 (FLT_MAX): Use macro-constant.
18521 (DBL_MAX): Likewise.
18522 (LDBL_MAX): Likewise.
18523 (FLT_EPSILON): Use macro-constant. Give upper bound.
18524 (DBL_EPSILON): Likewise.
18525 (LDBL_EPSILON): Likewise.
18526 (FLT_MIN): Likewise.
18527 (DBL_MIN): Likewise.
18528 (LDBL_MIN): Likewise.
18529 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18530 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18531 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18532 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18533 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18534 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18535 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18536 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18537 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18538 [ISO11] (FLT_TRUE_MIN): Likewise.
18539 [ISO11] (LDBL_TRUE_MIN): Likewise.
18540 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18541 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18542 (SCHAR_MIN): Use macro-int-constant. Specify type.
18543 (SCHAR_MAX): Likewise.
18544 (UCHAR_MAX): Likewise.
18545 (CHAR_MIN): Likewise.
18546 (CHAR_MAX): Likewise.
18547 (MB_LEN_MAX): Use macro-int-constant.
18548 (SHRT_MIN): Use macro-int-constant. Specify type.
18549 (SHRT_MAX): Likewise.
18550 (USHRT_MAX): Likewise.
18551 (INT_MAX): Likewise.
18552 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18553 bound negative.
18554 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18555 bound with "U".
18556 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18557 bound with "L".
18558 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18559 bound negative. Suffix upper bound with "L".
18560 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18561 bound with "UL".
18562 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18563 Specify type.
18564 [C99-based standards] (LLONG_MAX): Likewise.
18565 [C99-based standards] (ULLONG_MAX): Likewise.
18566 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18567 == 0.
18568 [ISO11] (max_align_t): Require type.
18569 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18570
c9140a62
JM
18571 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18572 from $CFLAGS, without defining away __attribute__ calls.
18573 (checknamespace): Use $CFLAGS_namespace.
18574
9af0bf29
JM
18575 * conform/conformtest.pl (@keywords): Only include C99 keywords
18576 for standards based on C99 or C11.
18577
343222a2
JM
18578 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18579 Disable tests.
18580 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18581 UNIX98]: Likewise.
18582
661f8cf0
JM
18583 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18584 usability of symbols in #if.
18585
ee74b9cb
JM
18586 * conform/conformtest.pl: If macro or constant types start
18587 "promoted:", expect the symbol to be of the following type
18588 promoted by the integer promotions.
62fde54f 18589
aafc49b3
JM
18590 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18591 in one place. Also handle "macro-constant".
18592
fefdf574
JM
18593 * conform/conformtest.pl: Only accept expected macro values with
18594 "==". Parse all "macro" lines in one place.
18595 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18596
f2d922fe
JM
18597 * conform/conformtest.pl: Handle braced types on "constant" lines
18598 instead of handling "typed-constant".
18599 * conform/data/signal.h-data: Use "constant" instead of
18600 "typed-constant".
18601
d22956c9
JM
18602 * conform/conformtest.pl: Handle "optional-" at start of lines in
18603 one place rather than duplicating several cases. Handle each
18604 format of "macro" line with initial "optional-".
18605
028e2e38
JM
18606 * conform/conformtest.pl: Only accept expected constant or
18607 optional-constant values with "==". Parse all "constant" lines in
18608 one place. Parse all "optional-constant" lines in one place.
18609 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18610 * conform/data/fmtmsg.h-data: Likewise.
18611 * conform/data/netinet/in.h-data: Likewise.
18612 * conform/data/tar.h-data: Likewise.
18613 * conform/data/limits.h-data: Use "==" form on "constant" and
18614 "optional-constant" lines.
18615
1b8f2850
JM
18616 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18617 Use -std=c99 for XOPEN2K.
18618 (@knownproblems): Remove.
18619 (newtoken): Don't check %isknown.
18620
a05a144b
JM
18621 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18622 Do not expect macro.
18623 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18624 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18625 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18626 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18627 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18628 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18629 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18630 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18631 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18632 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18633 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18634 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18635 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18636 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18637 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18638 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18639 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18640 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18641 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18642 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18643 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18644 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18645 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18646 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18647 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18648 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18649 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18650 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18651 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18652 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18653 [XPG3] (acosh): Likewise.
18654 [XPG3] (asinh): Likewise.
18655 [XPG3] (atanh): Likewise.
18656 [XPG3] (cbrt): Likewise.
18657 [XPG3] (expm1): Likewise.
18658 [XPG3] (ilogb): Likewise.
18659 [XPG3] (log1p): Likewise.
18660 [XPG3] (logb): Likewise.
18661 [XPG3] (nextafter): Likewise.
18662 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18663 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18664 [XPG3] (remainder): Likewise.
18665 [XPG3] (rint): Likewise.
18666 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18667 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18668 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18669 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18670 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18671 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18672 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18673 [UNIX98 || XOPEN2K] (scalb): Expect.
18674 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18675 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18676 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18677 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18678 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18679 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18680 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18681 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18682 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18683 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18684 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18685 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18686 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18687 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18688 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18689 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18690 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18691 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18692 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18693 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18694 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18695 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18696 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18697 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18698 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18699 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18700 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18701 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18702 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18703 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18704 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18705 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18706 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18707 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18708 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18709 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18710 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18711 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18712 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18713 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18714 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18715 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18716 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18717 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18718 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18719 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18720 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18721 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18722 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18723 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18724 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18725 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18726 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18727 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18728 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18729 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18730 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18731 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18732 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18733 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18734 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18735 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18736 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18737 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18738 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18739 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18740 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18741 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18742 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18743 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18744 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18745 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18746 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18747 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18748 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18749 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18750 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18751 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18752 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18753 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18754 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18755 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18756 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18757 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18758 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18759 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18760 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18761 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18762 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18763 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18764 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18765 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18766 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18767 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18768 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18769 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18770 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18771 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18772 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18773 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18774 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18775 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18776 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18777 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18778 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18779 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18780 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18781 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18782 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18783 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18784 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18785 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18786 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18787 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18788 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18789 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18790 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18791 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18792 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18793 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18794 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18795 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18796 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18797 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18798 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18799 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18800 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18801 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18802 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18803 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18804 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18805 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18806 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18807 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18808 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18809 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18810 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18811
73c5ebe3
JM
18812 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18813 _XOPEN_SOURCE_EXTENDED for XPG4.
18814
39c33b6c
JM
18815 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18816
62fde54f
JM
18817 * Makeconfig (localtime): Remove variable.
18818 (inst_localtime-file): Likewise.
18819
0741d64c
AS
188202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18821
18822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18823 Update.
18824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18825 Update.
18826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18827 Update.
18828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18829 Update.
18830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18831 Update.
18832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18833 Update.
18834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18835 Update.
18836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18837 Update.
18838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18839 Update.
18840
7cb029ee
JM
188412012-05-01 Joseph Myers <joseph@codesourcery.com>
18842
18843 [BZ #2550]
18844 [BZ #2570]
18845 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18846 comparisons to determine direction to adjust input.
18847 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18848 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18849 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18850 Likewise.
18851 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18852 Likewise.
18853 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18854 Likewise.
18855 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18856 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18857 Likewise.
18858 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18859 Likewise.
18860 * math/libm-test.inc (nexttoward_test): Add more tests.
18861
412bd966
AS
188622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18863
18864 [BZ #14040]
18865 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18866 in version GLIBC_2.1, not GLIBC_2.0.
18867 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18868 Likewise.
18869
9568c0c2
JM
188702012-04-30 Joseph Myers <joseph@codesourcery.com>
18871
adfbc8ac
JM
18872 [BZ #13942]
18873 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18874 (1 - x) * (1 + x).
18875 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18876 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18877 * math/libm-test.inc (acos_test): Add more tests.
18878 (asin_test): Likewise.
18879 * sysdeps/i386/fpu/libm-test-ulps: Update.
18880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18881
5ba3cc69
JM
18882 [BZ #14034]
18883 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18884 of square root.
18885 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18886 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18887 * math/libm-test.inc (acos_test_tonearest): New function.
18888 (acos_test_towardzero): Likewise.
18889 (acos_test_downward): Likewise.
18890 (acos_test_upward): Likewise.
18891 (asin_test_tonearest): Likewise.
18892 (asin_test_towardzero): Likewise.
18893 (asin_test_downward): Likewise.
18894 (asin_test_upward): Likewise.
18895 (main): Call the new functions.
18896 * sysdeps/i386/fpu/libm-test-ulps: Update.
18897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18898
9568c0c2
JM
18899 [BZ #13884]
18900 [BZ #13924]
18901 * math/e_exp10.c: Include <float.h>.
18902 (__ieee754_exp10): Handle underflow here rather than multiplying
18903 large negative argument by M_LN10.
18904 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18905 of __ieee754_expf.
18906 * math/e_exp10l.c: Include <float.h>.
18907 (__ieee754_exp10l): Handle underflow here rather than multiplying
18908 large negative argument by M_LN10l.
18909 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18910 spurious overflow exception on underflow.
18911
5ac3ea17
MP
189122012-04-29 Marek Polacek <polacek@redhat.com>
18913
18914 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18915 (__fortify_function): New macro.
18916 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18917 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18918 __extern_always_inline.
18919 * libio/bits/stdio2.h: Likewise.
18920 * libio/bits/stdio.h: Likewise.
18921 * string/string.h: Likewise.
18922 * string/bits/string3.h: Likewise.
18923 * include/stdio.h: Likewise.
18924 * stdlib/bits/stdlib.h: Likewise.
18925 * stdlib/stdlib.h: Likewise.
18926 * rt/bits/mqueue2.h: Likewise.
18927 * rt/mqueue.h: Likewise.
18928 * posix/bits/unistd.h: Likewise.
18929 * posix/unistd.h: Likewise.
18930 * io/bits/poll2.h: Likewise.
18931 * io/bits/fcntl2.h: Likewise.
18932 * io/fcntl.h: Likewise.
18933 * io/sys/poll.h: Likewise.
18934 * misc/bits/syslog.h: Likewise.
18935 * misc/bits/syslog-ldbl.h: Likewise.
18936 * misc/sys/syslog.h: Likewise.
18937 * socket/bits/socket2.h: Likewise.
18938 * socket/sys/socket.h: Likewise.
18939 * debug/tst-chk1.c: Likewise.
18940 * wcsmbs/bits/wchar2.h: Likewise.
18941 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18942 * wcsmbs/wchar.h: Likewise.
18943
ecf0ebfb
AJ
189442012-04-29 Andreas Jaeger <aj@suse.de>
18945
18946 * Makerules (tests): Remove enable-check-abi protection.
18947 (check-abi-warn): Remove.
18948 (check-abi-%): Remove check-abi-warn usage.
18949
18950 * configure.in: Remove check-abi configure option.
18951 * configure: Regenerated.
18952 * config.make.in (enable-check-abi): Remove.
18953
6d5c57fa
AS
189542012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18955
24c5d07e 18956 [BZ #14033]
ded5180a
AS
18957 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18958 double functions to double *_finite functions.
18959
7e0d315d
AS
18960 [BZ #13941]
18961 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18962 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18963 LDBL_MIN_EXP.
18964 * stdio-common/Makefile (tests): Add tst-sprintf3.
18965 * stdio-common/tst-sprintf3.c: New file.
18966
6d5c57fa
AS
18967 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18968 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18969
0749ff8b
JM
189702012-04-28 Joseph Myers <joseph@codesourcery.com>
18971
18972 * conform/conformtest.pl: Remove duplicate typed-constant
18973 handling.
18974
8dbd5d7b
DM
189752012-04-28 David S. Miller <davem@davemloft.net>
18976
18977 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18978 (check-abi-%): Remove AWK script prerequisite and explicit
18979 abilist directory.
18980 (check-abi): Rewrite to just diff the symlist with the abilist.
18981 (config-tls, config-abi-config): Delete, no longer used.
18982 (update-abi-%): Remove AWK script and explicit abilist directory.
18983 (update-abi): Rewrite to simply compare and conditionally copy the
18984 symlist and the sysdep abilist file. Remove update-abi-config
18985 checks.
18986 * abilist/ld.abilist: Remove.
18987 * abilist/libBrokenLocale.abilist: Remove.
18988 * abilist/libanl.abilist: Remove.
18989 * abilist/libcrypt.abilist: Remove.
18990 * abilist/libdl.abilist: Remove.
18991 * abilist/librt.abilist: Remove.
18992 * abilist/libthread_db.abilist: Remove.
18993 * abilist/libutil.abilist: Remove.
18994 * scripts/extract-abilist.awk: Remove.
18995 * scripts/merge-abilist.awk: Remove.
18996 * sysdeps/generic/libcidn.abilist: New file.
18997 * sysdeps/generic/libnss_compat.abilist: New file.
18998 * sysdeps/generic/libnss_db.abilist: New file.
18999 * sysdeps/generic/libnss_dns.abilist: New file.
19000 * sysdeps/generic/libnss_files.abilist: New file.
19001 * sysdeps/generic/libnss_hesiod.abilist: New file.
19002 * sysdeps/generic/libnss_nis.abilist: New file.
19003 * sysdeps/generic/libnss_nisplus.abilist: New file.
19004 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19005 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19006 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19007 file.
19008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19009 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19010 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19011 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19012 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19013 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19014 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19015 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19016 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19017 file.
19018 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19019 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19020 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19021 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19022 file.
19023 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19024 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19025 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19026 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19027 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19028 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19029 file.
19030 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19031 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19032 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19033 file.
19034 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19036 New file.
19037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19038 New file.
19039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19040 New file.
19041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19042 New file.
19043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19044 New file.
19045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19046 New file.
19047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19048 New file.
19049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19050 New file.
19051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19052 New file.
19053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19054 New file.
19055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19056 New file.
19057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19058 New file.
19059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19060 New file.
19061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19062 file.
19063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19064 New file.
19065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19066 New file.
19067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19068 file.
19069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19070 New file.
19071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19072 New file.
19073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19074 file.
19075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19076 New file.
19077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19078 New file.
19079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19080 New file.
19081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19082 New file.
19083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19084 New file.
19085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19086 New file.
19087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19089 file.
19090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19091 New file.
19092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19093 file.
19094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19095 file.
19096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19097 file.
19098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19099 file.
19100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19101 file.
19102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19103 New file.
19104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19105 file.
19106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19107 file.
19108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19109 New file.
19110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19111 file.
19112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19114 file.
19115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19116 New file.
19117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19118 file.
19119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19120 file.
19121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19122 file.
19123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19124 file.
19125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19126 file.
19127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19128 New file.
19129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19130 file.
19131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19132 file.
19133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19134 New file.
19135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19136 file.
19137 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19138 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19139 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19140 file.
19141 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19142 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19143 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19144 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19145 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19146 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19147 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19148 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19149 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19150 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19153 file.
19154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19155 New file.
19156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19157 file.
19158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19159 file.
19160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19161 file.
19162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19163 file.
19164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19165 file.
19166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19167 New file.
19168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19169 New file.
19170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19171 file.
19172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19173 New file.
19174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19175 file.
19176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19178 file.
19179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19180 New file.
19181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19182 file.
19183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19184 file.
19185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19186 file.
19187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19188 file.
19189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19190 file.
19191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19192 New file.
19193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19194 New file.
19195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19196 file.
19197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19198 New file.
19199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19200 file.
19201
41d73a1b
JM
192022012-04-28 Joseph Myers <joseph@codesourcery.com>
19203
19204 * conform/conformtest.pl: Fix typo in handling typed-constant from
19205 allow-header.
19206
28aeeda4
JM
192072012-04-27 Joseph Myers <joseph@codesourcery.com>
19208
adae8f5e
JM
19209 * README: Cut down references to pre-2.6 Linux kernels and
19210 Linuxthreads. Update lists of configurations in libc and ports
19211 and sort alphabetically. Say "or newer" with Linux kernel version
19212 requirements.
19213
28aeeda4
JM
19214 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19215
a462cb63
RA
192162012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19217
19218 [BZ #887]
19219 * math/libm-test.inc (logb_test_downward): New test to expose
19220 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19221 rounding mode.
19222
6ad3493e
JM
192232012-04-27 Joseph Myers <joseph@codesourcery.com>
19224
19225 [BZ #14027]
19226 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19227 to be done.
19228 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19229 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19230
2ce4f015
JM
192312012-04-26 Joseph Myers <joseph@codesourcery.com>
19232
5aeb141a
JM
19233 * sysdeps/unix/i386/brk.S: Remove file.
19234 * sysdeps/unix/i386/dl-brk.S: Likewise.
19235 * sysdeps/unix/i386/pipe.S: Likewise.
19236 * sysdeps/unix/i386/sigreturn.S: Likewise.
19237 * sysdeps/unix/i386/syscall.S: Likewise.
19238 * sysdeps/unix/i386/vfork.S: Likewise.
19239 * sysdeps/unix/i386/wait.S: Likewise.
19240
7143acae
JM
19241 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19242 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19243
2ce4f015
JM
19244 * configure.in (arm*-none*): Do not allow without
19245 --enable-hacker-mode.
19246 (netbsd*): Remove case setting base_os.
19247 (386bsd*): Likewise.
19248 (freebsd*): Likewise.
19249 (bsdi*): Likewise.
19250 (osf*): Likewise.
19251 (sunos*): Likewise.
19252 (ultrix*): Likewise.
19253 (newsos*): Likewise.
19254 (dynix*): Likewise.
19255 (*bsd*): Likewise.
19256 (sysv*): Likewise.
19257 (isc*): Likewise.
19258 (esix*): Likewise.
19259 (sco*): Likewise.
19260 (minix*): Likewise.
19261 (irix4*): Likewise.
19262 (irix6*): Likewise.
19263 (solaris[2-9]*): Likewise.
19264 (none): Likewise.
19265 * configure: Regenerated.
19266
0ac229c8
AZ
192672012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19268
19269 [BZ #11521]
19270 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19271 overflow or cancellation in calculating denominator.
19272 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19273 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19274 down expression to avoid unexpected rounding in newer GCCs.
19275 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19276
33f244f4
DM
192772012-04-26 David S. Miller <davem@davemloft.net>
19278
19279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19280 long-double compat symbols.
19281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19294
cfa1f3e8
DM
192952012-04-25 David S. Miller <davem@davemloft.net>
19296
19297 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19298 HWCAP_* values only after the memory barriers have been defined.
19299 (atomic_full_barrier): Define.
19300 (atomic_read_barrier): Define.
19301 (atomic_write_barrier): Define.
19302
6e236b92
SP
193032012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19304
19305 * shlib-versions: Add libgcc_s version information.
19306 * sysdeps/generic/libgcc_s.h: Remove.
19307 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19308 libgcc_s.h.
19309 * sysdeps/gnu/unwind-resume.c: Likewise.
19310 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19311
aab39a09
DM
193122012-04-25 David S. Miller <davem@davemloft.net>
19313
19314 * sysdeps/unix/sparc/brk.S: Delete.
19315 * sysdeps/unix/sparc/dl-brk.S: Delete.
19316 * sysdeps/unix/sparc/pipe.S: Delete.
19317 * sysdeps/unix/sparc/sysdep.S: Delete.
19318 * sysdeps/unix/sparc/sysdep.h: Delete.
19319 * sysdeps/unix/sparc/vfork.S: Delete.
19320 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19321 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19322 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19323 ret_ERRVAL, r0, r1, MOVE): Define.
19324 (JUMPTARGET): Remove.
19325 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19326 sysdeps/unix/sparc/sysdep.h
19327 (ENTRY, END): Remove.
19328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19329
a3cc4f48
JM
193302012-04-25 Joseph Myers <joseph@codesourcery.com>
19331
2ed8cda2
JM
19332 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19333 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19334 -DIS_IN_build.
19335
35d76d59
JM
19336 * timezone/README: Update upstream location and email address for
19337 tzcode and tzdata.
19338 * timezone/zdump.c: Update from tzcode 2012b.
19339 * timezone/zic.c: Likewise.
19340
a3cc4f48
JM
19341 * configure.in (libc_cv_as_needed): Remove test.
19342 * configure: Regenerated.
19343 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19344 conditional definition.
19345 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19346 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19347 * config.make.in (have-as-needed): Remove variable.
19348
ceab42c3
SP
193492012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19350 Paul Pluzhnikov <ppluzhnikov@google.com>
19351
19352 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19353 strings correctly.
19354
3ce2865f
CLT
193552012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19356
19357 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19358 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19359 * sysdeps/sh/strlen.S: Likewise.
19360
f37e0d68
JM
193612012-04-24 Joseph Myers <joseph@codesourcery.com>
19362
ae186e9a
JM
19363 * sysdeps/unix/fork.S: Remove file.
19364 * sysdeps/unix/i386/fork.S: Likewise.
19365 * sysdeps/unix/sparc/fork.S: Likewise.
19366
b96914af
JM
19367 * sysdeps/unix/system.c: Remove file.
19368 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19369
f37e0d68
JM
19370 * sysdeps/unix/getegid.S: Remove file.
19371 * sysdeps/unix/geteuid.S: Likewise.
19372
87ef29ca
RM
193732012-04-24 Roland McGrath <roland@hack.frob.com>
19374
83bcd236
RM
19375 * scripts/check-localplt.awk: New file.
19376 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19377 of diff.
19378 * scripts/data/localplt-generic.data: Add a comment.
19379
87ef29ca
RM
19380 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19381 NODE when __dir_mkfile failed.
19382 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19383 Reported by Ludovic Courtès <ludo@gnu.org>.
19384
e5a6e567
AJ
193852012-04-24 Andreas Jaeger <aj@suse.de>
19386
19387 * Makerules (common-clean): Also remove gen-as-const-headers
19388 files.
19389
c1820385
JM
193902012-04-24 Joseph Myers <joseph@codesourcery.com>
19391
19392 * Makerules (native-compile): Do not change working directory for
19393 build. Use $(OUTPUT_OPTION) in command.
19394 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19395
94e02fc4
AZ
193962012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19397
19398 [BZ #13886]
19399 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19400 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19401 * math/libm-test.inc (floor_test): Add more tests.
19402 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19403
3a533ca3
JM
194042012-04-24 Joseph Myers <joseph@codesourcery.com>
19405
940ab4b3
JM
19406 * sysdeps/unix/getdents.c: Remove file.
19407 * sysdeps/unix/sysv/getdents.c: Likewise.
19408 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19409
90e037bd
JM
19410 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19411 sysdeps/unix/mman/syscalls.list.
19412 (mmap): Likewise.
19413 (mprotect): Likewise.
19414 (msync): Likewise.
19415 (munmap): Likewise.
19416 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19417 * sysdeps/unix/mman/syscalls.list: Remove.
19418 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19419
3a533ca3
JM
19420 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19421 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19422 * configure: Regenerated.
19423 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19424 $(libgcc_s_suffix).
19425 * config.make.in (libgcc_s_suffix): Remove variable.
19426
1ad743de
JM
194272012-04-23 Joseph Myers <joseph@codesourcery.com>
19428
4ad451e2
JM
19429 * sysdeps/unix/sysv/gethostname.c: Move to ...
19430 * sysdeps/posix/gethostname.c: ... here.
19431
5e37ce39
JM
19432 * sysdeps/unix/execve.S: Remove file.
19433
1ad743de
JM
19434 * sysdeps/unix/_exit.S: Remove file.
19435
4e681b5b
AJ
194362012-04-23 Andreas Jaeger <aj@suse.de>
19437
19438 [BZ #13739]
19439 * manual/Makefile: Remove make dist support, there's no
19440 need for a stand-alone documentation tar ball.
19441 (TEXI2DVI): Define always, it's not in Makeconfig.
19442 (dist): Removed.
19443 (tar-it): Removed.
19444 (edition): Removed.
19445 (glibc-doc-$(edition).tar): Removed
19446 (%.Z): Removed.
19447 (%.gz): Removed.
19448 (%.uu): Removed.
19449 (ETAGS): Remove, it's in Makeconfig.
19450 (move-if-change): Remove, it's in Makeconfig.
19451
38686a03 194522012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19453
19454 [BZ #13970]
19455 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19456 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19457 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19458 (strtod_l, strtof_l, strtold_l): Remove __wur.
19459 It is not necessarily an error to ignore strtol's return value.
19460 One can reliably look at the stored endptr to decide whether
19461 the number had valid syntax.
19462
7c0616fa
AJ
194632012-04-21 Andreas Jaeger <aj@suse.de>
19464
803cb6b7 19465 [BZ #13739]
7c0616fa
AJ
19466 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19467
b0fe253f
JM
194682012-04-21 Joseph Myers <joseph@codesourcery.com>
19469
19470 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19471 * sysdeps/unix/sysv/Versions: Remove file.
19472
8280f22d
MT
194732012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19474
19475 [BZ #13927]
19476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19477
75ce411f 194782012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19479
19480 [BZ #7064]
19481 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19482 version from __vm86.
19483
097d59fa
JM
194842012-04-20 Joseph Myers <joseph@codesourcery.com>
19485
a90f3bcb
JM
19486 * sysdeps/unix/common/lxstat.c: Remove file.
19487 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19488
edc7ea78
JM
19489 * sysdeps/unix/sysv/Makefile: Remove file.
19490
cb78c221
JM
19491 * sysdeps/unix/sysv/direct.h: Remove file.
19492
efa6a45f
JM
19493 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19494 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19495 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19496 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19497 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19498 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19499 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19500
9c9f2d0c
JM
19501 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19502
4541c83b
JM
19503 * sysdeps/unix/xmknod.c: Remove file.
19504 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19505
f5d153a0
JM
19506 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19507
aa746595
JM
19508 * sysdeps/unix/sysv/i386/time.S: Remove file.
19509
cce5905e
JM
19510 * sysdeps/unix/fxstat.c: Remove file.
19511 * sysdeps/unix/xstat.c: Likewise.
19512 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19513
37fa3841
JM
19514 * sysdeps/unix/sysv/sigaction.c: Remove file.
19515
ff1962a3
JM
19516 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19517 (sysdep_headers): Remove variable.
19518 [termio.h not in sysdep_headers] (generated): Likewise.
19519 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19520 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19521 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19522 * sysdeps/unix/sysv/tcflow.c: Likewise.
19523 * sysdeps/unix/sysv/tcflush.c: Likewise.
19524 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19525 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19526 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19527 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19528 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19529
e7740d31
JM
19530 * sysdeps/unix/siglist.c: Remove file.
19531
ee06f18b
JM
19532 * sysdeps/unix/getppid.S: Remove file.
19533
097d59fa
JM
19534 * sysdeps/unix/mkdir.c: Remove file.
19535 * sysdeps/unix/rmdir.c: Likewise.
19536
ff3d51ec
AS
195372012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19538
19539 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19540 ERR_MAX value.
19541 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19542 errlist-compat value.
19543
50f81fd7
DM
195442012-04-18 David S. Miller <davem@davemloft.net>
19545
19546 * sysdeps/generic/memcopy.h (reg_char): Delete.
19547 * debug/strcat_chk.c: Use char, not reg_char.
19548 * debug/strcpy_chk.c: Likewise.
19549 * debug/strncat_chk.c: Likewise.
19550 * debug/strncpy_chk.c: Likewise.
19551 * string/memchr.c: Likewise.
19552 * string/memrchr.c: Likewise.
19553 * string/rawmemchr.c: Likewise.
19554 * string/strcat.c: Likewise.
19555 * string/strchr.c: Likewise.
19556 * string/strchrnul.c: Likewise.
19557 * string/strcmp.c: Likewise.
19558 * string/strcpy.c: Likewise.
19559 * string/strncat.c: Likewise.
19560 * string/strncmp.c: Likewise.
19561 * string/strncpy.c: Likewise.
19562
8ff41c46
WS
195632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19564
19565 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19566 __builtin_memcopy is called when src and dest ranges are known to not
19567 overlap.
19568
6b652f46
WS
195692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19570
19571 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19572 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19573 fwd_align_merge macro call.
19574 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19575 bwd_align_merge macro call.
19576 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19577
b282631e
WS
195782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19579
19580 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19581 bwd_align_merge macros.
19582 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19583 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19584 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19585
95aa737c
DM
195862012-04-18 David S. Miller <davem@davemloft.net>
19587
19588 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19589
7a99a614
AJ
195902012-04-18 Andreas Jaeger <aj@suse.de>
19591
19592 [BZ# 6794]
19593 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19594 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19595 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19596
19597 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19598 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19599 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19600
19601 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19602 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19603 Adjust for changed ldbl-128 files.
19604
19605 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19606 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19607 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19608
e5270c23
DM
196092012-04-17 David S. Miller <davem@davemloft.net>
19610
19611 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19612
fb5e92c9
AS
196132012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19614
19615 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19616 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19617 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19618 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19619 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19620 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19621
76da7265
AZ
196222012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19623
19624 [BZ #6794]
19625 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19626 * math/libm-test.inc: Add ilogb errno and exception tests.
19627 * math/w_ilogb.c: New file: ilogb wrapper.
19628 * math/w_ilogbf.c: New file: ilogbf wrapper.
19629 * math/w_ilogbl.c: New file: ilogbl wrapper.
19630 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19631 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19632 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19633 exception being thrown with 0.0 as argument.
19634 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19635 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19636 exception being thrown with 0.0 as argument.
19637 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19638 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19639 exception being thrown with 0.0 as argument.
19640 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19641 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19642 exception being thrown with 0.0 as argument.
19643 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19644 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 19645 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
19646 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19647 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19648 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19649 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19650 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19651 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19652
0396e69d
PB
196532012-04-17 Petr Baudis <pasky@ucw.cz>
19654
19655 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19656 with altivec.
19657
750b5926
MP
196582012-04-16 Marek Polacek <polacek@redhat.com>
19659
19660 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19661
751728a1
MP
196622012-04-16 Marek Polacek <polacek@redhat.com>
19663
19664 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19665 operands of fdivp instruction.
19666
34a27407
L
196672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19668
19669 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19670 * elf/tst-auditmod3b.c: Likewise.
19671 * elf/tst-auditmod4b.c: Likewise.
19672 * elf/tst-auditmod5b.c: Likewise.
19673 * elf/tst-auditmod6b.c: Likewise.
19674 * elf/tst-auditmod6c.c: Likewise.
19675 * elf/tst-auditmod7b.c: Likewise.
19676 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19677 * sysdeps/x86_64/preconfigure.in: Likewise.
19678 * sysdeps/x86_64/preconfigure: Regenerated.
19679
7e73e17d
L
196802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19681
19682 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19683 __ILP32__.
19684
c7a6ab72
AB
196852012-04-13 Antoine Balestrat <merkil33@gmail.com>
19686
19687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19688 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19689
a9e8e0e0
CL
196902012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19691
19692 [BZ #13973]
19693 * locale/iso-639.def: Fix gl language name. Spotted by
19694 Yaron Shahrabani.
19695
ec98af7d
RM
196962012-04-12 Roland McGrath <roland@hack.frob.com>
19697
19698 [BZ #2074]
19699 * libio/libio.h (__io_write_fn): Update comment.
19700
247c3ede
PB
197012012-04-12 Petr Baudis <pasky@ucw.cz>
19702
19703 [BZ #2074]
19704 * stdio.texi (Hook Functions): The user provided writer function
19705 is not allowed to return -1.
19706
55939d6d
DM
197072012-04-11 David S. Miller <davem@davemloft.net>
19708
19709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19710
90020f5a
MF
197112012-04-11 Mike Frysinger <vapier@gentoo.org>
19712
19713 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19714 Add a leading slash to rtkaio.
19715
288f9098
JM
197162012-04-11 Jim Meyering <meyering@redhat.com>
19717
90020f5a
MF
19718 [BZ #11959]
19719 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19720 It is not necessarily an error to ignore fwrite's return
19721 value. One can reliably use ferror to test for errors after
19722 the fact.
288f9098 19723
4be2b570
L
197242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19725
19726 * bits/types.h (__snseconds_t): New type.
19727 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19728
19729 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19730 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19731 (__SNSECONDS_T_TYPE): Likewise.
19732 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19733 (__SNSECONDS_T_TYPE): Likewise.
19734 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19735 (__SNSECONDS_T_TYPE): Likewise.
19736
288f9098 197372012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
19738
19739 [BZ #2636]
19740 * manual/time.texi (Processor Time): Return type of times is
19741 elapsed real time since an arbitrary point in the past.
19742 (CPU Time): Move CLK_TCK from here...
19743 (Processor Time): ...to here. Correct description.
19744 * manual/conf.texi (Constants for Sysconf): Correct description of
19745 _SC_CLK_TCK.
19746
d7dd4413
DM
197472012-04-10 David S. Miller <davem@davemloft.net>
19748
19749 [BZ #13967]
19750 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19751 where the is a gap between DT_REL(A) and DT_JMPREL.
19752
b46068fc
L
197532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19754
19755 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19756 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19757 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19758
73d65cc3
SP
197592012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19760
19761 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19762 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19763 (dl_main): Handle --inhibit-cache.
19764 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19765 _dl_inhibit_cache.
19766 * elf/dl-load.c (_dl_map_object): Use it.
19767 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19768
bcc8d661
JM
197692012-04-09 Joseph Myers <joseph@codesourcery.com>
19770
8f9a2fae
JM
19771 [BZ #13872]
19772 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19773 (__ieee754_powl): Saturate large exponents rather than testing for
19774 overflow of y*log2(x).
19775 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19776 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19777 exceptions.
19778
bcc8d661
JM
19779 [BZ #11521]
19780 * math/s_ctan.c: Include <float.h>.
19781 (__ctan): Avoid internal overflow or cancellation in calculating
19782 denominator.
19783 * math/s_ctanf.c: Likewise.
19784 * math/s_ctanl.c: Likewise.
19785 * math/s_ctanh.c: Likewise.
19786 * math/s_ctanhf.c: Likewise.
19787 * math/s_ctanhl.c: Likewise.
19788 * math/libm-test.inc (ctan_test): Add more tests.
19789 (ctanh_test): Likewise.
19790 * sysdeps/i386/fpu/libm-test-ulps: Update.
19791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19792
823fbbb4
AJ
197932012-04-09 Andreas Jaeger <aj@suse.de>
19794
03879793
AJ
19795 [BZ #6894]
19796 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19797 is an optional BSD extension.
19798
823fbbb4
AJ
19799 [BZ #10254]
19800 * manual/stdio.texi (Opening Streams): Document additional fopen
19801 parameters.
19802
8de131cb
RM
198032012-04-09 Roland McGrath <roland@hack.frob.com>
19804
19805 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19806 %eax without telling the compiler.
19807
c0ed9d7d
CD
198082012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19809
19810 [BZ # 13963]
19811 * manual/install.texi: Use sourceware.org.
19812
c483f6b4
JM
198132012-04-09 Joseph Myers <joseph@codesourcery.com>
19814
d7dd9453
JM
19815 [BZ #13873]
19816 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19817 (__ieee754_pow): Generate overflow and underflow using huge*huge
19818 and tiny*tiny rather than just returning constant infinity or zero
19819 for large exponents.
19820 * math/libm-test.inc (pow_test): Require overflow exceptions for
19821 applicable cases of large exponents.
19822
c483f6b4
JM
19823 [BZ #706]
19824 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19825 (__ieee754_pow): Use iterative multiplication algorithm only for
19826 integer exponents with absolute value below 1024. Check for odd
19827 integer exponents when using algorithm for real exponents.
19828 * math/libm-test.inc (pow_test): Add more tests.
19829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19830
d2de7579
JM
198312012-04-08 Joseph Myers <joseph@codesourcery.com>
19832
19833 [BZ #13705]
19834 * math/libm-test.inc (exp_test): Do not allow overflow exception
19835 on underflow test.
19836
f77f1232
AJ
198372012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19838
19839 [BZ #13705]
19840 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19841 instead of __kernel_standard_f.
19842
3884932b
MF
198432012-04-08 Mike Frysinger <vapier@gentoo.org>
19844
19845 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19846 * sysdeps/x86_64/memset_chk.S: Likewise.
19847
54472e9c
AJ
198482012-04-08 Andreas Jaeger <aj@suse.de>
19849
6ab0fbfc
AJ
19850 [BZ #10153]
19851 * manual/startup.texi (Environment Access): Describe return value
19852 for putenv and setenv.
19853
61efba8c
AJ
19854 [BZ #6895]
19855 * manual/filesys.texi (Directory Entries): Add description for
19856 DT_LNK.
19857
95c3f29a
AJ
19858 [BZ #6890]
19859 * manual/filesys.texi (Directory Entries): Clarify that it's file
19860 system not operating system in the description of DT_UNKNOWN.
19861
54472e9c
AJ
19862 [BZ #6578]
19863 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19864
624254b1
SC
198652012-04-08 Stephen Compall <s11@member.fsf.org>
19866
19867 [BZ #6649]
19868 * manual/llio.texi (Opening and Closing Files): Add cross
19869 reference to explain mode argument.
19870
1e4920e0
MF
198712012-04-07 Mike Frysinger <vapier@gentoo.org>
19872
19873 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19874 * sysdeps/x86_64/memset_chk.S: Likewise.
19875
5ed848f3
DM
198762012-04-07 David S. Miller <davem@davemloft.net>
19877
19878 * elf/elf.h (R_SPARC_WDISP10): Define.
19879 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19880 R_SPARC_SIZE32.
19881 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19882 R_SPARC_SIZE64 and R_SPARC_H34.
19883
96154cd8
CD
198842012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19885
19886 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19887 conditions and remove no longer applicable assertion.
19888
9904dc47
L
198892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19890
19891 * bits/byteswap.h: Include <features.h>.
19892 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19893 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19894
f8887d0a
L
198952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19896
19897 * bits/byteswap.h (__bswap_16): Removed.
19898 Include <bits/byteswap-16.h> to get __bswap_16.
19899 * sysdeps/i386/bits/byteswap.h: Likewise.
19900 * sysdeps/s390/bits/byteswap.h: Likewise.
19901 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19902 * bits/byteswap-16.h: New file.
19903 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19904 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19905 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19906 * string/Makefile (headers): Add bits/byteswap-16.h.
19907
62470f60
PP
199082012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19909
19910 [BZ #13895]
19911 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19912 extra indirection.
19913 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19914 * nss/tst-nss-static.c: New.
19915
4dad7bab
RM
199162012-04-06 Robert Millan <rmh@gnu.org>
19917
19918 [BZ #6486]
19919 * manual/llio.texi (File Position Primitive): lseek
19920 refers to WHENCE when it really means OFFSET.
19921
e9142a17
AJ
199222012-04-06 Andreas Jaeger <aj@suse.de>
19923
2c040eff
AJ
19924 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19925 strncmp declarations.
19926
e9142a17
AJ
19927 * abilist/libc.abilist: Add __poll and __ppoll.
19928
ff9f1c5f
DM
199292012-04-05 David S. Miller <davem@davemloft.net>
19930
dcd2ae90
DM
19931 * scripts/check-local-headers.sh: Accept a host triplet in the
19932 path matched by the exclude regexp.
19933
993eb054
DM
19934 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19935 definition.
19936 * sysdeps/powerpc/powerpc32/dl-machine.h
19937 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19938 * sysdeps/s390/s390-32/dl-machine.h
19939 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19940 * sysdeps/sparc/sparc32/dl-machine.h
19941 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19942 * sysdeps/sparc/sparc64/dl-machine.h
19943 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19944
ff9f1c5f
DM
19945 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19946 lazy binding.
48e2e132 19947 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
19948 undefined symbol errors.
19949
48e2e132 19950 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
19951 DT_NEEDED entries.
19952
e80d6f94
MM
199532012-04-05 Michael Matz <matz@suse.de>
19954
19955 [BZ #13592]
19956 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19957
349fa79f
AJ
199582012-04-05 Andreas Jaeger <aj@suse.de>
19959
19960 [BZ #13908]
19961 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19962 comment.
19963
f402708f
KK
199642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19965
19966 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19967 which ROUND is no valid rounding mode.
19968
2ecccfc9
KK
199692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19970
19971 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19972 read again.
19973 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19974
8a53f50f
KK
199752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19976
19977 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19978 an exception using FPU order intentionally.
19979
199802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19981
19982 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19983 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19984 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19985 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19986
d653abb7
SJ
199872012-04-05 Simon Josefsson <simon@josefsson.org>
19988
19989 [BZ #12340]
19990 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19991 EINVAL when BUFLEN is too smal.
19992
c3b1bf7d
TS
199932012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19994
19995 [BZ #13553]
19996 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19997 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19998
b1aa60f3
AJ
199992012-04-03 Andreas Jaeger <aj@suse.de>
20000
c3b1bf7d 20001 [BZ #13938]
67f60a26
AJ
20002 * manual/setjmp.texi (System V contexts): Fix sentence.
20003
b1aa60f3
AJ
20004 [BZ #13926]
20005 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20006 New macro for this case.
20007 [!__GNUC__] (__bswap_64): New inline function for this case.
20008 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20009 * bits/byteswap.h: Likewise.
20010 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20011 ull, guard with __GLIBC_HAVE_LONG_LONG.
20012
20013 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20014 __GLIBC_HAVE_LONG_LONG.
20015
20016 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20017 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20018
39c59c35
TMQMF
200192012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20020
20021 [BZ #13691]
20022 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20023 inptr and inend, rather than using last_ch.
20024
135ffda8
DM
200252012-04-02 David S. Miller <davem@davemloft.net>
20026
20027 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20028 * stdio-common/printf-parse.h (read_int): Change return type to
20029 'int', return -1 on INT_MAX overflow.
20030 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20031 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20032 overflows INT_MAX. Check for overflow of in-format-string precision
20033 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20034 SIZE_MAX not INT_MAX for integer overflow test.
20035 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20036 skip the construct in the format string but do not record anything.
20037 * stdio-common/bug22.c: Adjust to test both width/prevision
20038 INT_MAX overflow as well as total length INT_MAX overflow. Check
20039 explicitly for proper errno values.
20040
228c019e
TS
200412012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20042
302cadd3
TS
20043 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20044 CHAR_MAX.
20045 * string/test-strcmp.c [! WIDE]: Likewise.
20046 * time/tst-mktime2.c: Likewise for INT_MAX.
20047 * string/test-string.h: #include <sys/param.h> for MIN.
20048
228c019e
TS
20049 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20050 * sysdeps/i386/init-first.c (init): Likewise.
20051 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20052 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20053 * sysdeps/sh/init-first.c (init): Likewise.
20054
cfa633f5
UD
200552012-04-01 Ulrich Drepper <drepper@gmail.com>
20056
20057 * po/ru.po: Update from translation team.
d1635ef8 20058 * po/vi.po: Likewise.
cfa633f5 20059
6cd0a5ea
SP
200602012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20061
20062 * resolv/nss_dns/dns-host.c: Merge copyright years.
20063
4b43400f
LD
200642012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20065
20066 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20067 Optimize memcpy with prefetch if
20068 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20069 src, dst pointers have unequal 16 byte alignments.
20070
48c41d04
SP
200712012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20072
20073 [BZ #13928]
20074 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20075 from a CNAME entry and return the minimum ttl for the query.
20076 (gaih_getanswer_slice): Likewise.
20077
b8dc394d
JL
200782012-03-30 Jeff Law <law@redhat.com>
20079
20080 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20081 due to long keys.
20082 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20083 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20084
2f5a5ed0
JL
20085 * resolv/nss_dns/dns-host.c: Update copyright year.
20086
1d39e359
UD
200872012-03-30 Ulrich Drepper <drepper@gmail.com>
20088
c030f70c 20089 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20090 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20091
1d39e359
UD
20092 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20093 comments for sendmmsg.
20094
200952012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20096
20097 [BZ #13691]
20098 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20099 with only 1 character between 0x0041 and 0x01b0.
20100 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20101 * wcsmbs/tst-mbsnrtowcs.c: New file.
20102
20fde227
DM
201032012-03-29 David S. Miller <davem@davemloft.net>
20104
20105 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20106 small copies by hand.
20107
984a4237
JL
201082012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20109
20110 [BZ #13761]
20111 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20112 _nss_compat_initgroups_dyn): Fall back to malloc/free
20113 for large group memberships.
20114
18c9d62b
DM
201152012-03-28 David S. Miller <davem@davemloft.net>
20116
88d85d4f
DM
20117 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20118 that branches into memcpy.
20119 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20120 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20121 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20122 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20123 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20124 bits.
20125 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20126 implementation too.
20127 * sysdeps/sparc/mempcpy.S: New file.
20128
e5aa83e1
DM
20129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20130 the IFUNC routine in the libc case.
20131 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20132
88570753
DM
20133 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20134 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20135 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20136 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20137 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20138 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20139 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20140 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20141
249d7567
DM
20142 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20143 loop to 256 bytes instead of 64 bytes and fix test signedness.
20144
18c9d62b
DM
20145 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20146 * sysdeps/sparc/sparc32/Makefile: rather than here...
20147 * sysdeps/sparc/sparc64/Makefile: and here.
20148
05f3d1f6
UD
201492012-03-28 Ulrich Drepper <drepper@gmail.com>
20150
20151 * malloc/mallocbug.c: Avoid warnings about unused variables.
20152
86ae07a8
JL
201532012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20154
20155 [BZ #13760]
20156 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20157 in the right place. Discard and retry query if response is
20158 larger than input buffer size.
20159
41bf21a1
JM
201602012-03-28 Joseph Myers <joseph@codesourcery.com>
20161
d6270972
JM
20162 [BZ #369]
20163 [BZ #2678]
20164 [BZ #3866]
20165 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20166 x for large integer exponent.
20167 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20168 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20169 sign of result as needed afterwards.
20170 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20171 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20172 result for underflowing pow the same as for overflow.
20173 (__kernel_standard_l): Handle powl overflow and underflow here
20174 rather than calling __kernel_standard.
20175 * math/libm-test.inc (pow_test): Add more tests.
20176
414fca03 20177 [BZ #3868]
41bf21a1
JM
20178 [BZ #13879]
20179 [BZ #13910]
20180 [BZ #13911]
20181 [BZ #13912]
20182 [BZ #13913]
20183 [BZ #13915]
20184 [BZ #13916]
20185 [BZ #13917]
20186 [BZ #13918]
20187 [BZ #13919]
20188 [BZ #13920]
20189 [BZ #13921]
20190 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20191 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20192 (__kernel_standard_l): New function.
20193 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20194 __kernel_standard.
20195 * math/w_acosl.c (__acosl): Likewise.
20196 * math/w_asinl.c (__asinl): Likewise.
20197 * math/w_atan2l.c (__atan2l): Likewise.
20198 * math/w_atanhl.c (__atanhl): Likewise.
20199 * math/w_coshl.c (__coshl): Likewise.
20200 * math/w_exp10l.c (__exp10l): Likewise.
20201 * math/w_exp2l.c (__exp2l): Likewise.
20202 * math/w_fmodl.c (__fmodl): Likewise.
20203 * math/w_hypotl.c (__hypotl): Likewise.
20204 * math/w_j0l.c (__j0l, __y0l): Likewise.
20205 * math/w_j1l.c (__j1l, __y1l): Likewise.
20206 * math/w_jnl.c (__jnl, __ynl): Likewise.
20207 * math/w_lgammal.c (__lgammal): Likewise.
20208 * math/w_log10l.c (__log10l): Likewise.
20209 * math/w_log2l.c (__log2l): Likewise.
20210 * math/w_logl.c (__logl): Likewise.
20211 * math/w_powl.c (__powl): Likewise.
20212 * math/w_remainderl.c (__remainderl): Likewise.
20213 * math/w_scalbl.c (sysv_scalbl): Likewise.
20214 * math/w_sinhl.c (__sinhl): Likewise.
20215 * math/w_sqrtl.c (__sqrtl): Likewise.
20216 * math/w_tgammal.c (__tgammal): Likewise.
20217 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20218 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20219 * math/libm-test.inc (acos_test): Add more tests.
20220 (acosh_test): Likewise.
20221 (asin_test): Likewise.
20222 (atanh_test): Likewise.
20223 (exp_test): Likewise.
20224 (exp10_test): Likewise.
20225 (exp2_test): Likewise.
20226 (expm1_test): Likewise.
20227 (lgamma_test): Likewise.
20228 (log_test): Likewise.
20229 (log10_test): Likewise.
20230 (log1p_test): Likewise.
20231 (log2_test): Likewise.
20232 (pow_test): Do not allow some spurious overflow exceptions.
20233 (sqrt_test): Add more tests.
20234 (tgamma_test): Likewise.
20235 (y0_test): Likewise.
20236 (y1_test): Likewise.
20237 (yn_test): Likewise.
20238
dd62fda6
AB
202392012-03-27 Anton Blanchard <anton@samba.org>
20240
20241 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20242 MAP_HUGETLB.
20243 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20244 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20245 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20246
1e3cdfda
AJ
202472012-03-27 David S. Miller <davem@davemloft.net>
20248
b855ab85
DM
20249 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20250
1e3cdfda
AJ
20251 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20252 have-as-vis3 check.
20253
202542012-03-27 Andreas Jaeger <aj@suse.de>
20255
20256 * sysdeps/x86_64/elf/configure.in: Moved to ...
20257 * sysdeps/x86_64/configure.in: ... here.
20258 * sysdeps/x86_64/elf/start.S: Moved to ...
20259 * sysdeps/x86_64/start.S: ... here.
20260 * sysdeps/x86_64/elf/configure: Delete.
20261
20262 * sysdeps/x86_64/configure.in: Merge contents from
20263 sysdeps/i386/configure.in (without i686 check).
20264
20265 * sysdeps/i386/elf/Versions: Merge into ...
20266 * sysdeps/i386/Versions: ... this.
20267 * sysdeps/i386/elf/Versions: Delete file.
20268 * sysdeps/i386/elf/start.S: Moved to ...
20269 * sysdeps/i386/start.S: ...here.
20270 * sysdeps/i386/elf/configure.in: Merge into...
20271 * sysdeps/i386/configure.in: ...here.
20272 * sysdeps/i386/elf/configure.in: Delete file.
20273 * sysdeps/i386/elf/configure: Delete file.
20274
20275 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20276 * debug/backtracesyms.c: ... here.
20277 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20278 * debug/backtracesymsfd.c: ... here.
20279 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20280 * sysdeps/generic/ifunc-sel.h: ... here.
20281
20282 * sysdeps/unix/i386/start.c: Delete file.
20283 * sysdeps/unix/sparc/start.c: Delete file.
20284 * sysdeps/unix/start.c: Delete file.
20285
20286 * sysdeps/sh/elf/configure.in: Moved to ...
20287 * sysdeps/sh/configure.in: ... here.
20288 * sysdeps/sh/elf/start.S: Moved to ...
20289 * sysdeps/sh/start.S: ... here.
20290 * sysdeps/sh/elf/configure: Delete file.
20291
20292 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20293 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20294 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20295 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20296 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20297 * sysdeps/powerpc/powerpc64/start.S: here.
20298 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20299 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20300 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20301 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20302 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20303
20304 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20305 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20306 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20307 * sysdeps/powerpc/powerpc32/start.S: ... here.
20308 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20309 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20310 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20311
20312 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20313 * sysdeps/powerpc/ifunc-sel.h: ... here.
20314 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20315 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20316
20317 * sysdeps/sparc/elf/configure.in: Moved to ...
20318 * sysdeps/sparc/configure.in: ... here.
20319 * sysdeps/sparc/elf/configure: Delete file.
20320 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20321 * sysdeps/sparc/sparc32/start.S: ... here.
20322 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20323 * sysdeps/sparc/sparc64/start.S: ... here.
20324 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20325 * sysdeps/sparc/sparc32/Makefile: ... this.
20326 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20327 * sysdeps/sparc/sparc64/Makefile: ... this.
20328
20329 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20330 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20331 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20332 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20333 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20334 * sysdeps/s390/s390-32/setjmp.S: ... here.
20335 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20336 * sysdeps/s390/s390-32/configure.in: ... here.
20337 * sysdeps/s390/s390-32/elf/configure: Delete file.
20338 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20339 * sysdeps/s390/s390-32/start.S: ... here.
20340
20341 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20342 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20343 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20344 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20345 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20346 * sysdeps/s390/s390-64/setjmp.S: ... here.
20347 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20348 * sysdeps/s390/s390-64/configure.in: ... here
20349 * sysdeps/s390/s390-64/elf/configure: Delete file.
20350 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20351 * sysdeps/s390/s390-64/start.S: ... here.
20352 * sysdeps/s390/s390-64/elf/configure: Delete.
20353
20354 * configure.in: Remove support for elf directories in sysdeps.
20355
20356 * configure: Regenerated.
20357 * sysdeps/i386/configure: Regenerated.
20358 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20359 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20360 * sysdeps/s390/s390-32/configure: Regenerated.
20361 * sysdeps/s390/s390-64/configure: Regenerated.
20362 * sysdeps/sh/configure: Regenerated.
20363 * sysdeps/sparc/configure: Regenerated.
20364 * sysdeps/x86_64/configure: Regenerated.
20365
a3f61311
AS
203662012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20367
c876e002
AS
20368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20369
a3f61311
AS
20370 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20371 denormal result into account.
20372
ac4c54f0
RM
203732012-03-25 Roland McGrath <roland@hack.frob.com>
20374
20375 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20376 Reported by Allan McRae <allan@archlinux.org>.
20377
6a9b9c02
JL
203782012-03-23 Jeff Law <law@redhat.com>
20379
20380 * nss/getnssent.c (__nss_getent): Fix typo.
20381
4c42a0c1
DM
203822012-03-23 David S. Miller <davem@davemloft.net>
20383
20384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20385
1532c7ac
L
203862012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20387
20388 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20389 to pad to uint64_t for each field.
20390 (dl_tls_index): Replace unsigned long with uint64_t.
20391
3ff42526
PP
203922012-03-23 Daniel Jacobowitz <dmj@google.com>
20393 Paul Pluzhnikov <ppluzhnikov@google.com>
20394
20395 [BZ #6528]
20396 * grp/Makefile (otherlibs): Don't set it.
20397 * inet/Makefile (otherlibs): Likewise.
20398 * login/Makefile (otherlibs): Likewise.
20399 * nscd/Makefile (otherlibs): Likewise.
20400 * posix/Makefile (otherlibs): Likewise.
20401 * pwd/Makefile (otherlibs): Likewise.
20402 * rt/Makefile (otherlibs): Likewise.
20403 * sunrpc/Makefile (otherlibs): Likewise.
20404 * nss/Makefile (otherlibs): Likewise.
20405 Add libnss_files to routines and static-only-routines.
20406 ($(objpfx)getent): Remove rule.
20407 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20408 static-only-routines.
20409
7c69cd14
JM
204102012-03-22 Joseph Myers <joseph@codesourcery.com>
20411
20412 [BZ #13892]
20413 * math/s_cexp.c: Include <float.h>.
20414 (__cexp): Handle exp result overflowing not necessarily
20415 overflowing both real and imaginary parts of result.
20416 * math/s_cexpf.c: Likewise.
20417 * math/s_cexpl.c: Likewise.
20418 * math/libm-test.inc (cexp_test): Add more tests.
20419 * sysdeps/i386/fpu/libm-test-ulps: Update.
20420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20421
81b035fe
L
204222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20423
20424 * include/link.h (ELFW): New macro.
20425 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20426 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20427
1da7940c
L
204282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20429
20430 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20431 with uint64_t.
20432
b749dbb9
L
204332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20434
20435 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20436 declaration.
20437 (struct La_x32_retval): Likewise.
20438
2ff87f3f
L
204392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20440
20441 * sysdeps/x86_64/preconfigure.in: New file.
20442 * sysdeps/x86_64/preconfigure: New generated file.
20443
c0df8e69
JM
204442012-03-22 Joseph Myers <joseph@codesourcery.com>
20445
48e44791
JM
20446 [BZ #13824]
20447 * math/e_exp2l.c: Include <float.h>.
20448 (__ieee754_exp2l): Handle overflow and underflow cases
20449 separately. Only pass fractional part of argument to
20450 __ieee754_expl.
20451 * math/libm-test.inc (exp2_test): Add more tests.
20452
c0df8e69
JM
20453 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20454 negating x to take absolute value.
20455 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20456 Likewise.
20457 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20458 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20459 Likewise.
20460 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20461 computing low part if x was negated.
20462 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20463
c8e43ba7
L
204642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20465
20466 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20467 la_x32_gnu_pltexit.
20468 (pltexit): Cast int_retval to ptrdiff_t.
20469 * elf/tst-auditmod3b.c: Likewise.
20470 * elf/tst-auditmod4b.c: Likewise.
20471 * elf/tst-auditmod5b.c: Likewise.
20472 * elf/tst-auditmod6b.c: Likewise.
20473 * elf/tst-auditmod6c.c: Likewise.
20474 * elf/tst-auditmod7b.c: Likewise.
20475
20476 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20477 and x32_gnu_pltexit.
20478
20479 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20480 __ELF_NATIVE_CLASS.
20481 (La_x32_regs): New macro.
20482 (La_x32_retval): Likewise.
20483 (la_x32_gnu_pltenter): New function prototype.
20484 (la_x32_gnu_pltexit): Likewise.
20485
7998fa78
AS
204862012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20487
dcb33988
AS
20488 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20489 exponent.
20490
233fc563
AS
20491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20492
7998fa78
AS
20493 * configure.in (libc_cv_cc_nofma): Check for option to disable
20494 generation of FMA instructions.
20495 * configure: Regenerate.
20496 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20497 * sysdeps/ieee754/dbl-64/Makefile: New file.
20498 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20499 Remove brandred-fma4.
20500 (CFLAGS-brandred-fma4.c): Remove.
20501 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20502 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20503 define.
20504 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20505 define.
20506
8e95c99a
L
205072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20508
20509 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20510 LLONG_MAX != LONG_MAX.
20511 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20512 (_fitoa_word): Likewise.
20513 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20514 LLONG_MAX != LONG_MAX.
20515 * stdio-common/_itowa.h: Include <_itoa.h>.
20516 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20517 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20518 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20519 only if not defined.
20520 (_ITOA_WORD_TYPE): Likewise.
20521 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20522 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20523
6f4db457
DM
205242012-03-21 David S. Miller <davem@davemloft.net>
20525
20526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20527
7785fe5a
L
205282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20529
20530 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20531 of x86_64 when setting libc_cv_slibdir, libdir and
20532 libc_cv_localedir.
20533 * sysdeps/unix/sysv/linux/configure: Regenerated.
20534
4535cd55
JM
205352012-03-21 Joseph Myers <joseph@codesourcery.com>
20536
20537 * manual/lang.texi (Old Varargs): Remove section.
20538 (How Variadic): Update menu.
20539 (va_start): Do not mention varargs.h.
20540
17228132
TS
205412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20542 Joseph Myers <joseph@codesourcery.com>
20543
20544 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20545 link test.
20546 * configure: Regenerated.
20547
8149f976
TS
205482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20549
05f3d1f6
UD
20550 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20551 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20552 conformtest.pl
8149f976 20553
1a4ac776
JM
205542012-03-21 Joseph Myers <joseph@codesourcery.com>
20555
be22ce65
JM
20556 * NOTES: Remove.
20557 * Makefile (files-for-dist): Remove NOTES.
20558 (NOTES): Remove rule.
20559 * README: Don't refer to NOTES.
20560 * manual/creature.texi: Don't include macros.texi.
20561 * manual/intro.texi (creature.texi): Remove comment referring to
20562 NOTES.
20563
40b601fb
JM
20564 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20565 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20566 * configure: Regenerated.
20567 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20568 LIBC_TRY_CC_OPTION.
20569 (libc_cv_as_i686): Likewise.
20570 (libc_cv_cc_avx): Likewise.
20571 (libc_cv_cc_sse2avx): Likewise.
20572 (libc_cv_cc_fma4): Likewise.
20573 (libc_cv_cc_novzeroupper): Likewise.
20574 * sysdeps/i386/configure: Regenerated.
20575
1a4ac776
JM
20576 [BZ #13883]
20577 * sysdeps/i386/fpu/s_cexp.S: Remove.
20578 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20579 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20580 * math/libm-test.inc (cexp_test): Add more tests.
20581 * sysdeps/i386/fpu/libm-test-ulps: Update.
20582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20583
a458e7fe
AM
205842012-03-21 Allan McRae <allan@archlinux.org>
20585
20586 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20587
0cb7efc5
JM
205882012-03-21 Joseph Myers <joseph@codesourcery.com>
20589
20590 [BZ #13871]
20591 * math/w_exp2.c: Do not include <float.h>.
20592 (o_threshold, u_threshold): Remove.
20593 (__exp2): Calculate result before checking finiteness and calling
20594 __kernel_standard.
20595 * math/w_exp2f.c: Likewise.
20596 * math/w_exp2l.c: Likewise.
20597 * math/libm-test.inc (exp2_test): Require overflow exception for
20598 1e6 input.
2460d3aa
JM
20599
20600 [BZ #3866]
20601 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20602 range of signed 64-bit integers before using fistpll. Remove
20603 checks for whether integers fit in mantissa bits.
20604 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20605 the range of signed 32-bit integers before using fistpl. Remove
20606 checks for whether integers fit in mantissa bits.
20607 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20608 (__ieee754_powl): Test for y outside the range of signed 64-bit
20609 integers before using fistpll. Reduce 64-bit values to 63-bit
20610 ones as needed.
20611 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20612 divide-by-zero is raised for zero to large negative powers.
20613 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20614 (__ieee754_powl): Test for y outside the range of signed 64-bit
20615 integers before using fistpll. Reduce 64-bit values to 63-bit
20616 ones as needed.
20617 * math/libm-test.inc (pow_test): Add more tests.
20618
eb96ffb0
L
206192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20620
20621 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20622 <stdio-common/_itoa.h>.
20623 * debug/segfault.c: Likewise.
20624 * elf/dl-cache.c: Likewise.
20625 * elf/dl-minimal.c: Likewise.
20626 * elf/dl-misc.c: Likewise.
20627 * elf/dl-sysdep.c: Likewise.
20628 * elf/dl-version.c: Likewise.
20629 * elf/rtld.c: Likewise.
20630 * hurd/hurdsock.c: Likewise.
20631 * hurd/lookup-retry.c: Likewise.
20632 * malloc/malloc.c: Likewise.
20633 * malloc/mtrace.c: Likewise.
20634 * nscd/nscd_getgr_r.c: Likewise.
20635 * nscd/nscd_getpw_r.c: Likewise.
20636 * nscd/nscd_getserv_r.c: Likewise.
20637 * posix/getopt_init.c: Likewise.
20638 * posix/wordexp.c: Likewise.
20639 * stdio-common/_itoa.c: Likewise.
20640 * stdio-common/printf_fphex.c: Likewise.
20641 * stdio-common/vfprintf.c: Likewise.
20642 * string/_strerror.c: Likewise.
20643 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20644 * sysdeps/i386/i686/hp-timing.h: Likewise.
20645 * sysdeps/mach/_strerror.c: Likewise.
20646 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20647 * sysdeps/mach/hurd/sethostid.c: Likewise.
20648 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20649 * sysdeps/mach/xpg-strerror.c: Likewise.
20650 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20651 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20652 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20653 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20654 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20655 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20656 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20657 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20658 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20659 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20660 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20661 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20662 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20663 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20664 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20665 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20666 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20667 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20668 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20669 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20670 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20671
20672 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20673
20674 * stdio-common/_itoa.h: Moved to ...
20675 * sysdeps/generic/_itoa.h: Here.
20676
20677 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20678
20679 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20680 instead of "_itoa.h" and "_itowa.h".
20681 * stdio-common/vfprintf.: Likewise.
20682
d1af992d
L
206832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20684
20685 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20686 <bits/wordsize.h>.
20687 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20688 (__signbit): Likwise.
20689 (llrintf): Likwise.
20690 (llrint): Likwise.
20691
114883e0
L
206922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20693
20694 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20695 __WORDSIZE != 64.
20696
c135cc1b
JM
206972012-03-20 Joseph Myers <joseph@codesourcery.com>
20698
20699 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20700 OVERFLOW_EXCEPTION_OK.
20701 * math/libm-test.inc ("Philosophy"): Update comment about
20702 exception testing.
20703 (OVERFLOW_EXCEPTION): Define.
20704 (OVERFLOW_EXCEPTION_OK): Likewise.
20705 (INVALID_EXCEPTION_OK): Renumber.
20706 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20707 (IGNORE_ZERO_INF_SIGN): Likewise.
20708 (test_exceptions): Handle FE_OVERFLOW.
20709 (exp10_test): Expect overflow exceptions.
20710 (exp2_test): Likewise.
20711 (expm1_test): Likewise.
20712 (nextafter_test): Likewise.
20713 (pow_test): Likewise.
20714 (scalbn_test): Likewise.
20715 (scalbln_test): Likewise.
20716
95443d88
L
207172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20718
20719 * sysdeps/x86_64/bits/atomic.h
20720 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20721 64bit integer.
20722 (atomic_exchange_acq): Likewise.
20723 (__arch_exchange_and_add_body): Likewise.
20724 (__arch_add_body): Likewise.
20725 (atomic_add_negative): Likewise.
20726 (atomic_add_zero): Likewise.
20727
490df6c4
L
207282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20729
c2722551 20730 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
20731 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20732
5e52b189
L
207332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20734
20735 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20736 Check __x86_64__ instead of __WORDSIZE.
20737
a9879d4c
L
207382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20739
20740 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20741
5df98260
DM
207422012-03-19 David S. Miller <davem@davemloft.net>
20743
e1497744
DM
20744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20745
5df98260
DM
20746 * sysdeps/sparc/fpu/fenv_private.h: New file.
20747 * sysdeps/sparc/fpu/math_private.h: Use it.
20748 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20749 Remove.
20750 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20751 (libc_feholdexcept_setroundl): Remove.
20752 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20753 Remove.
20754 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20755 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20756
b4c35121
L
207572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20758
20759 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20760 int64_t instead of long int.
20761 (INSERT_WORDS64): Likwise.
20762
56965fd7
L
207632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20764
20765 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20766 _Unwind_GetCFA return to _Unwind_Ptr first.
20767
83d1aec8
JM
207682012-03-19 Joseph Myers <joseph@codesourcery.com>
20769
1897ad44
JM
20770 [BZ #13629]
20771 * math/s_clog.c: Include <float.h>.
20772 (__clog): Scale large or subnormal inputs.
20773 * math/s_clogf.c: Likewise.
20774 * math/s_clogl.c: Likewise.
20775 * math/s_clog10.c: Include <float.h>.
20776 (M_LOG10_2): Define.
20777 (__clog10): Scale large or subnormal inputs.
20778 * math/s_clog10f.c: Likewise.
20779 * math/s_clog10l.c: Likewise.
20780 * math/libm-test.inc (clog_test): Add more tests.
20781 (clog10_test): Likewise.
20782 * sysdeps/i386/fpu/libm-test-ulps: Update.
20783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20784
7726d6a9
JM
20785 [BZ #11451]
20786 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20787 x and y.
20788 * math/libm-test.inc (atan2_test): Add another test.
20789
83d1aec8
JM
20790 * Makerules (common-objdir-compile): Remove.
20791 * sysdeps/unix/Makefile (config-generated): Do not add
20792 $(unix-generated) to variable.
20793 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20794 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20795 Remove rule.
20796 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20797 Likewise.
20798 [generic bits/local_lim.h] (before-compile): Do not append to
20799 variable.
20800 [generic bits/local_lim.h] (common-generated): Likewise.
20801 [generic sys/param.h] (before-compile): Do not append to variable.
20802 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20803 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20804 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20805 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20806 include.
20807 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20808 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20809 [generic sys/param.h] ($(addprefix
20810 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20811 [generic sys/param.h] (common-generated): Do not append to
20812 variable.
20813 [generic sys/param.h] (sysdep_headers): Likewise.
20814 [generic bits/errno.h] (before-compile): Do not append to
20815 variable.
20816 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20817 rule.
20818 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20819 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20820 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20821 [generic bits/errno.h] (common-generated): Do not append to
20822 variable.
20823 [generic bits/ioctls.h] (before-compile): Do not append to
20824 variable.
20825 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20826 rule.
20827 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20828 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20829 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20830 rule.
20831 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20832 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20833 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20834 [generic bits/ioctls.h] (common-generated): Do not append to
20835 variable.
20836 [generic sys/syscall.h] (syscall.h): Remove variable.
20837 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20838 rule.
20839 [generic sys/syscall.h] (before-compile): Do not append to
20840 variable.
20841 [generic sys/syscall.h] (common-generated): Likewise.
20842 * sysdeps/unix/errnos-tmpl.c: Remove file.
20843 * sysdeps/unix/errnos.awk: Likewise.
20844 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20845 * sysdeps/unix/ioctls.awk: Likewise.
20846 * sysdeps/unix/mk-local_lim.c: Likewise.
20847 * sysdeps/unix/snarf-ioctls: Likewise.
20848
4851a949
RH
208492012-03-19 Richard Henderson <rth@twiddle.net>
20850
bd37f2ee
RH
20851 * sysdeps/i386/fpu/fenv_private.h: New file.
20852 * sysdeps/i386/fpu/math_private.h: Use it.
20853 (math_opt_barrier, math_force_eval): Remove.
20854 (libc_feholdexcept_setround_53bit): Remove.
20855 (libc_feupdateenv_53bit): Remove.
20856 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20857 (math_opt_barrier, math_force_eval): Remove.
20858 (libc_feholdexcept): Remove.
20859 (libc_feholdexcept_setround): Remove.
20860 (libc_fetestexcept, libc_fesetenv): Remove.
20861 (libc_feupdateenv_test): Remove.
20862 (libc_feupdateenv, libc_feholdsetround): Remove.
20863 (libc_feresetround): Remove.
20864
d0adc922
RH
20865 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20866 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20867
0fe0f1f8
RH
20868 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20869 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20870 (libc_feupdateenv_testl): New.
20871 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20872 (libc_feupdateenv_testf): New.
20873 (libc_feupdateenv): Use libc_feupdateenv_test.
20874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20875 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20876
eb92c487
RH
20877 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20878 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20879 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20880 (libc_feresetround_noex): New.
20881 (libc_feresetround_noexf): New.
20882 (libc_feresetround_noexl): New.
20883 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20884 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20885 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20886 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20887 SET_RESTORE_ROUND.
20888 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20889 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20890 (__cos): Likewise.
20891 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20892 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20893 SET_RESTORE_ROUND_NOEX.
20894 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20895 SET_RESTORE_ROUND_NOEXF.
20896 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20897 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20898 (libc_feholdsetroundf): New.
20899 (libc_feresetround, libc_feresetroundf): New.
20900
7d2e8012
RH
20901 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20902 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20903 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20904
b4dabbb4
RH
20905 * sysdeps/generic/math_private.h: Include <fenv.h>.
20906 (default_libc_feholdexcept): New.
20907 (default_libc_feholdexcept_setround): New.
20908 (default_libc_fesetenv, default_libc_feupdateenv): New.
20909 (libc_feholdexcept): Only define if undefined.
20910 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20911 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20912 (libc_feholdexcept_setroundl): Likewise.
20913 (libc_feholdexcept_setround_53bit): Likewise.
20914 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20915 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20916 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20917 (libc_feupdateenv_53bit): Likewise.
20918 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20919 (libc_feholdexcept): Convert from macro to inline function.
20920 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20921 (libc_fesetenv, libc_feupdateenv): Likewise.
20922
4851a949
RH
20923 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20924 not previously defined.
20925 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20926 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20927 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20928 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20929 * sysdeps/ieee754/flt-32/math_private.h: New file.
20930 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20931 math_private.h below SET_FLOAT_WORD.
20932 (__isnan, __isinf_ns, __finite): Remove.
20933 (__isnanf, __isinf_nsf, __finitef): Remove.
20934
e79d442e
AS
209352012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20936
20937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20938
90b80344
DM
209392012-03-17 David S. Miller <davem@davemloft.net>
20940
20941 [BZ #6471]
20942 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20943 for 2.16.
20944
edc21804
DM
209452012-03-16 David S. Miller <davem@davemloft.net>
20946
77e927af
DM
20947 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20948 warnings.
20949
374976dd
DM
20950 [BZ #6471]
20951 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20952 properly.
20953 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20954 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20955 sysdep_routines when subdir is sysvipc.
20956 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20957 __getshmlba helper.
20958
edc21804
DM
20959 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20960
473c3ef3
L
209612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20962
20963 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20964 [__LP64__].
20965
eb0f39b6
L
209662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20967
20968 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20969 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20970 (__lround): Renamed to ...
20971 (__llround): This. Replace long int with long long int.
20972 Define lround functions as aliases of llround functions.
20973 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20974
6b6cd74b
L
209752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20976
20977 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20978 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20979 adresses to uintptr_t. Replace "long int" and "unsigned long
20980 int" with "greg_t" on va_arg.
20981
f1a77b01
L
209822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20983
20984 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20985 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20986
20987 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20988 Move e_machine check before EI_CLASS check. Handle x32
20989 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20990 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20991 SKIP_EM_IA_64 and include
20992 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20993
20994 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20995 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20996 (add_system_dir): New macro.
20997
20998 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20999 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21000
11b90b9f
JM
210012012-03-16 Joseph Myers <joseph@codesourcery.com>
21002
c36e1d23
JM
21003 [BZ #2551]
21004 [BZ #2552]
21005 [BZ #2553]
21006 [BZ #2554]
21007 [BZ #2562]
21008 [BZ #2563]
21009 [BZ #2565]
21010 [BZ #2566]
21011 [BZ #2576]
21012 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21013 (y0): Likewise.
21014 * math/w_j0f.c (j0f): Likewise.
21015 (y0f): Likewise.
21016 * math/w_j0l.c (__j0l): Likewise.
21017 (__y0l): Likewise.
21018 * math/w_j1.c (j1): Likewise.
21019 (y1): Likewise.
21020 * math/w_j1f.c (j1f): Likewise.
21021 (y1f): Likewise.
21022 * math/w_j1l.c (__j1l): Likewise.
21023 (__y1l): Likewise.
21024 * math/w_jn.c (jn): Likewise.
21025 (yn): Likewise.
21026 * math/w_jnf.c (jnf): Likewise.
21027 (ynf): Likewise.
21028 * math/w_jnl.c (__jnl): Likewise.
21029 (__ynl): Likewise.
21030 * math/libm-test.inc (j0_test): Add more tests.
21031 (j1_test): Likewise.
21032 (jn_test): Likewise. Add trailing semicolon to existing test.
21033 (y0_test): Likewise.
21034 (y1_test): Likewise.
21035 * sysdeps/i386/fpu/libm-test-ulps: Update.
21036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21037
11b90b9f
JM
21038 [BZ #13851]
21039 [BZ #13854]
21040 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21041 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21042 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21043 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21044 (__tanl): Set errno for infinite argument.
21045 * sysdeps/i386/fpu/mptan.c: Remove.
21046 * sysdeps/i386/fpu/s_tan.S: Likewise.
21047 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21048 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21049 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21050 * math/libm-test.inc (tan_test): Add more tests and enable more
21051 tests for double and long double.
21052 * sysdeps/i386/fpu/libm-test-ulps: Update.
21053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21054
6a1bd2a1
JK
210552012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21056
21057 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21058 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21059
10a803e0
RM
210602012-03-16 Roland McGrath <roland@hack.frob.com>
21061
21062 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21063 * configure.in: Use it for both main tree and add-ons.
21064 * configure: Regenerated.
21065
f196c7f7
L
210662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21067
21068 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21069
8848d99d
JM
210702012-03-16 Joseph Myers <joseph@codesourcery.com>
21071
96cbe7f4
JM
21072 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21073 in comment.
21074
8848d99d
JM
21075 [BZ #13851]
21076 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21077 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21078 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21079 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21080 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21081 infinite argument.
21082 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21083 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21084 != 0 for prec == 2.
21085 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21086 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21087 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21088 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21089 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21090 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21091 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21092 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21093 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21094 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21095 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21096 * math/libm-test.inc (cos_test): Add more tests and enable more
21097 tests for long double.
21098 (sin_test): Likewise.
21099 (sincos_test): Likewise.
21100 * sysdeps/i386/fpu/libm-test-ulps: Update.
21101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21102
dd7f4703
DM
211032012-03-16 David S. Miller <davem@davemloft.net>
21104
21105 * sysdeps/sparc/fpu/math_private.h: New file.
21106
006f1daa
DM
211072012-03-15 David S. Miller <davem@davemloft.net>
21108
c0c83bc8
DM
21109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21110 file.
e6a62e18 21111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21113 file.
e6a62e18
DM
21114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21119 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21120 sysdep routines.
21121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21122
88cb87d9
DM
21123 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21124 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21125
006f1daa 21126 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21128 sparc-ifunc.h
006f1daa 21129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21131 Likewise.
21132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21133 Likewise.
006f1daa
DM
21134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21138 Likewise.
006f1daa
DM
21139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21144 Likewise.
21145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21146 Likewise.
006f1daa
DM
21147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21152 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21154 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21165 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21167 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21168 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21171
11e0098e
AS
211722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21173
21174 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21175 scaling.
21176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21177
e85b09d0
AJ
211782012-03-15 Andreas Jaeger <aj@suse.de>
21179
21180 [BZ #13852]
21181 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21182 ieee754/flt-32 implementation for sin, cos and sincos.
21183 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21184 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21185 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21186 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21187 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21188 ieee754/flt-32 implementation for tan.
21189
21190 * math/libm-test.inc (cos_test): Enable some large input tests for
21191 float as well
21192 (sin_test): Likewise.
21193 (sincos_test): Likewise.
21194 (tan_test): Add tests for large input.
21195
21196 * sysdeps/i386/fpu/libm-test-ulps: Update.
21197
81c64153
AJ
211982012-03-15 Andreas Jaeger <aj@suse.de>
21199
21200 [BZ #13658]
21201 * math/libm-test.inc (cos_test): Add more test cases.
21202 (sin_test): Likewise.
21203 (sincos_test): Likewise.
21204
7bbfa5c6
AJ
212052012-03-15 Andreas Jaeger <aj@suse.de>
21206
21207 [BZ #13837]
21208 * math/libm-test.inc (cos_test): Add a test case for large input
21209 value.
21210 (sin_test): Likewise.
21211 (sincos_test): Likewise.
21212
212132012-03-15 Andreas Jaeger <aj@suse.de>,
21214 Joseph Myers <joseph@codesourcery.com>
21215
21216 [BZ #13658]
0671f479 21217 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21218 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21219 * sysdeps/i386/fpu/branred.c: Likewise.
21220 * sysdeps/i386/fpu/dosincos.c: Likewise.
21221 * sysdeps/i386/fpu/mpa.c: Likewise.
21222 * sysdeps/i386/fpu/s_cos.S: Likewise.
21223 * sysdeps/i386/fpu/s_sin.S: Likewise.
21224 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21225 * sysdeps/i386/fpu/sincos32.c: Likewise.
21226
21227 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21228 Define.
21229 (libc_feupdateenv_53bit): Define.
21230 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21231 Define.
21232 (libc_feupdateenv_53bit): Define.
21233
21234 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21235 53 bit (without extend i386 double precision).
21236
21237 * math/libm-test.inc (sincos_test): Add tests for large input.
21238 (sin): Likewise.
21239 (cos): Likewise.
21240
21241 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21242
9cad04ea
AS
212432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21244
21245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21246
f7062b9a
DM
212472012-03-15 David S. Miller <davem@davemloft.net>
21248
21249 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21250 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21251 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21252 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21265 file.
f7062b9a 21266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21268 file.
f7062b9a 21269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21271 file.
f7062b9a 21272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21274 file.
f7062b9a
DM
21275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21276 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21277 fmin/fmax sysdep routines.
21278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21279
7bd951ff
DM
212802012-03-14 David S. Miller <davem@davemloft.net>
21281
559398ab
DM
21282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21305 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21308 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21309 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21310 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21311 routines.
21312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21313 file.
559398ab 21314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21316 file.
559398ab 21317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21319 file.
559398ab 21320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21322 file.
559398ab 21323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21325 file.
559398ab 21326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21328 file.
21329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21330 file.
21331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21332 file.
21333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21334 file.
21335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21336 New file.
21337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21338 file.
21339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21340 file.
559398ab 21341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21343 file.
559398ab 21344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21346 file.
559398ab 21347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21349 file.
559398ab 21350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21352 VIS3 routines.
559398ab
DM
21353
21354 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21355 New file.
21356
5a1c1e32
DM
21357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21358
eae47a36
DM
21359 * sysdeps/sparc/configure.in: New file.
21360 * sysdeps/sparc/configure: Generate.
21361 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21362 * configure: Regenerate.
21363 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21364 * config.make.in (have-as-vis3): New.
21365 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21366 available use -Av9d instead of -Av9a.
21367 * sysdeps/sparc/sparc64/Makefile: Likewise.
21368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21370 New file.
21371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21372 file.
21373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21374 New file.
21375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21376 file.
eae47a36
DM
21377 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21380 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21381 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21382
c0c83bc8
DM
21383 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21384 fzeros/fnegs to load 0x80000000 into a float register instead of
21385 using the stack.
7bd951ff
DM
21386 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21387
bd951ccb
JM
213882012-03-14 Joseph Myers <joseph@codesourcery.com>
21389
21390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21391 bits/syscall.h.
21392 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21393 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21394 ($(inst_includedir)/bits/syscall.h): Remove rule.
21395 ($(objpfx)bits/syscall.d): Include instead of
21396 $(objpfx)syscall-list.d.
21397 (generated): Change syscall-list.h and syscall-list.d to
21398 bits/syscall.h and bits/syscall.d.
21399
bb4e6db2
RM
214002012-03-14 Roland McGrath <roland@hack.frob.com>
21401
21402 [BZ #13846]
21403 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21404
aa4a2ae1
JM
214052012-03-14 Joseph Myers <joseph@codesourcery.com>
21406
e456826d
JM
21407 [BZ #13841]
21408 * math/s_csqrt.c: Include <float.h>.
21409 (__csqrt): Scale large or subnormal inputs.
21410 * math/s_csqrtf.c: Likewise.
21411 * math/s_csqrtl.c: Likewise.
21412 * math/libm-test.inc (csqrt_test): Add more tests.
21413 * sysdeps/i386/fpu/libm-test-ulps: Update.
21414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21415
aa4a2ae1
JM
21416 [BZ #13840]
21417 * math/libm-test.inc (hypot_test): Add more tests.
21418
7c10fd35
DM
214192012-03-13 David S. Miller <davem@davemloft.net>
21420
21421 [BZ #13840]
21422 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21423 double-precision for the calculation instead of scaling.
21424
f453b98b
JM
214252012-03-13 Joseph Myers <joseph@codesourcery.com>
21426
21427 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21428 manipulate bits before adding and subtracting TWO52[sx].
21429 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21430 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21431 Likewise.
21432 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21433
09a3453f
DM
214342012-03-13 David S. Miller <davem@davemloft.net>
21435
8e59da90
DM
21436 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21437 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21439 rtld-global-offsets.h
21440 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21441
2a8ab7f2
DM
21442 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21443 large parameters.
21444
10f62770
DM
21445 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21446
5f0bdb18
DM
21447 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21448 'err' in the ifdef scope in which it is actually used.
21449
09a3453f
DM
21450 * nss/nss_db/db-init.c: Include string.h
21451
b4b2eb5e
DM
214522012-03-12 David S. Miller <davem@davemloft.net>
21453
98bb2f1c
DM
21454 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21455 masking out of the most significant byte of random value used.
21456 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21457 Fix coding style in previous change.
21458
b4b2eb5e
DM
21459 * sysdeps/unix/sysv/linux/kernel-features.h
21460 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21461 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21462 expression.
21463 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21464 later.
21465
6e226b09
DM
214662012-03-11 David S. Miller <davem@davemloft.net>
21467
a1bcbd40
DM
21468 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21469 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21470 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21471 for 'resultvar' otherwise things get truncated on 64-bit.
21472
cb9d6174
DM
21473 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21474 Fix masking out of the most significant byte of random value used.
21475
6e226b09
DM
21476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21477
058c132d
AS
214782012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21479
21480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21481
2d2cd515
DM
214822012-03-09 David S. Miller <davem@davemloft.net>
21483
21484 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21485 variables with appropriate CPP guards.
21486 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21487 frame pointer, not the stack pointer. Correct layout comments. Fix test
21488 on resulting framesize and the management of the outregs buffer for pltexit.
21489 Preserve floating point return values across _dl_call_pltexit call.
21490 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21491 framesize and the management of the outregs buffer for pltexit.
21492 Preserve floating point return values across _dl_call_pltexit
21493 call.
21494 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21495 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21496 (print_exit): Fix format string for return register value.
21497
9a07f9d0
JM
214982012-03-10 Joseph Myers <joseph@codesourcery.com>
21499
21500 * sunrpc/Makefile (others): Add rpcgen.
21501 ($(objpfx)rpcgen): Remove special build rule and dependency on
21502 libc.
21503 * sunrpc/rpcgen.c: New file.
21504
547b5e30
PE
215052012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21506
c524201a
PE
21507 [BZ #13673]
21508 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21509 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21510 * sysdeps/i386/crti.S: Likewise.
21511 * sysdeps/i386/crtn.S: Likewise.
21512 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21513 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21514 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21515 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21516 * sysdeps/sh/crti.S: Likewise.
21517 * sysdeps/sh/crtn.S: Likewise.
21518 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21519
7b6235f2
PE
21520 [BZ #13673]
21521 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21522 with URL.
21523 * locale/programs/locfile-kw.gperf: Likewise.
21524 * locale/programs/charmap-kw.h: Regenerated.
21525 * locale/programs/locfile-kw.h: Likewise.
21526
547b5e30
PE
21527 [BZ #13673]
21528 * intl/plural.y: Replace FSF snail mail address with URL.
21529 * intl/plural.c: Regenerated.
21530
5f0a5dae
RH
215312012-03-09 Richard Henderson <rth@twiddle.net>
21532
21533 * include/math_private.h: Remove file.
21534 * math/math_private.h: Move file ...
21535 * sysdeps/generic/math_private.h: ... here.
21536
b8c03620
RH
21537 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21538 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21539 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21540
4e234f5d 21541 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
21542 and <math_private.h>.
21543 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21544 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21545 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21546 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21547 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21548 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21549 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21550 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21551 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21552 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21554 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21555 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21556 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21557 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21558 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21559 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21560 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21561 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21562 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21564 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21565 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21567 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21568 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21569 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21570 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21572 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21573 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21574 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21575 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21576 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21577 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21578 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21579 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21580 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21581 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21582 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21583 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21584 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21585 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21586 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21587 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21588 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21589 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21590 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21591 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21592 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21593 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21594 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21595 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21596 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21597 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21598 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21599 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21600 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21601 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21602 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21603 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21604 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21606 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21607 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21608 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21609 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21610 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21611 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21612 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21613 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21614 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21615 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21616 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21617 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21620 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21621 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21622 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21623 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21624 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21625 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21626 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21627 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21629 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21630 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21631 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21632 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21633 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21634 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21635 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21636 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21637 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21638 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21640 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21641 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21642 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21643 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21644 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21645 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21646 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21647 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21648 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21649 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21650 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21651 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21652 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21653 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21654 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21655 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21656 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21657 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21658 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21659 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21660 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21661 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21662 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21663 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21664 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21665 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21666 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21667 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21668 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21669 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21670 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21671 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21672 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21673 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21674 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21675 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21676 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21677 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21678 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21679 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21680 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21681 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21682 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21683 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21684 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21685 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21686 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21687 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21688 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21689 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21690 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21691 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21692 * sysdeps/ieee754/k_standard.c: Likewise.
21693 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21694 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21695 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21696 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21697 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21698 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21699 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21700 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21701 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21702 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21703 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21704 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21705 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21706 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21707 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21708 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21709 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21710 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21711 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21712 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21713 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21714 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21715 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21716 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21717 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21718 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21719 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21720 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21721 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21722 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21723 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21724 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21725 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21726 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21727 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21728 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21729 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21731 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21732 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21733 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21734 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21735 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21736 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21737 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21738 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21739 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21740 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21741 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21742 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21743 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21744 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21745 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21746 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21747 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21748 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21749 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21750 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21751 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21752 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21753 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21754 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21755 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21756 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21759 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21763 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21764 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21776 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21777 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21778 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21779 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21781 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21784 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21785 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21786 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21787 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21788 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21789 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21790 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21792 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21793 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21796 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21797 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21798 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21799 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21800 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21801 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21802 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21803 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21804 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21805 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21806 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21807 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21808 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21809 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21810 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21812 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21813 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21814 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21815 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21816 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21817 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21818 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21819 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21820 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21821 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21822 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21823 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21824 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21825 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21826 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21827 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21828 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21829 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21830 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21831 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21832 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21833 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21834 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21835 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21836 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21837 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21838 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21839 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21840 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21841 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21842 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21843 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21844 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21845 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21846 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21847 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21848 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21849 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21850 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21851 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21852 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21853 * sysdeps/ieee754/s_lib_version.c: Likewise.
21854 * sysdeps/ieee754/s_matherr.c: Likewise.
21855 * sysdeps/ieee754/s_signgam.c: Likewise.
21856 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21857 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21858 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21859 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21860 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21861 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21862 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21863 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21864 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21865 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21866 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21867 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21868 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21869 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21870 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21871 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21872 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21873 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21874 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21876 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 21877
1991fa03
JM
218782012-03-09 Joseph Myers <joseph@codesourcery.com>
21879
21880 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21881 * sunrpc/rpc_main.c: Likewise.
21882 * sunrpc/rpc_svcout.c: Likewise.
21883
60d6f5a6
DM
218842012-03-09 David S. Miller <davem@davemloft.net>
21885
21886 * include/math_private.h: New file.
21887
4962050e
JM
218882012-03-09 Joseph Myers <joseph@codesourcery.com>
21889
02a6f887
JM
21890 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21891 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21892 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21893 from <bits/socket_type.h>.
21894 (enum __socket_type): Don't define here.
21895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21897 bits/socket_type.h.
21898
c6e013c1
JM
21899 [BZ #13566]
21900 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21901 checking __USE_GNU.
21902
4962050e
JM
21903 * Makerules ($(inst_includedir)/%.h): New rule.
21904 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21905 (install-others): Remove variable setting.
21906 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21907
38842f45
RH
219082012-03-08 Richard Henderson <rth@twiddle.net>
21909
67bb6da6
RH
21910 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21911 from macro to inline function; merge with the
21912 !__LIBC_INTERNAL_MATH_INLINES version.
21913 (__ieee754_sqrtf): Likewise.
21914
15194b4b
RH
21915 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21916 to inline function.
21917 (__rintf, __floor, __floorf): Likewise.
21918
64e21ede
RH
21919 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21920 macro to inline function.
21921 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21922
38842f45
RH
21923 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21924 not <math/math_private.h>.
21925
c64bf5fe
DM
219262012-03-08 David S. Miller <davem@davemloft.net>
21927
21928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21929 copyright year.
21930 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21931
82d86f28
TS
219322012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21933
21934 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21935 normalization.
21936 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21937 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21938
aea5d727
UD
219392012-03-08 Ulrich Drepper <drepper@gmail.com>
21940
21941 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21942 be defined individually, they must be defined as a block. Define
21943 S for printing a string instead of hidint the different by using a
21944 macro for adding the 'l'.
21945 * stdio-common/tst-fphex-wide.c: Adjust.
21946
70bca0a3
MP
219472012-03-07 Marek Polacek <polacek@redhat.com>
21948
21949 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21950
65b81130
MP
219512012-03-08 Marek Polacek <polacek@redhat.com>
21952
21953 [BZ #13806]
21954 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21955 * stdio-common/tst-fphex.c: Define a few macros to make the
21956 test reusable. Use them.
21957 * stdio-common/tst-fphex-wide.c: New file.
21958
07037eeb
JM
219592012-03-08 Joseph Myers <joseph@codesourcery.com>
21960
a7a93d50
JM
21961 [BZ #6911]
21962 * manual/macros.texi (gnusystems): New macro.
21963 (nongnusystems): Likewise.
21964 (gnulinuxhurdsystems): Likewise.
21965 (gnuhurdsystems): Likewise..
21966 (gnulinuxsystems): Likewise.
21967 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21968 variants of the GNU system, not "GNU system".
21969 * manual/conf.texi: Likewise.
21970 * manual/errno.texi: Likewise. Update example of errno macro
21971 expansion.
21972 * manual/filesys.texi: Likewise.
21973 (getumask): Document as specific to GNU/Hurd.
21974 * manual/install.texi: Likewise. Reword some references to
21975 GNU/Linux.
21976 * manual/intro.texi: Likewise.
21977 * manual/io.texi: Likewise.
21978 (File Name Portability): Detail which constraints are inapplicable
21979 to all GNU systems and which are only inapplicable to GNU/Hurd.
21980 * manual/job.texi: Likewise.
21981 * manual/llio.texi: Likewise.
21982 (O_NOCTTY): Document as present on GNU/Linux.
21983 * manual/maint.texi: Likewise.
21984 * manual/memory.texi: Likewise.
21985 * manual/pattern.texi: Likewise.
21986 * manual/pipe.texi: Likewise.
21987 * manual/process.texi: Likewise.
21988 * manual/resource.texi: Likewise.
21989 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21990 child on GNU/Hurd.
21991 * manual/setjmp.texi: Likewise.
21992 * manual/signal.texi: Likewise.
21993 * manual/startup.texi: Likewise.
21994 * manual/stdio.texi: Likewise.
21995 * manual/terminal.texi: Likewise.
21996 (ONLCR): Document as POSIX.
21997 (OXTABS): Document availability on GNU/Linux as XTABS.
21998 (ONOEOT): Document availability separately from other bits.
21999 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22000 * manual/time.texi: Likewise.
22001 * manual/users.texi: Likewise.
22002 * INSTALL: Regenerated.
22003 * sysdeps/gnu/errlist.c: Regenerated.
22004
07037eeb
JM
22005 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22006 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22007 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22008 puts.
22009 * configure: Regenerated.
22010
d1d3431a
JM
220112012-03-07 Joseph Myers <joseph@codesourcery.com>
22012
af6a1e37
JM
22013 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22014 default includes instead of AC_HEADER_CHECK.
22015 * sysdeps/i386/configure: Regenerated.
22016
d1d3431a
JM
22017 [BZ #10716]
22018 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22019 * math/s_cacoshf.c (__cacoshf): Likewise.
22020 * math/s_cacoshl.c (__cacoshl): Likewise.
22021 * math/s_casinh.c (__casinh): Set signs of result from argument.
22022 * math/s_casinhf.c (__casinhf): Likewise.
22023 * math/s_casinhl.c (__casinhl): Likewise.
22024 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22025 (casinh_test): Add more tests.
22026 * sysdeps/i386/fpu/libm-test-ulps: Update.
22027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22028
482ff4da
UD
220292012-03-07 Ulrich Drepper <drepper@gmail.com>
22030
872fda05
UD
22031 * po/zh_TW.po: Update from translation team.
22032
a4300c7a
UD
22033 * login/Makefile (distribute): Remove variable.
22034 * catgets/Makefile: Likewise.
22035 * mach/Makefile: Likewise.
22036 * malloc/Makefile: Likewise.
22037 * misc/Makefile: Likewise.
22038 * iconv/Makefile: Likewise.
22039 * nscd/Makefile: Likewise.
22040 * hurd/Makefile: Likewise.
22041 * manual/Makefile: Likewise.
22042 * locale/Makefile: Likewise.
22043 * intl/Makefile: Likewise.
22044 * conform/Makefile: Likewise.
22045 * nss/Makefile: Likewise.
22046 * time/Makefile: Likewise.
22047 * soft-fp/Makefile: Likewise.
22048 * dirent/Makefile: Likewise.
22049 * gmon/Makefile: Likewise.
22050 * po/Makefile: Likewise.
22051 * rt/Makefile: Likewise.
22052 * socket/Makefile: Likewise.
22053 * math/Makefile: Likewise.
22054 * signal/Makefile: Likewise.
22055 * debug/Makefile: Likewise.
22056 * elf/Makefile: Likewise.
22057 * timezone/Makefile: Likewise.
22058 * stdlib/Makefile: Likewise.
22059 * iconvdata/Makefile: Likewise.
22060 * sunrpc/Makefile: Likewise.
22061 * io/Makefile: Likewise.
22062 * argp/Makefile: Likewise.
22063 * inet/Makefile: Likewise.
22064 * hesiod/Makefile: Likewise.
22065 * grp/Makefile: Likewise.
22066 * csu/Makefile: Likewise.
22067 * wctype/Makefile: Likewise.
22068 * crypt/Makefile: Likewise.
22069 * libio/Makefile: Likewise.
22070 * string/Makefile: Likewise.
22071 * nis/Makefile: Likewise.
22072 * resolv/Makefile: Likewise.
22073 * stdio-common/Makefile: Likewise.
22074 * wcsmbs/Makefile: Likewise.
22075 * dlfcn/Makefile: Likewise.
22076 * posix/Makefile: Likewise.
22077
3b7c4e74 22078 [BZ #6959]
482ff4da
UD
22079 * timezone/Makefile: Don't install timezone files, just the programs
22080 and scripts.
22081
f72ed77d
UD
220822012-03-06 Ulrich Drepper <drepper@gmail.com>
22083
a000466f
UD
22084 * nss/databases.def: Add missing gshadow entry.
22085
f72ed77d
UD
22086 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22087
a53b7a4e
MP
220882012-03-06 Marek Polacek <polacek@redhat.com>
22089
22090 [BZ #13726]
22091 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22092 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22093 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22094 * stdio-common/tst-long-dbl-fphex.c: New file.
22095
e9258400
DM
220962012-03-06 David S. Miller <davem@davemloft.net>
22097
22098 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22099 (set_obp_int): New function.
22100 (get_obp_int): New function.
22101 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22102 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22103 Avoid unused variable warnings on 'val' and use builtin_expect.
22104 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22105 __builtin_expect.
e9258400
DM
22106 (INLINE_CLONE_SYSCALL): Likewise.
22107
3bd2c723
DM
221082012-03-05 David S. Miller <davem@davemloft.net>
22109
22110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22111
bbb78d03
AS
221122012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22113
884c5db4
AS
22114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22115
bbb78d03
AS
22116 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22117 only for |x| >= 40.
22118 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22119
1c9f702a 221202012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22121
22122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22123 Replace gettimeofday with __vdso_gettimeofday.
22124
7be16f82
RM
22125 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22126 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22127 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22128
22129 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22130 time with __vdso_time.
22131
ed58a00f
JM
221322012-03-05 Joseph Myers <joseph@codesourcery.com>
22133
22134 * manual/lang.texi (size_t): Note types to which size_t may be
22135 equivalent with the GNU C Library, but do not describe when
22136 differences between them are significant.
22137
30ee4ced
AJ
221382012-03-05 Andreas Jaeger <aj@suse.de>
22139
22140 * sysdeps/i386/fpu/libm-test-ulps: Update.
22141
b7cd39e8
JM
221422012-03-05 Joseph Myers <joseph@codesourcery.com>
22143
22144 [BZ #3976]
22145 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22146 (__ieee754_pow): Save and restore rounding mode and use
22147 round-to-nearest for main computations.
22148 * math/libm-test.inc (pow_test_tonearest): New function.
22149 (pow_test_towardzero): Likewise.
22150 (pow_test_downward): Likewise.
22151 (pow_test_upward): Likewise.
22152 (main): Call the new functions.
22153 * sysdeps/i386/fpu/libm-test-ulps: Update.
22154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22155
22156 [BZ #3976]
22157 * math/libm-test.inc (cosh_test_tonearest): New function.
22158 (cosh_test_towardzero): Likewise.
22159 (cosh_test_downward): Likewise.
22160 (cosh_test_upward): Likewise.
22161 (sinh_test_tonearest): Likewise.
22162 (sinh_test_towardzero): Likewise.
22163 (sinh_test_downward): Likewise.
22164 (sinh_test_upward): Likewise.
22165 (main): Call the new functions.
22166 * sysdeps/i386/fpu/libm-test-ulps: Update.
22167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22168
6c6a98c9
TV
221692012-03-05 Tom de Vries <tom@codesourcery.com>
22170
22171 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22172 default stack guard is set in last bytes.
22173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22174
21bb2d2e 221752012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22176
21bb2d2e 22177 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22178
21bb2d2e
AJ
22179 [BZ #13656]
22180 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22181 possibly allocate from heap instead of stack.
22182 * stdio-common/bug-vfprintf-nargs.c: New file.
22183 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22184
c6922934
AS
221852012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22186
22187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22188
bc957d53
MP
221892012-03-03 Marek Polacek <polacek@redhat.com>
22190
22191 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22192 * math/math_private.h: Likewise.
22193 * stdlib/tst-strtod.c: Likewise.
22194 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22195 * sysdeps/x86_64/bits/atomic.h: Likewise.
22196
6358490d
DM
221972012-03-02 David S. Miller <davem@davemloft.net>
22198
22199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22203 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22204 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22205 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22206 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22207
01ae168d
RM
222082012-03-02 Roland McGrath <roland@hack.frob.com>
22209
d9a17c07
RM
22210 [BZ #13792]
22211 * manual/examples/README: New file, says the example source files
22212 can be used under GPL>=2.
22213 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22214 line containing just "*/".
22215 * manual/examples/add.c: Add copyright header (GPL>=2).
22216 * manual/examples/argp-ex1.c: Likewise.
22217 * manual/examples/argp-ex2.c: Likewise.
22218 * manual/examples/argp-ex3.c: Likewise.
22219 * manual/examples/argp-ex4.c: Likewise.
22220 * manual/examples/atexit.c: Likewise.
22221 * manual/examples/db.c: Likewise.
22222 * manual/examples/dir.c: Likewise.
22223 * manual/examples/dir2.c: Likewise.
22224 * manual/examples/execinfo.c: Likewise.
22225 * manual/examples/filecli.c: Likewise.
22226 * manual/examples/filesrv.c: Likewise.
22227 * manual/examples/fmtmsgexpl.c: Likewise.
22228 * manual/examples/genpass.c: Likewise.
22229 * manual/examples/inetcli.c: Likewise.
22230 * manual/examples/inetsrv.c: Likewise.
22231 * manual/examples/isockad.c: Likewise.
22232 * manual/examples/longopt.c: Likewise.
22233 * manual/examples/memopen.c: Likewise.
22234 * manual/examples/memstrm.c: Likewise.
22235 * manual/examples/mkfsock.c: Likewise.
22236 * manual/examples/mkisock.c: Likewise.
22237 * manual/examples/mygetpass.c: Likewise.
22238 * manual/examples/pipe.c: Likewise.
22239 * manual/examples/popen.c: Likewise.
22240 * manual/examples/rprintf.c: Likewise.
22241 * manual/examples/search.c: Likewise.
22242 * manual/examples/select.c: Likewise.
22243 * manual/examples/setjmp.c: Likewise.
22244 * manual/examples/sigh1.c: Likewise.
22245 * manual/examples/sigusr.c: Likewise.
22246 * manual/examples/stpcpy.c: Likewise.
22247 * manual/examples/strdupa.c: Likewise.
22248 * manual/examples/strftim.c: Likewise.
22249 * manual/examples/strncat.c: Likewise.
22250 * manual/examples/subopt.c: Likewise.
22251 * manual/examples/swapcontext.c: Likewise.
22252 * manual/examples/termios.c: Likewise.
22253 * manual/examples/testopt.c: Likewise.
22254 * manual/examples/testpass.c: Likewise.
22255 * manual/examples/timeval_subtract.c: Likewise.
22256
01ae168d
RM
22257 [BZ #13792]
22258 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22259 function to ...
22260 * manual/timeval_subtract.c.texi: ... here, new file.
22261
49efa33d
DM
222622012-03-02 David S. Miller <davem@davemloft.net>
22263
22264 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22265
28afd92d
JM
222662012-03-02 Joseph Myers <joseph@codesourcery.com>
22267
804360ed
JM
22268 [BZ #3976]
22269 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22270 (__sin): Save and restore rounding mode and use round-to-nearest
22271 for all computations.
22272 (__cos): Save and restore rounding mode and use round-to-nearest
22273 for all computations.
22274 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22275 <fenv.h>.
22276 (tan): Save and restore rounding mode and use round-to-nearest for
22277 all computations.
22278 * math/libm-test.inc (cos_test_tonearest): New function.
22279 (cos_test_towardzero): Likewise.
22280 (cos_test_downward): Likewise.
22281 (cos_test_upward): Likewise.
22282 (sin_test_tonearest): Likewise.
22283 (sin_test_towardzero): Likewise.
22284 (sin_test_downward): Likewise.
22285 (sin_test_upward): Likewise.
22286 (tan_test_tonearest): Likewise.
22287 (tan_test_towardzero): Likewise.
22288 (tan_test_downward): Likewise.
22289 (tan_test_upward): Likewise.
22290 (main): Call the new functions.
22291 * sysdeps/i386/fpu/libm-test-ulps: Update.
22292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22293
a6d06d7b
JM
22294 [BZ #10135]
22295 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22296 small n, then large n, before computing and testing k+n.
22297 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22299 Likewise.
22300 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22301 Likewise.
22302 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22303 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22304 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22305 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22306 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22307 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22308 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22309 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22310 * math/libm-test.inc (scalbn_test): Add more tests.
22311 (scalbln_test): Likewise.
22312
07e12bb3
JM
22313 * manual/filesys.texi (mode_t): Describe constraints on size and
22314 signedness, not exact equivalence to a particular type.
22315 (ino_t): Likewise.
22316 (ino64_t): Likewise.
22317 (dev_t): Likewise.
22318 (nlink_t): Likewise.
22319 (blkcnt_t): Likewise.
22320 (blkcnt64_t): Likewise.
22321 * manual/llio.texi (off_t): Likewise.
22322
28afd92d
JM
22323 [BZ #3976]
22324 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22325 (__ieee754_exp): Save and restore rounding mode and use
22326 round-to-nearest for all computations.
22327 * math/libm-test.inc (exp_test_tonearest): New function.
22328 (exp_test_towardzero): Likewise.
22329 (exp_test_downward): Likewise.
22330 (exp_test_upward): Likewise.
22331 (main): Call the new functions.
22332 * sysdeps/i386/fpu/libm-test-ulps: Update.
22333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22334
b1eeb65d
CD
223352012-03-01 Chris Demetriou <cgd@google.com>
22336
22337 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22338 have predictable order.
22339
53362a4b
DM
223402012-03-01 David S. Miller <davem@davemloft.net>
22341
3c969083
DM
22342 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22343
759707de
DM
22344 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22345 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22346 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22347 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22348
dfdb8ff2
DM
22349 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22350 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22351 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22353 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22354 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22355 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22356 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22357 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22358
ead89f96
DM
22359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22360
7f66bd07
DM
22361 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22362 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22363 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22364
53362a4b
DM
22365 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22366 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22367 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22368 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22369 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22370 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22371 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22372 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22373 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22374 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22375 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22376 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22378 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22379 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22381 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22382 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22383 * sysdeps/sparc/elf/configure: Regenerated.
22384
7b1902cb
JM
223852012-03-01 Joseph Myers <joseph@codesourcery.com>
22386
bec039bc
JM
22387 * configure.in (AS, LD): Require binutils 2.20 or later.
22388 * configure: Regenerated.
22389 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22390 as required minimum version.
22391 * INSTALL: Regenerated.
22392
7b1902cb
JM
22393 [BZ #2541]
22394 [BZ #4108]
22395 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22396 before squaring exponent.
22397 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22398 bottom long double and 27 bits of top long double before squaring
22399 exponent.
22400 * math/libm-test.inc (erfc_test): Add more tests.
22401 * sysdeps/i386/fpu/libm-test-ulps: Update.
22402 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22404
f775c276
KT
224052012-03-01 Kai Tietz <ktietz@redhat.com>
22406
22407 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22408 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22409 containing bit-fields.
22410 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22411 * soft-fp/single.h (_FP_UNION_S): Likewise.
22412 * soft-fp/double.h (_FP_UNION_D): Likewise.
22413
5b8a4d4a
JM
224142012-02-29 Joseph Myers <joseph@codesourcery.com>
22415
0bab47b6
JM
22416 [BZ #13786]
22417 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22418 not include ../strcmp.S.
22419 [USE_AS_STRNCASECMP_L]: Likewise.
22420 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22421 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22422 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22423 (__strncasecmp_l_ia32): Define as alias to
22424 __strncasecmp_l_nonascii.
22425
0fcad3e2
JM
22426 [BZ #5794]
22427 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22428 * sysdeps/i386/fpu/libm-test-ulps: Update.
22429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22430
5b8a4d4a
JM
22431 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22433
8fdceb2e
JL
224342012-02-29 Jeff Law <law@redhat.com>
22435
22436 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22437 out of bounds read.
22438
1f393a11
MP
224392012-02-29 Marek Polacek <polacek@redhat.com>
22440
22441 [BZ #13706]
22442 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22443 * elf/Makefile: Add rules to run tst-unused-dep.out.
22444
8847f037
DM
224452012-02-28 David S. Miller <davem@davemloft.net>
22446
22447 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22448 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22450 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22451 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22452 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22453
169d7f11
JM
224542012-02-29 Joseph Myers <joseph@codesourcery.com>
22455
22456 * math/libm-test.inc (llround_test): Move one test from
22457 lround_test. Use TEST_f_L in moved test.
22458 (lround_test): Move misplaced test to llround_test. Add testcase
22459 from bug 2561.
22460
39adf059
UD
224612012-02-28 Ulrich Drepper <drepper@gmail.com>
22462
22463 * sysdeps/x86_64/fpu/e_expf.S: New file.
22464 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22465
71b5d1c5
SB
224662012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22467
22468 [BZ #13637]
22469 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22470 of remain_len that may cause incomplete multi-byte character and
22471 false match.
22472 * posix/bug-regex33.c: New file.
22473 * posix/Makefile (tests): Add bug-regex33.
22474
1f77f049
JM
224752012-02-28 Joseph Myers <joseph@codesourcery.com>
22476
22477 * manual/macros.texi: New file.
22478 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22479 * manual/libc.texinfo: Include macros.texi.
22480 * manual/creatute.texi: Likewise.
22481 * manual/install.texi: Likewise.
22482 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22483 @glibcadj{} in references to the GNU C Library.
22484 * manual/charset.texi: Likewise.
22485 * manual/conf.texi: Likewise.
22486 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22487 when not using those macros.
22488 * manual/creature.texi: Likewise.
22489 * manual/crypt.texi: Likewise.
22490 * manual/errno.texi: Likewise.
22491 * manual/filesys.texi: Likewise.
22492 * manual/header.texi: Likewise.
22493 * manual/install.texi: Likewise.
22494 * manual/intro.texi: Likewise.
22495 * manual/io.texi: Likewise.
22496 * manual/job.texi: Likewise.
22497 * manual/lang.texi: Likewise.
22498 * manual/libc.texiinfo: Likewise.
22499 * manual/llio.texi: Likewise.
22500 * manual/locale.texi: Likewise.
22501 * manual/maint.texi: Likewise.
22502 * manual/math.texi: Likewise.
22503 * manual/memory.texi: Likewise.
22504 * manual/message.texi: Likewise.
22505 * manual/nss.texi: Likewise.
22506 * manual/pattern.texi: Likewise.
22507 * manual/process.texi: Likewise.
22508 * manual/resource.texi: Likewise.
22509 * manual/search.texi: Likewise.
22510 * manual/setjmp.texi: Likewise.
22511 * manual/signal.texi: Likewise.
22512 * manual/socket.texi: Likewise.
22513 * manual/startup.texi: Likewise.
22514 * manual/stdio.texi: Likewise.
22515 * manual/string.texi: Likewise.
22516 * manual/sysinfo.texi: Likewise.
22517 * manual/syslog.texi: Likewise.
22518 * manual/terminal.texi: Likewise.
22519 * manual/time.texi: Likewise.
22520 * manual/users.texi: Likewise.
22521 * INSTALL: Regenerated.
22522 * NOTES: Regenerated.
d40c5d54 22523 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22524
450bf206
AS
225252012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22526
22527 * include/dirent.h: Include <dirstream.h> before
22528 <dirent/dirent.h>.
22529
741a235b
DM
225302012-02-28 David S. Miller <davem@davemloft.net>
22531
22532 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22533 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22534 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22535 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22536
d6b5aa58
DM
225372012-02-27 David S. Miller <davem@davemloft.net>
22538
1aff59a3
DM
22539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22541 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22542 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22543
d6b5aa58
DM
22544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22545 frame pointer instead of stack pointer relative arg slot.
22546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22547 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22548 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22549
433f48bf
CD
225502012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22551
22552 [BZ #3992]
22553 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22554
d674b76d
DM
225552012-02-27 David S. Miller <davem@davemloft.net>
22556
22557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22561 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22562 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22563 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22564 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22565
0e7727f7
JM
225662012-02-27 Joseph Myers <joseph@codesourcery.com>
22567
22568 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22569 later. Allow versions 5-9.
43be4ca2 22570 * configure: Regenerated.
0e7727f7
JM
22571 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22572 required minimum version and 4.6 as recommended version. Do not
22573 mention bugs in GCC 2.7 and 2.8.
43be4ca2 22574 * INSTALL: Regenerated.
0e7727f7 22575
a78bc654
DM
225762012-02-27 David S. Miller <davem@davemloft.net>
22577
428d5830
DM
22578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22582 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22583 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22584 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22585 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22586
a78bc654
DM
22587 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22588 manipulate bits before adding and subtracting TWO112[sx].
22589 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22590
4579f81c
RM
225912012-02-27 Roland McGrath <roland@hack.frob.com>
22592
36c8acb4
RM
22593 [BZ #13775]
22594 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22595 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22596 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22597 being in POSIX, because they are in 1003.1-2008.
22598
84ad622b
RM
22599 * rt/tst-aio.c: Include <fcntl.h>.
22600 * rt/tst-aio7.c: Likewise.
22601 * rt/tst-aio64.c: Likewise.
22602
4579f81c
RM
22603 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22604
abd923db
JM
226052012-02-27 Joseph Myers <joseph@codesourcery.com>
22606
22607 * manual/install.texi (--with-headers): Describe headers as
22608 interface headers, not private headers.
22609 (Specific advice for GNU/Linux systems): Describe use of headers
22610 from "make headers_install", not private headers from older
22611 kernels.
43be4ca2 22612 * INSTALL: Regenerated.
abd923db
JM
22613 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22614 Change to 2.6.19.
22615 * sysdeps/unix/sysv/linux/configure: Regenerated.
22616
6664049b
JM
22617 * manual/llio.texi (fclean): Remove documentation.
22618
bb8b6697
JM
22619 * manual/Makefile (libc-texi-generated): New variable. Include
22620 version.texi.
22621 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22622 $(libc-texi-generated), not duplicated list of files.
22623 (version.texi, stamp-version): New rules.
22624 (realclean): Remove $(libc-texi-generated), not individual files
22625 from that list. Do not remove dir-add.texinfo.
22626 * manual/libc.texinfo: Comment out uses of edition numbers and
22627 references to printed manual. Remove last-updated dates.
22628 (EDITION): Comment out.
22629 (ISBN): Likewise.
22630 (VERSION, UPDATED): Remove.
22631 (version.texi): Include.
22632
12e5c3b9
AS
226332012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22634
22635 * sysdeps/posix/spawni.c: Include <signal.h>.
22636 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22637 * sysdeps/pthread/aio_fsync.c: Likewise.
22638
4efeffc1 226392012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 22640
ba63ba08
UD
22641 * conform/Makefile (tests): Run only when not cross-compiling and
22642 when fast-check is not defined.
22643
d94a4670
UD
22644 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22645 * conform/data/limits.h-data: Fixes for POSIX2008.
22646 * conform/run-conformtest.sh: Run all tests.
22647 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22648 headers.
22649 * include/bits/dlfcn.h: Likewise.
22650 * include/langinfo.h: Likewise.
22651 * include/monetary.h: Likewise.
22652 * include/sys/poll.h: Likewise.
22653
22654 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22655 for __USE_GNU.
22656 * posix/spawn.h: Define __need_sigset_t.
22657 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22658 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22659 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22660 to get sigevent_t only.
22661 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22662 only for __USE_GNU.
22663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22664 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22665 process_vm_writev only for __USE_GNU.
22666 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
22667
22668 * conform/Makefile: For now ignore errors from run-conformtest.
22669 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22670 POSIX to avoid namespace pollution. Don't prepend headers.
22671 * conform/data/aio.h-data: Fixes for POSIX testing.
22672 * conform/data/fcntl.h-data: Likewise.
22673 * conform/data/glob.h-data: Likewise.
22674 * conform/data/grp.h-data: Likewise.
22675 * conform/data/pthread.h-data: Likewise.
22676 * conform/data/pwd.h-data: Likewise.
22677 * conform/data/signal.h-data: Likewise.
22678 * conform/data/spawn.h-data: Likewise.
22679 * conform/data/stdio.h-data: Likewise.
22680 * conform/data/stdlib.h-data: Likewise.
22681 * conform/data/stropts.h-data: Likewise.
22682 * conform/data/sys/mman.h-data: Likewise.
22683 * conform/data/sys/stat.h-data: Likewise.
22684 * conform/data/sys/types.h-data: Likewise.
22685 * conform/data/sys/wait.h-data: Likewise.
22686 * conform/data/time.h-data: Likewise.
22687 * conform/data/unistd.h-data: Likewise.
22688 * conform/data/utime.h-data: Likewise.
22689
22690 * io/sys/stat.h: fchmod was always in POSIX.
22691 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22692 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22693 * rt/aio.h: Define __need_timespec before including <time.h>.
22694 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22695 struct. Add forward declaration of pthread_attr_t and use it in
22696 sigevent.
22697 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22698 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22699 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22700 always remove CLK_TCK definition.
22701
c20105c3
AS
227022012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22703
22704 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22705
7a270350
UD
227062012-02-25 Ulrich Drepper <drepper@gmail.com>
22707
31341567
UD
22708 * conform/run-conformtest.sh: New file.
22709 * conform/Makefile: Run run-conformtest for tests.
22710 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22711 support.
22712
22713 * conform/data/uchar.h-data: New file.
22714 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22715 * conform/data/arpa/inet.h-data: Likewise.
22716 * conform/data/assert.h-data: Likewise.
22717 * conform/data/complex.h-data: Likewise.
22718 * conform/data/cpio.h-data: Likewise.
22719 * conform/data/ctype.h-data: Likewise.
22720 * conform/data/dirent.h-data: Likewise.
22721 * conform/data/dlfcn.h-data: Likewise.
22722 * conform/data/errno.h-data: Likewise.
22723 * conform/data/fcntl.h-data: Likewise.
22724 * conform/data/float.h-data: Likewise.
22725 * conform/data/fmtmsg.h-data: Likewise.
22726 * conform/data/fnmatch.h-data: Likewise.
22727 * conform/data/ftw.h-data: Likewise.
22728 * conform/data/glob.h-data: Likewise.
22729 * conform/data/grp.h-data: Likewise.
22730 * conform/data/iconv.h-data: Likewise.
22731 * conform/data/inttypes.h-data: Likewise.
22732 * conform/data/langinfo.h-data: Likewise.
22733 * conform/data/libgen.h-data: Likewise.
22734 * conform/data/limits.h-data: Likewise.
22735 * conform/data/locale.h-data: Likewise.
22736 * conform/data/math.h-data: Likewise.
22737 * conform/data/monetary.h-data: Likewise.
22738 * conform/data/mqueue.h-data: Likewise.
22739 * conform/data/ndbm.h-data: Likewise.
22740 * conform/data/net/if.h-data: Likewise.
22741 * conform/data/netdb.h-data: Likewise.
22742 * conform/data/netinet/in.h-data: Likewise.
22743 * conform/data/nl_types.h-data: Likewise.
22744 * conform/data/poll.h-data: Likewise.
22745 * conform/data/pthread.h-data: Likewise.
22746 * conform/data/pwd.h-data: Likewise.
22747 * conform/data/regex.h-data: Likewise.
22748 * conform/data/sched.h-data: Likewise.
22749 * conform/data/search.h-data: Likewise.
22750 * conform/data/semaphore.h-data: Likewise.
22751 * conform/data/setjmp.h-data: Likewise.
22752 * conform/data/signal.h-data: Likewise.
22753 * conform/data/spawn.h-data: Likewise.
22754 * conform/data/stdarg.h-data: Likewise.
22755 * conform/data/stdio.h-data: Likewise.
22756 * conform/data/stdlib.h-data: Likewise.
22757 * conform/data/string.h-data: Likewise.
22758 * conform/data/strings.h-data: Likewise.
22759 * conform/data/stropts.h-data: Likewise.
22760 * conform/data/sys/ipc.h-data: Likewise.
22761 * conform/data/sys/mman.h-data: Likewise.
22762 * conform/data/sys/msg.h-data: Likewise.
22763 * conform/data/sys/resource.h-data: Likewise.
22764 * conform/data/sys/select.h-data: Likewise.
22765 * conform/data/sys/sem.h-data: Likewise.
22766 * conform/data/sys/shm.h-data: Likewise.
22767 * conform/data/sys/socket.h-data: Likewise.
22768 * conform/data/sys/stat.h-data: Likewise.
22769 * conform/data/sys/statvfs.h-data: Likewise.
22770 * conform/data/sys/time.h-data: Likewise.
22771 * conform/data/sys/timeb.h-data: Likewise.
22772 * conform/data/sys/times.h-data: Likewise.
22773 * conform/data/sys/types.h-data: Likewise.
22774 * conform/data/sys/uio.h-data: Likewise.
22775 * conform/data/sys/un.h-data: Likewise.
22776 * conform/data/sys/utsname.h-data: Likewise.
22777 * conform/data/sys/wait.h-data: Likewise.
22778 * conform/data/syslog.h-data: Likewise.
22779 * conform/data/tar.h-data: Likewise.
22780 * conform/data/termios.h-data: Likewise.
22781 * conform/data/utime.h-data: Likewise.
22782 * conform/data/utmpx.h-data: Likewise.
22783 * conform/data/varargs.h-data: Likewise.
22784 * conform/data/wchar.h-data: Likewise.
22785 * conform/data/wctype.h-data: Likewise.
22786 * conform/data/wordexp.h-data: Likewise.
22787
22788 * include/stropts.h: New file.
22789 * include/uchar.h: New file.
22790 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22791 * include/assert.h: Likewise.
22792 * include/ctype.h: Likewise.
22793 * include/dirent.h: Likewise.
22794 * include/dlfcn.h: Likewise.
22795 * include/fcntl.h: Likewise.
22796 * include/fnmatch.h: Likewise.
22797 * include/glob.h: Likewise.
22798 * include/grp.h: Likewise.
22799 * include/libio.h: Likewise.
22800 * include/locale.h: Likewise.
22801 * include/math.h: Likewise.
22802 * include/net/if.h: Likewise.
22803 * include/netdb.h: Likewise.
22804 * include/netinet/in.h: Likewise.
22805 * include/pthread.h: Likewise.
22806 * include/pwd.h: Likewise.
22807 * include/regex.h: Likewise.
22808 * include/sched.h: Likewise.
22809 * include/search.h: Likewise.
22810 * include/setjmp.h: Likewise.
22811 * include/signal.h: Likewise.
22812 * include/stdio.h: Likewise.
22813 * include/stdlib.h: Likewise.
22814 * include/string.h: Likewise.
22815 * include/sys/cdefs.h: Likewise.
22816 * include/sys/mman.h: Likewise.
22817 * include/sys/msg.h: Likewise.
22818 * include/sys/resource.h: Likewise.
22819 * include/sys/select.h: Likewise.
22820 * include/sys/socket.h: Likewise.
22821 * include/sys/stat.h: Likewise.
22822 * include/sys/statvfs.h: Likewise.
22823 * include/sys/time.h: Likewise.
22824 * include/sys/times.h: Likewise.
22825 * include/sys/uio.h: Likewise.
22826 * include/sys/utsname.h: Likewise.
22827 * include/sys/wait.h: Likewise.
22828 * include/termios.h: Likewise.
22829 * include/time.h: Likewise.
22830 * include/ulimit.h: Likewise.
22831 * include/unistd.h: Likewise.
22832 * include/utime.h: Likewise.
22833 * include/wchar.h: Likewise.
22834 * include/wctype.h: Likewise.
22835 * include/wordexp.h: Likewise.
22836
22837 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22838
7a270350
UD
22839 * time/time.h: TIME_UTC must be a macro.
22840 Make timespec_get available for ISO C11 only as well.
22841
7724defc
UD
228422012-02-24 Ulrich Drepper <drepper@gmail.com>
22843
22844 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22845 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22846
6b1d1d46
JM
228472012-02-24 Joseph Myers <joseph@codesourcery.com>
22848
22849 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 22850
0f8bbd69
JM
228512012-02-24 Joseph Myers <joseph@codesourcery.com>
22852
22853 * manual/texinfo.tex: Update to version 2012-01-19.16.
22854
66ab80bc
JM
228552012-02-24 Joseph Myers <joseph@codesourcery.com>
22856
22857 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22858
74981cc5
RM
228592012-02-24 Roland McGrath <roland@hack.frob.com>
22860
ee968201
RM
22861 [BZ #13738]
22862 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22863 * manual/fdl-1.3.texi: New file.
22864 * manual/fdl-1.1.texi: File removed.
22865
74981cc5
RM
22866 [BZ #13738]
22867 * manual/libc.texinfo (FDL_VERSION): New @set.
22868 Use it for mention of FDL in cover text.
22869 (Documentation License): Use it in @include file name.
22870
7bb764bc
JM
228712012-02-22 Joseph Myers <joseph@codesourcery.com>
22872 Roland McGrath <roland@hack.frob.com>
22873
22874 [BZ #5461]
22875 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22876 not LONG_LONG_MAX and LONG_LONG_MIN.
22877 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22878 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22879 name.
22880 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22881
6cbeae47
JM
228822012-02-22 Joseph Myers <joseph@codesourcery.com>
22883
22884 [BZ #2547]
22885 [BZ #11365]
22886 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22887 manipulate bits before adding and subtracting TWO23[sx].
22888 * math/libm-test.inc (nearbyint_test): Add more tests.
22889
fe45ce09
JM
228902012-02-22 Joseph Myers <joseph@codesourcery.com>
22891
22892 [BZ #2548]
22893 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22894 bits before adding and subtracting TWO23[sx].
22895 * math/libm-test.inc (rint_test): Add more tests.
22896 (rint_test_tonearest): Likewise.
22897 (rint_test_towardzero): Likewise.
22898 (rint_test_downward): Likewise.
22899 (rint_test_upward: Likewise.
22900
ff3b3d82
JM
229012012-02-22 Joseph Myers <joseph@codesourcery.com>
22902
22903 [BZ #10110]
22904 * include/stdc-predef.h: New file. Extracted from features.h.
22905 * include/features.h: Include stdc-predef.h.
22906 * Makefile (headers): Add stdc-predef.h.
22907 * CONFORMANCE (Compiler limitations): Update.
22908
ef0aab35
JM
229092012-02-22 Joseph Myers <joseph@codesourcery.com>
22910
22911 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22912
58639409
DM
229132012-02-21 David S. Miller <davem@davemloft.net>
22914
22915 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22916 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22917
c0e70b25
DM
229182012-02-20 David S. Miller <davem@davemloft.net>
22919
22920 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22921 using a normal save/restore sequence, rather than allocating a
22922 dummy stack frame just to store a frame pointer and restore.
22923 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22924
fb06851d
JM
229252012-02-21 Joseph Myers <joseph@codesourcery.com>
22926
22927 * manual/install.texi: Fix stray word in line-wrapped comment.
22928
7a8b71c3
DM
229292012-02-20 David S. Miller <davem@davemloft.net>
22930
d510c123
DM
22931 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22932 both binutils and gcc support GOTDATA.
22933
0722d7c2
DM
22934 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22935 "rd %pc" in the PIC register setup sequences.
22936
3d2b3019
DM
22937 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22938 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22939 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22940 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22941 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22943 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22946 (SYSCALL_ERROR_HANDLER): Likewise.
22947 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22948 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22949 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22950 (SYSCALL_ERROR_HANDLER): Likewise.
22951
c80098a9
DM
22952 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22953 (HAVE_GCC_GOTDATA): New.
22954 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22955 relocation support in both binutils and gcc.
22956 * sysdeps/sparc/elf/configure: Regenerate.
22957
3a2545a0
DM
22958 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22959 * sysdeps/sparc/sparc32/elf/configure: Delete.
22960 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22961 * sysdeps/sparc/sparc64/elf/configure: Delete.
22962 * sysdeps/sparc/elf/configure.in: New file.
22963 * sysdeps/sparc/elf/configure: Generate.
22964
7a8b71c3
DM
22965 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22966 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22967 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22968 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22969 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22970
f1e86fca
JM
229712012-02-21 Joseph Myers <joseph@codesourcery.com>
22972
22973 * manual/install.texi: Do not mention specific glibc version
22974 numbers.
22975 * manual/libc.texinfo (VERSION, UPDATED): Update.
22976 (@copying): Use @copyright{} and range of years.
22977
0e7dfaef
JM
229782012-02-21 Joseph Myers <joseph@codesourcery.com>
22979
22980 [BZ #13695]
22981 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22982 [crti.S not in sysdirs] (generated): Do not append.
22983 [crti.S not in sysdirs] (omit-deps): Likewise.
22984 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22985 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22986 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22987 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22988 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22989 Likewise.
22990 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22991 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22992 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22993 * csu/defs.awk: Remove file.
22994 * sysdeps/generic/initfini.c: Likewise.
22995 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22996 variable.
22997 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22998 Likewise.
22999
599af3ca
JM
230002012-02-20 Joseph Myers <joseph@codesourcery.com>
23001
23002 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23003 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23004 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23005 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23006 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23007 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23008 <bits/epoll.h>.
23009 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23010 (__EPOLL_PACKED): Define to empty if not defined by
23011 <bits/epoll.h>.
23012 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23014 bits/epoll.h.
23015
0e499750
JM
230162012-02-20 Joseph Myers <joseph@codesourcery.com>
23017
23018 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23019 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23020 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23021 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23022 <bits/timerfd.h>.
23023 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23025 bits/timerfd.h.
23026
5ad91f6e
JM
230272012-02-20 Joseph Myers <joseph@codesourcery.com>
23028
23029 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23030 in C locale.
23031 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23032 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23033 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23035
06b99b02
AJ
230362012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23037
23038 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23039 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23040
7638c0fd
AS
230412012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23042
23043 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23044 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23045 defined.
23046 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23047 Likewise.
23048 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23049 entry for 2.16.
23050
92221550
AJ
230512012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23052
23053 * math/w_acos.c: Use non-signaling floating-point comparisons.
23054 * math/w_acosf.c: Likewise.
23055 * math/w_acosh.c: Likewise.
23056 * math/w_acoshf.c: Likewise.
23057 * math/w_acoshl.c: Likewise.
23058 * math/w_acosl.c: Likewise.
23059 * math/w_asin.c: Likewise.
23060 * math/w_asinf.c: Likewise.
23061 * math/w_asinl.c: Likewise.
23062 * math/w_atanh.c: Likewise.
23063 * math/w_atanhf.c: Likewise.
23064 * math/w_atanhl.c: Likewise.
23065 * math/w_exp2.c: Likewise.
23066 * math/w_exp2f.c: Likewise.
23067 * math/w_exp2l.c: Likewise.
23068 * math/w_j0.c: Likewise.
23069 * math/w_j0f.c: Likewise.
23070 * math/w_j0l.c: Likewise.
23071 * math/w_j1.c: Likewise.
23072 * math/w_j1f.c: Likewise.
23073 * math/w_j1l.c: Likewise.
23074 * math/w_jn.c: Likewise.
23075 * math/w_jnf.c: Likewise.
23076 * math/w_log.c: Likewise.
23077 * math/w_log10.c: Likewise.
23078 * math/w_log10f.c: Likewise.
23079 * math/w_log10l.c: Likewise.
23080 * math/w_log2.c: Likewise.
23081 * math/w_log2f.c: Likewise.
23082 * math/w_log2l.c: Likewise.
23083 * math/w_logf.c: Likewise.
23084 * math/w_logl.c: Likewise.
23085 * math/w_sqrt.c: Likewise.
23086 * math/w_sqrtf.c: Likewise.
23087 * math/w_sqrtl.c: Likewise.
23088 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23089 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23090 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23091 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23092 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23093
ebaf36eb
JM
230942012-02-19 Joseph Myers <joseph@codesourcery.com>
23095
23096 [BZ #9739]
23097 * manual/string.texi (strnlen): Use correct parameter name in
23098 equivalent expression.
23099
71c254a6
JM
231002012-02-19 Joseph Myers <joseph@codesourcery.com>
23101
23102 [BZ #11174]
23103 * manual/users.texi (seteuid): Consistently use neweuid for
23104 argument name.
23105
16d2c631
JM
231062012-02-19 Joseph Myers <joseph@codesourcery.com>
23107
23108 [BZ #13704]
23109 * manual/nss.texi (Services in the NSS configuration): Correct
23110 list of services in example configuration file.
23111
cd837b09
NB
231122012-02-19 Nick Bowler <nbowler@draconx.ca>
23113
23114 [BZ #11322]
23115 * manual/arith.texi: Remove statements about negative zero
23116 behaving identically to zero.
23117
02c4bbad
JM
231182012-02-18 Joseph Myers <joseph@codesourcery.com>
23119
23120 [BZ #5993]
23121 * manual/install.texi: Do not document upgrading from libc5.
23122
366842e7
JM
231232012-02-18 Joseph Myers <joseph@codesourcery.com>
23124
23125 [BZ #4596]
23126 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23127
dd54084d
DM
231282012-02-18 David S. Miller <davem@davemloft.net>
23129
23130 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23131 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23132 %o7 across the call.
23133 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23134 instead.
23135 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23136 SETUP_PIC_REG_LEAF.
23137 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23138 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23139 * sysdeps/sparc/crtn.S: Likewise.
23140
2bcc53a3
UD
231412012-02-17 Ulrich Drepper <drepper@gmail.com>
23142
23143 * aout/Makefile: Remove.
23144
09c093b5
RK
231452012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23146
23147 [BZ #13058]
23148 * manual/examples/argp-ex1.c (main): Format definition in GNU
23149 style.
23150 * manual/examples/argp-ex2.c (main): Likewise.
23151 * manual/examples/argp-ex3.c (main): Likewise.
23152 * manual/examples/argp-ex4.c (main): Likewise.
23153 * manual/examples/longopt.c (main): Use new-style prototype
23154 definition.
23155 * manual/examples/strncat.c (main): Specify return type and use
23156 (void) for arguments.
23157 * manual/examples/subopt.c (main): Use char **argv argument.
23158
2ee633a2
JM
231592012-02-17 Joseph Myers <joseph@codesourcery.com>
23160
23161 [BZ #5077]
23162 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23163 rounding modes.
23164
0520adde
FB
231652012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23166
23167 [BZ #6907]
23168 * manual/string.texi (strchr): Change when strchrnul is
23169 recommended.
23170
3f4081cd
DGM
231712012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23172
23173 [BZ #174]
23174 * manual/locale.texi (setlocale): Document LOCPATH.
23175
d1b10e78
JM
231762012-02-17 Joseph Myers <joseph@codesourcery.com>
23177
23178 [BZ #10210]
23179 * manual/process.texi (execle): Move @dots{} before last argument.
23180
79c6869c
PB
231812012-02-17 Paul Bolle <pebolle@tiscali.nl>
23182
23183 [BZ #12047]
23184 * manual/charset.texi (Generic Charset Conversion): Fix typo
23185 (LC_TYPE -> LC_CTYPE).
23186
cc6e48bc
NB
231872012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23188
23189 [BZ #5805]
23190 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23191 (scalbnf): Likewise.
23192 (scalbnl): Likewise.
23193 (scalbln): Likewise.
23194 (scalblnf): Likewise.
23195 (scalblnl): Likewise.
23196 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23197 (vwarnx): Likewise.
23198 (verr): Likewise.
23199 (verrx): Likewise.
23200 * manual/filesys.texi (telldir): Use braces around return type.
23201 * manual/llio.texi (mmap): Add space after comma.
23202 (mmap64): Likewise.
23203 * manual/math.texi (jn): Use @var{} on parameter names.
23204 (jnf): Likewise.
23205 (jnl): Likewise.
23206 (yn): Likewise.
23207 (ynf): Likewise.
23208 (ynl): Likewise.
23209 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23210 line.
23211 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23212 "...".
23213 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23214 (sched_get_priority_max): Likewise.
23215 * manual/signal.texi (sigvec): Add space after comma.
23216 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23217 names.
23218 (if_indextoname): Likewise.
23219 (if_freenameindex): Likewise.
23220 (sendto): Use ',' instead of '.' in prototype.
23221 * manual/startup.texi (syscall): Use @dots{} instead of literal
23222 "...".
23223 * manual/stdio.texi (__fpending): Separate initial words of
23224 paragraph from @deftypefun line.
23225 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23226 "...".
23227 (vsyslog): Use @var{} on parameter names.
23228 * manual/terminal.texi (stty): Use @var{} on parameter names.
23229 * manual/users.texi (getutmp): Use @var{} on parameter names.
23230 (getutmpx): Likewise.
23231
5b23062f
JM
232322012-02-17 Joseph Myers <joseph@codesourcery.com>
23233
23234 [BZ #6884]
23235 * manual/stdio.texi (fopen): Fix typos in description of
23236 ",ccs=STRING".
23237
8dee4833
AJ
232382012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23239
23240 [BZ #4026]
23241 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23242 get clock_id definition.
23243
9078ce93
TS
232442012-02-17 Thomas Schwinge <thomas@schwinge.name>
23245
23246 [BZ #4822]
23247 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23248 (madvise): Cast every argument to void on its own.
23249
3835c55f
JM
232502012-02-17 Joseph Myers <joseph@codesourcery.com>
23251
23252 [BZ #9902]
23253 * manual/startup.texi (Exit Status): Fix typo.
23254
35c47e37
JM
232552012-02-17 Joseph Myers <joseph@codesourcery.com>
23256
23257 [BZ #10140]
23258 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23259 * manual/examples/argp-ex2.c: Likewise.
23260 * manual/examples/argp-ex3.c: Likewise.
23261
e3b69ca7
RH
232622012-02-16 Richard Henderson <rth@redhat.com>
23263
23264 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23265 * sysdeps/s390/s390-32/initfini.c: Remove.
23266 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23267 * sysdeps/s390/s390-64/initfini.c: Remove.
23268
df83af67
KK
232692012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23270
23271 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23272 compiler output for sysdeps/generic/initfini.c.
23273 * sysdeps/sh/elf/initfini.c: Remove file.
23274
f63f3380
DM
232752012-02-16 David S. Miller <davem@davemloft.net>
23276
fb59b3a4
DM
23277 [BZ #11494]
23278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23279
f63f3380
DM
23280 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23281 * sysdeps/sparc/crti.S: New file.
23282 * sysdeps/sparc/crtn.S: New file.
23283 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23284 * sysdeps/sparc/sparc64/Makefile: Likewise.
23285
df6a4a4a
MF
232862012-02-15 Mike Frysinger <vapier@gentoo.org>
23287
6dd8f3dc 23288 [BZ #3335]
df6a4a4a
MF
23289 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23290
1cac7236
RM
232912012-02-15 Roland McGrath <roland@hack.frob.com>
23292
d2c736f8
RM
23293 [BZ #4822]
23294 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23295
1cac7236
RM
23296 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23297 (write, read, close): Likewise.
23298 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23299
8e475601
JM
233002012-02-15 Joseph Myers <joseph@codesourcery.com>
23301
23302 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23303 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23304 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23305 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23306 <bits/signalfd.h>.
23307 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23309 bits/signalfd.h.
23310
ed656b40
MP
233112012-02-14 Marek Polacek <polacek@redhat.com>
23312
23313 * sysdeps/x86_64/crti.S: New file.
23314 * sysdeps/x86_64/crtn.S: New file.
23315 * sysdeps/x86_64/elf/initfini.c: Remove file.
23316
2a979d3a
JM
233172012-02-13 Joseph Myers <joseph@codesourcery.com>
23318
23319 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23320 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23321 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23322 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23323 <bits/inotify.h>.
23324 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23326 bits/inotify.h.
23327
2a418ac3
JM
233282012-02-13 Joseph Myers <joseph@codesourcery.com>
23329
23330 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23331 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23332 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23333 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23334 <bits/eventfd.h>.
23335 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23337 bits/eventfd.h.
23338
fb779be7
TS
233392012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23340
e19e83c5
RM
23341 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23342 __feraiseexcept instead of feraiseexcept.
7c35ffed 23343
fb779be7
TS
23344 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23345 nanosleep invocations.
23346 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23347 strings, and add error checking for a nanosleep invocations.
23348
59ba27a6
PE
233492012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23350
23351 Replace FSF snail mail address with URLs, as per GNU coding standards.
23352 Most of the snail mail addresses were wrong anyway, and omitting
23353 them makes the source code easier to maintain. Almost all of the
23354 changes are to license notices and to locale LC_IDENTIFICATION
23355 addresses, except for this one:
23356 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23357 not its snail mail address.
23358
57b957eb
RH
233592012-02-09 Richard Henderson <rth@twiddle.net>
23360
af850b1c
RH
23361 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23362 of kernel-features.h.
23363
57b957eb
RH
23364 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23365
6b73181a
MP
233662012-02-08 Marek Polacek <polacek@redhat.com>
23367
23368 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23369 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23370 * sysdeps/gnu/_G_config.h: Likewise.
23371 * sysdeps/generic/_G_config.h: Likewise.
23372
26ecc33a
AS
233732012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23374
6c6dbc63
AS
23375 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23376 tests.
23377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23378
e216c012
AS
23379 * sysdeps/powerpc/powerpc32/crti.S: New file.
23380 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23381 * sysdeps/powerpc/powerpc64/crti.S: New file.
23382 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23383
26ecc33a
AS
23384 * Makeconfig (have-initfini): Don't set.
23385 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23386 * configure.in (nopic_initfini): Don't substitute.
23387 * config.h.in (HAVE_INITFINI): Don't #undef.
23388 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23389 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23390
3add8e13
JM
233912012-02-08 Joseph Myers <joseph@codesourcery.com>
23392
23393 Support crti.S and crtn.S provided directly by architectures.
23394 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23395 [crti.S in sysdirs] (omit-deps): Likewise.
23396 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23397 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23398 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23399 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23400 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23401 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23402 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23403 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23404 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23405 compiler output for sysdeps/generic/initfini.c.
23406 * sysdeps/i386/elf/Makefile: Remove file.
23407 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23408
a22f12b4
MP
234092012-02-07 Marek Polacek <polacek@redhat.com>
23410
23411 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23412 * sysdeps/gnu/_G_config.h: Likewise.
23413 * sysdeps/mach/hurd/_G_config.h: Likewise.
23414
148cf100
MP
234152012-02-07 Marek Polacek <polacek@redhat.com>
23416
23417 * math/Makefile (tests): Add tst-CMPLX2.
23418 * math/tst-CMPLX2.c: New file.
23419
cfdc0dd7
AS
234202012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23421
84ba42c4
AS
23422 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23423
cfdc0dd7
AS
23424 * math/libm-test.inc (jn_test): Add missing L suffix.
23425
622c86f4
MP
234262012-02-06 Marek Polacek <polacek@redhat.com>
23427
23428 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23429 * sysdeps/i386/fpu/e_powf.S: Likewise.
23430 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23431 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23432 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23433 * sysdeps/i386/fpu/e_pow.S: Likewise.
23434 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23435 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23436 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23437 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23438 * sysdeps/i386/fpu/e_log2.S: Likewise.
23439 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23440 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23441 * sysdeps/i386/fpu/e_powl.S: Likewise.
23442 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23443 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23444 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23445 * sysdeps/i386/fpu/e_logl.S: Likewise.
23446 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23447 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23448 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23449 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23450 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23451 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23452 * sysdeps/i386/fpu/e_log.S: Likewise.
23453 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23454 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23455 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23456 * sysdeps/i386/fpu/e_logf.S: Likewise.
23457 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23458 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23459 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23460 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23461 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23462 * sysdeps/i386/fpu/e_log10.S: Likewise.
23463 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23464 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23465 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23466 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23467 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23468 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23469 * sysdeps/i386/asm-syntax.h: Likewise.
23470 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23471 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23472 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23473 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23474 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23475 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23476 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23477 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23478 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23479 * sysdeps/powerpc/sysdep.h: Likewise.
23480 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23481 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23482
d4a54ac6
JM
234832012-02-06 Joseph Myers <joseph@codesourcery.com>
23484
23485 [BZ #411]
23486 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23487
314054ea
JM
234882012-02-06 Joseph Myers <joseph@codesourcery.com>
23489
23490 * sysdeps/i386/sysdep.h: Include <features.h>.
23491 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23492 version.
23493
d8e0ca50
JM
234942012-02-05 Joseph Myers <joseph@codesourcery.com>
23495
23496 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23497 Define.
23498 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23499 LOAD_PIC_REG_STR.
23500
b1da7dd9
JM
235012012-02-03 Joseph Myers <joseph@codesourcery.com>
23502
23503 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23504 (SETUP_PIC_REG): Use GET_PC_THUNK.
23505 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23506 macro.
23507
9a1d9254
JM
235082012-02-03 Joseph Myers <joseph@codesourcery.com>
23509
23510 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23511 for non-PIC compilation.
23512 (SETUP_PIC_REG): Add .p2align directive.
23513 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23514 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23515 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23516 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23517 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23518 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23519 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23521 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23522 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23523 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23524 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23525 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23526 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23527 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23528 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23529 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23530 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23531 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23532 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23533 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23534 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23535 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23536 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23537 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23539 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23540 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23541 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23542 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23543 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23544 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23545 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23546 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23547 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23548 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23549 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23550 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23551 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23552 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23553 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23554
65dc3b75
JM
235552012-02-03 Joseph Myers <joseph@codesourcery.com>
23556
23557 * math/tst-CMPLX.c: Include <stdio.h>.
23558
d55bf177
JM
235592012-01-31 Joseph Myers <joseph@codesourcery.com>
23560
23561 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23562 float.
23563 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23564 * sysdeps/sparc/bits/mathdef.h: Likewise.
23565
69db4f8f
MP
235662012-01-31 Marek Polacek <polacek@redhat.com>
23567
23568 * libio/libio.h: Don't define _PARAMS.
23569 * locale/programs/config.h: Don't define PARAMS.
23570 * stdlib/strtol_l.c: Likewise.
23571 (__strtol_l): Remove PARAMS from the prototype.
23572
41b81892
UD
235732012-01-31 Ulrich Drepper <drepper@gmail.com>
23574
3b49edc0
UD
23575 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23576 names. Just use the correct names. Remove unnecessary wrapper
23577 functions.
23578 * malloc/arena.c: Likewise.
23579 * malloc/hooks.c: Likewise.
23580
41b81892
UD
23581 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23582 ARENA_TEST says not to. Simplify test for creation of a new arena.
23583 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23584
27a25b6e
UD
235852012-01-30 Ulrich Drepper <drepper@gmail.com>
23586
23587 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23588 into tail calls.
23589 (update_get_addr): New function.
23590 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23591 GET_ADDR_MODULE parameter.
23592
c8a89e7d
JM
235932012-01-30 Joseph Myers <joseph@codesourcery.com>
23594
23595 * crypt/cert.c: Remove __STDC__ conditionals.
23596 * crypt/crypt-entry.c: Likewise.
23597 * crypt/crypt_util.c: Likewise.
23598 * libio/filedoalloc.c: Likewise.
23599 * libio/fileops.c: Likewise.
23600 * libio/genops.c: Likewise.
23601 * libio/iofclose.c: Likewise.
23602 * libio/iofdopen.c: Likewise.
23603 * libio/iofopen.c: Likewise.
23604 * libio/iofopen64.c: Likewise.
23605 * libio/iogetdelim.c: Likewise.
23606 * libio/iopopen.c: Likewise.
23607 * libio/obprintf.c: Likewise.
23608 * libio/oldfileops.c: Likewise.
23609 * libio/oldiofclose.c: Likewise.
23610 * libio/oldiofdopen.c: Likewise.
23611 * libio/oldiofopen.c: Likewise.
23612 * libio/oldiopopen.c: Likewise.
23613 * libio/wfiledoalloc.c: Likewise.
23614 * libio/wgenops.c: Likewise.
23615 * locale/programs/xmalloc.c: Likewise.
23616 * misc/syslog.c: Likewise.
23617 * stdio-common/xbug.c: Likewise.
23618 * string/memchr.c: Likewise.
23619 * string/memcmp.c: Likewise.
23620 * string/memrchr.c: Likewise.
23621 * string/rawmemchr.c: Likewise.
23622 * sysdeps/posix/getcwd.c: Likewise.
23623 * time/strftime_l.c: Likewise.
23624
3b100462
JM
236252012-01-30 Joseph Myers <joseph@codesourcery.com>
23626
23627 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
23628 * config.make.in (config-cflags-sse2avx): Define.
23629 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23630 Fix typo.
23631
607998af
CM
236322012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23633
23634 * scripts/config.guess: Update from upstream config git repository.
23635 * scripts/config.sub: Likewise.
23636
3601428f
CM
236372012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23638
3ac8b282
CM
23639 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23640 (EM_NUM): Update.
23641 (R_TILEPRO_*, R_TILEGX_*): New macros.
23642
e034841e
CM
23643 * scripts/firstversions.awk: Fix bug in version range handling.
23644
540d7568
CM
23645 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23646
3601428f
CM
23647 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23648
463de862
CM
23649 * include/sys/epoll.h: New file.
23650 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23651 libc_hidden_def.
23652
73139a76
UD
236532012-01-28 Ulrich Drepper <drepper@gmail.com>
23654
96bc5b45
UD
23655 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23656 Avoid unnecessary __WORDSIZE == 64 test.
23657 (fmaxf): Use VEX format if possible.
23658 (fmax): Likewise.
23659 (fminf): Likewise.
23660 (fmin): Likewise.
23661
56f6f6a2
UD
23662 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23663 * math/math_private.h: Remove libc_fegetround* and
23664 libc_fesetround*.
23665 * sysdeps/i386/configure.in: Check for -msse2avx.
23666 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23667 also if SSE2AVX is defined.
23668 Remove libc_fegetround* and libc_fesetround*.
23669 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23670 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23671 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23672 of HAS_YMM_USABLE.
23673 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23674 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23675 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23676 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23677 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23678
73139a76
UD
23679 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23680
d73f93a4
AZ
236812012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23682
23683 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23684 size is not set.
23685 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23686
6ee65ed6
UD
236872012-01-27 Ulrich Drepper <drepper@gmail.com>
23688
23689 [BZ #13618]
23690 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23691 relocation.
23692 * Makeconfig (libm): Define.
23693 * elf/Makefile: Add rules to build and run tst-relsort1.
23694 * elf/tst-relsort1.c: New file.
23695 * elf/tst-relsort1mod1.c: New file.
23696 * elf/tst-relsort1mod2.c: New file.
23697
8db21882
JM
236982012-01-27 Joseph Myers <joseph@codesourcery.com>
23699
23700 * math/s_ldexp.c: Remove __STDC__ conditionals.
23701 * math/s_ldexpf.c: Likewise.
23702 * math/s_ldexpl.c: Likewise.
23703 * math/s_nextafter.c: Likewise.
23704 * math/s_nexttowardf.c: Likewise.
23705 * math/s_significand.c: Likewise.
23706 * math/s_significandf.c: Likewise.
23707 * math/s_significandl.c: Likewise.
23708 * math/w_jnl.c: Likewise.
23709 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23710 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23711 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23712 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23713 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23714 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23715 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23716 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23717 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23718 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23719 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23720 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23721 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23723 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23724 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23725 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23726 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23728 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23729 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23730 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23731 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23732 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23733 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23734 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23735 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23736 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23737 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23738 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23739 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23740 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23741 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23742 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23743 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23744 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23745 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23746 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23747 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23748 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23749 * sysdeps/ieee754/k_standard.c: Likewise.
23750 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23751 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23752 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23753 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23754 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23755 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23756 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23757 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23758 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23759 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23760 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23761 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23762 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23763 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23764 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23765 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23766 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23767 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23768 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23769 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23770 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23771 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23772 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23773 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23774 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23775 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23776 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23777 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23779 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23780 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23781 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23782 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23783 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23784 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23785 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23786 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23787 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23788 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23789 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23790 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23792 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23793 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23794 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23795 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23796 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23797 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23798 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23799 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23800 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23801 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23802 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23803 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23804 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23805 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23806 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23807 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23808 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23809 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23810 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23811 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23812 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23813 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23814 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23815 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23816 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23817 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23818 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23819 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23820 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23821 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23822 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23823 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23824 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23825 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23826 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23827 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23828 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23829 * sysdeps/ieee754/s_matherr.c: Likewise.
23830 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23831 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23833 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23834
965a54a4
JM
238352012-01-26 Joseph Myers <joseph@codesourcery.com>
23836
23837 * crypt/md5.h: Remove __STDC__ conditionals.
23838 * libio/libioP.h: Likewise.
23839 * locale/programs/config.h: Likewise.
23840 * sysdeps/generic/sysdep.h: Likewise.
23841 * sysdeps/i386/asm-syntax.h: Likewise.
23842 * sysdeps/s390/asm-syntax.h: Likewise.
23843 * sysdeps/unix/sysdep.h: Likewise.
23844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23846
7071ad79
JM
238472012-01-26 Joseph Myers <joseph@codesourcery.com>
23848
23849 * libio/libio.h: Remove __STDC__ conditionals.
23850 * malloc/obstack.h: Likewise.
23851 * math/complex.h: Likewise.
23852 * math/math.h: Likewise.
23853 * sysdeps/generic/_G_config.h: Likewise.
23854 * sysdeps/gnu/_G_config.h: Likewise.
23855 * sysdeps/mach/hurd/_G_config.h: Likewise.
23856 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23857 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23858 * sysdeps/sparc/bits/mathdef.h: Likewise.
23859
afc5ed09
UD
238602012-01-26 Ulrich Drepper <drepper@gmail.com>
23861
23862 [BZ #13583]
23863 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 23864 Clean up HAS_* macros.
afc5ed09 23865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
23866 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23867 possible.
23868 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23869 HAS_AVX.
23870 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23871 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23872 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23873 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23874 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 23875
bdb6de1d
JM
238762012-01-25 Joseph Myers <joseph@codesourcery.com>
23877
23878 * elf/tst-unique3.cc (gets): Remove declaration.
23879 * elf/tst-unique3lib.cc (gets): Likewise.
23880 * elf/tst-unique3lib2.cc (gets): Likewise.
23881 * elf/tst-unique4.cc (gets): Likewise.
23882
b15549e6
UD
238832012-01-24 Ulrich Drepper <drepper@gmail.com>
23884
23885 * include/stdio.h: Add C++ protection. Add gets declarations and
23886 definitions.
23887 * debug/tst-chk1.c: Don't declare gets here.
23888 * stdio-common/tst-gets.c: Likewise.
23889
a037381f
JM
238902012-01-24 Joseph Myers <joseph@codesourcery.com>
23891
23892 * posix/glob: Remove directory.
23893
f1d4aa75
JM
238942012-01-24 Joseph Myers <joseph@codesourcery.com>
23895
23896 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23897
81c0c964
PT
238982012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23899
23900 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23901 of the non-standard EPFNOSUPPORT.
23902
0ea698ae
ST
239032011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23904
23905 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23906 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23907 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23908
d220b117
UD
239092012-01-21 Ulrich Drepper <drepper@gmail.com>
23910
23911 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23912
3e1aa84e
UD
239132012-01-20 Ulrich Drepper <drepper@gmail.com>
23914
23915 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23916 transient errors.
23917 * nscd/grpcache.c (cache_addgr): Likewise.
23918 * nscd/hstcache.c (cache_addhst): Likewise.
23919 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23920 * nscd/pwdcache.c (cache_addpw): Likewise.
23921 * nscd/servicescache.c (cache_addserv): Likewise.
23922
400aa020
UD
239232012-01-16 Ulrich Drepper <drepper@gmail.com>
23924
d77e7869
UD
23925 * malloc/malloc.c: Various cleanups.
23926 * malloc/hooks.c: Likewise.
23927
400aa020
UD
23928 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23929 * stdlib/bug-fmtmsg1.c: New file.
23930
23931 * stdlib/fmtmsg.c (init): Add missing unlock.
23932 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23933
e0a309cf
MP
239342012-01-12 Marek Polacek <polacek@redhat.com>
23935
23936 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23937 and _GNU_SOURCE.
23938
929d11c7
WS
239392012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23940
23941 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23942 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23943 macro to ensure uniqueness of label name.
23944 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23945 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23946
41d0e869
UD
239472012-01-11 Ulrich Drepper <drepper@gmail.com>
23948
0cc5ed3b
UD
23949 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23950
41d0e869
UD
23951 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23952 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23953 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23954 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23955
a47a831a
UD
239562012-01-10 Ulrich Drepper <drepper@gmail.com>
23957
daa891c0
UD
23958 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23959
23960 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23961 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23962 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23963
e58ef0f2
UD
23964 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23965
a47a831a 23966 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
23967 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23968 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 23969 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
23970
23971 * math/bits/math-finite.h: Add ldexp support.
23972
a0bfc9c7
MP
239732012-01-10 Marek Polacek <polacek@redhat.com>
23974
23975 * locale/programs/localedef.h (show_archive_content): Add noreturn
23976 attribute.
23977
d6e97a1d
UD
239782012-01-09 Ulrich Drepper <drepper@gmail.com>
23979
23980 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23981
d5835c26
UD
239822012-01-08 Ulrich Drepper <drepper@gmail.com>
23983
e5f484c6
UD
23984 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23985
d5835c26
UD
23986 * io/Makefile (headers): Add bits/poll2.h.
23987
d1f741e9
WS
239882011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23989
23990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23991 typo #include statement.
23992
ec09c1c4
UD
239932012-01-08 Ulrich Drepper <drepper@gmail.com>
23994
23995 * include/sys/cdefs.h: Define __attribute_alloc_size.
23996 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23997 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23998 * elf/pldd.c: Likewise.
23999 * iconv/iconv_charmap.c: Likewise.
24000 * iconv/iconvconfig.c: Likewise.
24001 * iconv/strtab.c: Likewise.
24002 * locale/programs/locale.c: Likewise.
24003 * locale/programs/localedef.h: Likewise.
24004 * locale/programs/simple-hash.c: Likewise.
24005 * nscd/nscd.h: Likewise.
24006 * nss/makedb.c: Likewise.
24007 * sysdeps/generic/ldconfig.h: Likewise.
24008 * locale/programs/localedef.c: Remove xmalloc prototype.
24009 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24010
20b38e03
PP
240112012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24012
24013 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24014 appropriate.
24015
a0da5fe1
UD
240162012-01-08 Ulrich Drepper <drepper@gmail.com>
24017
1d5a644a 24018 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24019 * math/tst-CMPLX.c: New file.
1d5a644a 24020
8784a6db
UD
24021 * math/complex.h (CMPLXL): Fix typo.
24022
d9a216c0
UD
24023 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24024 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24025 GLIBC_2.16.
24026 * debug/tst-chk1.c: Add poll and ppoll tests.
24027 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24028 * include/sys/poll.h: Add hidden proto for ppoll.
24029 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24030 * sysdeps/mach/hurd/ppoll.c: Likewise.
24031 * io/ppoll.c: Likewise.
24032 * debug/poll_chk.c: New file.
24033 * debug/ppoll_chk.c: New file.
24034 * include/bits/poll2.h: New file.
24035 * io/bits/poll2.h: New file.
24036
ac097f5c
UD
24037 [BZ #1350]
24038 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24039
2119dcfa
UD
24040 * configure.in: static is always set to yes. Remove.
24041 * config.make.in: Don't set build-static.
24042 * Makeconfig: Remove use of build-static.
24043 * dlfcn/Makefile: Likewise.
24044 * elf/Makefile: Likewise.
24045 * math/Makefile: Likewise.
24046 * misc/Makefile: Likewise.
24047 * nptl/Makefile: Likewise.
24048 * sysdeps/mach/hurd/Makefile: Likewise.
24049
121766a9
UD
24050 * configure.in: PWD_P is not used anymore.
24051 * config.make.in: Remove PWD_P entry.
24052
51a1d39c 24053 * configure.in: Remove last remnants of RANLIB.
8720d066 24054 No need to check for signed size_t anymore.
215f4bdc
UD
24055 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24056 and IA-64.
3857022a 24057 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24058 * aclocal.m4: Likewise.
24059
d3ed7225
UD
24060 * wcsmbs/mbrtoc16.c: Implement using towc function.
24061 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24062 * wcsmbs/wcsmbsload.c: Likewise.
24063 * iconv/gconv_simple.c: Likewise.
24064 * iconv/gconv_int.h: Likewise.
24065 * iconv/gconv_builtin.h: Likewise.
24066 * iconv/iconv_prog.c: Remove CHAR16 handling.
24067
24068 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24069
24070 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24071
a0da5fe1
UD
24072 * configure.in: Remove --with-elf and --enable-bounded options.
24073 Dont set base_machine for ia64. More non-ELF conditions removed.
24074 Remove testing and setting of leading underscore information.
24075 * config.make.in (build-bounded): Set to no.
24076 * config.h.in: Remove NO_UNDERSCORES entry.
24077 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24078 them.
24079 * csu/start.c: Remove !NO_UNDERSCORE code.
24080 * locale/localeinfo.h: Likewise.
24081 * sysdeps/generic/machine-gmon.h: Likewise.
24082 * sysdeps/generic/sysdep.h: Likewise.
24083 * sysdeps/i386/sysdep.h: Likewise.
24084 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24085 * sysdeps/mach/sysdep.h: Likewise.
24086 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24087 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24088 * sysdeps/sh/sysdep.h: Likewise.
24089 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24090 * sysdeps/unix/i386/sysdep.S: Likewise.
24091 * sysdeps/unix/sparc/start.c: Likewise.
24092 * sysdeps/unix/sparc/sysdep.S: Likewise.
24093 * sysdeps/unix/sparc/sysdep.h: Likewise.
24094 * sysdeps/unix/start.c: Likewise.
24095 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24096 * sysdeps/x86_64/sysdep.h: Likewise.
24097
df78418a
UD
240982012-01-07 Ulrich Drepper <drepper@gmail.com>
24099
a784e502
UD
24100 [BZ #13553]
24101 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24102 for non-gcc.
24103 * argp/argp-fmtstream.h: Use const instead __const.
24104 * argp/argp.h: Likewise.
24105 * assert/assert.h: Likewise.
24106 * bits/fenv.h: Likewise.
24107 * bits/sched.h: Likewise.
24108 * bits/sigset.h: Likewise.
24109 * bits/sigthread.h: Likewise.
24110 * catgets/nl_types.h: Likewise.
24111 * conform/data/pthread.h-data: Likewise.
24112 * crypt/crypt-private.h: Likewise.
24113 * crypt/crypt.h: Likewise.
24114 * crypt/crypt_util.c: Likewise.
24115 * ctype/ctype.h: Likewise.
24116 * debug/execinfo.h: Likewise.
24117 * debug/mbsnrtowcs_chk.c: Likewise.
24118 * debug/mbsrtowcs_chk.c: Likewise.
24119 * debug/wcsnrtombs_chk.c: Likewise.
24120 * debug/wcsrtombs_chk.c: Likewise.
24121 * debug/wcstombs_chk.c: Likewise.
24122 * dirent/dirent.h: Likewise.
24123 * dlfcn/dlfcn.h: Likewise.
24124 * elf/neededtest4.c: Likewise.
24125 * grp/grp.h: Likewise.
24126 * gshadow/gshadow.h: Likewise.
24127 * iconv/gconv.h: Likewise.
24128 * iconv/gconv_int.h: Likewise.
24129 * iconv/gconv_simple.c: Likewise.
24130 * iconv/iconv.h: Likewise.
24131 * iconv/loop.c: Likewise.
24132 * iconv/skeleton.c: Likewise.
24133 * include/aio.h: Likewise.
24134 * include/aliases.h: Likewise.
24135 * include/argz.h: Likewise.
24136 * include/arpa/inet.h: Likewise.
24137 * include/assert.h: Likewise.
24138 * include/dirent.h: Likewise.
24139 * include/dlfcn.h: Likewise.
24140 * include/execinfo.h: Likewise.
24141 * include/fcntl.h: Likewise.
24142 * include/fenv.h: Likewise.
24143 * include/glob.h: Likewise.
24144 * include/grp.h: Likewise.
24145 * include/libintl.h: Likewise.
24146 * include/mntent.h: Likewise.
24147 * include/netdb.h: Likewise.
24148 * include/pwd.h: Likewise.
24149 * include/rpc/netdb.h: Likewise.
24150 * include/sched.h: Likewise.
24151 * include/search.h: Likewise.
24152 * include/shadow.h: Likewise.
24153 * include/signal.h: Likewise.
24154 * include/stdio.h: Likewise.
24155 * include/stdlib.h: Likewise.
24156 * include/string.h: Likewise.
24157 * include/sys/socket.h: Likewise.
24158 * include/sys/stat.h: Likewise.
24159 * include/sys/statfs.h: Likewise.
24160 * include/sys/statvfs.h: Likewise.
24161 * include/sys/syslog.h: Likewise.
24162 * include/sys/time.h: Likewise.
24163 * include/sys/uio.h: Likewise.
24164 * include/time.h: Likewise.
24165 * include/unistd.h: Likewise.
24166 * include/utmp.h: Likewise.
24167 * include/wchar.h: Likewise.
24168 * include/wctype.h: Likewise.
24169 * inet/aliases.h: Likewise.
24170 * inet/arpa/inet.h: Likewise.
24171 * inet/netinet/ether.h: Likewise.
24172 * inet/netinet/in.h: Likewise.
24173 * intl/libintl.h: Likewise.
24174 * io/bits/fcntl2.h: Likewise.
24175 * io/fcntl.h: Likewise.
24176 * io/ftw.h: Likewise.
24177 * io/sys/poll.h: Likewise.
24178 * io/sys/stat.h: Likewise.
24179 * io/sys/statfs.h: Likewise.
24180 * io/sys/statvfs.h: Likewise.
24181 * io/utime.h: Likewise.
24182 * libio/bits/stdio.h: Likewise.
24183 * libio/bits/stdio2.h: Likewise.
24184 * libio/libio.h: Likewise.
24185 * libio/libioP.h: Likewise.
24186 * libio/stdio.h: Likewise.
24187 * locale/lc-ctype.c: Likewise.
24188 * locale/locale.h: Likewise.
24189 * login/utmp.h: Likewise.
24190 * malloc/arena.c: Likewise.
24191 * malloc/malloc.c: Likewise.
24192 * malloc/malloc.h: Likewise.
24193 * malloc/mcheck.c: Likewise.
24194 * malloc/mtrace.c: Likewise.
24195 * math/bits/mathcalls.h: Likewise.
24196 * math/fenv.h: Likewise.
24197 * math/math_private.h: Likewise.
24198 * misc/bits/error.h: Likewise.
24199 * misc/bits/syslog.h: Likewise.
24200 * misc/err.h: Likewise.
24201 * misc/error.h: Likewise.
24202 * misc/fstab.h: Likewise.
24203 * misc/mntent.h: Likewise.
24204 * misc/regexp.h: Likewise.
24205 * misc/search.h: Likewise.
24206 * misc/sgtty.h: Likewise.
24207 * misc/sys/mman.h: Likewise.
24208 * misc/sys/syslog.h: Likewise.
24209 * misc/sys/uio.h: Likewise.
24210 * misc/sys/xattr.h: Likewise.
24211 * misc/ttyent.h: Likewise.
24212 * nis/rpcsvc/ypclnt.h: Likewise.
24213 * nss/nss.h: Likewise.
24214 * posix/bits/unistd.h: Likewise.
24215 * posix/fnmatch.h: Likewise.
24216 * posix/glob.h: Likewise.
24217 * posix/sched.h: Likewise.
24218 * posix/spawn.h: Likewise.
24219 * posix/sys/wait.h: Likewise.
24220 * posix/unistd.h: Likewise.
24221 * posix/wordexp.h: Likewise.
24222 * pwd/pwd.h: Likewise.
24223 * resolv/netdb.h: Likewise.
24224 * resource/sys/resource.h: Likewise.
24225 * rt/aio.h: Likewise.
24226 * rt/bits/mqueue2.h: Likewise.
24227 * rt/mqueue.h: Likewise.
24228 * shadow/shadow.h: Likewise.
24229 * signal/signal.h: Likewise.
24230 * socket/send.c: Likewise.
24231 * socket/sendto.c: Likewise.
24232 * socket/sys/socket.h: Likewise.
24233 * stdio-common/printf.h: Likewise.
24234 * stdlib/bits/stdlib.h: Likewise.
24235 * stdlib/fmtmsg.h: Likewise.
24236 * stdlib/monetary.h: Likewise.
24237 * stdlib/stdlib.h: Likewise.
24238 * stdlib/ucontext.h: Likewise.
24239 * streams/stropts.h: Likewise.
24240 * string/argz.h: Likewise.
24241 * string/bits/string2.h: Likewise.
24242 * string/string.h: Likewise.
24243 * string/strings.h: Likewise.
24244 * sunrpc/rpc/auth.h: Likewise.
24245 * sunrpc/rpc/auth_des.h: Likewise.
24246 * sunrpc/rpc/clnt.h: Likewise.
24247 * sunrpc/rpc/netdb.h: Likewise.
24248 * sunrpc/rpc/pmap_clnt.h: Likewise.
24249 * sunrpc/rpc/xdr.h: Likewise.
24250 * sysdeps/generic/inttypes.h: Likewise.
24251 * sysdeps/generic/net/if.h: Likewise.
24252 * sysdeps/generic/sys/swap.h: Likewise.
24253 * sysdeps/gnu/net/if.h: Likewise.
24254 * sysdeps/gnu/utmpx.h: Likewise.
24255 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24256 * sysdeps/i386/i486/bits/string.h: Likewise.
24257 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24258 * sysdeps/s390/bits/string.h: Likewise.
24259 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24260 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24261 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24262 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24263 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24264 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24265 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24266 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24267 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24268 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24269 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24270 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24271 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24272 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24273 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24274 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24275 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24276 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24277 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24278 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24279 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24280 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24281 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24282 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24283 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24284 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24285 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24286 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24287 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24288 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24289 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24290 * sysvipc/sys/ipc.h: Likewise.
24291 * sysvipc/sys/msg.h: Likewise.
24292 * sysvipc/sys/sem.h: Likewise.
24293 * sysvipc/sys/shm.h: Likewise.
24294 * termios/termios.h: Likewise.
24295 * time/sys/time.h: Likewise.
24296 * time/time.h: Likewise.
24297 * wcsmbs/bits/wchar2.h: Likewise.
24298 * wcsmbs/uchar.h: Likewise.
24299 * wcsmbs/wchar.h: Likewise.
24300 * wctype/wctype.h: Likewise.
24301
0269750c
UD
24302 [BZ #13551]
24303 * Makeconfig: Remove all but ELF support including AIX support.
24304 * Makerules: Likewise.
24305 * config.h.in: Likewise.
24306 * config.make.in: Likewise.
24307 * configure: Likewise.
24308 * configure.in: Likewise.
24309 * csu/Makefile: Likewise.
24310 * csu/version.c: Likewise.
24311 * debug/Makefile: Likewise.
24312 * dlfcn/Makefile: Likewise.
24313 * elf/Makefile: Likewise.
24314 * extra-lib.mk: Likewise.
24315 * iconv/Makefile: Likewise.
24316 * include/libc-symbols.h: Likewise.
24317 * include/shlib-compat.h: Likewise.
24318 * resolv/Makefile: Likewise.
24319 * resolv/res_libc.c: Likewise.
24320 * rt/Makefile: Likewise.
24321 * sysdeps/i386/asm-syntax.h: Likewise.
24322 * sysdeps/i386/sysdep.h: Likewise.
24323 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24324 * sysdeps/mach/sysdep.h: Likewise.
24325 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24326 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24327 * sysdeps/s390/asm-syntax.h: Likewise.
24328 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24329 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24330 * sysdeps/sh/sysdep.h: Likewise.
24331 * sysdeps/unix/sparc/sysdep.h: Likewise.
24332 * sysdeps/wordsize-32/divdi3.c: Likewise.
24333 * sysdeps/x86_64/sysdep.h: Likewise.
24334
00bbd29b
UD
24335 * argp/Versions: Remove _argp_unlock_xxx.
24336
24337 [BZ #13559]
24338 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24339 * abilist/libBrokenLocale.abilist: Likewise.
24340 * abilist/libanl.abilist: Likewise.
24341 * abilist/libc.abilist: Likewise.
24342 * abilist/libcrypt.abilist: Likewise.
24343 * abilist/libdl.abilist: Likewise.
24344 * abilist/libm.abilist: Likewise.
24345 * abilist/libnsl.abilist: Likewise.
24346 * abilist/libpthread.abilist: Likewise.
24347 * abilist/libresolv.abilist: Likewise.
24348 * abilist/librt.abilist: Likewise.
24349 * abilist/libthread_db.abilist: Likewise.
24350 * abilist/libutil.abilist: Likewise.
24351 * abilist/libnss_db.abilist: New file.
24352
24353 * scripts/abilist.awk: Add support for indirect functions.
24354
a2693a0e
UD
24355 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24356
3f05895f
UD
24357 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24358
ecb6fb48
UD
24359 * shlib-versions: Remove entries for ports architectures.
24360
664f8cb9
UD
24361 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24362 files in ports.
24363 * elf/stackguard-macros.h: Remove support for IA-64.
24364 * elf/tst-auditmod1.c: Likewise.
24365 * sysdeps/generic/ldsodefs.h: Likewise.
24366
7ae81d88
UD
24367 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24368 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24369 configure files.
24370
bdeba135
UD
24371 [BZ #13552]
24372 * configure.in: Remove --enable-omitfp support.
24373 * FAQ.in: Adjust.
24374 * config.make.in: Likewise.
24375 * Makeconfig: Likewise.
24376 * manual/install.texi: Likewise.
24377
d75a0a62
UD
24378 In case anyone cares, the IA-64 architecture could move to ports.
24379 * sysdeps/ia64/*: Removed.
24380 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24381 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24382
dcc9756b
UD
24383 [BZ #13555]
24384 * configure.in: Remove entries for unsupported architectures.
24385
d3761ebc 24386 [BZ #13533]
9954432e
UD
24387 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24388 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24389 routines.
24390 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24391 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24392 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24393 fall back to using wcrtomb.
24394 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24395 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24396 renaming.
24397 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24398 * wcsmbs/tst-c16c32-1.c: New file.
24399
24400 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24401 local variable.
24402
c3a87236
UD
24403 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24404
28926a1b
UD
24405 * elf/tst-unique3.cc: Add explicit declaration of gets.
24406 * elf/tst-unique3lib.cc: Likewise.
24407 * elf/tst-unique3lib2.cc: Likewise.
24408 * elf/tst-unique4.cc: Likewise.
24409
df78418a
UD
24410 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24411
8ecd6b2a
JM
244122012-01-06 Joseph Myers <joseph@codesourcery.com>
24413
24414 [BZ #13566]
24415 * assert/assert.h (static_assert): Don't define for C++.
24416 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24417 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24418
9f115170
UD
244192012-01-03 Ulrich Drepper <drepper@gmail.com>
24420
5e0d0300
UD
24421 * iconv/loop.c (single loop): Fix assertion in storing of
24422 remaining bytes.
24423
9f115170
UD
24424 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24425
81fb02b0
UD
244262012-01-01 Ulrich Drepper <drepper@gmail.com>
24427
24428 * posix/getconf.c: Update copyright year.
24429 * nss/getent.c: Likewise.
a316c1f6 24430 * nss/makedb.c: Likewise.
81fb02b0
UD
24431 * iconv/iconvconfig.c: Likewise.
24432 * iconv/iconv_prog.c: Likewise.
24433 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24434 * elf/pldd.c: Likewise.
24435 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24436 * catgets/gencat.c: Likewise.
24437 * csu/version.c: Likewise.
24438 * elf/ldd.bash.in: Likewise.
24439 * elf/sprof.c (print_version): Likewise.
24440 * locale/programs/locale.c: Likewise.
24441 * locale/programs/localedef.c: Likewise.
a316c1f6 24442 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24443 * nscd/nscd.c (print_version): Likewise.
24444 * debug/xtrace.sh: Likewise.
24445 * malloc/memusage.sh: Likewise.
24446 * malloc/mtrace.pl: Likewise.
24447 * debug/catchsegv.sh: Likewise.
24448
2ba92745
JJ
244492011-12-30 Jakub Jelinek <jakub@redhat.com>
24450
24451 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24452 pure attribute.
24453
dadebdae
UD
244542011-12-24 Ulrich Drepper <drepper@gmail.com>
24455
d3761ebc 24456 [BZ #13533]
db6af3eb
UD
24457 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24458 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24459 transformations.
24460 * iconv/gconv_int.h: Likewise.
24461 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24462 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24463 from libc for GLIBC_2.16.
24464 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24465 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24466 * wcsmbs/uchar.h: Really define mbstate_t.
24467 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24468 * wcsmbs/c16rtomb.c: New file.
24469 * wcsmbs/mbrtoc16.c: New file.
24470 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24471 for C/POSIX locale.
24472 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24473 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24474
dadebdae
UD
24475 * wcsmbs/wchar.h: Add missing __restrict.
24476
67371b56
UD
244772011-12-23 Ulrich Drepper <drepper@gmail.com>
24478
74033a25
UD
24479 [BZ #13532]
24480 * time/Makefile (routines): Add timespec_get.
24481 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24482 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24483 timespec for ISO C11.
24484 * time/timespec_get.c: New file.
24485 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24486 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24487
380d7e87
UD
24488 [BZ #13531]
24489 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24490 * stdlib/stdlib.h: Declare aligned_alloc.
24491 * Versions.def: Add GLIBC_2.16 for libc.
24492 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24493
4e9e7a35
UD
24494 [BZ 13527]
24495 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24496 ISO C11.
24497
380d7e87 24498 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24499 code.
24500
03a71829
UD
24501 [BZ #13528]
24502 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24503
839e283e
UD
24504 [BZ #13529]
24505 * assert/assert.h (static_assert): Define.
24506
ce5294e2 24507 * version.h: Update for 2.16 development version.
90fa7312 24508
8d44e150 24509 [BZ #13526]
d7809905
UD
24510 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24511 _ISOC11_SOURCE.
24512
c0da14cd
UD
24513 * version.h (RELEASE): Bump for 2.15 release.
24514 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24515
530a3249
MP
24516 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24517 Patch by Marek Polacek <mpolacek@redhat.com>.
24518
67371b56
UD
24519 * bits/byteswap.h: Protect long long constants with __extension__.
24520 * sysdeps/i386/bits/byteswap.h: Likewise.
24521 * sysdeps/ia64/bits/byteswap.h: Likewise.
24522 * sysdeps/s390/bits/byteswap.h: Likewise.
24523 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24524
15db4de1
LD
245252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24526
24527 [BZ #13540]
bbe315ea
LD
24528 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24529 destination buffer.
15db4de1
LD
24530 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24531
2b2596b1
MP
245322011-12-23 Marek Polacek <polacek@redhat.com>
24533
24534 * elf/dl-addr.c (determine_info): Add inline keyword.
24535 * elf/tst-auditmod4b.c (check_avx): Likewise.
24536 * elf/tst-auditmod6b.c (check_avx): Likewise.
24537 * elf/tst-auditmod6c.c (check_avx): Likewise.
24538 * elf/tst-auditmod7b.c (check_avx): Likewise.
24539
70c6c246
UD
245402011-12-23 Ulrich Drepper <drepper@gmail.com>
24541
24542 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24543 !__SSE_MATH__.
24544
c044cf14
LD
245452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24546
15db4de1 24547 [BZ #13540]
c044cf14
LD
24548 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24549 processing for last bytes.
24550
6b13d9d9
BH
245512011-08-06 Bruno Haible <bruno@clisp.org>
24552
d455f537
BH
24553 [BZ #13061]
24554 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24555 U+0385, not to U+1FEE.
24556
6b13d9d9
BH
24557 [BZ #13062]
24558 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24559 entry for U+00A5 U+0301.
24560
db910efd
UD
245612011-12-22 Ulrich Drepper <drepper@gmail.com>
24562
27deeafc
UD
24563 [BZ #13166]
24564 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24565 buffer for the output is too small.
24566
aed9d171
UD
24567 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24568 optimization.
24569
db910efd
UD
24570 [BZ #13185]
24571 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24572 SSE flags if possible.
24573
2bd779ae
LD
245742011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24575
e7f9dac3 24576 [BZ #13540]
2bd779ae
LD
24577 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24578 processing for last bytes.
24579
154bfc16
JM
245802011-12-22 Joseph Myers <joseph@codesourcery.com>
24581
24582 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24583 (syscall-list-default-options, syscall-list-default-condition)
24584 (syscall-list-includes): Define.
24585 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24586 list of ABIs and options and #if conditions for each ABI. Do not
24587 handle common syscalls between ABIs specially.
24588 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24589 Remove.
24590 (syscall-list-variants, syscall-list-32bit-options)
24591 (syscall-list-32bit-condition, syscall-list-64bit-options)
24592 (syscall-list-64bit-condition): Define.
24593 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24594 (syscall-list-variants, syscall-list-32bit-options)
24595 (syscall-list-32bit-condition, syscall-list-64bit-options)
24596 (syscall-list-64bit-condition): Define.
24597 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24598 Remove.
24599 (syscall-list-variants, syscall-list-32bit-options)
24600 (syscall-list-32bit-condition, syscall-list-64bit-options)
24601 (syscall-list-64bit-condition): Define.
24602 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24603 Remove.
24604 (syscall-list-variants, syscall-list-32bit-options)
24605 (syscall-list-32bit-condition, syscall-list-64bit-options)
24606 (syscall-list-64bit-condition): Define.
24607
21eaf3a5
UD
246082011-12-22 Ulrich Drepper <drepper@gmail.com>
24609
16c6f992
UD
24610 * locale/iso-639.def: Add brx entry.
24611
41043168
UD
24612 [BZ #13328]
24613 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24614 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24615
21eaf3a5
UD
24616 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24617 __feraiseexcept_renamed.
24618
e3a851a2
UD
246192011-12-21 Ulrich Drepper <drepper@gmail.com>
24620
4920765e
UD
24621 [BZ #13538]
24622 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24623 EPOLLET with unsigned values.
24624 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24625 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24626
e3a851a2
UD
24627 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24628 to large cancellation.
24629 * math/s_cacoshf.c: Likewise.
24630 * math/s_cacoshl.c: Likewise.
24631
b27e24b8
RK
246322011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24633
24634 [BZ #13305]
aebefeee 24635 [BZ #12786]
b27e24b8
RK
24636 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24637 * math/s_cacoshf.c: Likewise.
24638 * math/s_cacoshl.c: Likewise.
24639
ee190f67
UD
246402011-12-21 Ulrich Drepper <drepper@gmail.com>
24641
24642 [BZ #13439]
24643 * iconv/gconv.h: Define __GCONV_SWAP.
24644 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24645 * iconvdata/utf-16.c: Likewise.
24646 * iconvdata/utf-32.c: Likewise.
24647
707f25df
AS
246482011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24649
24650 [BZ #13524]
24651 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24652 numerator after shifting it by one limb.
24653
d2daaa1e
RÁE
246542011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24655
24656 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24657 under [__USE_EXTERN_INLINES].
24658
a4647e72
UD
246592011-12-17 Ulrich Drepper <drepper@gmail.com>
24660
24661 [BZ #13446]
24662 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24663
f0b264f1
AZ
246642011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24665
24666 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24667 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24668 optimized code.
24669 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24670 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24671 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24672 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24673 for strncasecmp/strncasecmp_l compilation.
24674 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24675 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24676
8ef4f244
MP
246772011-12-08 Marek Polacek <mpolacek@redhat.com>
24678
24679 [BZ #13484]
24680 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24681 of __asm__.
24682
97ac2654
UD
246832011-12-17 Ulrich Drepper <drepper@gmail.com>
24684
24685 [BZ #13506]
24686 * time/tzfile.c (__tzfile_read): Check values from file header.
24687
91d2a845
WS
246882011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24689
24690 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24691 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24692 * powerpc/powerpc32/dl-start.S: Likewise.
24693 * powerpc/powerpc32/elf/start.S: Likewise.
24694 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24695 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24696 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24697 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24698 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24699 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24700 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24701 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24702 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24703 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24704 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24705 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24706 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24707 * powerpc/powerpc32/memset.S: Likewise.
24708 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24709 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24710 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24711 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24712 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24713 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24714 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24715 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24716 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24717 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24718 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24719 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24720 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24721
a1267ba1
AZ
247222011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24723
24724 * math/libm-test.inc: Added more nearbyint tests.
24725 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24726 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24727 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24728 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24729
ad8ac1bd
RL
247302011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24731
24732 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24733 FD_CLOEXEC.
24734
1d3e4b61
UD
247352011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24736
24737 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24738 Add wcscpy-ssse3 wcscpy-c.
24739 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24740 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24741 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24742 * sysdeps/x86_64/wcschr.S: New file.
24743 * sysdeps/x86_64/wcsrchr.S: New file.
24744 * string/test-strcmp.c: Remove checking of wcscmp function for
24745 wrong alignments.
24746 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24747 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24748 wcsrchr-sse2 wcsrchr-c.
24749 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24750 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24751 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24752 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24753 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24754 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24755 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24756 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24757 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24758 * wcsmbc/wcschr.c (WCSCHR): New macro.
24759
5b330a2d
UD
247602011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24761
24762 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24763 * wcsmbs/test-wcsrchr.c: New file.
24764 * string/test-strrchr.c: Add wcsrchr support.
24765 (WIDE): New macro.
24766 * wcsmbs/test-wcscpy.c: New file.
24767 * string/test-strcpy.c: Add wcscpy support.
24768 (WIDE): New macro.
26428b7c 24769
f039c043
UD
247702011-12-10 Ulrich Drepper <drepper@gmail.com>
24771
24772 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24773 the inner loop.
24774
850fb039
AS
247752011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24776
24777 [BZ #13472]
24778 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24779
4efbd5cb
UD
247802011-12-04 Ulrich Drepper <drepper@gmail.com>
24781
52ff5dd0 24782 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 24783 Minor optimizations.
52ff5dd0 24784
4efbd5cb
UD
24785 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24786 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24787 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24788
8a426e12
UD
247892011-12-03 Ulrich Drepper <drepper@gmail.com>
24790
aff2453d
UD
24791 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24792 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24793 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24794 for gcc to avoid warnings.
24795 * inet/Makefile (tests): Add tst-checks.
24796 * inet/tst-checks.c: New file.
24797
24798 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24799 warning.
24800
24801 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24802 __wmemcmp_sse2.
24803
24804 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24805 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24806
8a426e12
UD
24807 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24808
9bea3473
UD
248092011-12-02 Ulrich Drepper <drepper@gmail.com>
24810
3a965496
UD
24811 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24812 problem.
24813
9bea3473
UD
24814 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24815
f101631b
UD
248162011-11-29 Joseph Myers <joseph@codesourcery.com>
24817
24818 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24819 conditional on GCC version.
24820 (__arch_compare_and_exchange_val_8_acq)
24821 (__arch_compare_and_exchange_val_16_acq)
24822 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24823 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24824 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24825
a98275aa
UD
248262011-12-02 Joseph Myers <joseph@codesourcery.com>
24827
24828 * sysdeps/sh/backtrace.c: New file.
24829
d4cc29a2
AS
248302011-12-02 Andreas Schwab <schwab@redhat.com>
24831
24832 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24833 parenthesis.
24834
6257af2d
AS
248352011-12-01 Andreas Schwab <schwab@redhat.com>
24836
24837 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24838 falling back to utime.
24839
b5f44c1a
AS
248402011-11-30 Andreas Schwab <schwab@redhat.com>
24841
24842 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24843 expectations for float.
24844
f3a6cc0a
AS
248452011-11-29 Andreas Schwab <schwab@redhat.com>
24846
24847 * locale/weight.h (findidx): Add parameter len.
24848 * locale/weightwc.h (findidx): Likewise.
24849 * posix/fnmatch_loop.c (FCT): Adjust caller.
24850 * posix/regcomp.c (build_equiv_class): Likewise.
24851 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24852 * posix/regexec.c (check_node_accept_bytes): Likewise.
24853 * string/strcoll_l.c (STRCOLL): Likewise.
24854 * string/strxfrm_l.c (STRXFRM): Likewise.
24855
9d65ea3a
UD
248562011-11-17 Ulrich Drepper <drepper@gmail.com>
24857
24858 * Makefile.in: Remove CVSOPT handling.
24859 * configure.in: Remove use of AC_REVISION.
24860 * iconvdata/Makefile (distribute): No need to filter out CVS.
24861 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24862 handling.
24863
5583a086
AS
248642011-11-16 Andreas Schwab <schwab@redhat.com>
24865
24866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24867 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24868 [USE_AS_STRNCASECMP_L]: Likewise.
24869 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24870 NO_TLS_DIRECT_SEG_REFS.
24871 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24872 Fix argument offsets for non-PIC.
24873 [USE_AS_STRNCASECMP_L]: Likewise.
24874 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24875 NO_TLS_DIRECT_SEG_REFS.
24876
d62a8200
UD
248772011-11-15 Ulrich Drepper <drepper@gmail.com>
24878
9d65ea3a 24879 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
24880 O_CLOEXEC.
24881 * locale/loadlocale.c (_nl_load_locale): Likewise.
24882
09f93bd3
AS
248832011-11-15 Andreas Schwab <schwab@redhat.com>
24884
446514f9
AS
24885 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24886 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24887 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24888 (SYSCALL_GETTIME): Set errno on error.
24889
09f93bd3
AS
24890 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24891 count references to noai6ai_cached.
24892
312be3f9
UD
248932011-11-15 Ulrich Drepper <drepper@gmail.com>
24894
24895 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24896
24897 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24898 FD_CLOEXEC for /proc/self/maps.
24899
24900 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24901 FD_CLOEXEC for /proc/meminfo.
24902
24903 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24904 gai.conf.
24905
24906 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24907 FD_CLOEXEC for given file.
24908
24909 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24910
24911 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24912 FD_CLOEXEC for /etc/hosts.
24913 (_gethtent): Likewise.
24914
24915 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24916
24917 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24918 cancellation and set FD_CLOEXEC for /etc/netgroup.
24919
24920 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24921 reading /etc/publickey.
24922
24923 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24924 allow cancellation when reading /etc/group.
24925
24926 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24927 cancellation.
24928 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24929
24930 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24931 when using data file.
24932
24933 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24934
24935 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24936 (write_nis_obj): Use "c" and "e" in fopen.
24937
24938 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24939
24940 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24941
24942 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24943
24944 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24945
24946 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24947 locale.alias.
24948
24949 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24950
24951 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24952
24953 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24954
24955 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24956 file parsing and set FD_CLOEXEC.
24957
82af0fa8
UD
249582011-11-14 Ulrich Drepper <drepper@gmail.com>
24959
24960 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24961
a5fb313c
AS
249622011-11-14 Andreas Schwab <schwab@redhat.com>
24963
24964 * malloc/arena.c (arena_get2): Don't call reused_arena when
24965 _int_new_arena failed.
24966
6abf3465
UD
249672011-11-14 Ulrich Drepper <drepper@gmail.com>
24968
24969 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24970 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24971 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24972 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24973 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24974 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24975 to compile strcasecmp and strncasecmp.
24976 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24977 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24978
24979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24980
76e3966e
UD
249812011-11-13 Ulrich Drepper <drepper@gmail.com>
24982
24983 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24984 locale-defines.sym to gen-as-const-headers.
24985 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24986 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24987 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24988 to compile strcasecmp and strncasecmp.
24989 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24990 strcasecmp_l and strncasecmp_l.
24991 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24992 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24993 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24994 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24995 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24996 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24997 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24998 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24999 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25000 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25001 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25002
ab26144e
UD
250032011-11-12 Ulrich Drepper <drepper@gmail.com>
25004
7edb22ef
UD
25005 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25006 result of SYSDEP_GETTIME_CPU to retval.
25007 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25008 parameter list to macro. Remove trailing semicolon. Adjust users.
25009
9694fc44
UD
25010 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25011 variable.
25012
8ad89ef8
UD
25013 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25014 mantissa words.
25015 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25016
0c822ef9
UD
25017 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25018 from unused variable.
25019
874e0564
UD
25020 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25021 DWARF definitions.
25022 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25023 for assembling.
25024
3a2edc79
UD
25025 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25026 over namespaces.
25027
f3c2577f
UD
25028 * sunrpc/rpc_prot.c (rejected): Fix case value.
25029
294ce126
UD
25030 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25031 unsigned long long int to avoid warnings in shift.
25032
5e2b63c6
UD
25033 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25034 of use of trans.
25035 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25036 variable tmp.
25037
e7f4b08e
UD
25038 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25039 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25040 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25041
ab26144e
UD
25042 * nis/nis_table.c (nis_list): Use variable of correct type for
25043 result of __follow_path call.
25044
8a6d5255
AZ
250452011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25046
25047 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25048 of math functions ceil, trunc, floor, round, and sqrt, when
25049 avaliable on the platform.
25050 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25051 name clash.
25052 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25053 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25054 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25055
aaddc98c
MP
250562011-10-30 Marek Polacek <mpolacek@redhat.com>
25057
25058 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25059 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25060
95b7042b
RM
250612011-11-11 Roland McGrath <roland@hack.frob.com>
25062
25063 * include/unistd.h: Fix __readlink return type.
25064 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25065
57769839
UD
250662011-11-11 Ulrich Drepper <drepper@gmail.com>
25067
25068 * stdlib/ucontext.h: Undo last change for makecontext.
25069
edc5984d
AS
250702011-11-11 Andreas Schwab <schwab@redhat.com>
25071
98591e58
AS
25072 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25073
edc5984d
AS
25074 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25075 * setjmp/setjmp.h: Mark functions as non-leaf.
25076 * setjmp/bits/setjmp2.h: Likewise.
25077 * stdlib/ucontext.h: Likewise.
25078
77cdc054
AS
250792011-11-10 Andreas Schwab <schwab@redhat.com>
25080
25081 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25082 (reused_arena): Don't check arena limit.
25083 (arena_get2): Atomically check arena limit.
25084
fe72eebd
UD
250852011-11-08 Ulrich Drepper <drepper@gmail.com>
25086
5f078c32
UD
25087 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25088 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25089
fe72eebd
UD
25090 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25091 instructions.
25092
ae1bc2fa
AS
250932011-11-07 Andreas Schwab <schwab@redhat.com>
25094
7583a88d
AS
25095 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25096 handler when locking.
25097
ae1bc2fa
AS
25098 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25099 Fix size of allocated buffer.
25100
10fb0bfa
AS
251012011-11-04 Andreas Schwab <schwab@redhat.com>
25102
998832a4
AS
25103 [BZ #10103]
25104 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25105 declarations for long double functions.
25106 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25107
10fb0bfa
AS
25108 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25109
3d7ba52b
AS
251102011-11-03 Andreas Schwab <schwab@redhat.com>
25111
a9ae54a1
AS
25112 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25113 installed.
25114
3d7ba52b
AS
25115 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25116 is disabled.
25117
bc8db248
ST
251182011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25119
25120 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25121
45b96dd6
AS
251222011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25123
647776f6
AS
25124 * include/alloca.h (stackinfo_alloca_round): Define.
25125 (extend_alloca): Use it.
25126 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25127 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25128 here.
25129
d91a8b93
AS
25130 * scripts/check-local-headers.sh: Ignore libaudit.h.
25131
45b96dd6
AS
25132 * nscd/Makefile (extra-objs): Make recursively expanded.
25133
432d41ce
UD
251342011-11-01 Ulrich Drepper <drepper@gmail.com>
25135
34372fc6
UD
25136 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25137 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25138
fadb59f8
UD
25139 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25140 * posix/tst-rfc3484-2.c: Likewise.
25141 * posix/tst-rfc3484-3.c: Likewise.
25142
78239589
UD
25143 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25144 process_vm_writev.
25145 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25146 process_vm_writev.
25147 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25148 process_vm_writev from libc using GLIBC_2.15 version.
25149
432d41ce
UD
25150 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25151
02f9c6cf
PP
251522011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25153
25154 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25155 stack usage.
25156
3a2c0242
UD
251572011-10-31 Ulrich Drepper <drepper@gmail.com>
25158
f4ec4833
UD
25159 [BZ #13367]
25160 * nss/getent.c (initgroups_keys): Show error message in case no group
25161 names are given.
25162
3a2c0242
UD
25163 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25164 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25165 __bump_nl_timestamp.
25166 * nscd/connections (nscd_init): When host database is served open
25167 netlink socket and request notification about configuration changes.
25168 (main_loop_poll): Track netlink file descriptor and bump timestamp
25169 in case data becomes available.
25170 (main_loop_epoll): Likewise.
25171 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25172 (database_pers_head): Add extra_data fileds.
25173 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25174 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25175 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25176 Adjust caller.
25177 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25178 in6ai data, call __free_in6ai.
25179 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25180 Add -DHAVE_NETLINK.
25181 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25182 interface information. Reuse previous data if netlink timestamp
25183 is not changed.
25184 (__bump_nl_timestamp): New function.
25185 (__free_in6ai): New function.
25186
636064eb
UD
251872011-10-30 Ulrich Drepper <drepper@gmail.com>
25188
25189 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25190 close_not_cancel_no_status here.
25191 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25192
9beb2334
UD
251932011-10-29 Ulrich Drepper <drepper@gmail.com>
25194
6ef76f3b
UD
25195 [BZ #13276]
25196 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25197 return value.
25198
0ffc4f3e 25199 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25200 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25201 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25202
cb95113e
UD
252032011-07-03 Andreas Jaeger <aj@suse.de>
25204
25205 [BZ #10709]
25206 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25207 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25208 * math/libm-test.inc (sin_test): Add test case.
25209
a1b560ff
UD
252102011-10-29 Ulrich Drepper <drepper@gmail.com>
25211
c9aaface
UD
25212 [BZ #13337]
25213 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25214 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25215
d272e7f1
UD
25216 * elf/chroot_canon.c (chroot_canon): Cleanups.
25217
1bc33071
UD
25218 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25219
1760874d
TJ
25220 [BZ #13335]
25221 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25222 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25223
51d91b18
UD
25224 * string/test-strchr.c: Make usable for strchrnul testing.
25225 * string/test-strchrnul.c: New file.
25226 * string/Makefile (strop-tests): Add strchrnul.
25227
a1b560ff 25228 * po/it.po: Update from translation team.
b611fb81 25229 * po/es.po: Likewise.
a1b560ff 25230
a5b81e1f
UD
252312011-10-28 Ulrich Drepper <drepper@gmail.com>
25232
fd52bc6d
UD
25233 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25234 the three constants needed as parameters. Drop the others.
25235 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25236 __m128i_strloadu_tolower.
52e4b9eb
UD
25237 Create and initialize variable zero and use it in all the places
25238 where _mm_setzero_si128 was used.
fd52bc6d 25239
a5b81e1f
UD
25240 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25241 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25242 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25243 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25244 anymore.
25245 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25246 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25247 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25248 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25249 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25250 __mpranred, __mptan.
25251 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25252 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25253 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25254 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25255 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25256 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25257 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25258 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25259 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25260
b4343346
AS
252612011-10-28 Andreas Schwab <schwab@redhat.com>
25262
0c92d8a8
AS
25263 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25264 redefine if SHARED.
25265 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25266
b4343346
AS
25267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25268 wide char related routines to wcsmbs subdir.
25269
3871f58f
AS
252702011-10-27 Andreas Schwab <schwab@redhat.com>
25271
25272 [BZ #13344]
25273 * misc/sys/cdefs.h (__THROWNL): Define.
25274 * posix/unistd.h: Use __THREADNL instead of __THREAD
25275 for memory synchronization functions.
25276
94d44d9f
RM
252772011-10-26 Roland McGrath <roland@hack.frob.com>
25278
21b64b15 25279 [BZ #13349]
94d44d9f
RM
25280 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25281 doesn't exist.
25282 * manual/stdio.texi (Obstack Streams): Node removed.
25283
f6ce9294
AS
252842011-10-26 Andreas Schwab <schwab@redhat.com>
25285
80479147
AS
25286 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25287 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25288 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25289
f6ce9294
AS
25290 * math/math_private.h (math_force_eval): Allow non-addressable
25291 arguments.
25292 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25293
618280a1
UD
252942011-10-25 Ulrich Drepper <drepper@gmail.com>
25295
e0016b11
UD
25296 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25297 file is not needed.
25298
25299 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25300 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25301 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25302 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25303 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25304 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25305 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25306 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25307 Add AVX variants.
25308 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25309 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25310 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25311 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25312 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25313 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25314 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25315 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25316 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25317 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25318 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25319 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25320 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25321 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25322 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25323 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25324 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25325 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25326 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25327
25328 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25329 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25330
618280a1
UD
25331 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25332 place. Use VEX encoding when compiling for AVX.
25333
37822576
AS
253342011-10-25 Andreas Schwab <schwab@redhat.com>
25335
1f1e1947
AS
25336 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25337 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25338
37822576
AS
25339 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25340
31ea014d
UD
253412011-10-25 Ulrich Drepper <drepper@gmail.com>
25342
d7826aa1 25343 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25344 useless if() expression.
d7826aa1
UD
25345 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25346 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25347 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25348 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25349 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25350 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25351 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25352 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25353 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25354 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25355 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25356 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25357 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25358 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25359 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25360 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25361 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25362 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25363 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25364
31ea014d
UD
25365 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25366
16437fec
AS
253672011-10-25 Andreas Schwab <schwab@redhat.com>
25368
25369 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25370 condition.
25371 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25372
31d3cc00
UD
253732011-10-25 Ulrich Drepper <drepper@gmail.com>
25374
25375 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25376 .text section. Avoid duplicate constants.
25377 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25379 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25384 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25385 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25386 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25387 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25388 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25389 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25390 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25391 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25392 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25393 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25394 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25395 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25396 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25397 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25398 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25399 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25400 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25401 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25402 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25403 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25404 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25405 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25406 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25407 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25408 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25409 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25410 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25411 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25412 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25413 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25414 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25415 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25416 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25417 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25418 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25419 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25420 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25421 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25422
58985aa9
UD
254232011-10-24 Ulrich Drepper <drepper@gmail.com>
25424
202c9deb
UD
25425 * sysdeps/x86_64/dla.h: Move to ...
25426 * sysdeps/x86_64/fpu/dla.h: ...here.
25427 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25428 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25429
af968f62
UD
25430 * config.make.in: Add have-mfma4 entry.
25431 * configure.in: Substitute libc_cv_cc_fma4.
25432 * math/Makefile (dbl-only-routines): Add sincostab.
25433 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25434 Use __sincostab not sincos.
25435 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25436 name is a macro.
25437 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25440 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25441 using __copysign.
25442 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25443 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25444 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25445 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25446 and __inv.
25447 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25448 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25449 __copysign.
25450 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25451 define aliases when function name is a macro.
25452 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25453 sysdeps/ieee754/dbl-64/sincos.tbl.
25454 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25455 fma4-enabled routines.
25456 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25457 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25458 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25459 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25460 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25461 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25462 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25463 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25464 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25465 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25466 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25467 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25468 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25469 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25470 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25471 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25472 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25473 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25474 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25475 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25476 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25477 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25478 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25479 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25480 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25481 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25482 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25483 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25484 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25485 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25486
58985aa9
UD
25487 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25488 rename.
25489 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25497
a201fbcf
AS
254982011-10-24 Andreas Schwab <schwab@redhat.com>
25499
25500 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25501
fc2ee42a
LD
255022011-10-23 Ulrich Drepper <drepper@gmail.com>
25503
bb3129bd
UD
25504 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25505
0275fff8
UD
25506 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25507 prediction.
25508 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25509
2fa2ae85
UD
25510 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25511 Remove unused variable magic_bits.
25512 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25513
fc2ee42a
LD
25514 * string/strnlen.c: Define and use STRNLEN macro.
25515 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25516 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25517 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25518 * wcsmbs/wcslen.c: Define and use WCSLEN.
25519 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25520 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25521 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25522 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25523 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25524 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25525 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25526
ce7dd29f
LD
255272011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25528
25529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25530 strnlen-sse2-no-bsf.
25531 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25532 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25533 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25534 Add strnlen support.
25535 (USE_AS_STRNLEN): New macro.
25536 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25537 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25538 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25539 * sysdeps/x86_64/wcslen.S: New file.
25540
979c70a3
MZ
255412011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25542
25543 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25544 XMM-moves are used for copying on small sizes.
25545
2d09f82f
LD
255462011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25547
25548 * wcsmbs/Makefile (strop-tests): Add wcschr.
25549 * wcsmbs/test-wcschr.c: New file.
25550 * string/test-strchr.c: Update.
25551 Add wcschr support.
25552 (WIDE): New macro.
25553
619fccca
LD
255542011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25555
2d09f82f 25556 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
25557 * wcsmbs/test-wcslen.c: New file.
25558 * string/test-strlen.c: Update.
25559 Add wcslen support.
25560 (WIDE): New macro.
25561
09f699ea
UD
255622011-10-23 Ulrich Drepper <drepper@gmail.com>
25563
25564 * po/it.po: Update from translation team.
25565
95584d3b
LD
255662011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25567
25568 * sysdeps/x86_64/wcscmp.S: Update.
25569 Fix wrong comparison semantics.
25570 wcscmp shall use signed comparison not unsigned.
25571 Don't use substraction to avoid overflow bug.
25572 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25573 * wcsmbc/wcscmp.c: Likewise.
25574 * string/test-strcmp.c: Likewise.
25575 Add new tests to check cases with negative values.
25576
c8b3296b
UD
255772011-10-23 Ulrich Drepper <drepper@gmail.com>
25578
25579 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25580 * sysdeps/x86_64/dla.h: ...here. New file.
25581 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25582 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25583 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25588 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25589 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25590
246ad57a
AS
255912011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25592
25593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25594 __ynl_finite aliases.
25595
a1a87169
UD
255962011-10-22 Ulrich Drepper <drepper@gmail.com>
25597
0d355eb7
UD
25598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25599
a1a87169
UD
25600 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25601 define DLA_FMA.
25602 [DLA_FMA] (EMULV): Use DLA_FMA.
25603 [DLA_FMA] (MUL12): Use EMULV.
25604 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25605 that are not needed.
25606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25608 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25612 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25613
ee2aafe0
AS
256142011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25615
25616 * math/s_nan.c: Undef __nan.
25617 * math/s_nanf.c: Undef __nanf.
25618 * math/s_nanl.c: Undef __nanl.
25619 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25620 "math_private.h".
25621
bc62c2fb
UD
256222011-10-22 Ulrich Drepper <drepper@gmail.com>
25623
77425c63
UD
25624 * math/s_catan.c: Add branch predictions.
25625 * math/s_catanf.c: Likewise.
25626 * math/s_catanh.c: Likewise.
25627 * math/s_catanhf.c: Likewise.
25628 * math/s_catanhl.c: Likewise.
25629 * math/s_catanl.c: Likewise.
25630 * math/s_cexp.c: Likewise.
25631 * math/s_cexpf.c: Likewise.
25632 * math/s_cexpl.c: Likewise.
25633 * math/s_clog.c: Likewise.
25634 * math/s_clog10.c: Likewise.
25635 * math/s_clog10f.c: Likewise.
25636 * math/s_clog10l.c: Likewise.
25637 * math/s_clogf.c: Likewise.
25638 * math/s_clogl.c: Likewise.
25639 * math/s_csqrt.c: Likewise.
25640 * math/s_csqrtf.c: Likewise.
25641 * math/s_csqrtl.c: Likewise.
25642 * math/s_ctanf.c: Likewise.
25643 * math/s_ctanh.c: Likewise.
25644 * math/s_ctanhf.c: Likewise.
25645 * math/s_ctanhl.c: Likewise.
25646 * math/s_ctanl.c: Likewise.
25647
bc62c2fb
UD
25648 * math/math_private.h: Define __nan, __nanf, __nanl.
25649 * math/s_cacosh.c: Include <math_private.h>.
25650 * math/s_cacoshl.c: Likewise.
25651 * math/s_casinh.c: Likewise.
25652 * math/s_casinhf.c: Likewise.
25653 * math/s_casinhl.c: Likewise.
25654 * math/s_ccos.c: Rely entire on ccosh.
25655 * math/s_ccosf.c: Rely entire on ccoshf.
25656 * math/s_ccosl.c: Rely entirely on ccoshl.
25657 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25658 Remove tests for FE_INVALID.
25659 * math/s_ccoshf.c: Likewise.
25660 * math/s_ccoshl.c: Likewise.
25661 * math/s_csin.c: Likewise.
25662 * math/s_csinf.c: Likewise.
25663 * math/s_csinh.c Likewise.
25664 * math/s_csinhf.c: Likewise.
25665 * math/s_csinhl.c: Likewise.
25666 * math/s_csinl.c: Likewise.
25667 * math/s_ctan.c: Likewise.
25668 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25669 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25670 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25671
8ec250a4
UD
256722011-10-21 Ulrich Drepper <drepper@gmail.com>
25673
c196fed8
UD
25674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25675 compilation problems.
25676
8ec250a4
UD
25677 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25678 __builtin_expect.
25679
8d4f46c6
UD
256802011-10-20 Ulrich Drepper <drepper@gmail.com>
25681
ed72b654
UD
25682 * sysdeps/i386/configure.in: Test for -mfma4 option.
25683 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25684 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25685 COMMON_CPUID_INDEX_80000001.
25686 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25687 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25688 use it if FMA3 is not supported.
25689 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25690
8d4f46c6
UD
25691 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25692 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25693
d45c60c2
AS
256942011-10-20 Andreas Schwab <schwab@redhat.com>
25695
25696 [BZ #12892]
25697 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25698 it would create a cycle with a link time dependency.
25699
d9a4d2ab
UD
257002011-10-19 Ulrich Drepper <drepper@gmail.com>
25701
855d1560
UD
25702 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25703 instruction.
25704 * string/Makefile (strop-tests): Add rawmemchr.
25705 * string/test-rawmemchr.c: New file.
25706
d9a4d2ab
UD
25707 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25708 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25709 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25710 when compiling str{,n}casecmp and when AVX is available. Hook up
25711 new optimized code in initializers.
25712
8f3b1ffe
AS
257132011-10-19 Andreas Schwab <schwab@redhat.com>
25714
25715 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25716 __feraiseexcept instead of feraiseexcept.
25717
d38f1dba
UD
257182011-10-18 Ulrich Drepper <drepper@gmail.com>
25719
d9a8d0ab
UD
25720 * math/math_private.h: Define defaults for libc_fetestexcept and
25721 libc_feupdateenv.
25722 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25723 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25724 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25725 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25726 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25727 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25728 libc_fetestexcept and libc_feupdateenv.
25729
4855e3dd
UD
25730 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25731 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25732 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25733 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25734 libc_feholdexcept_setround.
25735
581d30e3
UD
25736 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25737 Add s_nearbyint-c and s_nearbyintf-c.
25738 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25739 nearbyintf inlines.
25740 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25741 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25742 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25743 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25744
d38f1dba
UD
25745 * math/math_private.h: Define defaults for libc_fegetround,
25746 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25747 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25748 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25749 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25750 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25751 standard functions.
25752 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25753 Remove comments and hacks for old compiler versions.
25754 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25755 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25756 libc_feholdexceptl.
25757
caa6c9d8
AS
257582011-10-18 Andreas Schwab <schwab@redhat.com>
25759
25760 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
25761 (__feraiseexcept_renamed): Add __NTH.
25762 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
25763 namespace violations.
25764
97c066e6
UD
257652011-10-17 Ulrich Drepper <drepper@gmail.com>
25766
99ce7b04
UD
25767 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25768
1004d182
UD
25769 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25770
228a984d
UD
25771 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25772 recently added interfaces.
25773 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25774
c8553a6a
UD
25775 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25776 about macro parameter expansion.
25777
ed22dcf6
UD
25778 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25779 __NO_MATH_INLINES is defined. Cleanups.
25780
25781 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25782 and __floorf is target has SSE4.1.
25783 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25784 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25785 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25786 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25787
b171c137
UD
25788 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25789 name.
25790 (floorf): Likewise.
25791
97c066e6
UD
25792 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25793
629f62ef
AS
257942011-10-17 Andreas Schwab <schwab@redhat.com>
25795
49a43d80
AS
25796 * misc/sys/cdefs.h: Fix last change.
25797
629f62ef
AS
25798 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25799 database lookup.
25800
e453f6cd
UD
258012011-10-16 Ulrich Drepper <drepper@gmail.com>
25802
aa78043a
UD
25803 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25804
ad0f5cad
UD
25805 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25806 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25807 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25808 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25809 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25810 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25811 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25812 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25813 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25814 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25815 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25816 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25817 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25818 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25819 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25820 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25821 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25822 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25823 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25824 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25825 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25826 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25827
25828 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25829 ceil, ceilf, floor, floorf.
25830
25831 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25832 Perform IRELATIVE relocations last.
25833
e453f6cd
UD
25834 * elf/do-rel.h: Add another parameter nrelative, replacing the
25835 local variable with the same name. Change name of the function
25836 to end in Rel or Rela (uppercase).
25837 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25838 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25839 elf_dynamic_do_##reloc function.
25840
fd5bdc09
UD
258412011-10-15 Ulrich Drepper <drepper@gmail.com>
25842
79b195b5
UD
25843 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25844 is sufficient, at least on modern CPUs.
25845
d4a28569
UD
25846 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25847
b61099b5
UD
25848 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25849 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25850
bcf01e6d
UD
25851 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25852 __expl_finite.
25853 * math/bits/math-finite.h: Add entries for exp.
25854 * math/e_expl.c: Add __*_finite alias.
25855 * sysdeps/i386/fpu/e_exp.S: Likewise.
25856 * sysdeps/i386/fpu/e_expf.S: Likewise.
25857 * sysdeps/i386/fpu/e_expl.c: Likewise.
25858 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25859 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25860 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25862 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25863 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25864 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25865
ba1a0d59
UD
25866 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25867 is sufficient, at least on modern CPUs.
25868
fd5bdc09
UD
25869 * ctype/ctype-info.c (__ctype_init): Define.
25870 * include/ctype.h (__ctype_init): Declare.
25871 (__ctype_b_loc): The variable is always initialized.
25872 (__ctype_toupper_loc): Likewise.
25873 (__ctype_tolower_loc): Likewise.
25874 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25875 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25876
7872cfb0
AS
258772011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25878
b468825a
AS
25879 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25880
7872cfb0
AS
25881 * configure.in: Also look in $cxxmachine/include for C++ system
25882 headers.
25883
be13f7bf
LD
258842011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25885
25886 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25887 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25888 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25889 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25890 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25891 (USE_AS_WMEMCMP): New macro.
25892 Fixing indents.
25893 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25894 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25895 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25896 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25898 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25899 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25900 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25901 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25902 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25903 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25904 (USE_AS_WMEMCMP): New macro.
25905 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25906 * sysdeps/string/test-memcmp.c: Update.
25907 Fix simple_wmemcmp.
25908 Add new tests.
25909 * wcsmbs/wmemcmp.c: Update.
25910 (WMEMCMP): New macro.
25911 Fix overflow bug.
25912
556a2007
AJ
259132011-10-12 Andreas Jaeger <aj@suse.de>
25914
25915 [BZ #13268]
25916 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25917
538faaa7
UD
259182011-10-15 Ulrich Drepper <drepper@gmail.com>
25919
ab6737ff
UD
25920 * libio/iofwide.c (do_length): Avoid warning.
25921
538faaa7
UD
25922 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25923
396a21b1
UD
259242011-10-14 Ulrich Drepper <drepper@gmail.com>
25925
cdf2901f
UD
25926 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25927
38ad40ce
UD
25928 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25929 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25930 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25931 * sysdeps/i386/i686/fpu/e_log.S: New file.
25932 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25933 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25934
396a21b1
UD
25935 * ctype/ctype.h: Add support for inlined isXXX functions when
25936 compiling C++ code.
25937
6b1f68c9
AS
259382011-10-14 Andreas Schwab <schwab@redhat.com>
25939
349290c0
AS
25940 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25941
6b1f68c9
AS
25942 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25943
f2282d42
RM
259442011-10-13 Roland McGrath <roland@hack.frob.com>
25945
25946 [BZ #13291]
25947 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25948
5298ffa8
AS
259492011-10-13 Andreas Schwab <schwab@redhat.com>
25950
714fad23
AS
25951 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25952 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25953 feraiseexcept.
25954
81dcc7fb
AS
25955 * sysdeps/x86_64/memrchr.S: Check for zero size.
25956
5298ffa8
AS
25957 * string/stratcliff.c: Add memrchr tests.
25958
951fbcec
LD
259592011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25960
25961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25962 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25963 rawmemchr-sse2 rawmemchr-sse2-bsf.
25964 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25965 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25966 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25967 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25968 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25969 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25970 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25971 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25972 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25973 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25974 * string/memrchr.c (MEMRCHR): New macro.
25975
0ac5ae23
UD
259762011-10-12 Ulrich Drepper <drepper@gmail.com>
25977
25978 Add integration with gcc's -ffinite-math-only and optimize wrapper
25979 functions in libm.
25980 * Versions.def: Define GLIBC_2.15 version for libm.
25981 * math/Makefile (headers): Add bits/math-finite.h.
25982 * math/bits/math-finite.h: New file.
25983 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25984 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25985 * math/e_acoshl.c: Add __*_finite alias.
25986 * math/e_acosl.c: Likewise.
25987 * math/e_asinl.c: Likewise.
25988 * math/e_atan2l.c: Likewise.
25989 * math/e_atanhl.c: Likewise.
25990 * math/e_coshl.c: Likewise.
25991 * math/e_exp10.c: Likewise.
25992 * math/e_exp10f.c: Likewise.
25993 * math/e_exp10l.c: Likewise.
25994 * math/e_exp2l.c: Likewise.
25995 * math/e_fmodl.c: Likewise.
25996 * math/e_gammal_r.c: Likewise.
25997 * math/e_hypotl.c: Likewise.
25998 * math/e_j0l.c: Likewise.
25999 * math/e_j1l.c: Likewise.
26000 * math/e_jnl.c: Likewise.
26001 * math/e_lgammal_r.c: Likewise.
26002 * math/e_log10l.c: Likewise.
26003 * math/e_log2l.c: Likewise.
26004 * math/e_logl.c: Likewise.
26005 * math/e_powl.c: Likewise.
26006 * math/e_sinhl.c: Likewise.
26007 * math/e_sqrtl.c: Likewise.
26008 * math/e_scalb.c: Completely rewritten and optimized.
26009 * math/e_scalbf.c: Likewise.
26010 * math/e_scalbl.c: Likewise.
26011 * math/w_acos.c: Likewise.
26012 * math/w_acosf.c: Likewise.
26013 * math/w_acosl.c: Likewise.
26014 * math/w_acosh.c: Likewise.
26015 * math/w_acoshf.c: Likewise.
26016 * math/w_acoshl.c: Likewise.
26017 * math/w_asin.c: Likewise.
26018 * math/w_asinf.c: Likewise.
26019 * math/w_asinl.c: Likewise.
26020 * math/w_atan2.c: Likewise.
26021 * math/w_atan2f.c: Likewise.
26022 * math/w_atan2l.c: Likewise.
26023 * math/w_atanh.c: Likewise.
26024 * math/w_atanhf.c: Likewise.
26025 * math/w_atanhl.c: Likewise.
26026 * math/w_exp10.c: Likewise.
26027 * math/w_exp10f.c: Likewise.
26028 * math/w_exp10l.c: Likewise.
26029 * math/w_fmod.c: Likewise.
26030 * math/w_fmodf.c: Likewise.
26031 * math/w_fmodl.c: Likewise.
26032 * math/w_j0.c: Likewise.
26033 * math/w_j0f.c: Likewise.
26034 * math/w_j0l.c: Likewise.
26035 * math/w_j1.c: Likewise.
26036 * math/w_j1f.c: Likewise.
26037 * math/w_j1l.c: Likewise.
26038 * math/w_jn.c: Likewise.
26039 * math/w_jnf.c: Likewise.
26040 * math/w_log.c: Likewise.
26041 * math/w_logf.c: Likewise.
26042 * math/w_logl.c: Likewise.
26043 * math/w_log10.c: Likewise.
26044 * math/w_log10f.c: Likewise.
26045 * math/w_log10l.c: Likewise.
26046 * math/w_log2.c: Likewise.
26047 * math/w_log2f.c: Likewise.
26048 * math/w_log2l.c: Likewise.
26049 * math/w_pow.c: Likewise.
26050 * math/w_powf.c: Likewise.
26051 * math/w_powl.c: Likewise.
26052 * math/w_remainder.c: Likewise.
26053 * math/w_remainderf.c: Likewise.
26054 * math/w_remainderl.c: Likewise.
26055 * math/w_scalb.c: Likewise.
26056 * math/w_scalbf.c: Likewise.
26057 * math/w_scalbl.c: Likewise.
26058 * math/w_sqrt.c: Likewise.
26059 * math/w_sqrtf.c: Likewise.
26060 * math/w_sqrtl.c: Likewise.
26061 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26062 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26063 used.
26064 * math/math_private.h: Declare __kernel_standard_f.
26065 * math/w_cosh.c: Remove cruft and optimize a bit.
26066 * math/w_coshf.c: Likewise.
26067 * math/w_coshl.c: Likewise.
26068 * math/w_exp2.c: Likewise.
26069 * math/w_exp2f.c: Likewise.
26070 * math/w_exp2l.c: Likewise.
26071 * math/w_hypot.c: Likewise.
26072 * math/w_hypotf.c: Likewise.
26073 * math/w_hypotl.c: Likewise.
26074 * math/w_lgamma.c: Likewise.
26075 * math/w_lgamma_r.c: Likewise.
26076 * math/w_lgammaf.c: Likewise.
26077 * math/w_lgammaf_r.c: Likewise.
26078 * math/w_lgammal.c: Likewise.
26079 * math/w_lgammal_r.c: Likewise.
26080 * math/w_sinh.c: Likewise.
26081 * math/w_sinhf.c: Likewise.
26082 * math/w_sinhl.c: Likewise.
26083 * math/w_tgamma.c: Likewise.
26084 * math/w_tgammaf.c: Likewise.
26085 * math/w_tgammal.c: Likewise.
26086 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26087 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26088 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26089 Minor optimizations. Pretty printing. Remove cruft.
26090 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26091 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26092 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26093 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26094 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26095 * sysdeps/i386/fpu/e_asin.S: Likewise.
26096 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26097 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26098 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26099 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26100 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26101 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26102 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26103 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26104 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26105 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26106 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26107 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26108 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26109 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26110 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26111 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26112 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26113 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26114 * sysdeps/i386/fpu/e_log.S: Likewise.
26115 * sysdeps/i386/fpu/e_log10.S: Likewise.
26116 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26117 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26118 * sysdeps/i386/fpu/e_log2.S: Likewise.
26119 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26120 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26121 * sysdeps/i386/fpu/e_logf.S: Likewise.
26122 * sysdeps/i386/fpu/e_logl.S: Likewise.
26123 * sysdeps/i386/fpu/e_pow.S: Likewise.
26124 * sysdeps/i386/fpu/e_powf.S: Likewise.
26125 * sysdeps/i386/fpu/e_powl.S: Likewise.
26126 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26127 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26128 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26129 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26130 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26131 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26132 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26133 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26134 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26135 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26136 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26138 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26139 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26140 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26141 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26142 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26143 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26144 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26145 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26146 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26148 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26149 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26150 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26151 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26152 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26153 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26155 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26156 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26157 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26158 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26159 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26160 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26161 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26162 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26163 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26164 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26165 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26166 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26167 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26168 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26169 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26170 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26171 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26172 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26173 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26174 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26175 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26176 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26177 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26178 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26179 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26180 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26181 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26182 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26183 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26184 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26185 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26186 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26187 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26188 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26189 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26190 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26191 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26192 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26193 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26194 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26195 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26196 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26197 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26198 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26199 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26200 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26201 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26203 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26204 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26205 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26206 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26207 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26208 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26209 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26210 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26211 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26212 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26213 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26214 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26215 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26216 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26217 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26218 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26219 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26220 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26221 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26222 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26223 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26224 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26225 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26226 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26227 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26228 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26229 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26230 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26231 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26232 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26233 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26234 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26235 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26236 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26237 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26238 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26239 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26240 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26241 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26242 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26243 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26244 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26245 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26246 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26247 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26248 (__isnanf): Likewise.
26249 (__isinf_ns): Likewise.
26250 (__isinf_nsf): Likewise.
26251 (__finite): Likewise.
26252 (__finitef): Likewise.
26253 (__ieee754_sqrt): Define as macro.
26254 (__ieee754_sqrtf): Define as macro.
26255 (__ieee754_sqrtl): Define as macro.
26256 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26257 inlined copy.
26258 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26259 __FINITE_MATH_ONLY__ consistent.
26260 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26261
12cc2fcd
AS
262622011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26263
a843a204
AS
26264 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26265 of rawmemchr.
26266
12cc2fcd
AS
26267 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26268
c853acd5
UD
262692011-10-09 Ulrich Drepper <drepper@gmail.com>
26270
26271 * po/ja.po: Update from translation team.
26272
c658d255
RM
262732011-10-08 Roland McGrath <roland@hack.frob.com>
26274
110946e4
RM
26275 * locale/programs/locarchive.c (prepare_address_space): New function.
26276 (create_archive, enlarge_archive, open_archive): Use it.
26277
50604220
RM
26278 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26279 inside [SHARED], where it is used.
26280
c658d255
RM
26281 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26282
26283 * nss/getent.c (netgroup_keys): Remove unused variable.
26284 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26285
6a621eb7
UD
262862011-10-08 Ulrich Drepper <drepper@gmail.com>
26287
7edb55ce
UD
26288 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26289 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26290 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26291 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26292 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26293 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26294 * math/Makefile (libm-calls): Add s_isinf_ns.
26295 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26296 * math/multc3.c: Likewise.
26297 * math/s_casin.c: Likewise.
26298 * math/s_casinf.c: Likewise.
26299 * math/s_casinl.c: Likewise.
26300 * math/s_ccos.c: Likewise.
26301 * math/s_ccosf.c: Likewise.
26302 * math/s_ccosl.c: Likewise.
26303 * math/s_ctan.c: Likewise.
26304 * math/s_ctanf.c: Likewise.
26305 * math/s_ctanh.c: Likewise.
26306 * math/s_ctanhf.c: Likewise.
26307 * math/s_ctanhl.c: Likewise.
26308 * math/s_ctanl.c: Likewise.
26309 * math/w_fmod.c: Likewise.
26310 * math/w_fmodf.c: Likewise.
26311 * math/w_fmodl.c: Likewise.
26312 * math/w_remainder.c: Likewise.
26313 * math/w_remainderf.c: Likewise.
26314 * math/w_remainderl.c: Likewise.
26315 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26316 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26317 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26319 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26320 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26321 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26322 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26323
187da0ae
UD
26324 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26325 of the number.
26326 * stdio-common/printf_fphex.c: Likewise.
26327 * stdio-common/printf_size.c: Likewise.
26328
9277c064
UD
26329 * math/e_exp10.c: Include math_private.h using <...> not "...".
26330 * math/e_exp10f.c: Likewise.
26331 * math/e_exp10l.c: Likewise.
26332 * math/e_exp2l.c: Likewise.
26333 * math/e_j0l.c: Likewise.
26334 * math/e_j1l.c: Likewise.
26335 * math/e_jnl.c: Likewise.
26336 * math/e_lgammal_r.c: Likewise.
26337 * math/e_rem_pio2l.c: Likewise.
26338 * math/e_scalb.c: Likewise.
26339 * math/e_scalbf.c: Likewise.
26340 * math/e_scalbl.c: Likewise.
26341 * math/k_cosl.c: Likewise.
26342 * math/k_sinl.c: Likewise.
26343 * math/k_tanl.c: Likewise.
26344 * math/s_cacoshf.c: Likewise.
26345 * math/s_catan.c: Likewise.
26346 * math/s_catanf.c: Likewise.
26347 * math/s_catanh.c: Likewise.
26348 * math/s_catanhf.c: Likewise.
26349 * math/s_catanhl.c: Likewise.
26350 * math/s_catanl.c: Likewise.
26351 * math/s_ccosh.c: Likewise.
26352 * math/s_ccoshf.c: Likewise.
26353 * math/s_ccoshl.c: Likewise.
26354 * math/s_cexp.c: Likewise.
26355 * math/s_cexpf.c: Likewise.
26356 * math/s_cexpl.c: Likewise.
26357 * math/s_clog.c: Likewise.
26358 * math/s_clog10.c: Likewise.
26359 * math/s_clog10f.c: Likewise.
26360 * math/s_clog10l.c: Likewise.
26361 * math/s_clogf.c: Likewise.
26362 * math/s_clogl.c: Likewise.
26363 * math/s_csin.c: Likewise.
26364 * math/s_csinf.c: Likewise.
26365 * math/s_csinh.c: Likewise.
26366 * math/s_csinhf.c: Likewise.
26367 * math/s_csinhl.c: Likewise.
26368 * math/s_csinl.c: Likewise.
26369 * math/s_csqrt.c: Likewise.
26370 * math/s_csqrtf.c: Likewise.
26371 * math/s_csqrtl.c: Likewise.
26372 * math/s_ctan.c: Likewise.
26373 * math/s_ctanf.c: Likewise.
26374 * math/s_ctanh.c: Likewise.
26375 * math/s_ctanhf.c: Likewise.
26376 * math/s_ctanhl.c: Likewise.
26377 * math/s_ctanl.c: Likewise.
26378 * math/s_ldexp.c: Likewise.
26379 * math/s_ldexpf.c: Likewise.
26380 * math/s_ldexpl.c: Likewise.
26381 * math/s_significand.c: Likewise.
26382 * math/s_significandf.c: Likewise.
26383 * math/s_significandl.c: Likewise.
26384 * math/w_acos.c: Likewise.
26385 * math/w_acosf.c: Likewise.
26386 * math/w_acosh.c: Likewise.
26387 * math/w_acoshf.c: Likewise.
26388 * math/w_acoshl.c: Likewise.
26389 * math/w_acosl.c: Likewise.
26390 * math/w_asin.c: Likewise.
26391 * math/w_asinf.c: Likewise.
26392 * math/w_asinl.c: Likewise.
26393 * math/w_atan2.c: Likewise.
26394 * math/w_atan2f.c: Likewise.
26395 * math/w_atan2l.c: Likewise.
26396 * math/w_atanh.c: Likewise.
26397 * math/w_atanhf.c: Likewise.
26398 * math/w_atanhl.c: Likewise.
26399 * math/w_cosh.c: Likewise.
26400 * math/w_coshf.c: Likewise.
26401 * math/w_coshl.c: Likewise.
26402 * math/w_dremf.c: Likewise.
26403 * math/w_exp10.c: Likewise.
26404 * math/w_exp10f.c: Likewise.
26405 * math/w_exp10l.c: Likewise.
26406 * math/w_exp2.c: Likewise.
26407 * math/w_exp2f.c: Likewise.
26408 * math/w_fmod.c: Likewise.
26409 * math/w_fmodf.c: Likewise.
26410 * math/w_fmodl.c: Likewise.
26411 * math/w_hypot.c: Likewise.
26412 * math/w_hypotf.c: Likewise.
26413 * math/w_hypotl.c: Likewise.
26414 * math/w_j0.c: Likewise.
26415 * math/w_j0f.c: Likewise.
26416 * math/w_j0l.c: Likewise.
26417 * math/w_j1.c: Likewise.
26418 * math/w_j1f.c: Likewise.
26419 * math/w_j1l.c: Likewise.
26420 * math/w_jn.c: Likewise.
26421 * math/w_jnf.c: Likewise.
26422 * math/w_jnl.c: Likewise.
26423 * math/w_lgamma.c: Likewise.
26424 * math/w_lgamma_r.c: Likewise.
26425 * math/w_lgammaf.c: Likewise.
26426 * math/w_lgammaf_r.c: Likewise.
26427 * math/w_lgammal.c: Likewise.
26428 * math/w_lgammal_r.c: Likewise.
26429 * math/w_log.c: Likewise.
26430 * math/w_log10.c: Likewise.
26431 * math/w_log10f.c: Likewise.
26432 * math/w_log10l.c: Likewise.
26433 * math/w_log2.c: Likewise.
26434 * math/w_log2f.c: Likewise.
26435 * math/w_log2l.c: Likewise.
26436 * math/w_logf.c: Likewise.
26437 * math/w_logl.c: Likewise.
26438 * math/w_pow.c: Likewise.
26439 * math/w_powf.c: Likewise.
26440 * math/w_powl.c: Likewise.
26441 * math/w_remainder.c: Likewise.
26442 * math/w_remainderf.c: Likewise.
26443 * math/w_remainderl.c: Likewise.
26444 * math/w_scalb.c: Likewise.
26445 * math/w_scalbf.c: Likewise.
26446 * math/w_scalbl.c: Likewise.
26447 * math/w_sinh.c: Likewise.
26448 * math/w_sinhf.c: Likewise.
26449 * math/w_sinhl.c: Likewise.
26450 * math/w_sqrt.c: Likewise.
26451 * math/w_sqrtf.c: Likewise.
26452 * math/w_sqrtl.c: Likewise.
26453 * math/w_tgamma.c: Likewise.
26454 * math/w_tgammaf.c: Likewise.
26455 * math/w_tgammal.c: Likewise.
26456
6a621eb7
UD
26457 * po/ja.po: Update from translation team.
26458
bf582445
AJ
264592011-09-29 Andreas Jaeger <aj@suse.de>
26460
f9efbf3a
AJ
26461 [BZ #13179]
26462 * sunrpc/netname.c (netname2host): Fix logic.
26463
bf582445
AJ
26464 [BZ #6779]
26465 [BZ #6783]
26466 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26467 correctly.
26468 * math/w_remainder.c (__remainder): Likewise.
26469 * math/w_remainderf.c (__remainderf): Likewise.
26470 * math/libm-test.inc (remainder_test): Add test cases.
26471
48693bea
AK
264722011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26473
26474 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26475 sdiv_qrnnd.
26476
42622229
LD
264772011-10-07 Ulrich Drepper <drepper@gmail.com>
26478
26479 * string/test-memcmp.c: Avoid unncessary #defines.
26480 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26481
093ecf92
LD
264822011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26483
26484 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26485 Use new sse2 version for core i3 - i7 as it's faster
26486 than sse42 version.
26487 (bit_Prefer_PMINUB_for_stringop): New.
26488 * sysdeps/x86_64/rawmemchr.S: Update.
26489 Replace with faster SSE2 version.
26490 * sysdeps/x86_64/memrchr.S: New file.
26491 * sysdeps/x86_64/memchr.S: Update.
26492 Replace with faster SSE2 version.
26493
fde56e5c
MP
264942011-09-12 Marek Polacek <mpolacek@redhat.com>
26495
26496 * elf/dl-load.c (lose): Add cast to avoid warning.
26497
21fd49a9
UD
264982011-10-07 Ulrich Drepper <drepper@gmail.com>
26499
5a06e643
UD
26500 * po/ca.po: Update from translation team.
26501
684ae515
UD
26502 * inet/getnetgrent_r.c: Hook up nscd.
26503 * nscd/Makefile (routines): Add nscd_netgroup.
26504 (nscd-modules): Add netgroupcache.
26505 (CFLAGS-netgroupcache.c): Define.
26506 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26507 (cache_search): Add const to second parameter.
26508 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26509 INNETGR.
26510 (dbs): Add netgrdb entry.
26511 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26512 (verify_persistent_db): Handle netgrdb.
26513 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26514 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26515 GETFDNETGR.
26516 (netgroup_response_header): Define.
26517 (innetgroup_response_header): Define.
26518 (datahead): Add netgroup_response_header and innetgroup_response_header
26519 elements.
26520 * nscd/nscd.conf: Add entries for netgroup cache.
26521 * nscd/nscd.h (dbtype): Add netgrdb.
26522 (_PATH_NSCD_NETGROUP_DB): Define.
26523 (netgroup_iov_disabled): Declare.
26524 (xmalloc, xcalloc, xrealloc): Move declarations here.
26525 (cache_search): Adjust prototype.
26526 Add netgroup-related prototypes.
26527 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26528 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26529 (__nscd_innetgr): Declare.
26530 * nscd/selinux.c (perms): Use access_vector_t as element type and
26531 add netgroup-related initializers.
26532 * nscd/netgroupcache.c: New file.
26533 * nscd/nscd_netgroup.c: New file.
26534 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26535 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26536 For four parameters use innetgr.
26537 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26538 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26539 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26540 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26541
21fd49a9
UD
26542 * nscd/connections.c (register_traced_file): Don't register file
26543 for disabled databases.
26544
054c0457
UD
265452011-10-06 Ulrich Drepper <drepper@gmail.com>
26546
32b63198
UD
26547 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26548
054c0457
UD
26549 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26550 from tree and freeing node.
26551
64031225
JO
265522011-09-25 Jiri Olsa <jolsa@redhat.com>
26553
26554 * nss/nsswitch.c (__nss_database_lookup): Handle
26555 nss_parse_service_list out of memory case.
26556
0490345c
JO
265572011-09-15 Jiri Olsa <jolsa@redhat.com>
26558
26559 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26560 out of memory case.
26561
3a62d00d
AS
265622011-10-04 Andreas Schwab <schwab@redhat.com>
26563
26564 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26565 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26566 pass it down.
26567 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26568 elf_machine_rela, elf_machine_lazy_rel.
26569 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26570 (ELF_DYNAMIC_DO_REL): Likewise.
26571 (ELF_DYNAMIC_DO_RELA): Likewise.
26572 (ELF_DYNAMIC_RELOCATE): Likewise.
26573 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26574 to ELF_DYNAMIC_DO_REL.
26575 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26576 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26577 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26578 elf_machine_rela.
26579 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26580 skip_ifunc, don't call ifunc function if non-zero.
26581 (elf_machine_rela): Likewise.
26582 (elf_machine_lazy_rel): Likewise.
26583 (elf_machine_lazy_rela): Likewise.
26584 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26585 (elf_machine_lazy_rel): Likewise.
26586 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26587 Likewise.
26588 (elf_machine_lazy_rel): Likewise.
26589 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26590 Likewise.
26591 (elf_machine_lazy_rel): Likewise.
26592 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26593 (elf_machine_lazy_rel): Likewise.
26594 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26595 (elf_machine_lazy_rel): Likewise.
26596 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26597 (elf_machine_lazy_rel): Likewise.
26598 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26599 (elf_machine_lazy_rel): Likewise.
26600 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26601 (elf_machine_lazy_rel): Likewise.
26602 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26603 (elf_machine_lazy_rel): Likewise.
26604
68577918
UD
266052011-09-28 Ulrich Drepper <drepper@gmail.com>
26606
26607 * nss/nss_files/files-init.c (_nss_files_init): Use static
26608 initialization for all the *_traced_file variables.
26609
68822d74
AS
266102011-09-28 Andreas Schwab <schwab@redhat.com>
26611
26612 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26613
2056100b
RM
266142011-09-27 Roland McGrath <roland@hack.frob.com>
26615
26616 [BZ #13226]
26617 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26618
32c76b63
AS
266192011-09-27 Andreas Schwab <schwab@redhat.com>
26620
26621 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26622 Reread the line before reparsing it.
26623
bf972c9d
AS
266242011-09-26 Andreas Schwab <schwab@redhat.com>
26625
26626 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26627
e057a1b5
JM
266282011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26629 Maxim Kuvyrkov <maxim@codesourcery.com>
26630 Joseph Myers <joseph@codesourcery.com>
26631
26632 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26633 if needed for __stack_chk_guard.
26634
bc7e1c36
RM
266352011-09-19 Roland McGrath <roland@hack.frob.com>
26636
ecb1482f
RM
26637 * sysdeps/posix/spawni.c (script_execute): Always define it.
26638 It will be optimized away if unused.
26639 (maybe_script_execute): New function.
26640 (__spawni): Call it.
26641
bc7e1c36
RM
26642 * Makerules: Don't include tls.make.
26643 (config-tls): Always set to thread.
26644 * tls.make.c: File removed.
26645
1c3b002b
MF
266462011-09-19 Mike Frysinger <vapier@gentoo.org>
26647
26648 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26649 * config.make.in (CPPFLAGS-config): New substituted variable.
26650
2840865d
UD
266512011-09-15 Ulrich Drepper <drepper@gmail.com>
26652
88738eb6
UD
26653 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26654
cbf645a6 26655 [BZ #13192]
2840865d
UD
26656 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26657 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26658
b402e91a
RM
266592011-09-15 Roland McGrath <roland@hack.frob.com>
26660
26661 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26662 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26663 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26664 (CALL_FAIL): Likewise.
26665 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26666 (CALL_FAIL): Macro removed.
26667 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26668
4c1a1f71
UD
266692011-09-15 Ulrich Drepper <drepper@gmail.com>
26670
26671 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26672 for __FINITE_MATH_ONLY__ == 1.
26673
edc121be
AS
266742011-09-15 Andreas Schwab <schwab@redhat.com>
26675
26676 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26677 __ieee754_sqrt instead of sqrt.
26678 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26679 __ieee754_sqrtf instead of sqrtf.
26680 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26681 __floorf instead of floorf.
26682 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26683 __floorf, __truncf instead of floorf, truncf.
26684
cd205654
UD
266852011-09-14 Ulrich Drepper <drepper@gmail.com>
26686
ee4d0315
UD
26687 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26688
cd205654
UD
26689 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26690 __extern_always_inline.
26691 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26692 32-bit.
26693
48b67d71
AS
266942011-09-14 Andreas Schwab <schwab@redhat.com>
26695
26696 * elf/rtld.c (dl_main): Also relocate in dependency order when
26697 doing symbol dependency testing.
26698
1ae12c75
AS
266992011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26700
26701 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26702 Always define `refsym'.
26703
995a80df
AS
267042011-09-13 Andreas Schwab <schwab@redhat.com>
26705
e529793b
AS
26706 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26707 (__FD_ELT): Renamed from __FDELT.
26708 * misc/bits/select2.h (__FD_ELT): Likewise.
26709 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26710 __FD_MASK instead of __FDELT, __FDMASK.
26711 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26712 Likewise.
26713 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26714 Likewise.
26715
52d4fef8
AS
26716 * elf/Makefile (gen-ldd): Fix pattern.
26717
995a80df
AS
26718 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26719 (init_tls): Likewise.
26720
8682f8b0
UD
267212011-09-12 Ulrich Drepper <drepper@gmail.com>
26722
26723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26724
de82006d
AS
267252011-09-12 Andreas Schwab <schwab@redhat.com>
26726
a7c8e6a1
AS
26727 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26728 `struct cmsghdr *' instead of `void *'.
26729 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26730 Likewise.
26731
0f31fe77
AS
267322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26733
26734 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26735 if non-absolute.
26736 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26737 ldd_rewrite_script.
0f31fe77 26738
32b4c839
UD
267392011-09-11 Ulrich Drepper <drepper@gmail.com>
26740
83cd1420
UD
26741 * configure.in: Remove --with-tls option.
26742 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26743 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26744 out in case it is missing.
26745 * sysdeps/ia64/elf/configure.in: Likewise.
26746 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26747 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26748 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26749 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26750 * sysdeps/sh/elf/configure.in: Likewise.
26751 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26752 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26753 * sysdeps/x86_64/elf/configure.in: Likewise.
26754 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26755 * sysdeps/mach/hurd/tls.h: Likewise.
26756
633f745d
UD
26757 [BZ #13067]
26758 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26759
f318beb8
UD
26760 [BZ #13090]
26761 * configure.in: Fix use of AC_INIT.
26762
32b4c839
UD
26763 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26764
3ce1f295
UD
267652011-09-10 Ulrich Drepper <drepper@gmail.com>
26766
bb016596
UD
26767 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26768 __set_errno.
8e58439c
UD
26769 * malloc/hooks.c: Likewise.
26770
aebae053 26771 [BZ #11929]
02d46fc4
UD
26772 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26773 variables statically.
26774 (narenas): Initialize.
26775 (list_lock): Initialize.
bb016596
UD
26776 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26777 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
26778 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26779 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26780 Add initializers to main_arena and mp_.
26781 (malloc_state): Remove pagesize member. Change all users to use
26782 GLRO(dl_pagesize).
26783
26784 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26785 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26786 is always initialized.
26787
22a89187
UD
26788 * malloc/malloc.c: Removed unused configurations and dead code.
26789 * malloc/arena.c: Likewise.
26790 * malloc/hooks.c: Likewise.
02d46fc4 26791 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 26792
d063d164
UD
26793 * include/tls.h: Removed. USE___THREAD must always be defined.
26794 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26795 * elf/dl-libc.c: Likewise.
26796 * elf/dl-tsd.c: Likewise.
26797 * include/errno.h: Likewise.
26798 * include/netdb.h: Likewise.
26799 * include/resolv.h: Likewise.
26800 * inet/herrno-loc.c: Likewise.
26801 * inet/herrno.c: Likewise.
26802 * malloc/arena.c: Likewise.
26803 * malloc/hooks.c: Likewise.
26804 * malloc/malloc.c: Likewise.
26805 * resolv/res-state.c: Likewise.
26806 * resolv/res_libc.c: Likewise.
26807 * sysdeps/i386/dl-machine.h: Likewise.
26808 * sysdeps/ia64/dl-machine.h: Likewise.
26809 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26810 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26811 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26812 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26813 * sysdeps/sh/dl-machine.h: Likewise.
26814 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26815 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26816 * sysdeps/unix/i386/sysdep.S: Likewise.
26817 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26818 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26820 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26823 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26827 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26828 * sysdeps/x86_64/dl-machine.h: Likewise.
26829 * tls.make.c: Likewise.
26830
3ce1f295
UD
26831 * configure.in: Remove --with-__thread option. Make tests for
26832 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26833 tls_model attribute fail if no support is available. Remove
26834 USE_IN_LIBIO.
26835 * Makeconfig: Adjust for dropped configure option. All features are
26836 now mandatory.
26837 * Makerules: Likewise.
26838 * Versions.def: Likewise.
26839 * argp/argp-fmtstream.c: Likewise.
26840 * argp/argp-fmtstream.h: Likewise.
26841 * argp/argp-help.c: Likewise.
26842 * assert/assert.c: Likewise.
26843 * config.h.in: Likewise.
26844 * config.make.in: Likewise.
26845 * configure: Likewise.
26846 * configure.in: Likewise.
26847 * csu/Versions: Likewise.
26848 * csu/init.c: Likewise.
26849 * elf/tst-audit2.c: Likewise.
26850 * elf/tst-tls10.c: Likewise.
26851 * elf/tst-tls10.h: Likewise.
26852 * elf/tst-tls11.c: Likewise.
26853 * elf/tst-tls12.c: Likewise.
26854 * elf/tst-tls14.c: Likewise.
26855 * elf/tst-tlsmod11.c: Likewise.
26856 * elf/tst-tlsmod12.c: Likewise.
26857 * elf/tst-tlsmod13.c: Likewise.
26858 * elf/tst-tlsmod13a.c: Likewise.
26859 * elf/tst-tlsmod14a.c: Likewise.
26860 * elf/tst-tlsmod15b.c: Likewise.
26861 * elf/tst-tlsmod16a.c: Likewise.
26862 * elf/tst-tlsmod16b.c: Likewise.
26863 * elf/tst-tlsmod7.c: Likewise.
26864 * elf/tst-tlsmod8.c: Likewise.
26865 * elf/tst-tlsmod9.c: Likewise.
26866 * gmon/gmon.c: Likewise.
26867 * grp/fgetgrent_r.c: Likewise.
26868 * grp/putgrent.c: Likewise.
26869 * hurd/fopenport.c: Likewise.
26870 * include/libc-symbols.h: Likewise.
26871 * include/tls.h: Likewise.
26872 * intl/gettextP.h: Likewise.
26873 * intl/loadinfo.h: Likewise.
26874 * locale/global-locale.c: Likewise.
26875 * locale/localeinfo.h: Likewise.
26876 * mach/devstream.c: Likewise.
26877 * malloc/arena.c: Likewise.
26878 * malloc/set-freeres.c: Likewise.
26879 * misc/err.c: Likewise.
26880 * misc/getttyent.c: Likewise.
26881 * misc/mntent_r.c: Likewise.
26882 * posix/getopt.c: Likewise.
26883 * posix/wordexp.c: Likewise.
26884 * pwd/fgetpwent_r.c: Likewise.
26885 * resolv/Versions: Likewise.
26886 * resolv/res_hconf.c: Likewise.
26887 * shadow/fgetspent_r.c: Likewise.
26888 * shadow/putspent.c: Likewise.
26889 * stdio-common/printf_fphex.c: Likewise.
26890 * stdio-common/tmpfile.c: Likewise.
26891 * stdlib/abort.c: Likewise.
26892 * stdlib/fmtmsg.c: Likewise.
26893 * sunrpc/auth_unix.c: Likewise.
26894 * sunrpc/clnt_perr.c: Likewise.
26895 * sunrpc/clnt_tcp.c: Likewise.
26896 * sunrpc/clnt_udp.c: Likewise.
26897 * sunrpc/clnt_unix.c: Likewise.
26898 * sunrpc/openchild.c: Likewise.
26899 * sunrpc/svc_simple.c: Likewise.
26900 * sunrpc/svc_tcp.c: Likewise.
26901 * sunrpc/svc_udp.c: Likewise.
26902 * sunrpc/svc_unix.c: Likewise.
26903 * sunrpc/xdr.c: Likewise.
26904 * sunrpc/xdr_array.c: Likewise.
26905 * sunrpc/xdr_rec.c: Likewise.
26906 * sunrpc/xdr_ref.c: Likewise.
26907 * sunrpc/xdr_stdio.c: Likewise.
26908
1248c1c4
PB
269092011-09-09 Ulrich Drepper <drepper@gmail.com>
26910
26911 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26912
269132011-07-03 Andreas Jaeger <aj@suse.de>
26914
26915 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26916 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26917 regenerate with gen-libm-tests.pl.
26918
269192010-05-12 Petr Baudis <pasky@suse.cz>
26920
26921 [BZ #11589]
26922 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26923 around j0() zero points by switching to j1().
26924 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26925 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26927 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26928
f22e1074
UD
269292011-09-09 Ulrich Drepper <drepper@gmail.com>
26930
f19009c1
UD
26931 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26932 instead of 0.
26933 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 26934 instead of 0.
f19009c1
UD
26935 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26936 Patch in part by Pavel Roskin <proski@gnu.org>.
26937
3f8cc204
UD
26938 [BZ #13138]
26939 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26940 realloc.
26941 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26942 Free memory block if necessary.
26943
f22e1074
UD
26944 [BZ #12847]
26945 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26946 be NULL. Don't lock in this case.
26947
0a2349f9
RM
269482011-09-09 Roland McGrath <roland@hack.frob.com>
26949
26950 * elf/elf.h (ELFOSABI_GNU): New macro.
26951 (ELFOSABI_LINUX): Define to that.
26952
f3cdd467
DZ
269532011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26954
26955 * string/strncat.c (strncat): Undef the symbol in case it has been
26956 defined in bits/string.h.
26957
74718d13
UD
269582011-09-09 Ulrich Drepper <drepper@gmail.com>
26959
633e9e0f
UD
26960 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26961
0a2349f9 26962 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
26963 link map.
26964
f9924780
AJ
269652011-08-17 Andreas Jaeger <aj@suse.de>
26966
26967 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26968
7f5517aa
PP
269692011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26970 Ian Lance Taylor <iant@google.com>
26971
26972 * math/libm-test.inc (lround_test): New testcase.
26973 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26974
762011fe
UD
269752011-09-08 Ulrich Drepper <drepper@gmail.com>
26976
92963737
UD
26977 * Makefile: Remove support for automatic cvs check-ins.
26978 * Makerules: Likewise.
26979 * config.make.in: Likewise.
26980 * configure.in: Likewise.
26981 * intl/Makefile: Likewise.
26982 * locale/Makefile: Likewise.
26983 * po/Makefile: Likewise.
26984 * posix/Makefile: Likewise.
26985 * sysdeps/gnu/Makefile: Likewise.
26986 * sysdeps/mach/hurd/Makefile: Likewise.
26987 * sysdeps/sparc/sparc32/Makefile: Likewise.
26988
b0727fd8
JS
26989 [BZ #13118]
26990 * posix/Makefile (bug-regex32-ENV): Define.
26991 Patch by John Stanley <jpsinthemix@verizon.net>.
26992
a0f33f99
UD
26993 * misc/Makefile (headers): Add bits/select2.h.
26994 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26995 * misc/bits/select2.h: New file.
26996 * include/bits/select2.h: New file.
26997 * debug/Makefile (routines): Add fdelt_chk.
26998 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26999 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27000 FD_ISSET.
27001 * debug/fdelt_chk.c: New file.
27002
762011fe
UD
27003 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27004 * wcsmbs/test-wmemcmp.c: Likewise.
27005 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27006 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27007
270082011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27009
27010 * string/Makefile (strop-tests): Add memcmp.
27011 * string/test-wmemcmp.c: New file.
27012 * string/test-memcmp.c: Add wmemcmp support.
27013
7f513ec8
RM
270142011-09-08 Roland McGrath <roland@hack.frob.com>
27015
0442afb4
RM
27016 [BZ #13153]
27017 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27018 2011-07-19 change.
27019
7f513ec8
RM
27020 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27021 garbage value in a __mach_port_mod_refs call in the cases of the
27022 task-self and thread-self ports.
27023
a12b2239
ST
270242011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27025
27026 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27027
610f9ab4
AS
270282011-09-08 Andreas Schwab <schwab@redhat.com>
27029
7f513ec8 27030 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27031
48882a1a
LD
270322011-09-07 Ulrich Drepper <drepper@gmail.com>
27033
b49865be
UD
27034 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27035
fdc86bc9
UD
27036 * elf/dl-libc.c (dlerror_run): Pass back error code from
27037 dl_catch_error.
27038
c966526a
UD
27039 [BZ #13123]
27040 * elf/dl-load.c (lose): Free l_origin if it is valid.
27041
48882a1a
LD
27042 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27043 names.
27044 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27045 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27046 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27047 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27048 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27049 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27050
77a2a8b4
AZ
270512011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27052
27053 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27054 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27055 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27056 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27057 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27058 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27059 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27060 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27061 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27062 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27063
24f579d8
AM
270642011-08-15 Alan Modra <amodra@gmail.com>
27065
27066 [BZ #13092]
27067 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27068 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27069 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27070 ppc_mcount to static-only-routines.
27071 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27072 __mcount_internal.
27073 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27074 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27075
3d4837df
UD
270762011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27077
27078 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27079 for finite and infinity parameters.
27080
22700377
WS
270812011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27082
27083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27084 and add nop instructions for throughput optimization.
27085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27086
5025581e
WS
270872011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27088
27089 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27090 aligned copy for power7 with vector-scalar instructions.
27091 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27092
08a300c9
L
270932011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27094
27095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27096 AVX check.
27097
59178ef9
AS
270982011-09-07 Andreas Schwab <schwab@redhat.com>
27099
27100 [BZ #13144]
27101 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27102 last change.
27103
e38ba7ab
UD
271042011-09-07 Ulrich Drepper <drepper@gmail.com>
27105
27106 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27107 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27108 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27109 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27110 clock_gettime.
27111
d53a73ac
UD
271122011-09-06 Ulrich Drepper <drepper@gmail.com>
27113
fc8bffcc
UD
27114 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27115 Forgot to demangle the pointer.
27116
ceaa0c5d
UD
27117 * sysdeps/i386/sysdep.h: Define atom_text_section.
27118 * sysdeps/x86_64/sysdep.h: Likewise.
27119 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27120 section with atom_text_section.
27121 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27122 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27123 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27124 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27125 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27126
a77d3c17
UD
27127 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27128 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27129 already be defined. Change to take two parameters and don't assign
27130 result to variable. Adjust all users.
27131 Define INTERNAL_GETTIME if not already defined.
27132 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27133 call.
27134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27135 HAVE_CLOCK_GETTIME_VSYSCALL.
27136 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27137
d53a73ac
UD
27138 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27139 gettimeofday vsyscall, just use time.
27140
a8f84144
AS
271412011-09-06 Andreas Schwab <schwab@redhat.com>
27142
27143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27144 <errno.h>.
27145
ef606249
UD
271462011-09-06 Ulrich Drepper <drepper@gmail.com>
27147
27148 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27149 syscall on x86-64.
27150 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27151 syscall.
27152 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27153 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27154 syscall if possible.
27155
6585cb60
UD
271562011-09-05 Ulrich Drepper <drepper@gmail.com>
27157
27158 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27159 e_ident. Don't pass to find_mapsXX.
27160 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27161
a5f524e4
LD
271622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27163
27164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27165 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27166 * sysdeps/x86_64/multiarch/strchr.S: Update.
27167 Check bit_slow_BSF bit.
27168 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27169 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27170 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27171
554881ef
UD
271722011-09-05 Ulrich Drepper <drepper@gmail.com>
27173
d96de963
UD
27174 [BZ #13134]
27175 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27176 before glibc 2.15.
27177 (tryshell): Define.
27178 (__spawni): Change last parameter to be flag. Test
27179 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27180 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27181 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27182 * posix/spawni.c: Likewise.
27183 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27184 * posix/spawnp.c: Likewise. Change normal version to use
27185 SPAWN_XFLAGS_USE_PATH.
27186 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27187 SPAWN_XFLAGS_TRY_SHELL.
27188
d48e5868
UD
27189 [BZ #13150]
27190 * posix/glob.h: Remove gcc 1.x support.
27191
554881ef
UD
27192 [BZ #13068]
27193 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27194
693fb948
LD
271952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27196
27197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27198 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27199 strrchr-sse2-bsf
27200 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27201 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27202 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27203 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27204 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27205 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27206
1b48c537
UD
272072011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27208
49d42c37
UD
27209 * sysdeps/x86_64/wcscmp.S: New file.
27210
1b48c537
UD
27211 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27212 wcscmp-c wcscmp-sse2
27213 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27214 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27215 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27216 * wcsmbs/wcscmp.c: Allow renaming.
27217
15c95c5d
DM
272182011-09-05 David S. Miller <davem@davemloft.net>
27219
27220 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27221 stack slot, rather than the struct return pointer slot.
27222 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27223 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27225 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27226
2f0ad8f3
UD
272272011-09-05 Ulrich Drepper <drepper@gmail.com>
27228
d88ae418
UD
27229 * po/ja.po: Update from translation team.
27230
2f0ad8f3
UD
27231 [BZ #13144]
27232 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27233 kernel in 64-bit binaries.
27234
5f4318d1
DM
272352011-09-01 David S. Miller <davem@davemloft.net>
27236
27237 * elf/elf.h (HWCAP_SPARC_*): Move to..
27238 * sysdeps/sparc/sysdep.h: this new file and add new values.
27239 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27240 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27241 _DL_HWCAP_COUNT to 24.
27242 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27243 entries.
27244 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27245 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27246 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27247 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27248 instead of magic constants.
27249 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27250
3ba57516
DM
272512011-08-31 David S. Miller <davem@davemloft.net>
27252
27253 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27254 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27255 Reimplement to do errno handling inline.
27256 (SYSCALL_ERROR_HANDLER): New macro.
27257 (__SYSCALL_STRING): Do not do errno handling in asm.
27258 (__CLONE_SYSCALL_STRING): Delete.
27259 (__INTERNAL_SYSCALL_STRING): Delete.
27260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27261 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27262 (PSEUDO): Reimplement to do errno handling inline.
27263 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27264 (SYSCALL_ERROR_HANDLER): New macro.
27265 (__SYSCALL_STRING): Do not do errno handling in asm.
27266 (__CLONE_SYSCALL_STRING): Delete.
27267 (__INTERNAL_SYSCALL_STRING): Delete.
27268 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27269 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27270 i386.
27271 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27272 (inline_syscall*): Add 'err' argument.
27273 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27274 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27275 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27276 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27277
27278 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27279 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27280
2bc17433
AS
272812011-08-30 Andreas Schwab <schwab@redhat.com>
27282
27283 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27284
fbeb5f4d
JO
272852011-08-29 Jiri Olsa <jolsa@redhat.com>
27286
27287 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27288 directive.
27289
ad69cc26
DM
272902011-08-24 David S. Miller <davem@davemloft.net>
27291
27292 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27293
39dd69df
AS
272942011-08-24 Andreas Schwab <schwab@redhat.com>
27295
27296 * elf/Makefile: Add rules to build and run unload8 test.
27297 * elf/unload8.c: New file.
27298 * elf/unload8mod1.c: New file.
27299 * elf/unload8mod1x.c: New file.
27300 * elf/unload8mod2.c: New file.
27301 * elf/unload8mod3.c: New file.
27302
27303 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27304 it wasn't used.
27305
2c0b250a
DM
273062011-08-23 David S. Miller <davem@davemloft.net>
27307
27308 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27309 subtract stack bias.
27310 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27311 %sp not %fp in calculations.
27312 (_JMPBUF_UNWINDS_ADJ): Likewise.
27313
22044b48
DM
27314 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27315 (aio_suspend): Call it to force an exception region around the
27316 AIO_MISC_WAIT() invocation.
27317
2cae4995
AS
273182011-08-23 Andreas Schwab <schwab@redhat.com>
27319
27320 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27321 backslash.
27322
873a772e
AJ
273232011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27324
27325 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27326 protection macro.
27327 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27328 and <dl-machine.h>.
27329 (Elf64_FuncDesc): Remove.
27330
25ad0df1
DM
273312011-08-22 David S. Miller <davem@davemloft.net>
27332
27333 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27334 sigaltstack check, add missing cfi directives.
27335 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27336 missing cfi directives, and sigaltstack handling.
27337
e888bcbe
AS
273382011-08-16 Andreas Schwab <schwab@redhat.com>
27339
27340 [BZ #11724]
27341 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27342 object is seen twice.
27343 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27344
27345 * elf/Makefile (distribute): Add tst-initorder2.c.
27346 (tests): Add tst-initorder2.
27347 (modules-names): Add tst-initorder2a tst-initorder2b
27348 tst-initorder2c tst-initorder2d. Add rules to build them.
27349 ($(objpfx)tst-initorder2.out): New rule.
27350 * elf/tst-initorder2.c: New file.
27351 * elf/tst-initorder2.exp: New file.
27352
87162f46
AS
273532011-08-22 Andreas Schwab <schwab@redhat.com>
27354
70538b7f
AS
27355 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27356
f55ffe58
AS
27357 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27358 dependencies back to end of function.
27359
87162f46
AS
27360 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27361 $(elfobjdir)/ld.so.
27362
91b392a4
UD
273632011-08-21 Ulrich Drepper <drepper@gmail.com>
27364
27365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27366 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27368 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27369 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27370 of __vdso_gettimeofday.
27371 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27372 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27373 attribute_hidden.
27374 (_libc_vdso_platform_setup): Remove initialization of
27375 __vdso_gettimeofday and __vdso_time.
27376
5c43483f
UD
273772011-08-20 Ulrich Drepper <drepper@gmail.com>
27378
775a77e7
UD
27379 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27380 and fgetc_unlocked.
27381 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27382 getc_unlocked.
89f447ed 27383
49c74ba9
UD
27384 * elf/dl-open.c (add_to_global): Report additions to the global scope
27385 for LD_DEBUG=scopes.
27386 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27387 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27388
5c43483f
UD
27389 [BZ #13114]
27390 * stdio-common/Makefile (tests): Add bug24.
27391 * stdio-common/bug24.c: New file.
27392
a101b025
AJ
273932011-08-19 Andreas Jaeger <aj@suse.de>
27394
27395 [BZ #13114]
27396 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27397 non-existant file when using close-on-exec mode.
27398
c88f1766
UD
273992011-08-20 Ulrich Drepper <drepper@gmail.com>
27400
0276a718
UD
27401 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27402 the very first instruction.
27403
c88f1766
UD
27404 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27405 the CFI state in the end.
27406 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27407 inclusion of dl-trampoline.h.
27408 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27409
51ccffa0
AS
274102011-08-19 Andreas Schwab <schwab@redhat.com>
27411
94d7165f
AS
27412 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27413 expectations for long double.
27414
51ccffa0
AS
27415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27416 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27417
fd708658 274182011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27419
27420 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27421 artificual limit depends upon the system page size.
27422
44f0a71e
UD
274232011-08-17 Ulrich Drepper <drepper@gmail.com>
27424
27425 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27426 * resolv/Makefile: Define CFLAGS-libresolv.
27427
8de79a24
AS
274282011-08-17 Andreas Schwab <schwab@redhat.com>
27429
27430 * nss/makedb.c (compute_tables): Make variables used in nested
27431 function static.
27432
27724598
UD
274332011-08-17 Ulrich Drepper <drepper@gmail.com>
27434
c5305d88
UD
27435 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27436 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27437 if buffer was too small.
27438
27724598
UD
27439 * elf/pldd.c (main): Attach to all threads in the process.
27440 Rewrite /proc handling to use *at functions.
27441
076fe015
UD
274422011-08-16 Ulrich Drepper <drepper@gmail.com>
27443
174baab3
UD
27444 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27445 specifies first scope to show.
27446 (dl_open_worker): Update callers. Move printing scope of new
27447 object to before the relocation.
44f0a71e 27448 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27449 * sysdeps/generic/ldsodefs.h: Update declaration.
27450
076fe015
UD
27451 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27452 string for the scope number.
27453
a60df2c3
UD
274542011-08-14 Ulrich Drepper <drepper@gmail.com>
27455
27456 * nscd/servicescache.c (cache_addserv): Make sure written is always
27457 initialized.
27458
5e4287d1
RM
274592011-08-14 Roland McGrath <roland@hack.frob.com>
27460
85ae0589
RM
27461 * sysdeps/i386/i486/bits/atomic.h
27462 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27463 statement expression, so as to suppress "set but not used" warning.
27464 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27465
69f63097
RM
27466 * string/strncat.c (STRNCAT): Use prototype definition.
27467
675456ef
RM
27468 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27469 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27470 -Iprograms here.
27471 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27472 (localedef-modules): Add localedef.
27473 (locale-modules): Add locale.
27474
5e4287d1
RM
27475 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27476 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27477 to avoid a warning.
27478
9c96ff23
DM
274792011-08-14 David S. Miller <davem@davemloft.net>
27480
27481 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27482 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27483
f9ddf089
UD
274842011-08-13 Ulrich Drepper <drepper@gmail.com>
27485
44f0a71e 27486 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27487 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27488 * elf/rtld.c (dl_main): Set l_name of vDSO.
27489 Call _dl_show_scope when DL_DEBUG_SCOPES.
27490 (process_dl_debug): Recognize scopes flag and also set it for all.
27491 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27492 Declare _dl_show_scope.
27493
1dc27704
UD
27494 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27495 (do_dlopen): Pass caller_dlopen to dl_open.
27496 (__libc_dlopen_mode): Initialize caller_dlopen.
27497
f9ddf089
UD
27498 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27499 of libc. Make tolower call locale-independent. Optimize a bit by
27500 using isdigit instead of isalnum.
27501 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27502
9ac533d3
UD
275032011-08-12 Ulrich Drepper <drepper@gmail.com>
27504
27505 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27506 was a dependency or dynamically loaded.
27507
89edf2e9
UD
275082011-08-11 Ulrich Drepper <drepper@gmail.com>
27509
8e999d29
UD
27510 * intl/l10nflist.c: Allow architecture-specific pop function.
27511 * sysdeps/x86_64/l10nflist.c: New file.
27512
89edf2e9
UD
27513 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27514 classification.
27515
14d96785
AS
275162011-08-10 Andreas Schwab <schwab@redhat.com>
27517
27518 * include/dirent.h: Add libc_hidden_proto for scandirat and
27519 scandirat64. Don't declare __scandirat64.
27520 * dirent/scandirat.c: Add libc_hidden_def.
27521 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27522 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27523
6761ac04
DM
275242011-08-10 David S. Miller <davem@davemloft.net>
27525
27526 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27527 enum.
27528 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27529 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27530 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27531
c55fbd1e
UD
275322011-08-09 Ulrich Drepper <drepper@gmail.com>
27533
27534 * Versions.def [libc]: Add GLIBC_2.15.
27535 * dirent/Makefile (routines): Add scandirat and scandirat64.
27536 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27537 GLIBC_2.15.
27538 * dirent/dirent.h: Declare scandirat and scandirat64.
27539 * dirent/scandirat.c: New file.
27540 * dirent/scandirat64.c: New file.
27541 * sysdeps/wordsize-64/scandirat.c: New file.
27542 * sysdeps/wordsize-64/scandirat64.c: New file.
27543 * dirent/opendir.c: Define opendirat.
27544 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27545 using scandirat.
27546 * dirent/scandir64.c: Adjust for scandir.c change.
27547 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27548 __scandirat64, and __scandir_cancel_handler.
27549 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27550 additional parameter and use openat instead of open (outside of ld.so).
27551 Add new __opendir as wrapper around __opendirat.
27552 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27553 here without requiring old scandirat implementation.
27554
879165f2
UD
275552011-08-08 Ulrich Drepper <drepper@gmail.com>
27556
27557 * dirent/scandir.c (cancel_handler): Renamed to
27558 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27559 defined. Adjust users.
27560 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27561 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27562
cb7e923b
UD
275632011-08-04 Ulrich Drepper <drepper@gmail.com>
27564
16292edd
UD
27565 * string/test-string.h (IMPL): Use __STRING to expand name and then
27566 stringify it.
27567
cb7e923b
UD
27568 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27569 of cleanups.
27570
cff82933
LD
275712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27572
27573 * string/Makefile: Update.
27574 (strop-tests): Append strncat.
27575 * string/test-wcscmp.c: New file.
27576 New comprehensive test for wcscmp.
27577 * string/test-strcmp.c: Update.
27578 (WIDE): New define.
27579
9be9bfcc
AS
275802011-07-22 Andreas Schwab <schwab@redhat.com>
27581
27582 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27583 line.
27584
2e96f1c7
AS
275852011-07-26 Andreas Schwab <schwab@redhat.com>
27586
27587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27588 encoding to ACE if AI_IDN.
27589
85188888
JJ
275902011-08-01 Jakub Jelinek <jakub@redhat.com>
27591
27592 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27593 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27594
5fa16e9b
LD
275952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27596
27597 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27598 Fix overflow bug in strncat.
27599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27600
27601 * string/test-strncat.c: Update.
27602 Add new tests for checking overflow bugs.
27603
276042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27605
27606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27607 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27608 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27609 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27610 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27611 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27612 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27613 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27614 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27615
27616 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27617 (USE_AS_STRCAT): Define.
27618 Add strcat and strncat support.
27619 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27620
8c1a459f
AS
276212011-07-25 Andreas Schwab <schwab@redhat.com>
27622
27623 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27624 __n bigger than INT_MAX+1.
27625 (__strncmp_g): Likewise.
27626
bba33c28
UD
276272011-07-23 Ulrich Drepper <drepper@gmail.com>
27628
798be72d
UD
27629 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27630 * libio/stido.h: Likewise.
27631
8accd4dc
UD
27632 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27633 (AF_NFC): Define.
27634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27635 (AF_NFC): Define.
27636
cbff0d96
UD
27637 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27638 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27639 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27640 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27641 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27642
9191c04a
UD
27643 [BZ #13021]
27644 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27645 installed.
27646
bba33c28
UD
27647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27648 typo.
27649 (_dl_x86_64_save_sse): Likewise.
27650
90f139dd
UD
276512011-07-22 Ulrich Drepper <drepper@gmail.com>
27652
1aae088a
UD
27653 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27654 OSXSAVE.
27655 (_dl_x86_64_save_sse): Likewise.
27656
8e2045f5
UD
27657 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27658
90f139dd
UD
27659 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27660
1d002f25
AS
276612011-07-21 Andreas Schwab <schwab@redhat.com>
27662
27663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27664 change.
27665 (_dl_x86_64_save_sse): Use correct AVX check.
27666
21137f89
UD
276672011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27668
27669 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27670 bug in strncpy/strncat.
27671 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27672
a65c0b7a
UD
276732011-07-21 Ulrich Drepper <drepper@gmail.com>
27674
27675 * string/tester.c (test_strcat): Add tests for different alignments
27676 of source and destination.
27677 (test_strncat): Likewise.
27678
6986b98a
UD
276792011-07-20 Ulrich Drepper <drepper@gmail.com>
27680
90bb2039
UD
27681 [BZ #12852]
27682 * posix/glob.c (glob): Check passed in values before using them in
27683 expressions to avoid some overflows.
27684 (glob_in_dir): Likewise.
27685
5644ef54
UD
27686 [BZ #13007]
27687 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27688 check for AVX enablement so that we don't crash with old kernels and
27689 new hardware.
27690 * elf/tst-audit4.c: Add same checks here.
27691 * elf/tst-audit6.c: Likewise.
27692
27693 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 27694
bfc9dc9b
AS
276952011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27696
27697 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27698
702e64bb
UD
276992011-07-20 Ulrich Drepper <drepper@gmail.com>
27700
27701 * po/cs.po: Update from translation team.
27702 * po/bg.po: Likewise.
27703
295e904f
MP
277042011-07-12 Marek Polacek <mpolacek@redhat.com>
27705
27706 * misc/sys/cdefs.h: Add support for const attribute.
27707 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27708 to gnu_dev_{major,minor,makedev} functions.
27709
3ff94596
MP
277102011-07-20 Marek Polacek <mpolacek@redhat.com>
27711
27712 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27713
28b59fca
AS
277142011-07-20 Andreas Schwab <schwab@redhat.com>
27715
27716 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27717 strlen results.
27718
19df733e
AK
277192011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27720
27721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27722 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27723 register in order to avoid conflicts with the soft frame pointer
27724 being held in r11 when necessary.
27725 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27726 (INTERNAL_VSYSCALL_NCS): Likewise.
27727
c8835729
MP
277282011-07-14 Marek Polacek <mpolacek@redhat.com>
27729
27730 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27731 * elf/dl-fini.c (_dl_fini): Adjust caller.
27732 * elf/dl-close.c (_dl_close_worker): Likewise.
27733 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27734
b902330c
MP
277352011-07-15 Marek Polacek <mpolacek@redhat.com>
27736
8991e135
MP
27737 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27738 "aux_cache->nlibs < 0".
27739
b902330c
MP
27740 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27741 in the reload-count case.
27742
99710781
LD
277432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27744
27745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27746 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27747 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27748 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27749 * sysdeps/x86_64/multiarch/strcat.S: New file.
27750 * sysdeps/x86_64/multiarch/strncat.S: New file.
27751 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27752 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27753 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27754 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27755 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27756 (USE_AS_STRCAT): Define.
27757 Add strcat and strncat support.
27758 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27759 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27760 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27761 * string/strncat.c: Update.
27762 (USE_AS_STRNCAT): Define.
27763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27764 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27765 and i7.
27766 * sysdeps/x86_64/multiarch/init-arch.h
27767 (bit_Prefer_PMINUB_for_stringop): New.
27768 (index_Prefer_PMINUB_for_stringop): Likewise.
27769 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27770 bit_Prefer_PMINUB_for_stringop.
27771
7dc6bd90
UD
277722011-07-19 Ulrich Drepper <drepper@gmail.com>
27773
27774 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27775 buffer64.
27776 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27777 of casting of buffer.
27778 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27779 buffer32 and buffer64.
27780 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27781 writes instead of casting of buffer.
27782 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27783 buffer32.
27784 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27785 casting of buffer.
27786
e0e72284
AS
277872011-07-19 Andreas Schwab <schwab@redhat.com>
27788
27789 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27790
feb1eb0b
UD
277912011-07-19 Ulrich Drepper <drepper@gmail.com>
27792
27793 * nscd/nscd.c (termination_handler): Don't do anything for a database
27794 if it has not yet been initialized.
27795
298711ff
UD
277962011-07-18 Ulrich Drepper <drepper@gmail.com>
27797
27798 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27799
278002011-07-15 Marek Polacek <mpolacek@redhat.com>
27801
27802 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27803
f9d68389
UD
278042011-07-18 Ulrich Drepper <drepper@gmail.com>
27805
27806 * po/nl.po: Update from translation team.
27807 * po/sv.po: Likewise.
27808
db290cf5
RM
278092011-07-16 Roland McGrath <roland@hack.frob.com>
27810
27811 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27812 now disallowed by GCC.
5c550700 27813
fd5e21c7
RM
27814 * configure.in (use-default-link): Default to yes if a test -shared
27815 link meets our qualifications.
27816 * configure: Regenerated.
27817
5c550700
RM
27818 * config.make.in (output-format): New variable.
27819 * configure.in: Check for ld --print-output-format support.
27820 * configure: Regenerated.
27821 * Makerules ($(common-objpfx)format.lds)
27822 [$(output-format) != unknown]: Just use $(output-format),
27823 instead of the linker-script munging.
27824
9fa2c032
RM
278252011-07-14 Roland McGrath <roland@hack.frob.com>
27826
a6928d51
RM
27827 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27828 of $(common-objpfx)shlib.lds.
27829 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27830
661607b3
RM
27831 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27832 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27833
9fa2c032
RM
27834 * configure.in (-z relro check): Adjust test code to add a large
27835 writable data section after it.
27836 * configure: Regenerated.
27837
defe9061
RM
278382011-07-11 Roland McGrath <roland@hack.frob.com>
27839
27840 * configure.in (-z relro check): Fix test code to make the variable
27841 truly const.
27842 * configure: Regenerated.
27843
319b9ad4
UD
278442011-07-11 Ulrich Drepper <drepper@gmail.com>
27845
27846 * nscd/nscd.h (struct traced_file): Define.
27847 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27848 elements. Add traced_files.
27849 (inotify_fd): Declare.
27850 (register_traced_file): Declare.
27851 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27852 (inotify_fd): Export.
27853 (resolv_conf_descr): Remove.
27854 (nscd_init): Move inotify descriptor creation to main.
27855 Don't register files for notification here.
27856 (register_traced_file): New function.
27857 (invalidate_cache): Don't use reset_res to determine whether to call
27858 res_init, go through the list of registered files.
27859 (main_loop_poll): The inotify descriptors are now stored in the
27860 structures for the traced files.
27861 (main_loop_epoll): Likewise
27862 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27863 to __nss_disable_nscd.
27864 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27865 for a database anymore. Check the records for all the registered
27866 files instead.
27867 * nss/Makefile (libnss_files-routines): Add files-init.
27868 (libnss_db-routines): Add db-init.
27869 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27870 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27871 * nss/nss_db/db-init.c: New file.
27872 * nss/nss_files/files-init.c: New file.
27873 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27874 __nss_lookup_function.
27875 (__nss_lookup_function): Call nss_load_library.
27876 (nss_load_all_libraries): New function.
27877 (__nss_disable_nscd): Take parameter with callback function for files
27878 to register. Set is_nscd. Load all the DSOs for the NSS modules
27879 used for the cached services.
27880 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27881 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27882 options for features to all the files in nscd.
27883
27884 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27885
23bee3e8
RM
278862011-07-10 Roland McGrath <roland@hack.frob.com>
27887
27888 * csu/elf-init.c (__libc_csu_init): Comment typo.
27889
46a5b7f0
UD
278902011-07-09 Ulrich Drepper <drepper@gmail.com>
27891
27892 * po/pl.po: Update from translation team.
27893 * po/ja.po: Likewise.
27894 * po/ru.po: Likewise.
27895 * po/ko.po: Likewise.
27896 * po/fr.po: Likewise.
27897
d30cf5bb
RM
278982011-07-09 Roland McGrath <roland@hack.frob.com>
27899
113ddea4
RM
27900 * configure.in (.ctors/.dtors header and trailer check):
27901 Use an empirical test on a built program.
27902 * configure: Regenerated.
27903
574920b4
RM
27904 * configure.in (-z relro check): Use an empirical test on a built DSO.
27905 Detect, but do not require, on ia64.
27906 * configure: Regenerated.
27907
d30cf5bb
RM
27908 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27909 Update tests that use readelf to use $READELF instead.
27910 * configure: Regenerated.
27911
8538fdb3
UD
279122011-07-08 Ulrich Drepper <drepper@gmail.com>
27913
27914 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27915 if the result is not used.
27916
04d08991
AJ
279172011-07-05 Andreas Jaeger <aj@suse.de>
27918
27919 [BZ#9696]
27920 * stdlib/tst-strtod.c: Add testcase.
27921
de283087
AD
279222011-07-07 Ulrich Drepper <drepper@gmail.com>
27923
4e5f31c8 27924 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 27925 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
27926 The latter has a higher limit. Take additional parameter to pass to
27927 the new function.
27928 (__pathconf): Pass file to __statfs_link_max.
27929 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27930 __statfs_link_max.
27931 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27932 __statfs_link_max.
27933
de283087
AD
27934 [BZ #12868]
27935 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27936 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27937 Handle Lustre.
27938 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27939 (__statfs_filesize_max): Likewise.
27940 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27941
c75fa153
AJ
279422011-07-05 Andreas Jaeger <aj@suse.de>
27943
27944 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27945
1a544854
UD
279462011-07-06 Marek Polacek <mpolacek@redhat.com>
27947
27948 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27949 `status' variable.
27950 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27951 Likewise.
27952
6f0eec67
UD
279532011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27954
27955 * Makefile (strop-tests): Add strncat.
27956 * string/test-strncat.c: New file.
27957
aae30307
UD
279582011-06-30 Marek Polacek <mpolacek@redhat.com>
27959
27960 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27961
c0cfb5eb
UD
279622011-06-21 Andreas Jaeger <aj@suse.de>
27963
27964 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27965 Copy rule from iconvdata/Makefile.
27966
01636b21
UD
279672011-07-06 Ulrich Drepper <drepper@gmail.com>
27968
27969 [BZ #12922]
27970 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27971 but no long options are defined, just return 'W'.
27972
9895c8bc
UD
279732011-06-22 Marek Polacek <mpolacek@redhat.com>
27974
27975 [BZ #9696]
27976 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27977
5d4cf042
UD
279782011-07-06 Ulrich Drepper <drepper@gmail.com>
27979
27980 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27981 netgroups to read.
960e5535 27982 (innetgr): Likewise.
5d4cf042 27983
751eb97e
RM
279842011-07-05 Roland McGrath <roland@hack.frob.com>
27985
27986 * config.make.in (install_root): Default to $(DESTDIR).
27987
f15f1e45
UD
279882011-07-05 Ulrich Drepper <drepper@gmail.com>
27989
27990 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27991
4e34ac6a
RM
279922011-07-02 Roland McGrath <roland@hack.frob.com>
27993
5e9b6af4
RM
27994 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27995
84f9ea0f
RM
27996 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27997 containing directory rather than embedding absolute directory names.
27998
ea5ee9f7
RM
27999 * scripts/check-local-headers.sh: Rewritten using awk.
28000 Match by word, not by line. Print error messages for matches.
28001 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28002
1b74661a
RM
28003 * Makerules [shlib-lds-flags empty]:
28004 ($(common-objpfx)libc_pic.opts): New target.
28005 ($(common-objpfx)libc_pic.os.clean): New target.
28006 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28007
28008 * config.make.in (OBJCOPY): New variable.
28009 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28010 * configure: Regenerated.
28011
f781ef40
RM
28012 * config.make.in (use-default-link): New variable.
28013 * configure.in (use_default_link): Grok --with-default-link to set it.
28014 * configure: Regenerated.
28015 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28016 (shlib-lds, shlib-lds-flags): Define to empty.
28017
2d4fa81e
RM
28018 * Makerules (shlib-lds): New variable.
28019 (shlib-lds-flags): New variable.
28020 (build-shlib, build-moduile, build-module-asneeded): Use it.
28021 ($(common-objpfx)libc.so): Use $(shlib-lds).
28022 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28023 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28024
31fffa6b
RM
28025 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28026 DT_FLAGS/DT_FLAGS_1 with zero flags.
28027
4e34ac6a
RM
28028 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28029 linker script munging.
28030
fcfc776b
UD
280312011-07-02 Ulrich Drepper <drepper@gmail.com>
28032
28033 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28034 as 128-bit value.
28035 * crypt/sha512.c (sha512_process_block): Perform total addition using
28036 128-bit if possible.
28037 (__sha512_finish_ctx): Likewise.
28038 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28039 as 64-bit value.
28040 * crypt/sha256.c (SWAP64): Define.
28041 (sha256_process_block): Perform total addition using 64-bit if
28042 possible.
28043 (__sha256_finish_ctx): Likewise.
28044
99231d9a
UD
280452011-07-01 Ulrich Drepper <drepper@gmail.com>
28046
28047 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28048 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28049 * nscd/hstcache.c (cache_addhst): Likewise.
28050 * nscd/grpcache.c (cache_addgr): Likewise.
28051 * nscd/aicache.c (addhstaiX): Likewise
28052 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28053
445b4a53
TK
280542011-07-01 Thorsten Kukuk <kukuk@suse.de>
28055
28056 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28058 * nscd/hstcache.c (cache_addhst): Likewise.
28059 * nscd/grpcache.c (cache_addgr): Likewise.
28060 * nscd/aicache.c (addhstaiX): Likewise
28061
6d4d8e8e
AS
280622011-07-01 Andreas Schwab <schwab@redhat.com>
28063
28064 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28065 domain only when needed.
28066
89f654c5
AS
280672011-06-30 Andreas Schwab <schwab@redhat.com>
28068
28069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28070 is always restored.
28071
cf3b23ff
UD
280722011-06-29 Ulrich Drepper <drepper@gmail.com>
28073
28074 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28075 are re-adding the entry.
28076 * nscd/servicescache.c (cache_addserv): Likewise.
28077
751626f9
AJ
280782011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28079
28080 * sysdeps/generic/dl-irel.h: fix protection against multiple
28081 inclusions.
28082 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28083
9113ea1f
UD
280842011-06-28 Ulrich Drepper <drepper@gmail.com>
28085
5c0b8d90
UD
28086 [BZ #12935]
28087 * malloc/memusage.sh: Fix quoting in message.
28088 * debug/xtrace.sh: Likewise.
28089
9113ea1f
UD
28090 * configure.in: Remove support for --experimental-malloc option, make
28091 it the default.
28092 * config.make.in: Likewise.
28093 * malloc/Makefile: Likewise.
28094
a4172181
AS
280952011-06-27 Andreas Schwab <schwab@redhat.com>
28096
28097 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28098 two-byte characters.
28099
78a7eee7
RM
281002011-06-27 Roland McGrath <roland@hack.frob.com>
28101
62bede13
RM
28102 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28103 AC_CACHE_CHECK invocation.
28104 * configure: Regenerated.
28105
78a7eee7
RM
28106 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28107
5ce33a62
UD
281082011-06-27 Ulrich Drepper <drepper@gmail.com>
28109
034807a9
UD
28110 [BZ #12350]
28111 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28112 bit from old_res_options.
28113
4902da17
UD
28114 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28115
5ce33a62
UD
28116 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28117 value type for setfct.
28118
c2344f56
L
281192011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28120
28121 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28122 __gettimeofday instead of gettimeofday.
28123
68468076
UD
281242011-06-26 Ulrich Drepper <drepper@gmail.com>
28125
28126 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28127
acb0d739
L
281282011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28129
28130 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28131
28132 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28133 info.
28134
8912479f
L
281352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28136
28137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28138 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28139 strcpy-sse2-unaligned strncpy-sse2-unaligned
28140 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28141 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28142 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28143 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28144 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28145 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28146 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28147 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28148 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28149 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28150 (STRCPY): Support SSE2 and SSSE3 versions.
28151
d5495a11
UD
281522011-06-24 Ulrich Drepper <drepper@gmail.com>
28153
28154 [BZ #12874]
28155 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28156 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28157 kernels which artificially limit size of requests.
28158
0b1cbaae
L
281592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28160
28161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28162 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28163 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28164 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28165 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28166 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28167 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28168 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28169 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28170 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28171 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28172 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28173 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28174 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28175 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28177 Enable unaligned load optimization for Intel Core i3, i5 and i7
28178 processors.
28179 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28180 Define.
28181 (index_Fast_Unaligned_Load): Define.
28182 (HAS_FAST_UNALIGNED_LOAD): Define.
28183
07f494a0
MP
281842011-06-23 Marek Polacek <mpolacek@redhat.com>
28185
28186 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28187
fa3fc0fe
UD
281882011-06-22 Ulrich Drepper <drepper@gmail.com>
28189
28190 [BZ #12907]
28191 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28192 until it is clear that the information is realy needed.
28193 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28194
e12df166
AS
281952011-06-22 Andreas Schwab <schwab@redhat.com>
28196
28197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28198
852eb34d
UD
281992011-06-22 Ulrich Drepper <drepper@gmail.com>
28200
84e2a551
UD
28201 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28202 /sys/devices/system/cpu/online if it is usable.
28203
852eb34d
UD
28204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28205 reading the information from the /proc filesystem to once a second.
28206
6e502e19
UD
282072011-06-21 Andreas Jaeger <aj@suse.de>
28208
28209 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28210 NULL after inclusion of kernel headers.
28211
75d39ff2
UD
282122011-06-21 Ulrich Drepper <drepper@gmail.com>
28213
51f9aa6a
UD
28214 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28215 calls to internal_setent.
28216
c0244a9d
UD
28217 [BZ #12885]
28218 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28219 addresses using gethostbyname4_r ignore IPv4 addresses.
28220
c5e3c2ae
UD
28221 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28222 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28223
75d39ff2
UD
28224 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28225
42675c6f
DM
282262011-06-20 David S. Miller <davem@davemloft.net>
28227
28228 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28229 inclusions.
28230 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28231
28232 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28233 (elf_irel): Use it.
28234 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28235 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28236 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28237 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28238 * sysdeps/x86_64/dl-irel.h: Likewise.
28239
28240 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28241 * elf/dl-sym.c: Likewise.
28242
57912a71
UD
282432011-06-15 Ulrich Drepper <drepper@gmail.com>
28244
28245 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28246 need to dereference resplen2.
28247
ee22793d
AS
282482011-06-14 Andreas Schwab <schwab@redhat.com>
28249
28250 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28251
a9e836b0
UD
282522011-06-15 Ulrich Drepper <drepper@gmail.com>
28253
77fb9117
UD
28254 * Makeconfig: Define vardbdir and inst_vardbdir.
28255 * nss/Makefile: Add rules to install db-Makefile.
28256
40c1b22c
UD
28257 * nss/nss_db/db-XXX.c: Cleanup.
28258
9f2da732
UD
28259 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28260 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28261 GLIBC_PRIVATE.
28262 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28263 * nss/makedb.c: Implement -g option to specify that value strings
28264 are generated and should not be added to table iterated over for
28265 get*ent calls.
28266 * nss/nss_db/db-initgroups.c: New file.
28267
82e9a1f7
UD
28268 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28269 interface.
28270
c41af17e
UD
28271 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28272 (internal_getgrouplist): Adjust to name change.
28273 Update use_initgroups_entry if this is not the first call.
28274 * nss/databases.def: Add initgroups entry.
28275
a9e836b0
UD
28276 * nss/makedb.c (compute_tables): Check result of multiple hash table
28277 sizes to minimize maximum chain length.
28278
2666d441
UD
282792011-06-14 Ulrich Drepper <drepper@gmail.com>
28280
28281 * Versions.def: Add entry for libnss_db.
28282 * shlib-versions: Likewise.
28283 * nss/Makefile: Add rules to build libnss_db.
28284 * nss/Versions: Add libnss_db information. Organize libnss_files
28285 entries better.
28286 * nss/db-Makefile: Add gshadow support. Change rules for the new
28287 makedb progra. Some minor improvements to generate smaller files.
28288 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28289 here from...
28290 * nss/makedb.c: ...here.
28291 Improve database format to be smaller and require less memory at
28292 runtime.
28293 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28294 db anymore.
28295 * nss/nss_db/db-netgrp.c: Likewise.
28296 * nss/nss_db/db-open.c: Likewise.
28297 * nss/nss_files/flies-XXX.x: Adjust comments.
28298 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28299 * nss/nss_files/files-grp.c: Likewise.
28300 * nss/nss_files/files-hosts.c: Likewise.
28301 * nss/nss_files/files-network.c: Likewise.
28302 * nss/nss_files/files-proto.c: Likewise.
28303 * nss/nss_files/files-pwd.c: Likewise.
28304 * nss/nss_files/files-rpc.c: Likewise.
28305 * nss/nss_files/files-service.c: Likewise.
28306 * nss/nss_files/files-sgrp.c: Likewise.
28307 * nss/nss_files/files-spwd.c: Likewise.
28308 * nss/nss_db/db-alias.c: Removed.
28309 * nss/nss_db/dummy-db.h: Removed.
28310
9ee76b5a
UD
283112011-06-02 Ulrich Drepper <drepper@gmail.com>
28312
28313 * nss/makedb.c: Rewritten to not use database library.
28314 * nss/Makefile: Update to build new makedb program.
28315
c71ca1f8
AJ
283162011-06-14 Andreas Jaeger <aj@suse.de>
28317
28318 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28319 memset declaration.
28320
3154bfb8
UD
283212011-06-10 Andreas Schwab <schwab@redhat.com>
28322
28323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28324 tmpbuf.
28325
b350afab
RM
283262011-06-10 Roland McGrath <roland@hack.frob.com>
28327
decd4e50
RM
28328 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28329 * elf/Makefile ($(objpfx)ld.so): Likewise.
28330
5615eaf2
RM
28331 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28332 Don't list ld.so twice in dependencies.
28333
28334 * posix/bug-regex31.c: Include <stdlib.h>.
28335
28336 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28337
28338 * nis/nss_compat/compat-spwd.c
28339 (getspent_next_nss_netgr): Remove unused variable.
28340 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28341
28342 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28343 nonmembers" output to use the right array.
28344
28345 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28346
28347 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28348
28349 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28350 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28351 * catgets/gencat.c (read_input_file): Likewise.
28352 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28353
28354 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28355 variable definition inside #if's controlling its use.
28356
28357 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28358
28359 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28360
28361 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28362
28363 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28364 unreachable code.
28365
28366 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28367
b68e08db
RM
28368 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28369 * configure: Regenerated.
28370
b350afab
RM
28371 * Makerules: Revert last change.
28372 * elf/Makefile: Likewise.
28373
28368601
RM
283742011-06-09 Roland McGrath <roland@hack.frob.com>
28375
28376 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28377 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28378 (reloc-link): Likewise.
28379
11988f8f
UD
283802011-06-09 Ulrich Drepper <drepper@gmail.com>
28381
28382 * elf/Makefile: Add rules to build pldd.
28383 * elf/pldd.c: New file.
28384 * elf/pldd-xx.c: New file.
28385
e80fab37
UD
283862011-06-07 Ulrich Drepper <drepper@gmail.com>
28387
28388 * version.h: Update for 2.15 development version.
28389
9b849836
DM
283902011-06-07 David S. Miller <davem@davemloft.net>
28391
28392 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28393 ifuncs.
28394 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28395 elf_machine_lazy_rel): Likewise.
28396 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28397 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28398 elf_machine_lazy_rel): Likewise.
28399 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28400 dl_hwcap via passed in argument.
28401 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28402 Likewise.
28403
5a31b283
AK
284042011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28405
28406 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28407
069e52f8
RM
284082011-06-06 Roland McGrath <roland@hack.frob.com>
28409
28410 [BZ #12849]
28411 * manual/fdl-1.1.texi: New file, verbatim from:
28412 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28413 * manual/lgpl-2.1.texi: New file, verbatim from:
28414 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28415 * manual/Makefile (licenses): New variable, list those new file names.
28416 (texis): Use it.
28417 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28418
28419 * manual/fdl.texi: File removed.
28420 * manual/lesser.texi: File removed.
28421 * manual/libc.texinfo (Copying, Documentation License):
28422 Use new @include file names, put @appendix directive before @include.
28423
f16846a5
JJ
284242011-06-04 Jakub Jelinek <jakub@redhat.com>
28425
28426 [BZ #12841]
28427 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28428 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28429 (mq_open): Add __NTH.
28430
3d29045b
L
284312011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28432
28433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28434 Assume Intel Core i3/i5/i7 processor if AVX is available.
28435
8c297311
UD
284362011-05-31 Ulrich Drepper <drepper@gmail.com>
28437
28438 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28439 typo.
28440
c8fc0c91
UD
284412011-05-31 Andreas Schwab <schwab@redhat.com>
28442
28443 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28444 memory. Use alloca_account. Fix memory leak when retrying.
28445
5b27a807
UD
284462011-05-31 Ulrich Drepper <drepper@gmail.com>
28447
356f8bc6
UD
28448 * version.h (RELEASE): Bump for 2.14 release.
28449 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28450
5b27a807
UD
28451 * config.make.in (RANLIB): Remove entry.
28452
01f16ab0
UD
284532011-05-30 Ulrich Drepper <drepper@gmail.com>
28454
41fce8bd
UD
28455 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28456 (libc.pot): Work around missing support for .ksh extension in xgettext.
28457
4769ae77
UD
28458 [BZ #12684]
28459 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28460 if both request failed.
28461 (send_dg): In case of server errors clear resplen or *resplen2.
28462
6b1e7d19
UD
28463 [BZ #12454]
28464 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28465 when there are multiple maps.
28466 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28467 (_dl_fini): Remove test here.
28468
01f16ab0
UD
28469 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28470
b1ebd700
UD
284712011-05-29 Ulrich Drepper <drepper@gmail.com>
28472
7ae22829
UD
28473 [BZ #12350]
28474 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28475 bit from old_res_options.
28476 (gaih_inet): Likewise.
28477
553149f6 28478 [BZ #11099]
18a84741 28479 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28480 as signed.
28481
652ffab1
UD
28482 * resolv/res_init.c (res_setoptions): Make the code more compact.
28483
16985fd0
UD
28484 [BZ #11558]
28485 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28486 set RES_USEVC.
28487
0464f746
UD
28488 [BZ #11634]
28489 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28490
7d17596c
UD
28491 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28492
cf6bbbd7
UD
28493 [BZ #11781]
28494 * malloc/malloc.h: Declare malloc hook variables as volatile.
28495
13f1ab36
UD
28496 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28497 in last patch.
28498
b1ebd700
UD
28499 [BZ #11799]
28500 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28501 raise in the comment.
80e2212d
UD
28502 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28503 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28504 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28505
ce67228d
UD
285062011-05-28 Ulrich Drepper <drepper@gmail.com>
28507
8887a920
UD
28508 [BZ #12811]
28509 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28510 grow the buffers more if it already has to be sufficient.
28511 (build_wcs_upper_buffer): Likewise.
28512 * posix/regexec.c (check_matching): Likewise.
28513 (clean_state_log_if_needed): Likewise.
28514 (extend_buffers): Don't enlarge buffers beyond size of the input
28515 buffer.
28516 Patches mostly by Emil Wojak <emil@wojak.eu>.
28517 * posix/bug-regex32.c: New file.
28518 * posix/Makefile (tests): Add bug-regex32.
28519
4f031072
UD
28520 * locale/findlocale.c (_nl_find_locale): Return right away if
28521 _nl_explode_name failed.
28522 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28523
d0478f0c
UD
28524 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28525
de81b246
UD
28526 * debug/xtrace.sh: Unify messages.
28527 * malloc/memusage.sh: Likewise.
28528
c738465a
UD
28529 [BZ #12813]
28530 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28531 time symbol from vDSO. Substitute with vsyscall if not available.
28532 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28533 __vdso_time.
28534
f1f929d7
UD
28535 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28536 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28537 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28538 Add sendmmsg and internal_sendmmsg.
28539 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28540 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28541 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28542
ce67228d
UD
28543 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28544 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28545 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28546
e57420c6
UD
285472011-05-27 Ulrich Drepper <drepper@gmail.com>
28548
a8509ca5
UD
28549 [BZ #12813]
28550 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28551 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28552 available.
28553 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28554 __vdso_getcpu.
28555
e57420c6
UD
28556 [BZ #12814]
28557 * iconvdata/Makefile (tests): Add bug-iconv9.
28558 * iconvdata/bug-iconv9.c: New file.
28559
4d07db15
AS
285602011-05-27 Andreas Schwab <schwab@redhat.com>
28561
28562 [BZ #12814]
28563 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28564
ea486f69
JJ
285652011-05-25 Jakub Jelinek <jakub@redhat.com>
28566
28567 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28568 (struct user_regs_struct): Change intcs field back to cs.
28569
6f038433
UD
285702011-05-25 Ulrich Drepper <drepper@gmail.com>
28571
28572 * po/ja.po: Update from translation team.
28573
67f86a25
UD
285742011-05-23 Ulrich Drepper <drepper@gmail.com>
28575
28576 [BZ #12795]
28577 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28578 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28579
def7fbd6
AS
285802011-05-20 Andreas Schwab <schwab@redhat.com>
28581
28582 * stdlib/longlong.h: Update from GCC.
28583
f50ef8f1
AS
285842011-05-23 Andreas Schwab <schwab@redhat.com>
28585
28586 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28587 parameter name.
28588 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28589 Add parameter name.
28590 (__sysconf): Pass it down.
28591
de7ce8f1
UD
285922011-05-22 Ulrich Drepper <drepper@gmail.com>
28593
f2962a71
UD
28594 [BZ #12671]
28595 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28596 some situations.
28597 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28598 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28599 add in in __libc_use_alloca calls. Adjust callers.
28600 (glob): Use malloc in some situations.
28601
de7ce8f1
UD
28602 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28603 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28604 pltexit.
28605
aec84f53
UD
286062011-05-21 Ulrich Drepper <drepper@gmail.com>
28607
05bb4a68
UD
28608 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28609 and CLOCK_BOOTTIME_ALARM.
28610
7ea72f99
UD
28611 [BZ #12782]
28612 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28613 is returned.
28614
7e4afad5
UD
28615 * string/_strerror.c (__strerror_r): Print negative errors as signed
28616 numbers.
28617
8e211fec
UD
28618 [BZ #12777]
28619 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28620 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28621 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28622
f7d82dc9
UD
28623 * configure.in: Fix typo in redirection and correct removal of test
28624 files in two cases.
28625
cc9e536d
UD
28626 [BZ #12788]
28627 * locale/setlocale.c (new_composite_name): Fix test to check for
28628 identical name of all categories.
28629
aec84f53
UD
28630 [BZ #12792]
28631 * libio/filedoalloc.c (local_isatty): New function.
28632 (_IO_file_doallocate): Use local_isatty.
28633 * stdio-common/perror.c (perror): In case a new stream is used
28634 forward the stream error.
28635 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28636 error flag.
28637
78e64fdc
RT
286382011-05-20 Ulrich Drepper <drepper@gmail.com>
28639
34a9094f
UD
28640 [BZ #11869]
28641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28642 alloca.
28643 * include/alloca.h (extend_alloca_account): Define.
28644
78e64fdc
RT
28645 [BZ #11857]
28646 * posix/regex.h: Fix comments with documentation of user-accessible
28647 fields after compilation and describe correct free'ing of pattern
28648 after re_compile_pattern.
28649 Patch by Reuben Thomas <rrt@sc3d.org>.
28650
457bddfc
RA
286512011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28652
28653 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28654 and -mno-altivec to prevent the compiler from using Altivec and/or
28655 VSX instructions when the corresponding registers are not available.
28656
a4527b51
AS
286572011-05-19 Andreas Schwab <schwab@redhat.com>
28658
28659 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28660
ed690b2f
UD
286612011-05-19 Ulrich Drepper <drepper@gmail.com>
28662
28663 * libio/freopen.c (freopen): Use __dup2, not dup2.
28664 * libio/freopen64.c (freopen64): Likewise.
28665
8db73634
L
286662011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28667
28668 [BZ #12775]
28669 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28670 * math/Makefile (tests): Add test-powl.
28671 (CFLAGS-test-powl.c): Define.
28672 * math/test-powl.c: New file.
28673
0a197a9d
L
286742011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28675
28676 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28677
ee30c380
UD
286782011-05-17 Ulrich Drepper <drepper@gmail.com>
28679
28680 [BZ #11837]
28681 * iconvdata/gb18030.c: Update to GB18020-2005.
28682
6ce75379
UD
286832011-05-16 Ulrich Drepper <drepper@gmail.com>
28684
a4b89fd8
AR
28685 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28686 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28687 Patch by Aharon Robbins <arnold@skeeve.com>.
28688
ea389b12
UD
28689 [BZ #11892]
28690 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28691 on the stack.
28692
68a3f91f
UD
28693 [BZ #11895]
28694 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28695 through underflows.
28696
15cc7dd1
UD
28697 [BZ #12766]
28698 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28699 point to strings before performing equality test for error_one_per_line
28700 mode.
28701
f3799213
UD
28702 [BZ #11697]
28703 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28704
d79a9c94
UD
28705 [BZ #11820]
28706 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28707 (struct user_fpregs_struct): Avoid __uint*_t types.
28708
56e5eb46
UD
28709 [BZ #6420]
28710 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28711 symbol info. Use it instead of calling _dl_addr locally.
28712 (lock_and_info): New function.
28713 (tr_freehook): Call lock_and_info and pass symbol info as additional
28714 parameter to tr_where.
28715 (tr_mallochook): Likewise.
28716 (tr_reallochook): Likewise.
28717 (tr_memalignhook): Likewise.
28718
6ce75379
UD
28719 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28720 used and couldn't be at all thread-safe.
28721
f8a3b5bf
UD
287222011-05-15 Ulrich Drepper <drepper@gmail.com>
28723
94b7cc37
UD
28724 * libio/freopen.c (freopen): Don't close old file descriptor
28725 before the new one is opened. Instead dup the new file descriptor
28726 to the old one after the new stream is created.
28727 * libio/freopen64.c (freopen64): Likewise.
28728 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28729 * libio/fileops.c (_IO_new_file_close_it): Handle new
28730 _IO_FLAGS2_NOCLOSE flag.
28731 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28732 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28733 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28734 _IO_FLAGS2_NOCLOSE flag.
28735 * include/unistd.h: Add hidden_proto for dup3.
28736 Define __have_dup3.
28737 * io/dup3.c: Define hidden symbol.
28738 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28739
bd25564e
UD
28740 [BZ #7101]
28741 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28742 when an incomplete long option is used.
28743 * posix/tst-getopt_long1.c: New file.
28744 * posix/Makefile (tests): Add tst-getopt_long1.
28745
c84cfef4
UD
28746 [BZ #10138]
28747 * scripts/config.guess: Update from autoconf-2.68.
28748 * scripts/config.sub: Likewise.
28749
3b85df27
UD
28750 [BZ #10157]
28751 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28752 tests into ...
28753 (has_cpuclock): ...this. New function.
28754 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28755 macro here based on has_cpuclock code.
28756
15a856b1
UD
28757 [BZ #10149]
28758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28759 First byte (not low byte) is now always NUL.
28760 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28761
05f399e6
UD
28762 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28763 Use non-cancelable interfaces.
28764
10a52685 28765 [BZ #9809]
94ecc67d
UD
28766 * locale/iso-639.def: Add entry for Sorani.
28767
f8a3b5bf
UD
28768 [BZ #11901]
28769 * include/stdlib.h: Move include protection to the right place.
28770 Define abort_msg_s. Declare __abort_msg with it.
28771 * stdlib/abort.c (__abort_msg): Adjust type.
28772 * assert/assert.c (__assert_fail_base): New function. Majority
28773 of code from __assert_fail. Allocate memory for __abort_msg with
28774 mmap.
28775 (__assert_fail): Now call __assert_fail_base.
28776 * assert/assert-perr.c: Remove bulk of implementation. Use
28777 __assert_fail_base.
28778 * include/assert.hL Declare __assert_fail_base.
28779 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28780 mmap.
28781 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28782
1af4e298
UD
287832011-05-14 Ulrich Drepper <drepper@gmail.com>
28784
f8a3b5bf 28785 [BZ #11952]
d26dfc60
MG
28786 [BZ #12453]
28787 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28788 until all modules are registered in the DTV.
28789 * elf/Makefile: Add rules to build and run tst-tls19.
28790 * elf/tst-tls19.c: New file.
28791 * elf/tst-tls19mod1.c: New file.
28792 * elf/tst-tls19mod2.c: New file.
28793 * elf/tst-tls19mod3.c: New file.
28794 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28795
2fc54d6f
UD
28796 [BZ #12083]
28797 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28798 correctly.
28799
98d76b46
UD
28800 [BZ #12601]
28801 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28802 two-byte sequence errors.
28803 * iconvdata/Makefile (tests): Add bug-iconv8.
28804 * iconvdata/bug-iconv8.c: New file.
28805
da3c19ef
UD
28806 [BZ #12626]
28807 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28808 buf2 definition.
28809
ca408c15
UD
28810 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28811
d6f67f7d
UD
28812 [BZ #12432]
28813 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28814 (dummy_getcfa): New function.
28815 (init): Get _Unwind_GetCFA address, use dummy if not found.
28816 (backtrace_helper): In recursion check, also check whether CFA changes.
28817 (__backtrace): Completely initialize arg.
28818
1af4e298 28819 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
28820 storing incomplete byte sequence in state object. Avoid testing for
28821 guaranteed too small input if we know there is enough data available.
1af4e298 28822
da62f81b
AS
288232011-05-11 Andreas Schwab <schwab@redhat.com>
28824
28825 * Makeconfig (+link-pie): Indent.
28826 * Rules (binaries-pie): Define if $(have-fpie) and
28827 $(build-shared).
28828 (binaries-shared): Also filter out $(binaries-pie).
28829 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28830 * nscd/Makefile (others-pie): Add nscd.
28831 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28832 ($(objpfx)nscd): Remove command override.
28833 * login/Makefile (others-pie): Add pt_chown.
28834 ($(objpfx)pt_chown): Remove command override.
28835 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28836 remove command overrides.
28837
fcabc0f8
UD
288382011-05-13 Ulrich Drepper <drepper@gmail.com>
28839
20030ae6
UD
28840 * libio/tst_putwc.c: Fix error messages.
28841
fcabc0f8
UD
28842 [BZ #12724]
28843 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28844 currently writing and seek to current position when not.
28845 * libio/Makefile (tests): Add bug-fclose1.
28846 * libio/bug-fclose1.c: New file.
28847
320a5dc0
PB
288482011-05-12 Ulrich Drepper <drepper@gmail.com>
28849
28850 [BZ #12511]
28851 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28852 don't set DF_1_NODELETE here.
28853 (do_lookup_x): When entering new entry test for copy relocation
28854 and if necessary set DF_1_NODELETE flag.
28855 * elf/tst-unique4.cc: New file.
28856 * elf/tst-unique4.h: New file.
28857 * elf/tst-unique4lib.cc: New file.
28858 * elf/Makefile: Add rules to build and run tst-unique4.
28859 Patch by Piotr Bury <pbury@goahead.com>.
28860
22836f52
UD
288612011-05-11 Ulrich Drepper <drepper@gmail.com>
28862
f574184a
UD
28863 [BZ #12052]
28864 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28865
e1fb097f
UD
28866 [BZ #12625]
28867 * misc/mntent_r.c (addmntent): Flush the stream after the output
28868
22836f52
UD
28869 [BZ #12393]
28870 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28871 (is_trusted_path_normalize): Skip initial colon. Append slash
28872 to empty buffer. Duplicate is_trusted_path code but allow
28873 constructed patch to be prefix.
28874 (is_dst): Allow $ORIGIN followed by /.
28875 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28876 Correct testing of result of is_trusted_path_normalize
28877 (decompose_rpath): Fix warning.
28878
7b3b0b2a
UD
288792011-05-10 Ulrich Drepper <drepper@gmail.com>
28880
28881 [BZ #11257]
28882 * grp/initgroups.c (internal_getgrouplist): When we found the service
28883 list through the initgroups entry in nsswitch.conf do not always
28884 continue on a successful lookup. Don't always use the
eac80ce2 28885 __nss_group_database value if it is set.
7b3b0b2a
UD
28886 * nss/nsswitch.conf (initgroups): Change action for successful db
28887 lookup to continue for compatibility.
28888
2a81eaa5
UD
288892011-05-09 Ulrich Drepper <drepper@gmail.com>
28890
be97a69e
UD
28891 [BZ #11532]
28892 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28893 and CP774 modules.
28894 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28895 and CP774 modules.
28896 * iconvdata/tst-tables.sh: Likewise.
28897 * iconvdata/cp770.c: New file.
28898 * iconvdata/cp771.c: New file.
28899 * iconvdata/cp772.c: New file.
28900 * iconvdata/cp773.c: New file.
28901 * iconvdata/cp774.c: New file.
28902 * iconvdata/testdata/CP770: New file.
28903 * iconvdata/testdata/CP770..UTF8: New file.
28904 * iconvdata/testdata/CP771: New file.
28905 * iconvdata/testdata/CP771..UTF8: New file.
28906 * iconvdata/testdata/CP772: New file.
28907 * iconvdata/testdata/CP772..UTF8: New file.
28908 * iconvdata/testdata/CP773: New file.
28909 * iconvdata/testdata/CP773..UTF8: New file.
28910 * iconvdata/testdata/CP774: New file.
28911 * iconvdata/testdata/CP774..UTF8: New file.
28912
28913 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28914 END CHARMAP line.
28915 * iconvdata/gen-8bit-gap.sh: Likewise.
28916 * iconvdata/gen-8bit.sh: Likewise.
28917
c1e9e399
UD
28918 * locale/iso-639.def: Add ary entry.
28919
24c55fb3 28920 [BZ #11258]
96b4b1b0
UD
28921 * locale/C-translit.h.in: Add U20A1 transliteration.
28922
bdc2f971
KB
28923 [BZ #12178]
28924 * locale/iso-639.def: Add wae entry.
28925 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28926
2952b117
UD
28927 [BZ #12545]
28928 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28929 for n.
28930
2a81eaa5
UD
28931 [BZ #12711]
28932 * locale/C-translit.h.in: Add entry for U20B9.
28933 Patch by pravin.d.s@gmail.com.
28934
28377d1b
UD
289352011-05-08 Ulrich Drepper <drepper@gmail.com>
28936
7fb90fb8
UD
28937 [BZ #12713]
28938 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28939 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
28940 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28941 in rtld. Use *stat64.
7fb90fb8 28942 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 28943 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 28944 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
28945 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28946 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28947 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28948 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28949 __fstatat64 macros.
7fb90fb8
UD
28950 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28951 * dirent/rewinddir.c: Add libc_hidden_def.
28952 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 28953 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 28954
28377d1b
UD
28955 * include/dirent.h (__alloc_dir): Add flags parameter.
28956 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28957 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28958 __alloc_dir.
28959 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28960 from fdopendir if O_CLOEXEC is already set.
28961
66bdbaa4
AM
289622011-03-15 Alan Modra <amodra@gmail.com>
28963
28964 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28965 l_tls_firstbyte_offset non-zero. Save padding offset in
28966 l_tls_firstbyte_offset for later use.
28967 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28968 freeing static tls block.
28969
95721191
JN
289702011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28971
28972 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28973 where #ifdef was intended. The intent is to prevent ARG_MAX from
28974 being defined by the kernel headers.
28975
f87dfb1f
UD
289762011-05-07 Ulrich Drepper <drepper@gmail.com>
28977
28978 [BZ #12734]
28979 * resolv/resolv.h: Define RES_NOTLDQUERY.
28980 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28981 no-tld-query and set RES_NOTLDQUERY.
28982 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28983 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28984 modern BIND to search name as TLD unless forbidden.
28985
47c3cd7a
UD
289862011-05-07 Petr Baudis <pasky@suse.cz>
28987 Ulrich Drepper <drepper@gmail.com>
28988
28989 [BZ #12393]
28990 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28991 (is_trusted_path): ...to here.
c1e9ea35 28992 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 28993 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 28994 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 28995
8a35c912
PP
289962011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28997
28998 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28999 __BEGIN/__END_DECLS.
29000
acd41f47
UD
290012011-05-06 Ulrich Drepper <drepper@gmail.com>
29002
29003 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29004 NSS_STATUS_NOTFOUND if no record was found.
29005
597df647
AS
290062011-05-05 Andreas Schwab <schwab@redhat.com>
29007
29008 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29009 (headers-not-in-tirpc): Remove rpc/netdb.h
29010 * resolv/netdb.h: Revert last change.
29011
b9af1301
PP
290122011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29013
29014 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29015 circular dependency between libgcc.a and libc.a.
29016
4e34d5f5
AS
290172011-05-05 Andreas Schwab <schwab@redhat.com>
29018
29019 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29020 * nis/Makefile: Don't install rpcsvc/*.
29021 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29022 instead of <rpc/types.h>.
29023 (MAXHOSTNAMELEN): Define.
29024
00ee369c
AS
290252011-05-03 Andreas Schwab <schwab@redhat.com>
29026
29027 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29028
0b592a30
MB
290292011-04-28 Maciej Babinski <mbabinski@google.com>
29030
29031 [BZ #12714]
29032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29033 gethostbyname4_r when IPv6 results are possible.
29034
6e04cbbe
UD
290352011-05-02 Ulrich Drepper <drepper@gmail.com>
29036
29037 [BZ #12723]
29038 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29039 _PC_PIPE_BUF handling.
29040
e4ecafe0
BH
290412011-04-30 Bruno Haible <bruno@clisp.org>
29042
29043 [BZ #12717]
29044 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29045 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29046 to 'int'.
29047 * inet/getnameinfo.c (getnameinfo): Likewise.
29048
125ee683
UD
290492011-04-29 Ulrich Drepper <drepper@gmail.com>
29050
29051 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29052 to groups setting in database lookup.
29053 * nss/nsswitch.conf: Add initgroups entry.
29054
b722481a
EB
290552011-04-22 Ulrich Drepper <drepper@gmail.com>
29056
29057 [BZ #12685]
29058 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29059 mode string.
29060 Patch by Eric Blake <eblake@redhat.com>.
29061
4df46dbd
L
290622011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29063
29064 * sunrpc/Makefile (need-export-routines): Add svc_run.
29065 (routines): Remove svc_run.
29066 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29067 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29068 * sunrpc/svc_run.c (svc_run): Likewise.
29069 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29070
e84142d2
UD
290712011-04-21 Ulrich Drepper <drepper@gmail.com>
29072
29073 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29074 problem in reallocation in last patch.
29075
877175d8
UD
290762011-04-20 Ulrich Drepper <drepper@gmail.com>
29077
29078 * sunrpc/Makefile: Move inclusion of Rules.
29079
ab8eed78
UD
290802011-04-19 Ulrich Drepper <drepper@gmail.com>
29081
29082 * nss/nss_files/files-initgroups.c: New file.
29083 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29084 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29085 _nss_files_initgroups_dyn.
29086
e3d8f584
RS
290872011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29088
29089 * elf/elf.h (R_ARM_IRELATIVE): Define.
29090
af190f45
UD
290912011-04-19 Ulrich Drepper <drepper@gmail.com>
29092
29093 * po/ru.po: Update from translation team.
29094
53cf59ef
UD
290952011-04-17 Ulrich Drepper <drepper@gmail.com>
29096
29097 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29098 dependencies.
29099
4c559bcd
MF
291002011-02-06 Mike Frysinger <vapier@gentoo.org>
29101
29102 [BZ #12653]
29103 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29104 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29105 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29106 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29108
4420675c
AS
291092011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29110
29111 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29112 differing bytes.
29113 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29114 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29115 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29116
75ea32ab
UD
291172011-04-17 Ulrich Drepper <drepper@gmail.com>
29118
29119 [BZ #12420]
29120 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29121 storing it.
29122 * stdlib/bug-getcontext.c: New file.
29123 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29124
27390476
AK
291252011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29126
29127 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29128 instructions into .machine "z9-109".
29129 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29130 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29131
10442705
AK
291322011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29133
29134 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29135 between environment variables and auxiliary vector.
29136
7b57bfe5
UD
291372011-04-16 Ulrich Drepper <drepper@gmail.com>
29138
29139 * Makefile: Add rules to build linkobj/libc.so.
29140 * include/libc-symbols.h: Define libc_hidden_nolink.
29141 * include/rpc/auth.h: Mark functions which are to be hidden.
29142 * include/rpc/auth_des.h: Likewise.
29143 * include/rpc/auth_unix.h: Likewise.
29144 * include/rpc/clnt.h: Likewise.
29145 * include/rpc/des_crypt.h: Likewise.
29146 * include/rpc/key_prot.h: Likewise.
29147 * include/rpc/pmap_clnt.h: Likewise.
29148 * include/rpc/pmap_prot.h: Likewise.
29149 * include/rpc/pmap_rmt.h: Likewise.
29150 * include/rpc/rpc_msg.h: Likewise.
29151 * include/rpc/svc.h: Likewise.
29152 * include/rpc/svc_auth.h: Likewise.
29153 * include/rpc/xdr.h: Likewise.
29154 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29155 * nss/Makefile: Likewise.
29156 * sunrpc/Makefile: Don't install headers. Build library with normal
29157 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29158 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29159 for the compat linking library. Remove use of INTDEF/INTUSE.
29160 * sunrpc/auth_none.c: Likewise.
29161 * sunrpc/auth_unix.c: Likewise.
29162 * sunrpc/authdes_prot.c: Likewise.
29163 * sunrpc/authuxprot.c: Likewise.
29164 * sunrpc/clnt_gen.c: Likewise.
29165 * sunrpc/clnt_perr.c: Likewise.
29166 * sunrpc/clnt_raw.c: Likewise.
29167 * sunrpc/clnt_simp.c: Likewise.
29168 * sunrpc/clnt_tcp.c: Likewise.
29169 * sunrpc/clnt_udp.c: Likewise.
29170 * sunrpc/clnt_unix.c: Likewise.
29171 * sunrpc/des_crypt.c: Likewise.
29172 * sunrpc/des_soft.c: Likewise.
29173 * sunrpc/get_myaddr.c: Likewise.
29174 * sunrpc/key_call.c: Likewise.
29175 * sunrpc/key_prot.c: Likewise.
29176 * sunrpc/netname.c: Likewise.
29177 * sunrpc/pm_getmaps.c: Likewise.
29178 * sunrpc/pm_getport.c: Likewise.
29179 * sunrpc/pmap_clnt.c: Likewise.
29180 * sunrpc/pmap_prot.c: Likewise.
29181 * sunrpc/pmap_prot2.c: Likewise.
29182 * sunrpc/pmap_rmt.c: Likewise.
29183 * sunrpc/publickey.c: Likewise.
29184 * sunrpc/rpc_cmsg.c: Likewise.
29185 * sunrpc/rpc_common.c: Likewise.
29186 * sunrpc/rpc_dtable.c: Likewise.
29187 * sunrpc/rpc_prot.c: Likewise.
29188 * sunrpc/rpc_thread.c: Likewise.
29189 * sunrpc/rtime.c: Likewise.
29190 * sunrpc/svc.c: Likewise.
29191 * sunrpc/svc_auth.c: Likewise.
29192 * sunrpc/svc_authux.c: Likewise.
29193 * sunrpc/svc_raw.c: Likewise.
29194 * sunrpc/svc_run.c: Likewise.
29195 * sunrpc/svc_simple.c: Likewise.
29196 * sunrpc/svc_tcp.c: Likewise.
29197 * sunrpc/svc_udp.c: Likewise.
29198 * sunrpc/svc_unix.c: Likewise.
29199 * sunrpc/svcauth_des.c: Likewise.
29200 * sunrpc/xcrypt.c: Likewise.
29201 * sunrpc/xdr.c: Likewise.
29202 * sunrpc/xdr_array.c: Likewise.
29203 * sunrpc/xdr_float.c: Likewise.
29204 * sunrpc/xdr_intXX_t.c: Likewise.
29205 * sunrpc/xdr_mem.c: Likewise.
29206 * sunrpc/xdr_rec.c: Likewise.
29207 * sunrpc/xdr_ref.c: Likewise.
29208 * sunrpc/xdr_sizeof.c: Likewise.
29209 * sunrpc/xdr_stdio.c: Likewise.
29210
e6c61494
UD
292112011-04-10 Ulrich Drepper <drepper@gmail.com>
29212
29213 [BZ #12650]
29214 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29215 * sysdeps/ia64/dl-tls.h: Likewise.
29216 * sysdeps/powerpc/dl-tls.h: Likewise.
29217 * sysdeps/s390/dl-tls.h: Likewise.
29218 * sysdeps/sh/dl-tls.h: Likewise.
29219 * sysdeps/sparc/dl-tls.h: Likewise.
29220 * sysdeps/x86_64/dl-tls.h: Likewise.
29221 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29222
34fe483e
AS
292232011-03-14 Andreas Schwab <schwab@redhat.com>
29224
29225 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29226 rpath element also skip the following colon.
29227 (expand_dynamic_string_token): Add is_path parameter and pass
29228 down to DL_DST_REQUIRED and _dl_dst_substitute.
29229 (decompose_rpath): Call expand_dynamic_string_token with
29230 non-zero is_path. Ignore empty rpaths.
29231 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29232 with zero is_path.
29233
f12a32e6
AS
292342011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29235
29236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29237 Make cancelable.
29238
38a7d692
UD
292392011-04-09 Ulrich Drepper <drepper@gmail.com>
29240
29241 [BZ #12655]
29242 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29243 Patch by Filipe David Manana <fdmanana@apache.org>.
29244
e451d22b
AS
292452011-04-07 Andreas Schwab <schwab@redhat.com>
29246
29247 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29248 Maintain aligned stack.
29249 (CHECK_RSP): Remove unused macro.
29250
dedc7c7b
UD
292512011-04-03 Ulrich Drepper <drepper@gmail.com>
29252
29253 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29254 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29255
94521213
UD
292562011-04-02 Ulrich Drepper <drepper@gmail.com>
29257
29258 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29259
8cb700c0 29260 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29261
0354e355
L
292622011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29263
29264 [BZ #12518]
29265 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29266 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29267 * sysdeps/x86_64/memmove.c: New file.
29268 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29269 (memcpy): Renamed to ...
29270 (__new_memcpy): This.
29271 (memcpy): Provide GLIBC_2_14 memcpy.
29272 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29273 (memcpy): Provide GLIBC_2_2_5 memcpy.
29274
8593482f
UD
292752011-04-01 Ulrich Drepper <drepper@gmail.com>
29276
29277 [BZ #12631]
29278 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29279
81a5726b
AS
292802011-03-30 Andreas Schwab <schwab@redhat.com>
29281
29282 * misc/syncfs.c: New file.
29283 * misc/Makefile (routines): Add syncfs.
29284 * posix/unistd.h: Declare syncfs.
29285 * sysdeps/unix/syscalls.list: Add syncfs.
29286
00e5419f
AS
292872011-04-01 Andreas Schwab <schwab@redhat.com>
29288
29289 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29290 open_by_handle_at.
29291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29292 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29294 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29296 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29297 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29298
748876bf
UD
292992011-04-01 Ulrich Drepper <drepper@gmail.com>
29300
658e451d
UD
29301 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29302 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29303 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29305 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29307 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29308
748876bf
UD
29309 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29310 sync_file_range.c with -fexceptions.
29311 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29312 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29313 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29314 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29315 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29316 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29317 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29318 sync_file_range as cancellation point
29319 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29320 now a wrapper around __call_sync_file_range with cancellation handling.
29321 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29322 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29323 function name to __call_sync_file_range.
29324 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29325 Add call_sync_file_range.
748876bf 29326
6e63d5e1
AS
293272011-04-01 Andreas Schwab <schwab@redhat.com>
29328
29329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29330 bits/timex.h.
6e63d5e1 29331
46998f74
UD
293322011-04-01 Ulrich Drepper <drepper@gmail.com>
29333
4c1423ed
UD
29334 * iconv/iconv.h: Fix typo in comment.
29335 * io/fcntl.h: Likewise.
29336 * libio/stdio.h: Likewise.
29337 * posix/spawn.h: Likewise.
29338 * posix/unistd.h: Likewise.
29339 * stdlib/stdlib.h: Likewise.
29340 * time/time.h: Likewise.
29341 * wcsmbs/wchar.h: Likewise.
29342
158648c0
UD
29343 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29344 open_by_handle): Add.
29345 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29346 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29347 Augment a few comments.
29348 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29350 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29352 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29353 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29354 open_by_handle.
29355
46998f74
UD
29356 * io/fcntl.h (AT_EMPTY_PATH): Define.
29357
83fe108b
UD
293582011-03-30 Ulrich Drepper <drepper@gmail.com>
29359
29360 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29361 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29362 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29363 to...
29364 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29365 * Versions.def: Add GLIBC_2.14.
29366 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29367 Export.
83fe108b 29368
bb242059
UD
293692011-03-22 Ulrich Drepper <drepper@gmail.com>
29370
29371 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29372 round counter.
29373 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29374
c97a1282
L
293752011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29376
29377 [BZ #12597]
29378 * string/test-strncmp.c (do_page_test): New function.
29379 (check2): Likewise.
29380 (test_main): Call check2.
29381 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29382
2a115601
UD
293832011-03-20 Ulrich Drepper <drepper@gmail.com>
29384
29385 [BZ #12587]
29386 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29387 Handle cache information in CPU leaf 4.
29388 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29389
8126d904
UD
293902011-03-18 Ulrich Drepper <drepper@gmail.com>
29391
042c49c6 29392 [BZ #12583]
8126d904
UD
29393 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29394 character representation.
29395 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29396
ccfe366e
RA
293972011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29398
29399 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29400 END(__isnan) to END(__isnanf) to match function entry point/label
29401 EALIGN(__isnanf,...).
29402
c6e13027
JJ
294032011-03-10 Jakub Jelinek <jakub@redhat.com>
29404
29405 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29406
33f85a3f
UD
294072011-03-10 Ulrich Drepper <drepper@gmail.com>
29408
028478fa
UD
29409 [BZ #12510]
29410 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29411 copy from the symbol referenced in the relocation to initialize the
29412 used variable.
29413 Patch by Piotr Bury <pbury@goahead.com>.
29414 * elf/Makefile: Add rules to build and tst-unique3.
29415 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29416 * elf/tst-unique3.cc: New file.
29417 * elf/tst-unique3.h: New file.
29418 * elf/tst-unique3lib.cc: New file.
29419 * elf/tst-unique3lib2.cc: New file.
29420
33f85a3f
UD
29421 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29422
03592fc7
MF
294232011-03-10 Mike Frysinger <vapier@gentoo.org>
29424
29425 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29426 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29427 to _start.
03592fc7 29428
6a5ee102
UD
294292011-03-06 Ulrich Drepper <drepper@gmail.com>
29430
29431 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29432 to-be-loaded object along a path to loader is ld.so.
29433
7e4ba49c
HJ
294342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29435 Ulrich Drepper <drepper@gmail.com>
29436
29437 * sysdeps/x86_64/memset.S: After aligning destination, code
29438 branches to different locations depending on the value of
29439 misalignment, when multiarch is enabled. Fix this.
29440
294412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29442
29443 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29444 Set _x86_64_preferred_memory_instruction for AMD processsors.
29445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29446 Set bit_Prefer_SSE_for_memop for AMD processors.
29447
13a804de
UD
294482011-03-04 Ulrich Drepper <drepper@gmail.com>
29449
29450 * libio/fmemopen.c (fmemopen): Optimize a bit.
29451
9d25c392
AS
294522011-03-03 Andreas Schwab <schwab@redhat.com>
29453
29454 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29455
a5543c6a
RM
294562011-03-03 Roland McGrath <roland@redhat.com>
29457
29458 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29459
012d35f7
DM
294602011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29461
7e4ba49c 29462 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29463 __bzero_ultra1 instead of __memset_ultra1.
29464
4bff6e01
AS
294652011-02-23 Andreas Schwab <schwab@redhat.com>
29466 Ulrich Drepper <drepper@gmail.com>
29467
29468 [BZ #12509]
29469 * include/link.h (struct link_map): Add l_orig_initfini.
29470 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29471 returning unsuccessfully.
29472 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29473 close of a file loaded at startup, restore the original l_initfini
29474 list.
29475 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29476 list, store the pointer.
29477 * elf/Makefile ($(objpfx)noload-mem): New rule.
29478 (noload-ENV): Define.
29479 (tests): Add $(objpfx)noload-mem.
29480 * elf/noload.c: Include <memcheck.h>.
29481 (main): Call mtrace. Close all opened handles.
29482
f2092faf
AS
294832011-02-17 Andreas Schwab <schwab@redhat.com>
29484
29485 [BZ #12454]
29486 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29487 dependencies are missing.
29488
6c8a2e88
ST
294892011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29490
f2092faf 29491 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29492 Hurd needs munmap.
29493 * sysdeps/mach/hurd/ifreq.h: New file.
29494
84a42118
PB
294952011-01-27 Petr Baudis <pasky@suse.cz>
29496 Ulrich Drepper <drepper@gmail.com>
29497
071f805e 29498 [BZ 12445]#
84a42118
PB
29499 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29500 to extend_alloca().
29501 * stdio-common/bug23.c: New file.
29502 * stdio-common/Makefile (tests): Add bug23.
29503
e23fe25b
AS
295042010-09-28 Andreas Schwab <schwab@redhat.com>
29505 Ulrich Drepper <drepper@gmail.com>
29506
29507 [BZ #12489]
29508 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29509 before performing relro protection. At old place add assertion
29510 to make sure nothing changed.
29511
d3f02e10
NS
295122011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29513 Glauber de Oliveira Costa <glommer@gmail.com>
29514
29515 * elf/elf.h: Add new ARM TLS relocs.
29516
d55fd7a5
RA
295172011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29518
29519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29520 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29521 cast from r3.
29522 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29523 'tests' variable.
29524 * sysdeps/wordsize-64/tst-writev.c: New file.
29525
2206397e
RA
295262011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29527
29528 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29529 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29530 insns in _dl_start to prevent a TOC reference before relocs are
29531 resolved.
29532
e9433893
UD
295332011-02-15 Ulrich Drepper <drepper@gmail.com>
29534
29535 [BZ #12469]
29536 * Makeconfig: Remove RANLIB definition.
29537 * Makerules: Don't use RANLIB.
29538 * aclocal.m4: Remove ranlib test.
29539 * configure.in: No need to check for ranlib.
29540 * elf/rtld-Rules: Don't use RANLIB.
29541
f75286c6
ST
295422011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29543
8e31c82d
ST
29544 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29545 protection macro.
29546 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29547 inclusion protection macro.
29548
f75286c6
ST
29549 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29550 SIGRTMIN and SIGRTMAX and print information in that case only when
29551 SIGRTMIN is defined.
29552
c1d0e639
JJ
295532011-02-11 Jakub Jelinek <jakub@redhat.com>
29554
29555 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29556 arginfo fn returning -1.
29557
29558 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29559 and thousands string is zero terminated.
29560
edf9294e
AS
295612011-02-03 Andreas Schwab <schwab@redhat.com>
29562
29563 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29564 sysdeps/unix/sysv/linux/bits/socket.h.
29565
2b7e92df
ST
295662011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29567
edf9294e
AS
29568 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29569 (__CPU_COUNT): Remove old macros.
29570 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29571 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29572 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
29573 (__sched_cpualloc, __sched_cpufree): Add declarations.
29574
a4c7ea7b
UD
295752011-02-05 Ulrich Drepper <drepper@gmail.com>
29576
29577 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29578 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29579 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29580 (readdhstai): Return value of addhstaiX call.
29581 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29582 (addgrbyX): Return value returned by cache_addgr.
29583 (readdgrbyname): Return value returned by addgrbyX.
29584 (readdgrbygid): Likewise.
29585 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29586 (addpwbyX): Return value returned by cache_addpw.
29587 (readdpwbyname): Return value returned by addhstbyX.
29588 (readdpwbyuid): Likewise.
29589 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29590 (addservbyX): Return value returned by cache_addserv.
29591 (readdservbyname): Return value returned by addservbyX:
29592 (readdservbyport): Likewise.
29593 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29594 (addhstbyX): Return value returned by cache_addhst.
29595 (readdhstbyname): Return value returned by addhstbyX.
29596 (readdhstbyaddr): Likewise.
29597 (readdhstbynamev6): Likewise.
29598 (readdhstbyaddrv6): Likewise.
29599 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29600 (readdinitgroups): Return value returned by addinitgroupsX.
29601 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29602 (prune_cache): Keep track of timeout value of re-added entries.
29603 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29604 * nscd/nscd.h: Adjust prototypes of readd* functions.
29605
a0bf67cc
RM
296062011-02-04 Roland McGrath <roland@redhat.com>
29607
29608 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29609 (nis_stats): Likewise.
29610 * nis/nis_modify.c (nis_modify): Likewise.
29611 * nis/nis_remove.c (nis_remove): Likewise.
29612 * nis/nis_add.c (nis_add): Likewise.
29613
29614 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29615
29616 * posix/fnmatch_loop.c: Add some consts.
29617
29618 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29619
435b95eb
L
296202011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29621
29622 [BZ #12460]
29623 * config.make.in (config-cflags-novzeroupper): Define.
29624 * configure.in: Substitute libc_cv_cc_novzeroupper.
29625 * elf/Makefile (AVX-CFLAGS): Define.
29626 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29627 (CFLAGS-tst-auditmod4a.c): Likewise.
29628 (CFLAGS-tst-auditmod4b.c): Likewise.
29629 (CFLAGS-tst-auditmod6b.c): Likewise.
29630 (CFLAGS-tst-auditmod6c.c): Likewise.
29631 (CFLAGS-tst-auditmod7b.c): Likewise.
29632 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29633
8517b15e
UD
296342011-02-02 Ulrich Drepper <drepper@gmail.com>
29635
29636 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29637 function to the callback.
29638 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29639
10a656fe
AS
296402011-02-02 Andreas Schwab <schwab@redhat.com>
29641
29642 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29643 of errno.
29644
968dad0a
UD
296452011-01-19 Ulrich Drepper <drepper@gmail.com>
29646
9f94d2ea 29647 [BZ #11724]
968dad0a
UD
29648 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29649 of constructors.
29650 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29651 of destructors.
29652 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29653
29654 [BZ #11724]
29655 * elf/Makefile: Add rules to build and run new test.
29656 * elf/tst-initorder.c: New file.
29657 * elf/tst-initorder.exp: New file.
29658 * elf/tst-initordera1.c: New file.
29659 * elf/tst-initordera2.c: New file.
29660 * elf/tst-initordera3.c: New file.
29661 * elf/tst-initordera4.c: New file.
29662 * elf/tst-initorderb1.c: New file.
29663 * elf/tst-initorderb2.c: New file.
29664 * elf/tst-order-a1.c: New file.
29665 * elf/tst-order-a2.c: New file.
29666 * elf/tst-order-a3.c: New file.
29667 * elf/tst-order-a4.c: New file.
29668 * elf/tst-order-b1.c: New file.
29669 * elf/tst-order-b2.c: New file.
29670 * elf/tst-order-main.c: New file.
29671 New test case by George Gensure <werkt0@gmail.com>.
29672
86e92359
UD
296732010-10-01 Andreas Schwab <schwab@redhat.com>
29674
29675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29676 decoding ACE if AI_CANONIDN.
29677
5d5732b0
UD
296782011-01-18 Ulrich Drepper <drepper@gmail.com>
29679
29680 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29681
a77e8cbc
UD
296822011-01-17 Ulrich Drepper <drepper@gmail.com>
29683
6392473f
UD
29684 * version.h (RELEASE): Bump for 2.13 release.
29685 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29686
620a0529
UD
29687 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29688
18ba70a5
UD
29689 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29690 MADV_NOHUGEPAGE.
32465c3e
UD
29691 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29692 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29693 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29694 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29695 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29696 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29697
c0dafcf1
UD
29698 * posix/getconf.c: Update copyright year.
29699 * catgets/gencat.c: Likewise.
29700 * csu/version.c: Likewise.
29701 * debug/catchsegv.sh: Likewise.
29702 * debug/xtrace.sh: Likewise.
29703 * elf/ldconfig.c: Likewise.
29704 * elf/ldd.bash.in: Likewise.
29705 * elf/sprof.c (print_version): Likewise.
29706 * iconv/iconv_prog.c: Likewise.
29707 * iconv/iconvconfig.c: Likewise.
29708 * locale/programs/locale.c: Likewise.
29709 * locale/programs/localedef.c: Likewise.
29710 * malloc/memusage.sh: Likewise.
29711 * malloc/mtrace.pl: Likewise.
29712 * nscd/nscd.c (print_version): Likewise.
29713 * nss/getent.c: Likewise.
29714
a77e8cbc
UD
29715 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29716 PF_CAIF, and PF_ALG.
29717 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29718
77e8bddf
AS
297192011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29720
1f20b93a
AS
29721 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29722 (modules-names): Use them.
29723 (ifunc-test-modules, ifunc-pie-tests): Define.
29724 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29725 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29726 (test-extras): Likewise.
29727 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29728 $(compile-command.c).
29729 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29730 (all-built-dso): Define.
29731 (check-textrel.out, check-execstack.out): Depend on it.
29732
77e8bddf
AS
29733 * configure.in: Don't override --enable-multi-arch.
29734
bc425b33
UD
297352011-01-15 Ulrich Drepper <drepper@gmail.com>
29736
29737 [BZ #6812]
29738 * nscd/hstcache.c (tryagain): Define.
29739 (cache_addhst): Return tryagain not notfound for temporary errors.
29740 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29741 failed.
29742
794c3ad3
UD
297432011-01-14 Ulrich Drepper <drepper@gmail.com>
29744
70181fdd
UD
29745 [BZ #10563]
29746 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29747 to make the syscall.
29748 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29749
794c3ad3
UD
29750 [BZ #12378]
29751 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29752 and fall back to matching as normal character if the string ends before
29753 the matching ']' is found. This is what POSIX requires.
29754 * posix/testfnm.c: Adjust test result.
29755 * posix/globtest.sh: Adjust test result. Add new test.
29756 * posix/tst-fnmatch.input: Likewise.
29757 * posix/tst-fnmatch2.c: Add new test.
29758
68dc9497
AS
297592010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29760
29761 * elf/Makefile (check-execstack): Revert last change. Depend on
29762 check-execstack.h.
29763 (check-execstack.h): New target.
29764 (generated): Add check-execstack.h.
29765 * elf/check-execstack.c: Include "check-execstack.h".
29766 (main): Revert last change.
29767 (handle_file): Return zero if GNU_STACK is absent and
29768 DEFAULT_STACK_PERMS doesn't include PF_X.
29769
451f001b
UD
297702011-01-13 Ulrich Drepper <drepper@gmail.com>
29771
cfa28e56
UD
29772 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29773 in child fails because the descriptor is already closed.
8cf8ce17
UD
29774 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29775 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29776 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 29777
1086d70d
UD
29778 [BZ #12397]
29779 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29780 syscall.
29781
451f001b
UD
29782 [BZ #10484]
29783 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29784 temporary buffer used to handle multi lookups locally.
a85b5cb4 29785 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 29786
08769175
UD
297872011-01-12 Ulrich Drepper <drepper@gmail.com>
29788
29789 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29790 loader is ld.so.
29791
5e49c52e
UD
297922011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29793
29794 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29795 alignment for SSE2.
29796
60522a5f
UD
297972011-01-12 Ulrich Drepper <drepper@gmail.com>
29798
29799 [BZ #12394]
29800 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29801 characters. When rounding increased number of integer digits recompute
29802 number of groups.
29803 * stdio-common/tst-grouping.c: New file.
29804 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29805
f257bbd7
UD
298062011-01-09 Ulrich Drepper <drepper@gmail.com>
29807
29808 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29809 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29810
29811 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29812 void.
29813 * bits/select.h: Likewise.
29814
fa9c15cb
UD
298152011-01-08 Ulrich Drepper <drepper@gmail.com>
29816
29817 * po/ja.po: Update from translation team.
29818
16c2895f
DM
298192011-01-04 David S. Miller <davem@sunset.davemloft.net>
29820
29821 [BZ #11155]
29822 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29823 implementation just like for lxstat, fxstatat, et al.
29824
2543fef2
JM
298252010-12-27 Jim Meyering <meyering@redhat.com>
29826
29827 [BZ #12348]
29828 * posix/regexec.c (build_trtable): Return failure indication upon
29829 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29830
98727dbe
UD
298312010-12-25 Ulrich Drepper <drepper@gmail.com>
29832
5bd6dc5c
UD
29833 [BZ #12201]
29834 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29835 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29836 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29837 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29838
97983464
UD
29839 [BZ #12207]
29840 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29841
98727dbe
UD
29842 [BZ #12204]
29843 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29844 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29845
4a531bb0
L
298462010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29847
29848 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29849 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29850 script has SORT_BY_INIT_PRIORITY.
29851 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29852 NO_CTORS_DTORS_SECTIONS is defined.
29853 * elf/soinit.c: Likewise.
29854 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29855 NO_CTORS_DTORS_SECTIONS is defined.
29856 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29857 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29858 * sysdeps/sh/init-first.c: Likewise.
29859 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29860
07eb4b71
UD
298612010-12-24 Ulrich Drepper <drepper@gmail.com>
29862
29863 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29864 always use the slow path.
29865
30950a5f
RA
298662010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29867
29868 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29869 similar rule which adds the sysdep directories to the header search in
29870 order to pick up the correct platform stackinfo.h.
29871 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29872 perform test if it is, otherwise return successfully without testing.
29873 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29874 DEFAULT_STACK_PERMS define in stackinfo.h.
29875 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29876 defined in stackinfo.h.
29877 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29878 DEFAULT_STACK_PERMS defined in stackinfo.h.
29879 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29880 * sysdeps/ia64/stackinfo.h: Likewise.
29881 * sysdeps/s390/stackinfo.h: Likewise.
29882 * sysdeps/sh/stackinfo.h: Likewise.
29883 * sysdeps/sparc/stackinfo.h: Likewise.
29884 * sysdeps/x86_64/stackinfo.h: Likewise.
29885 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29886 PF_X for powerpc64. Retain PF_X for powerpc32.
29887
db753e2c
UD
298882010-12-19 Ulrich Drepper <drepper@gmail.com>
29889
14b697f7
UD
29890 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29891 accurately.
db753e2c
UD
29892 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29893 GETDENTS_64BIT_ALIGNED.
29894
28300719
UD
298952010-12-14 Ulrich Drepper <dreper@gmail.com>
29896
14b697f7 29897 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 29898
4f197237
AS
298992010-12-10 Andreas Schwab <schwab@redhat.com>
29900
dbb0472f
AS
29901 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29902 _GNU_SOURCE.
29903
4f197237
AS
29904 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29905 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29906 Remove __restrict.
29907 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29908 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29909
fb88ac72
UD
299102010-12-09 Ulrich Drepper <drepper@gmail.com>
29911
29912 [BZ #11655]
29913 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29914 are initialized.
29915
42acbb92
JJ
299162010-12-09 Jakub Jelinek <jakub@redhat.com>
29917
29918 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29919
c038d98d
UD
299202010-12-03 Ulrich Drepper <drepper@gmail.com>
29921
29922 * po/it.po: Update from translation team.
29923
3a4a2499
L
299242010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29925
29926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29927 unused codes.
29928
1e24cf6e
UD
299292010-11-30 Ulrich Drepper <drepper@gmail.com>
29930
29931 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29932
a7690819
AS
299332010-11-24 Andreas Schwab <schwab@redhat.com>
29934
29935 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29936 specially.
29937 (gaih_getanswer_slice): Likewise.
29938
3bf8d1b1
JJ
299392010-10-20 Jakub Jelinek <jakub@redhat.com>
29940
29941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29942
6db52fbb
PB
299432010-05-31 Petr Baudis <pasky@suse.cz>
29944
29945 [BZ #11149]
29946 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29947 silently even in the chroot mode.
29948
eaca7569
UD
299492010-11-22 Ulrich Drepper <drepper@gmail.com>
29950
29951 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29952 last patch a bit. Pretty printing
29953
3056dcdb
UD
299542010-05-31 Petr Baudis <pasky@suse.cz>
29955
29956 [BZ #10085]
29957 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29958 initialization of skip_initgroups_dyn.
29959
cf7c9078
UD
299602010-11-19 Ulrich Drepper <drepper@gmail.com>
29961
29962 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29963 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29964
a1fb5e3e
UD
299652010-11-16 Ulrich Drepper <drepper@gmail.com>
29966
29967 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29968
3540d66b
AS
299692010-11-11 Andreas Schwab <schwab@redhat.com>
29970
29971 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29972 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29973 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29974 ($(objpfx)tst-fnmatch-mem): New rule.
29975 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29976 * posix/tst-fnmatch.c (main): Call mtrace.
29977
13b69574
L
299782010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29979
29980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29981 Support Intel processor model 6 and model 0x2c.
29982
da93d214
LM
299832010-11-10 Luis Machado <luisgpm@br.ibm.com>
29984
29985 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29986 signed comparison.
29987
8ca52c6e
L
299882010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29989
29990 [BZ #12205]
29991 * string/test-strncasecmp.c (check_result): New function.
29992 (do_one_test): Use it.
29993 (check1): New function.
29994 (test_main): Use it.
29995 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29996 Support strcasecmp and strncasecmp.
29997
69da074d
UD
299982010-11-08 Ulrich Drepper <drepper@gmail.com>
29999
30000 [BZ #12194]
30001 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30002 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30003
ff02d528
L
300042010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30005
30006 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30007 IFUNC support.
30008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30009 memset-x86-64.
30010 * sysdeps/x86_64/multiarch/bzero.S: New file.
30011 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30012 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30013 * sysdeps/x86_64/multiarch/memset.S: New file.
30014 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30016 Set bit_Prefer_SSE_for_memop for Intel processors.
30017 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30018 Define.
30019 (index_Prefer_SSE_for_memop): Define.
30020 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30021
344d0b54
LM
300222010-11-04 Luis Machado <luisgpm@br.ibm.com>
30023
30024 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30025 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30026
c0dde15b
UD
300272010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30028
30029 [BZ #12191]
30030 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30031 (__x86_64_raw_data_cache_size_half): Likewise.
30032 (__x86_64_raw_shared_cache_size): Likewise.
30033 (__x86_64_raw_shared_cache_size_half): Likewise.
30034
30035 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30036 (__x86_64_raw_data_cache_size_half): Likewise.
30037 (__x86_64_raw_shared_cache_size): Likewise.
30038 (__x86_64_raw_shared_cache_size_half): Likewise.
30039 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30040 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30041 and __x86_64_raw_shared_cache_size_half. Round
30042 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30043 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30044 to multiple of 256 bytes.
30045
0e516e0e
MS
300462010-11-03 Ulrich Drepper <drepper@gmail.com>
30047
30048 [BZ #12167]
30049 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30050 of inacessible symlinks. Verify result of symlink before returning it.
30051 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30052 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30053
0e012e87
ER
300542010-10-28 Erich Ritz <erichritz@gmail.com>
30055
30056 * math/math.h (isinf): Fix typo in comment.
30057
de0ff7bc
UD
300582010-11-01 Ulrich Drepper <drepper@gmail.com>
30059
30060 * po/da.po: Update from translation team.
30061
fa41c84d
UD
300622010-10-26 Ulrich Drepper <drepper@gmail.com>
30063
30064 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30065 is added to the list.
30066
f0967738
AK
300672010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30068 Ulrich Drepper <drepper@gmail.com>
30069
30070 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30071 the global list here. Move code to...
30072 (_dl_add_to_namespace_list): ...here. New function.
30073 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30074 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30075 * elf/dl-load.c (lose): Don't remove the element from the list.
30076 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30077 (_dl_map_object): Likewise.
30078
300792010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30080
30081 [BZ #12159]
30082 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30083 into all bytes of SSE register.
30084 Patch by Richard Li <richardpku@gmail.com>.
30085
f0967738 300862010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30087
30088 [BZ #12140]
30089 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30090 perturbing.
30091
d0b9e94f
MB
300922010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30093
30094 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30095 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30096 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30097 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30099 submachine.
30100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30101
8e9f92e9
AS
301022010-10-22 Andreas Schwab <schwab@redhat.com>
30103
30104 * include/dlfcn.h (__RTLD_SECURE): Define.
30105 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30106 mode & __RTLD_SECURE instead.
30107 (open_path): Rename preloaded parameter to secure.
30108 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30109 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30110 * elf/dl-deps.c (openaux): Likewise.
30111 * elf/rtld.c (struct map_args): Remove is_preloaded.
30112 (map_doit): Don't use it.
30113 (dl_main): Likewise.
30114 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30115 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30116
bc96fbda
AS
301172010-09-09 Andreas Schwab <schwab@redhat.com>
30118
30119 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30120 (sysd-rules-targets): Remove duplicates.
30121 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30122 rtld-%.$o dependency.
30123
22cd1c9b
AS
301242010-10-18 Andreas Schwab <schwab@redhat.com>
30125
30126 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30127 _dl_map_object do it.
30128
18edac48
UD
301292010-10-19 Ulrich Drepper <drepper@gmail.com>
30130
30131 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30132 fast fma builtins, define the macros in the C99 standard.
30133 (FP_FAST_FMAF): Likewise.
30134 (FP_FAST_FMAL): Likewise.
30135 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30136
30137 * bits/mathdef.h: Update copyright year.
30138 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30139
d2050124
MM
301402010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30141
30142 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30143 builtins, define the macros in the C99 standard.
30144 (FP_FAST_FMAF): Likewise.
30145 (FP_FAST_FMAL): Likewise.
30146 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30147 multiply/add.
30148 (FP_FAST_FMAF): Likewise.
30149
475facd1
JJ
301502010-10-15 Jakub Jelinek <jakub@redhat.com>
30151
30152 [BZ #3268]
30153 * math/libm-test.inc (fma_test): Some new testcases.
30154 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30155 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30156 y and infinite z. Do multiplication by C already in long double.
30157 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30159 y and infinite z. Do bitwise or of inexact bit into u.d.
30160 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30161 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30162 * sysdeps/i386/fpu/s_fma.S: Removed.
30163 * sysdeps/i386/fpu/s_fmal.S: Removed.
30164
7c08a05c
JJ
301652010-10-16 Jakub Jelinek <jakub@redhat.com>
30166
30167 [BZ #3268]
30168 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30170 computation is not scheduled after fetestexcept. Fix value
30171 of minimum denormal long double.
30172
f3f7372d
JJ
301732010-10-14 Jakub Jelinek <jakub@redhat.com>
30174
30175 [BZ #3268]
30176 * math/libm-test.inc (fma_test): Add some more tests.
30177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30178 correctly.
30179
14d43591
AS
301802010-10-15 Andreas Schwab <schwab@redhat.com>
30181
30182 * scripts/data/localplt-s390-linux-gnu.data: New file.
30183 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30184
5e908464
JJ
301852010-10-13 Jakub Jelinek <jakub@redhat.com>
30186
30187 [BZ #3268]
30188 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30189 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30190 instead of dbl-64.
30191 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30192 inlines.
30193 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30195 if one of x and y is very large and the other is subnormal.
30196 * sysdeps/s390/fpu/s_fmaf.c: New file.
30197 * sysdeps/s390/fpu/s_fma.c: New file.
30198 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30199 * sysdeps/powerpc/fpu/s_fma.S: New file.
30200 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30201 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30202 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30203
302042010-10-12 Jakub Jelinek <jakub@redhat.com>
30205
30206 [BZ #3268]
30207 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30208 fma tests.
30209 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30210 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30211 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30212 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30213 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30214 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30215 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30216
b833d51f
UD
302172010-10-12 Ulrich Drepper <drepper@redhat.com>
30218
30219 [BZ #12078]
30220 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30221 * posix/bug-regex31.input: Add test case.
30222
1751705d
UD
302232010-10-11 Ulrich Drepper <drepper@gmail.com>
30224
e9b9cbf5
UD
30225 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30226 * posix/bug-regex31.input: New file.
30227
30228 [BZ #12078]
30229 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30230 (parse_sub_exp): Fix last change, use postorder.
30231
ef06edbe
UD
30232 * posix/bug-regex31.c: New file.
30233 * posix/Makefile: Add rules to build and run bug-regex31.
30234
a129c80d
UD
30235 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30236
30237 [BZ #12078]
30238 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30239
b76b818e
UD
30240 [BZ #12108]
30241 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30242 to have entries in sys_siglist.
30243
1751705d
UD
30244 [BZ #12093]
30245 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30246 be NULL.
30247
9ff8d36f
JJ
302482010-10-07 Jakub Jelinek <jakub@redhat.com>
30249
30250 [BZ #3268]
30251 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30252 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30253 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30254 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30255 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30256 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30257 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30258 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30259 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30260 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30261 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30262 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30263 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30264 * math/ftestexcept.c (fetestexcept): Likewise.
30265 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30266 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30267 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30268 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30269 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30270 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30271 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30272
af325969
UD
302732010-10-11 Ulrich Drepper <drepper@gmail.com>
30274
c579b202 30275 [BZ #12107]
af325969
UD
30276 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30277 newline.
30278
67a67b95
UD
302792010-10-06 Ulrich Drepper <drepper@gmail.com>
30280
30281 * string/bug-strstr1.c: New file.
30282 * string/Makefile: Add rules to build and run bug-strstr1.
30283
5fb308bc
EB
302842010-10-05 Eric Blake <eblake@redhat.com>
30285
30286 [BZ #12092]
30287 * string/str-two-way.h (two_way_long_needle): Always clear memory
30288 when skipping input due to the shift table.
30289
45db99c7
UD
302902010-10-03 Ulrich Drepper <drepper@gmail.com>
30291
3b111893
UD
30292 [BZ #12005]
30293 * malloc/mcheck.c: Handle large requests.
30294
45db99c7
UD
30295 [BZ #12077]
30296 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30297 for strncmp and strncasecmp.
30298 * string/stratcliff.c: Add tests for strcmp and strncmp.
30299 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30300
cf7a1eb8
NI
303012010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30302
30303 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30304 __set_fpscr.
30305
6484ba5e
AJ
303062010-09-30 Andreas Jaeger <aj@suse.de>
30307
30308 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30309 (CGROUP_SUPER_MAGIC): Define.
30310 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30311 Handle btrfs and cgroup file systems.
30312 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30313 Likewise.
30314
91c42559
LM
303152010-09-27 Luis Machado <luisgpm@br.ibm.com>
30316
30317 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30318 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30319
87a97932
AK
303202010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30321
30322 [BZ #12067]
30323 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30324 trying to locate the ELF header.
30325
c21cc9bc
AS
303262010-09-27 Andreas Schwab <schwab@redhat.com>
30327
30328 [BZ #11611]
30329 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30330 Mask out sign-bit copies when constructing f_fsid.
30331
315970f6
PB
303322010-09-24 Petr Baudis <pasky@suse.cz>
30333
30334 * debug/stack_chk_fail_local.c: Add missing licence exception.
30335 * debug/warning-nop.c: Likewise.
30336
1ac7a2c7
JM
303372010-09-15 Joseph Myers <joseph@codesourcery.com>
30338
30339 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30340 implementing getdents64 using getdents syscall, set d_type if
30341 __ASSUME_GETDENTS32_D_TYPE.
30342
56801c50
AS
303432010-09-16 Andreas Schwab <schwab@redhat.com>
30344
30345 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30346 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30347
dda51327
UD
303482010-09-21 Ulrich Drepper <drepper@redhat.com>
30349
30350 [BZ #12037]
30351 * posix/unistd.h: Undo change of feature selection for ftruncate from
30352 2010-01-11.
30353
8ffcee4a
UD
303542010-09-20 Ulrich Drepper <drepper@redhat.com>
30355
a545ecd9 30356 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30357 detection.
30358
e24f0a8b
AS
303592010-09-20 Andreas Schwab <schwab@redhat.com>
30360
30361 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30362 fanotify_mark.
30363 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30364
7291c56f
AS
303652010-09-14 Andreas Schwab <schwab@redhat.com>
30366
30367 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30368 variables after CHECK_SP call.
30369 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30370
bc5fb037
AS
303712010-09-13 Andreas Schwab <schwab@redhat.com>
30372 Ulrich Drepper <drepper@redhat.com>
30373
30374 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30375 re-relocationg ld.so.
30376 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30377 _dl_init_paths call.
30378 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30379 here anymore.
30380
e66e7419
UD
303812010-09-14 Ulrich Drepper <drepper@redhat.com>
30382
30383 * resolv/res_init.c (__res_vinit): Count the default server we added.
30384
c044aa75
CLT
303852010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30386 Ulrich Drepper <drepper@redhat.com>
30387
30388 [BZ #11968]
30389 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30390 (____longjmp_chk): Use %ebx for saving value across system call.
30391 Add unwind info.
30392
32cf4069
AS
303932010-09-06 Andreas Schwab <schwab@redhat.com>
30394
30395 * manual/Makefile: Don't mix pattern rules with normal rules.
30396
817328ee
AS
303972010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30398
30399 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30400 operation.
30401 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30402 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30403 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30404 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30405 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30406 Likewise.
30407
29fddf61
UD
304082010-09-04 Ulrich Drepper <drepper@redhat.com>
30409
30410 [BZ #11979]
30411 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30412 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30413
0959ffc9
UD
304142010-09-02 Ulrich Drepper <drepper@redhat.com>
30415
30416 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30417 * sysdeps/x86_64/addmul_1.S: Likewise.
30418 * sysdeps/x86_64/lshift.S: Likewise.
30419 * sysdeps/x86_64/mul_1.S: Likewise.
30420 * sysdeps/x86_64/rshift.S: Likewise.
30421 * sysdeps/x86_64/sub_n.S: Likewise.
30422 * sysdeps/x86_64/submul_1.S: Likewise.
30423
ece29840
ST
304242010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30425
0959ffc9
UD
30426 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30427 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30428 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30429 * bits/sched.h [__need_schedparam]
ece29840 30430 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30431 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30432 (__defined_schedparam): Define to 1.
ece29840
ST
30433 (__sched_param): New structure, identical to sched_param.
30434 (__need_schedparam): Undefine.
30435
e53a31fe
MF
304362010-08-31 Mike Frysinger <vapier@gentoo.org>
30437
fdc0c10d
MF
30438 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30439 (epoll_create1): Declare.
30440
e53a31fe
MF
30441 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30442
a726d796
AS
304432010-08-31 Andreas Schwab <schwab@redhat.com>
30444
30445 [BZ #7066]
30446 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30447 shifting retval into place.
30448
2f3e3dc7
UD
304492010-09-01 Ulrich Drepper <drepper@redhat.com>
30450
f2933da9
UD
30451 * nis/rpcsvc/nis.h: Update copyright notice.
30452 * nis/rpcsvc/nis.x: Likewise.
30453 * nis/rpcsvc/nis_callback.h: Likewise.
30454 * nis/rpcsvc/nis_callback.x: Likewise.
30455 * nis/rpcsvc/nis_object.x: Likewise.
30456 * nis/rpcsvc/nis_tags.h: Likewise.
30457 * nis/rpcsvc/yp.h: Likewise.
30458 * nis/rpcsvc/yp.x: Likewise.
30459 * nis/rpcsvc/ypupd.h: Likewise.
30460 * nis/yp_xdr.c: Likewise.
30461 * nis/ypupdate_xdr.c: Likewise.
30462
2f3e3dc7
UD
30463 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30464 mainly the body of pmap_getport. Add parameters to specify timeouts.
30465 (pmap_getport): Use __libc_rpc_getport.
30466 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30467 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30468 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30469
f3dcc2f9
AS
304702010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30471
30472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30473 fanotify_mark.
30474
6d34eb5b
RM
304752010-08-27 Roland McGrath <roland@redhat.com>
30476
30477 * sysdeps/i386/i686/multiarch/Makefile
30478 (CFLAGS-varshift.c): New variable.
30479
9ea3de11
UD
304802010-08-27 Ulrich Drepper <drepper@redhat.com>
30481
c96d23fc
UD
30482 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30483 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30484
9ea3de11
UD
30485 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30486
30487 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30488
623aac7f
L
304892010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30490
30491 * sysdeps/x86_64/strlen.S: Unroll the loop.
30492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30493 strlen-sse2 strlen-sse2-bsf.
30494 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30495 __strlen_no_bsf if bit_Slow_BSF is set.
30496 (__strlen_sse42): Removed.
30497 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30498 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30499
8b2b7715
RM
305002010-08-25 Roland McGrath <roland@redhat.com>
30501
30502 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30503 * sysdeps/x86_64/multiarch/varshift.c: New file.
30504 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30505 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30506 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30507 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30508
e73015f2
L
305092010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30510
30511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30512 strlen-sse2 strlen-sse2-bsf.
30513 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30514 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30515 (__strlen_sse2): Removed.
30516 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30517 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30519 bit_Slow_BSF for Atom.
30520 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30521 (index_Slow_BSF): Define.
30522 (HAS_SLOW_BSF): Define.
30523
df24a73e
UD
305242010-08-25 Ulrich Drepper <drepper@redhat.com>
30525
30526 [BZ #10851]
30527 * resolv/res_init.c (__res_vinit): When no server address at all
30528 is given default to loopback.
30529
f2ac4868
RM
305302010-08-24 Roland McGrath <roland@redhat.com>
30531
09055553
RM
30532 * configure.in: Remove config-name.h generation.
30533 * configure: Regenerated.
30534 * config-name.in: File removed.
30535 * scripts/config-uname.sh: New file.
30536 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30537 ($(objdir)config-name.h): New target.
30538
f2ac4868
RM
30539 * sunrpc/rpc_parse.h: Avoid nested comment.
30540
73f27d5e
RH
305412010-08-24 Richard Henderson <rth@redhat.com>
30542 Ulrich Drepper <drepper@redhat.com>
30543 H.J. Lu <hongjiu.lu@intel.com>
30544
30545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30547 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30548 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30549 _mm_alignr_epi8 with _mm_loadu_si128.
30550 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30551 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30552 (__m128i_shift_right): Removed.
30553 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30554 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30555 * sysdeps/x86_64/multiarch/varshift.h: New file.
30556 * sysdeps/x86_64/multiarch/varshift.S: New file.
30557
84b9230c
MF
305582010-08-21 Mike Frysinger <vapier@gentoo.org>
30559
30560 * configure.in: Move assembler checks to before sysdep dir checking.
30561
9bbd0ddc
PB
305622010-08-20 Petr Baudis <pasky@suse.cz>
30563
30564 * LICENSES: Sync the sunrpc license.
30565
9da4bb31
UD
305662010-08-19 Ulrich Drepper <drepper@redhat.com>
30567
a7ab6ec8
UD
30568 * sunrpc/auth_des.c: Update copyright notice once again.
30569 * sunrpc/auth_none.c: Likewise.
30570 * sunrpc/auth_unix.c: Likewise.
30571 * sunrpc/authdes_prot.c: Likewise.
30572 * sunrpc/authuxprot.c: Likewise.
30573 * sunrpc/bindrsvprt.c: Likewise.
30574 * sunrpc/clnt_gen.c: Likewise.
30575 * sunrpc/clnt_perr.c: Likewise.
30576 * sunrpc/clnt_raw.c: Likewise.
30577 * sunrpc/clnt_simp.c: Likewise.
30578 * sunrpc/clnt_tcp.c: Likewise.
30579 * sunrpc/clnt_udp.c: Likewise.
30580 * sunrpc/clnt_unix.c: Likewise.
30581 * sunrpc/des_crypt.c: Likewise.
30582 * sunrpc/des_soft.c: Likewise.
30583 * sunrpc/get_myaddr.c: Likewise.
30584 * sunrpc/getrpcport.c: Likewise.
30585 * sunrpc/key_call.c: Likewise.
30586 * sunrpc/key_prot.c: Likewise.
30587 * sunrpc/openchild.c: Likewise.
30588 * sunrpc/pm_getmaps.c: Likewise.
30589 * sunrpc/pm_getport.c: Likewise.
30590 * sunrpc/pmap_clnt.c: Likewise.
30591 * sunrpc/pmap_prot.c: Likewise.
30592 * sunrpc/pmap_prot2.c: Likewise.
30593 * sunrpc/pmap_rmt.c: Likewise.
30594 * sunrpc/rpc/auth.h: Likewise.
30595 * sunrpc/rpc/auth_unix.h: Likewise.
30596 * sunrpc/rpc/clnt.h: Likewise.
30597 * sunrpc/rpc/des_crypt.h: Likewise.
30598 * sunrpc/rpc/key_prot.h: Likewise.
30599 * sunrpc/rpc/netdb.h: Likewise.
30600 * sunrpc/rpc/pmap_clnt.h: Likewise.
30601 * sunrpc/rpc/pmap_prot.h: Likewise.
30602 * sunrpc/rpc/pmap_rmt.h: Likewise.
30603 * sunrpc/rpc/rpc.h: Likewise.
30604 * sunrpc/rpc/rpc_des.h: Likewise.
30605 * sunrpc/rpc/rpc_msg.h: Likewise.
30606 * sunrpc/rpc/svc.h: Likewise.
30607 * sunrpc/rpc/svc_auth.h: Likewise.
30608 * sunrpc/rpc/types.h: Likewise.
30609 * sunrpc/rpc/xdr.h: Likewise.
30610 * sunrpc/rpc_clntout.c: Likewise.
30611 * sunrpc/rpc_cmsg.c: Likewise.
30612 * sunrpc/rpc_common.c: Likewise.
30613 * sunrpc/rpc_cout.c: Likewise.
30614 * sunrpc/rpc_dtable.c: Likewise.
30615 * sunrpc/rpc_hout.c: Likewise.
30616 * sunrpc/rpc_main.c: Likewise.
30617 * sunrpc/rpc_parse.c: Likewise.
30618 * sunrpc/rpc_parse.h: Likewise.
30619 * sunrpc/rpc_prot.c: Likewise.
30620 * sunrpc/rpc_sample.c: Likewise.
30621 * sunrpc/rpc_scan.c: Likewise.
30622 * sunrpc/rpc_scan.h: Likewise.
30623 * sunrpc/rpc_svcout.c: Likewise.
30624 * sunrpc/rpc_tblout.c: Likewise.
30625 * sunrpc/rpc_util.c: Likewise.
30626 * sunrpc/rpc_util.h: Likewise.
30627 * sunrpc/rpcinfo.c: Likewise.
30628 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30629 * sunrpc/rpcsvc/key_prot.x: Likewise.
30630 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30631 * sunrpc/rpcsvc/mount.x: Likewise.
30632 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30633 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30634 * sunrpc/rpcsvc/rex.x: Likewise.
30635 * sunrpc/rpcsvc/rstat.x: Likewise.
30636 * sunrpc/rpcsvc/rusers.x: Likewise.
30637 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30638 * sunrpc/rpcsvc/spray.x: Likewise.
30639 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30640 * sunrpc/rtime.c: Likewise.
30641 * sunrpc/svc.c: Likewise.
30642 * sunrpc/svc_auth.c: Likewise.
30643 * sunrpc/svc_authux.c: Likewise.
30644 * sunrpc/svc_raw.c: Likewise.
30645 * sunrpc/svc_run.c: Likewise.
30646 * sunrpc/svc_simple.c: Likewise.
30647 * sunrpc/svc_tcp.c: Likewise.
30648 * sunrpc/svc_udp.c: Likewise.
30649 * sunrpc/svc_unix.c: Likewise.
30650 * sunrpc/svcauth_des.c: Likewise.
30651 * sunrpc/xcrypt.c: Likewise.
30652 * sunrpc/xdr.c: Likewise.
30653 * sunrpc/xdr_array.c: Likewise.
30654 * sunrpc/xdr_float.c: Likewise.
30655 * sunrpc/xdr_mem.c: Likewise.
30656 * sunrpc/xdr_rec.c: Likewise.
30657 * sunrpc/xdr_ref.c: Likewise.
30658 * sunrpc/xdr_sizeof.c: Likewise.
30659 * sunrpc/xdr_stdio.c: Likewise.
30660
9da4bb31
UD
30661 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30662 handling.
30663
bdaa77bc
AS
306642010-08-19 Andreas Schwab <schwab@redhat.com>
30665
30666 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30667
fe2f79db
LM
306682010-08-19 Luis Machado <luisgpm@br.ibm.com>
30669
30670 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30671 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30672 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30673 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30674 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30675 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30676 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30677 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30678 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30679 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30680 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30681 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30682 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30683 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30684
b9b42ee0
AB
306852010-07-26 Anton Blanchard <anton@samba.org>
30686
30687 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30688 * malloc/arena.c (heap_trim): Likewise.
30689
1c06ba31
UD
306902010-08-16 Ulrich Drepper <drepper@redhat.com>
30691
30692 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30693 here. Not...
30694 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30695 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30696
f8392f40
L
306972010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30698
30699 * sysdeps/i386/elf/Makefile: New file.
30700
3162f12e
AS
307012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30702
30703 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30704 from fanotify_init.
30705 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30706 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30707
28c90b2c
UD
307082010-08-15 Ulrich Drepper <drepper@redhat.com>
30709
30710 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30711 of strncasecmp_l.
1feccb6c 30712 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 30713
ca6bb004
UD
307142010-08-14 Ulrich Drepper <drepper@redhat.com>
30715
e9f82e0d
UD
30716 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30717 strncase_l-nonascii.
30718 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30719 Add strncase_l-ssse3.
30720 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30721 * sysdeps/x86_64/strcmp.S: Likewise.
30722 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30723 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30724 * sysdeps/x86_64/strncase.S: New file.
30725 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30726 * sysdeps/x86_64/strncase_l.S: New file.
30727 * string/Makefile (strop-tests): Add strncasecmp.
30728 * string/test-strncasecmp.c: New file.
30729
30730 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30731 warning.
30732
ca6bb004
UD
30733 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30734 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30735
052fa7b3
AS
307362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30737
30738 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30739
962dba78
UD
307402010-08-12 Ulrich Drepper <drepper@redhat.com>
30741
30742 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30743 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30744 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30745
bebff237
AM
307462010-05-01 Alan Modra <amodra@gmail.com>
30747
30748 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30749 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30750 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30751 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30752 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30753 tidying. Don't tail-call __sigjmp_save for static lib.
30754 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30755 save location.
30756 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30757 (CALL_MCOUNT): Add eh info, and nop after bl.
30758 (TAIL_CALL_SYSCALL_ERROR): New macro.
30759 (PSEUDO_RET): Use it.
30760 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30761 Correct save location of integer regs and cr.
30762 (_dl_profile_resolve): Correct cr save location. Delete nops
30763 after bl when SHARED. Reduce cfi size a little by better
30764 placement of cfi directives.
30765 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30766 make a stack frame. Instead use parm save area as a temp.
30767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30768 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30770 Don't make a stack frame for parent, use parm save area.
30771 Increase child stack frame to 112 bytes. Don't save unused reg,
30772 and adjust reg usage. Set up cfi on error recovery and
30773 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30775 (__makecontext): Add dummy nop after jump to exit.
30776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30777 Use correct parm save area and cr save, reduce stack frame.
30778 Correct cfi for possible PSEUDO_RET frame setup.
30779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30780 Branch to local label emitted by PSEUDO_RET rather than
30781 __syscall_error.
30782
02637374
AS
307832010-08-12 Andreas Schwab <schwab@redhat.com>
30784
30785 [BZ #11904]
30786 * locale/programs/locale.c (print_assignment): New function.
30787 (show_locale_vars): Use it.
30788
c3e2f19b
UD
307892010-08-11 Ulrich Drepper <drepper@redhat.com>
30790
3cdaa6ad
UD
30791 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30792 field.
30793 (struct statfs64): Likewise.
30794 (_STATFS_F_FLAGS): Define.
30795 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30796 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30797 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30798 (ST_VALID): Define locally.
30799 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30800 __statvfs_getflags, use the provided value.
30801 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30802 __ASSUME_STATFS_F_FLAGS.
30803
754f7da3
UD
30804 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30805
10b3bedc
UD
30806 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30807 Add sys/fanotify.h.
30808 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30809 fanotify_mask for GLIBC_2.13.
30810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30811 fanotify_init and fanotify_mark.
30812 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30813 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30814
c08fb0d7
UD
30815 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30816 Add prlimit.
30817 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30818 prlimit64 for GLIBC_2.13.
30819 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30820 prlimit64.
30821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30822 syscall.
30823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30824 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30825 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30826 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30827 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30828 add prlimit alias.
30829 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30830
15bac72b
UD
30831 [BZ #11903]
30832 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30833 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30834
c3e2f19b
UD
30835 * nss/Makefile: Add rules to build and run tst-nss-test1.
30836 * shlib-versions: Add entry for libnss_test1.
30837 * nss/nss_test1.c: New file.
30838 * nss/tst-nss-test1.c: New file.
30839
30840 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30841 (__nss_configure_lookup): Set appropriate entry in
30842 __nss_configure_lookup to true.
30843 * nss/nsswitch.h: Define enum with indeces of databases in
30844 databases and __nss_database_custom arrays. Declare
30845 __nss_database_custom.
30846 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30847 to avoid using nscd when custom rules are installed.
30848 * nss/getXXbyYY_r.c: Likewise.
30849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30850
30851 * nss/nss_files/files-parse.c: Whitespace fixes.
30852
f15ce4d8
UD
308532010-08-09 Ulrich Drepper <drepper@redhat.com>
30854
30855 [BZ #11883]
30856 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30857 * posix/fnmatch_loop.c: Likewise.
30858
d22e4cc9
AK
308592010-07-17 Andi Kleen <ak@linux.intel.com>
30860
30861 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30862 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30863 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30864 * Versions.def [GLIBC_2.13]: Add.
30865
805bc17d
UD
308662010-08-06 Ulrich Drepper <drepper@redhat.com>
30867
30868 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30869 Also fail if tpwd after pwuid call is NULL.
30870
5a42321d
ST
308712010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30872
30873 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30874 when converting to ms.
30875
fd3ebeda
ST
308762010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30877
30878 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30879 EOPNOTSUPP errors with ENOTTY.
30880 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30881 EOPNOTSUPP errors with ENOTTY.
30882
73507d3a
UD
308832010-07-31 Ulrich Drepper <drepper@redhat.com>
30884
30885 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30886 Add strcasecmp_l-ssse3.
30887 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30888 strcasecmp.
30889 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30890 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30891 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30892
fe36dd02
UD
308932010-07-30 Ulrich Drepper <drepper@redhat.com>
30894
66f6765a
UD
30895 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30896
42e08a54
UD
30897 * string/Makefile (strop-tests): Add strcasecmp.
30898 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30899 strcasecmp_l-nonascii.
30900 (gen-as-const-headers): Add locale-defines.sym.
30901 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30902 * sysdeps/x86_64/strcasecmp.S: New file.
30903 * sysdeps/x86_64/strcasecmp_l.S: New file.
30904 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30905 * sysdeps/x86_64/locale-defines.sym: New file.
30906 * string/test-strcasecmp.c: New file.
30907
fe36dd02
UD
30908 * string/test-strcasestr.c: Test both ends of the range of characters.
30909 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30910
48cbc0d6
RM
309112010-07-29 Roland McGrath <roland@redhat.com>
30912
76e6d6bc 30913 [BZ #11856]
48cbc0d6
RM
30914 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30915
880113d9
UD
309162010-07-27 Ulrich Drepper <drepper@redhat.com>
30917
30918 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30919 for ld.so.
30920
deb9cabb
AS
309212010-07-27 Andreas Schwab <schwab@redhat.com>
30922
30923 * manual/memory.texi (Malloc Tunable Parameters): Document
30924 M_PERTURB.
30925
1c7570ff
RM
309262010-07-26 Roland McGrath <roland@redhat.com>
30927
30928 [BZ #11840]
30929 * configure.in (-fgnu89-inline check): Set and substitute
30930 gnu89_inline, not libc_cv_gnu89_inline.
30931 * configure: Regenerated.
30932 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30933
24fb0f88
UD
309342010-07-26 Ulrich Drepper <drepper@redhat.com>
30935
30936 * string/test-strnlen.c: New file.
30937 * string/Makefile (strop-tests): Add strnlen.
30938 * string/tester.c (test_strnlen): Add a few more test cases.
30939 * string/tst-strlen.c: Better error reporting.
30940
30941 * sysdeps/x86_64/strnlen.S: New file.
30942
8e96b93a
UD
309432010-07-24 Ulrich Drepper <drepper@redhat.com>
30944
30945 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30946 lower-latency instructions.
30947
dbc676d4
UD
309482010-07-23 Ulrich Drepper <drepper@redhat.com>
30949
30950 * string/test-strcasestr.c: New file.
30951 * string/test-strstr.c: New file.
30952 * string/Makefile (strop-tests): Add strstr and strcasestr.
30953 * string/str-two-way.h: Don't undefine MAX.
30954 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30955
f6a31e0e
AS
309562010-07-21 Andreas Schwab <schwab@redhat.com>
30957
30958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30959 strcasestr-nonascii.
30960 (CFLAGS-strcasestr-nonascii.c): Define.
30961 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30962 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30963 Remove unused attribute.
30964
5dbc3b6c
RM
309652010-07-20 Roland McGrath <roland@redhat.com>
30966
30967 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30968 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30969 ld.so.cache was broken. With it, there is no way to disable dsocaps
30970 like LD_HWCAP_MASK can disable hwcaps.
30971
23d101d8
EPM
309722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30973
30974 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30975
cc9f2e47
UD
309762010-07-16 Ulrich Drepper <drepper@redhat.com>
30977
30978 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30979 call in strcasestr.
30980 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30981 __strcasestr_sse42_nonascii.
30982 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30983 strcasestr-nonascii.c.
30984 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30985
77c1b069
LM
309862010-06-15 Luis Machado <luisgpm@br.ibm.com>
30987
30988 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30989 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30990 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30991 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30992
440566c3
UD
309932010-07-09 Ulrich Drepper <drepper@redhat.com>
30994
30995 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30996 fcntl.
30997
5be9d05d
AS
309982010-07-06 Andreas Schwab <schwab@redhat.com>
30999
c30b7ee2 31000 [BZ #11577]
5be9d05d
AS
31001 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31002 dl_signal_cerror.
31003
8a492a67
UD
310042010-07-06 Ulrich Drepper <drepper@redhat.com>
31005
31006 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31007 _PC_PIPE_BUF using F_GETPIPE_SZ.
31008
713df3d5
RM
310092010-07-05 Roland McGrath <roland@redhat.com>
31010
31011 * manual/arith.texi (Rounding Functions): Fix rint description
31012 implicit in round description.
31013
702e8f14
UD
310142010-07-02 Ulrich Drepper <drepper@redhat.com>
31015
31016 * elf/Makefile: Fix linking for a few tests to make recent linker
31017 happy.
31018
52ed8be9
AS
310192010-06-30 Andreas Schwab <schwab@redhat.com>
31020
31021 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31022 $(common-objpfx)libc_nonshared.a.
31023
f47c9a11
LM
310242010-06-21 Luis Machado <luisgpm@br.ibm.com>
31025
31026 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31027 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31028 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31029 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31030 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31031 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31032 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31033 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31048 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31049 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31050 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31051 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31052 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31053 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31054 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31055 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31056 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31057 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31058 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31059 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31074
6fb8cbcb
L
310752010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31076
31077 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31078 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31079 * string/memmove.c (memmove): Renamed to ...
31080 (MEMMOVE): ...this. Default to memmove.
31081 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31082 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31083 (END_CHK): Define.
31084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31085 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31086 mempcpy-ssse3-back memmove-ssse3-back.
31087 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31089 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31090 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31091 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31092 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31093 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31094 * sysdeps/x86_64/multiarch/memmove.c: New file.
31095 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31096 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31097 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31098 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31099 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31100 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31101 Define.
31102 (index_Fast_Copy_Backward): Define.
31103 (HAS_ARCH_FEATURE): Define.
31104 (HAS_FAST_REP_STRING): Define.
31105 (HAS_FAST_COPY_BACKWARD): Define.
31106
4e733bac 311072010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31108
31109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31110 Restore proper fallback handling.
31111
63c4ed22
UD
311122010-06-19 Ulrich Drepper <drepper@redhat.com>
31113
ac2b484c
UD
31114 [BZ #11701]
31115 * posix/group_member.c (__group_member): Correct checking loop.
31116
63c4ed22
UD
31117 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31118 OOM in getpwuid_r correctly. Return error number when the caller
31119 should return, otherwise -1.
31120 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31121 call returning > 0 value.
31122 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31123
765ade4b
AS
311242010-06-07 Andreas Schwab <schwab@redhat.com>
31125
31126 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31127 libc_nonshared.a from targets in modules-names.
31128
80da2e09
KS
311292010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31130
31131 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31132 requires it.
31133
158db122
LM
311342010-06-10 Luis Machado <luisgpm@br.ibm.com>
31135
31136 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31137 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31138 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31139 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31140
caa78cf8
AS
311412010-06-02 Andreas Schwab <schwab@redhat.com>
31142
31143 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31144
b2ef2c01
UD
311452010-06-14 Ulrich Drepper <drepper@redhat.com>
31146
31147 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31148 and F_GETPIPE_SZ.
31149 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31150 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31151 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31153 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31154 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31155
fbd643b6
RM
311562010-06-14 Roland McGrath <roland@redhat.com>
31157
31158 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31159
f32f2869
JJ
311602010-06-07 Jakub Jelinek <jakub@redhat.com>
31161
31162 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31163 __REDIRECT followed by __THROW.
31164 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31165 * posix/getopt.h (getopt): Likewise.
31166
2a50c078
EPM
311672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31168
31169 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31170 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31171 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31172 in AT_FLAGS.
31173 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31174 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31175
eb5ad2eb
LM
311762010-05-28 Luis Machado <luisgpm@br.ibm.com>
31177
31178 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31179
3c88fe1e
L
311802010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31181
31182 [BZ #11640]
31183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31184 Properly check family and model.
31185
d2f73151
TY
311862010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31187
31188 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31189
ebd2e13d
LM
311902010-05-24 Luis Machado <luisgpm@br.ibm.com>
31191
31192 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31193
b32b8b45
UD
311942010-05-21 Ulrich Drepper <drepper@redhat.com>
31195
31196 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31197 symbol reference.
31198
9acbe24d
AS
311992010-05-19 Andreas Schwab <schwab@redhat.com>
31200
31201 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31202 symbol reference.
31203
f0ccf6ea
AS
312042010-05-21 Andreas Schwab <schwab@redhat.com>
31205
3d04ff3a
AS
31206 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31207 and internal_recvmmsg.
31208 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31209 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31210 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31211 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31212
f0ccf6ea
AS
31213 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31214 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31215 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31216
5b08ac57
AS
312172010-05-20 Andreas Schwab <schwab@redhat.com>
31218
31219 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31220
4828935d
LM
312212010-05-17 Luis Machado <luisgpm@br.ibm.com>
31222
31223 POWER7 optimizations.
31224 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31225 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31226
373d545e
UD
312272010-05-19 Ulrich Drepper <drepper@redhat.com>
31228
31229 * version.h: Update for 2.13 development version.
31230
21a2b1ae
AS
312312010-05-12 Andrew Stubbs <ams@codesourcery.com>
31232
31233 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31234 exceptions. Return 0.
31235
3f7dcb2b
RM
312362010-05-07 Roland McGrath <roland@redhat.com>
31237
31238 * elf/ldconfig.c (main): Add a const.
31239
5f24d53a 312402010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31241
a160f8d8
UD
31242 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31243 (args_options): Add no-idn option.
31244 (ahosts_keys_int): Add idn_flags to ai_flags.
31245 (parse_option): Handle 'i' option to clear idn_flags.
31246
5f24d53a
UD
31247 * malloc/malloc.c (_int_free): Possible race in the most recently
31248 added check. Only act on the data if no current modification
31249 happened.
265bb1ce
UD
31250
31251See ChangeLog.17 for earlier changes.